diff --git a/emscripten/box2d/b2.d.ts b/emscripten/box2d/b2.d.ts index ef4b94ff5..62a971a9d 100644 --- a/emscripten/box2d/b2.d.ts +++ b/emscripten/box2d/b2.d.ts @@ -112,6 +112,7 @@ declare namespace B2 { GetAllowSleeping(): boolean; SetGravity(gravity: Vec2): void; GetGravity(): Vec2; + IsLocked(): boolean; Dump(): void; } diff --git a/emscripten/box2d/box2d.debug.asm.js b/emscripten/box2d/box2d.debug.asm.js deleted file mode 100644 index a634c6c38..000000000 --- a/emscripten/box2d/box2d.debug.asm.js +++ /dev/null @@ -1,64159 +0,0 @@ - -var BOX2D = (() => { - var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined; - - return ( -function(BOX2D = {}) { - -// include: shell.js -// The Module object: Our interface to the outside world. We import -// and export values on it. 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 check if Module already exists (e.g. case 3 above). -// Substitution will be replaced with actual code on later stage of the build, -// this way Closure Compiler will not mangle it (e.g. case 4. 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 = typeof BOX2D != 'undefined' ? BOX2D : {}; - -// Set up the promise that indicates the Module is initialized -var readyPromiseResolve, readyPromiseReject; -Module['ready'] = new Promise((resolve, reject) => { - readyPromiseResolve = resolve; - readyPromiseReject = reject; -}); - -// --pre-jses are emitted after the Module integration code, so that they can -// refer to Module (if they choose; they can also define Module) - - -// 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 = Object.assign({}, Module); - -var arguments_ = []; -var thisProgram = './this.program'; -var quit_ = (status, toThrow) => { - throw toThrow; -}; - -// Determine the runtime environment we are in. You can customize this by -// setting the ENVIRONMENT setting at compile time (see settings.js). - -var ENVIRONMENT_IS_WEB = true; -var ENVIRONMENT_IS_WORKER = false; -var ENVIRONMENT_IS_NODE = false; -var ENVIRONMENT_IS_SHELL = false; - -// `/` should be present at the end if `scriptDirectory` is not empty -var scriptDirectory = ''; -function locateFile(path) { - if (Module['locateFile']) { - return Module['locateFile'](path, scriptDirectory); - } - return scriptDirectory + path; -} - -// Hooks that are implemented differently in different runtime environments. -var read_, - readAsync, - readBinary, - setWindowTitle; - -// Note that this includes Node.js workers when relevant (pthreads is enabled). -// Node.js workers are detected as a combination of ENVIRONMENT_IS_WORKER and -// ENVIRONMENT_IS_NODE. -if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) { - if (ENVIRONMENT_IS_WORKER) { // Check worker, not web, since window could be polyfilled - scriptDirectory = self.location.href; - } else if (typeof document != 'undefined' && document.currentScript) { // web - scriptDirectory = document.currentScript.src; - } - // When MODULARIZE, this JS may be executed later, after document.currentScript - // is gone, so we saved it, and we use it here instead of any other info. - if (_scriptDir) { - scriptDirectory = _scriptDir; - } - // blob urls look like blob:http://site.com/etc/etc and we cannot infer anything from them. - // otherwise, slice off the final part of the url to find the script directory. - // if scriptDirectory does not contain a slash, lastIndexOf will return -1, - // and scriptDirectory will correctly be replaced with an empty string. - // If scriptDirectory contains a query (starting with ?) or a fragment (starting with #), - // they are removed because they could contain a slash. - if (scriptDirectory.indexOf('blob:') !== 0) { - scriptDirectory = scriptDirectory.substr(0, scriptDirectory.replace(/[?#].*/, "").lastIndexOf('/')+1); - } else { - scriptDirectory = ''; - } - - // Differentiate the Web Worker from the Node Worker case, as reading must - // be done differently. - { -// include: web_or_worker_shell_read.js -read_ = (url) => { - try { - var xhr = new XMLHttpRequest(); - xhr.open('GET', url, false); - xhr.send(null); - return xhr.responseText; - } catch (err) { - var data = tryParseAsDataURI(url); - if (data) { - return intArrayToString(data); - } - throw err; - } - } - - if (ENVIRONMENT_IS_WORKER) { - readBinary = (url) => { - try { - var xhr = new XMLHttpRequest(); - xhr.open('GET', url, false); - xhr.responseType = 'arraybuffer'; - xhr.send(null); - return new Uint8Array(/** @type{!ArrayBuffer} */(xhr.response)); - } catch (err) { - var data = tryParseAsDataURI(url); - if (data) { - return data; - } - throw err; - } - }; - } - - readAsync = (url, onload, onerror) => { - var xhr = new XMLHttpRequest(); - xhr.open('GET', url, true); - xhr.responseType = 'arraybuffer'; - xhr.onload = () => { - if (xhr.status == 200 || (xhr.status == 0 && xhr.response)) { // file URLs can return 0 - onload(xhr.response); - return; - } - var data = tryParseAsDataURI(url); - if (data) { - onload(data.buffer); - return; - } - onerror(); - }; - xhr.onerror = onerror; - xhr.send(null); - } - -// end include: web_or_worker_shell_read.js - } - - setWindowTitle = (title) => document.title = title; -} else -{ -} - -var out = Module['print'] || console.log.bind(console); -var err = Module['printErr'] || console.error.bind(console); - -// Merge back in the overrides -Object.assign(Module, moduleOverrides); -// Free the object hierarchy contained in the overrides, this lets the GC -// reclaim data used e.g. in memoryInitializerRequest, which is a large typed array. -moduleOverrides = null; - -// Emit code to handle expected values on the Module object. This applies Module.x -// to the proper local x. This has two benefits: first, we only emit it if it is -// expected to arrive, and second, by using a local everywhere else that can be -// minified. - -if (Module['arguments']) arguments_ = Module['arguments']; - -if (Module['thisProgram']) thisProgram = Module['thisProgram']; - -if (Module['quit']) quit_ = Module['quit']; - -// perform assertions in shell.js after we set up out() and err(), as otherwise if an assertion fails it cannot print the message - - -// end include: shell.js -// include: preamble.js -// === Preamble library stuff === - -// Documentation for the public APIs defined in this file must be updated in: -// site/source/docs/api_reference/preamble.js.rst -// A prebuilt local version of the documentation is available at: -// site/build/text/docs/api_reference/preamble.js.txt -// You can also build docs locally as HTML or other formats in site/ -// An online HTML version (which may be of a different version of Emscripten) -// is up at http://kripken.github.io/emscripten-site/docs/api_reference/preamble.js.html - -var wasmBinary; -if (Module['wasmBinary']) wasmBinary = Module['wasmBinary']; -var noExitRuntime = Module['noExitRuntime'] || true; - -// include: wasm2js.js -// wasm2js.js - enough of a polyfill for the WebAssembly object so that we can load -// wasm2js code that way. - -// Emit "var WebAssembly" if definitely using wasm2js. Otherwise, in MAYBE_WASM2JS -// mode, we can't use a "var" since it would prevent normal wasm from working. -/** @suppress{duplicate, const} */ -var -WebAssembly = { - // Note that we do not use closure quoting (this['buffer'], etc.) on these - // functions, as they are just meant for internal use. In other words, this is - // not a fully general polyfill. - /** @constructor */ - Memory: function(opts) { - this.buffer = new ArrayBuffer(opts['initial'] * 65536); - }, - - Module: function(binary) { - // TODO: use the binary and info somehow - right now the wasm2js output is embedded in - // the main JS - }, - - /** @constructor */ - Instance: function(module, info) { - // TODO: use the module somehow - right now the wasm2js output is embedded in - // the main JS - // This will be replaced by the actual wasm2js code. - this.exports = ( -// EMSCRIPTEN_START_ASM -function instantiate(info) { -function Table(ret) { - // grow method not included; table is not growable - ret.set = function(i, func) { - this[i] = func; - }; - ret.get = function(i) { - return this[i]; - }; - return ret; -} - - var bufferView; - var base64ReverseLookup = new Uint8Array(123/*'z'+1*/); - for (var i = 25; i >= 0; --i) { - base64ReverseLookup[48+i] = 52+i; // '0-9' - base64ReverseLookup[65+i] = i; // 'A-Z' - base64ReverseLookup[97+i] = 26+i; // 'a-z' - } - base64ReverseLookup[43] = 62; // '+' - base64ReverseLookup[47] = 63; // '/' - /** @noinline Inlining this function would mean expanding the base64 string 4x times in the source code, which Closure seems to be happy to do. */ - function base64DecodeToExistingUint8Array(uint8Array, offset, b64) { - var b1, b2, i = 0, j = offset, bLength = b64.length, end = offset + (bLength*3>>2) - (b64[bLength-2] == '=') - (b64[bLength-1] == '='); - for (; i < bLength; i += 4) { - b1 = base64ReverseLookup[b64.charCodeAt(i+1)]; - b2 = base64ReverseLookup[b64.charCodeAt(i+2)]; - uint8Array[j++] = base64ReverseLookup[b64.charCodeAt(i)] << 2 | b1 >> 4; - if (j < end) uint8Array[j++] = b1 << 4 | b2 >> 2; - if (j < end) uint8Array[j++] = b2 << 6 | base64ReverseLookup[b64.charCodeAt(i+3)]; - } - } -function initActiveSegments(imports) { - base64DecodeToExistingUint8Array(bufferView, 1024, "ZnJlcXVlbmN5SHoAU2V0U3ByaW5nRnJlcXVlbmN5SHoAR2V0U3ByaW5nRnJlcXVlbmN5SHoARGVzdHJveVByb3h5AE1vdmVQcm94eQBTZXRHcmF2aXR5AEdldEdyYXZpdHkARml4dHVyZVNldERlbnNpdHkARml4dHVyZUdldERlbnNpdHkAYW5ndWxhclZlbG9jaXR5AFNldEFuZ3VsYXJWZWxvY2l0eQBHZXRBbmd1bGFyVmVsb2NpdHkAbGluZWFyVmVsb2NpdHkAU2V0TGluZWFyVmVsb2NpdHkAR2V0TGluZWFyVmVsb2NpdHkAbV9ib2R5Q291bnQgPCBtX2JvZHlDYXBhY2l0eQBtX2pvaW50Q291bnQgPCBtX2pvaW50Q2FwYWNpdHkAbV9jb250YWN0Q291bnQgPCBtX2NvbnRhY3RDYXBhY2l0eQBtX25vZGVDb3VudCA9PSBtX25vZGVDYXBhY2l0eQAwIDw9IHByb3h5SWQgJiYgcHJveHlJZCA8IG1fbm9kZUNhcGFjaXR5ADAgPD0gbm9kZUlkICYmIG5vZGVJZCA8IG1fbm9kZUNhcGFjaXR5ADAgPD0gaUcgJiYgaUcgPCBtX25vZGVDYXBhY2l0eQAwIDw9IGlGICYmIGlGIDwgbV9ub2RlQ2FwYWNpdHkAMCA8PSBpRSAmJiBpRSA8IG1fbm9kZUNhcGFjaXR5ADAgPD0gaUQgJiYgaUQgPCBtX25vZGVDYXBhY2l0eQAwIDw9IGlDICYmIGlDIDwgbV9ub2RlQ2FwYWNpdHkAMCA8PSBpQiAmJiBpQiA8IG1fbm9kZUNhcGFjaXR5AERlc3Ryb3kARGVzdHJveUJvZHkARml4dHVyZUdldEJvZHkAQ3JlYXRlQm9keQBiMl9zdGF0aWNCb2R5AGIyX2tpbmVtYXRpY0JvZHkAbV90eXBlID09IGIyX2R5bmFtaWNCb2R5AGIyQm9keQBTZXRGcmVxdWVuY3kAR2V0RnJlcXVlbmN5AFBvbHlnb25TaGFwZVNldEFzQm94AEdldFZlcnRleABncm91cEluZGV4AC0rICAgMFgweAAtMFgrMFggMFgtMHgrMHggMHgAVmVjMlZlY3Rvck5ldwBGaXh0dXJlRGVmTmV3AFBvbHlnb25TaGFwZU5ldwBDaXJjbGVTaGFwZU5ldwBXb3JsZE1hbmlmb2xkTmV3AFNldERlYnVnRHJhdwBKb2ludEVkZ2VHZXRQcmV2AEZpeHR1cmVHZXROZXh0AEpvaW50RWRnZUdldE5leHQAUmF5Q2FzdE91dHB1dABSYXlDYXN0SW5wdXQAR2V0Sm9pbnRMaXN0AEdldEZpeHR1cmVMaXN0AFJheUNhc3QAdW5zaWduZWQgc2hvcnQAUm90ADAgPD0gaW5kZXggJiYgaW5kZXggPCBjaGFpbi0+bV9jb3VudAAwIDw9IGVkZ2UxICYmIGVkZ2UxIDwgcG9seTEtPm1fY291bnQAMCA8PSBpbmRleCAmJiBpbmRleCA8IG1fY291bnQAMCA8PSBjaGlsZEluZGV4ICYmIGNoaWxkSW5kZXggPCBtX3Byb3h5Q291bnQAdG9pSW5kZXhCIDwgbV9ib2R5Q291bnQAdG9pSW5kZXhBIDwgbV9ib2R5Q291bnQATWFuaWZvbGRHZXRQb2ludENvdW50AENvbnRhY3RJbXB1bHNlR2V0Q291bnQAMCA8PSBpbmRleCAmJiBpbmRleCA8IGIyX2Jsb2NrU2l6ZUNvdW50AGogPCBiMl9ibG9ja1NpemVDb3VudAAwIDw9IHR5cGVBICYmIHR5cGVCIDwgYjJTaGFwZTo6ZV90eXBlQ291bnQAMCA8PSB0eXBlMiAmJiB0eXBlMiA8IGIyU2hhcGU6OmVfdHlwZUNvdW50ADAgPD0gdHlwZTEgJiYgdHlwZTEgPCBiMlNoYXBlOjplX3R5cGVDb3VudAAwIDwgbV9ub2RlQ291bnQAU2hhcGVHZXRDaGlsZENvdW50AERyYXdQb2ludABGaXh0dXJlVGVzdFBvaW50AFNoYXBlVGVzdFBvaW50AEdldExvY2FsUG9pbnQAR2V0TGluZWFyVmVsb2NpdHlGcm9tTG9jYWxQb2ludABHZXRXb3JsZFBvaW50AEdldExpbmVhclZlbG9jaXR5RnJvbVdvcmxkUG9pbnQARGVzdHJveUpvaW50AGIyUHVsbGV5Sm9pbnQASm9pbnRFZGdlR2V0Sm9pbnQATW90b3JKb2ludABiMkdlYXJKb2ludABXaGVlbEpvaW50AFJldm9sdXRlSm9pbnQAQ3JlYXRlSm9pbnQAYjJNb3VzZUpvaW50AFJvcGVKb2ludABEaXN0YW5jZUpvaW50AFdlbGRKb2ludABtX3R5cGVCID09IGVfcmV2b2x1dGVKb2ludCB8fCBtX3R5cGVCID09IGVfcHJpc21hdGljSm9pbnQAbV90eXBlQSA9PSBlX3Jldm9sdXRlSm9pbnQgfHwgbV90eXBlQSA9PSBlX3ByaXNtYXRpY0pvaW50AFByaXNtYXRpY0pvaW50AGIySm9pbnQAdW5zaWduZWQgaW50AERyYXdTZWdtZW50AGltcGxlbWVudABHZXRMb3dlckxpbWl0AEdldFVwcGVyTGltaXQAZW5hYmxlTGltaXQARW5hYmxlTGltaXQAYW5ndWxhck9mZnNldABTZXRBbmd1bGFyT2Zmc2V0AEdldEFuZ3VsYXJPZmZzZXQAbGluZWFyT2Zmc2V0AFNldExpbmVhck9mZnNldABHZXRMaW5lYXJPZmZzZXQAYnVsbGV0AFNldEJ1bGxldABJc0J1bGxldAB0YXJnZXQAU2V0VGFyZ2V0AEdldFRhcmdldABQb2x5Z29uU2hhcGVTZXQAVmVjMlZlY3RvckdldABfX2Rlc3RydWN0AGIyQ2hhaW5BbmRQb2x5Z29uQ29udGFjdABiMkVkZ2VBbmRQb2x5Z29uQ29udGFjdABiMlBvbHlnb25Db250YWN0AEJlZ2luQ29udGFjdABiMlBvbHlnb25BbmRDaXJjbGVDb250YWN0AGIyQ2hhaW5BbmRDaXJjbGVDb250YWN0AGIyRWRnZUFuZENpcmNsZUNvbnRhY3QAYjJDaXJjbGVDb250YWN0AEVuZENvbnRhY3QAYjJUaW1lT2ZJbXBhY3QAZmxvYXQAdWludDY0X3QAU2hhcGVTZXRSYWRpdXMAU2hhcGVHZXRSYWRpdXMAR2V0V2l0bmVzc1BvaW50cwBJbml0aWFsaXplVmVsb2NpdHlDb25zdHJhaW50cwBTb2x2ZVZlbG9jaXR5Q29uc3RyYWludHMAR2V0RXh0ZW50cwBTZXRMaW1pdHMAY2F0ZWdvcnlCaXRzAG1hc2tCaXRzAG1hc3MAR2V0TWFzcwBDb21wdXRlTWFzcwBDb250YWlucwBmaXh0dXJlLT5tX2JvZHkgPT0gdGhpcwBTZXRGbGFncwBHZXRGbGFncwBDbGVhckZsYWdzAEFwcGVuZEZsYWdzAENyZWF0ZVByb3hpZXMAbV9lbnRyeUNvdW50IDwgYjJfbWF4U3RhY2tFbnRyaWVzAG1heFBvbHlnb25WZXJ0aWNlcwBNYW5pZm9sZEdldE1hbmlmb2xkUG9pbnRQdHIAVmVjMlZlY3RvckdldFB0cgBlbmFibGVNb3RvcgBFbmFibGVNb3RvcgB2ZWN0b3IAR2V0TG9jYWxWZWN0b3IAR2V0V29ybGRWZWN0b3IAVmVjMlZlY3RvcgBJbnQzMlZlY3RvcgBjb3JyZWN0aW9uRmFjdG9yAFNldENvcnJlY3Rpb25GYWN0b3IAR2V0Q29ycmVjdGlvbkZhY3RvcgB+YjJTdGFja0FsbG9jYXRvcgBGaXh0dXJlU2V0U2Vuc29yAEZpeHR1cmVJc1NlbnNvcgBDb2xvcgBiMkNvbnRhY3RTb2x2ZXIAY2VudGVyAEdldENlbnRlcgBBcHBseUxpbmVhckltcHVsc2VUb0NlbnRlcgBBcHBseUZvcmNlVG9DZW50ZXIAR2V0TG9jYWxDZW50ZXIAR2V0V29ybGRDZW50ZXIARml4dHVyZVJlZmlsdGVyAEZpbHRlcgBHZXRQZXJpbWV0ZXIAbG93ZXIgPD0gdXBwZXIARHJhd1dyYXBwZXIAQ29udGFjdExpc3RlbmVyV3JhcHBlcgBRdWVyeUNhbGxiYWNrV3JhcHBlcgBSYXlDYXN0Q2FsbGJhY2tXcmFwcGVyAFNldENvbnRhY3RMaXN0ZW5lcgBKb2ludEVkZ2VHZXRPdGhlcgB1bnNpZ25lZCBjaGFyAFZlYzJWZWN0b3JDbGVhcgBxAEM6L1VzZXJzL2xlYWx6L0Rlc2t0b3AvdHJ1bmsvYm94MmQvc3JjL2R5bmFtaWNzL2IyX2JvZHkuY3BwAEM6L1VzZXJzL2xlYWx6L0Rlc2t0b3AvdHJ1bmsvYm94MmQvc3JjL2R5bmFtaWNzL2IyX3B1bGxleV9qb2ludC5jcHAAQzovVXNlcnMvbGVhbHovRGVza3RvcC90cnVuay9ib3gyZC9zcmMvZHluYW1pY3MvYjJfbW90b3Jfam9pbnQuY3BwAEM6L1VzZXJzL2xlYWx6L0Rlc2t0b3AvdHJ1bmsvYm94MmQvc3JjL2R5bmFtaWNzL2IyX2dlYXJfam9pbnQuY3BwAEM6L1VzZXJzL2xlYWx6L0Rlc2t0b3AvdHJ1bmsvYm94MmQvc3JjL2R5bmFtaWNzL2IyX3Jldm9sdXRlX2pvaW50LmNwcABDOi9Vc2Vycy9sZWFsei9EZXNrdG9wL3RydW5rL2JveDJkL3NyYy9keW5hbWljcy9iMl9tb3VzZV9qb2ludC5jcHAAQzovVXNlcnMvbGVhbHovRGVza3RvcC90cnVuay9ib3gyZC9zcmMvZHluYW1pY3MvYjJfcHJpc21hdGljX2pvaW50LmNwcABDOi9Vc2Vycy9sZWFsei9EZXNrdG9wL3RydW5rL2JveDJkL3NyYy9keW5hbWljcy9iMl9qb2ludC5jcHAAQzovVXNlcnMvbGVhbHovRGVza3RvcC90cnVuay9ib3gyZC9zcmMvZHluYW1pY3MvYjJfY2hhaW5fcG9seWdvbl9jb250YWN0LmNwcABDOi9Vc2Vycy9sZWFsei9EZXNrdG9wL3RydW5rL2JveDJkL3NyYy9keW5hbWljcy9iMl9lZGdlX3BvbHlnb25fY29udGFjdC5jcHAAQzovVXNlcnMvbGVhbHovRGVza3RvcC90cnVuay9ib3gyZC9zcmMvZHluYW1pY3MvYjJfcG9seWdvbl9jb250YWN0LmNwcABDOi9Vc2Vycy9sZWFsei9EZXNrdG9wL3RydW5rL2JveDJkL3NyYy9keW5hbWljcy9iMl9wb2x5Z29uX2NpcmNsZV9jb250YWN0LmNwcABDOi9Vc2Vycy9sZWFsei9EZXNrdG9wL3RydW5rL2JveDJkL3NyYy9keW5hbWljcy9iMl9jaGFpbl9jaXJjbGVfY29udGFjdC5jcHAAQzovVXNlcnMvbGVhbHovRGVza3RvcC90cnVuay9ib3gyZC9zcmMvZHluYW1pY3MvYjJfZWRnZV9jaXJjbGVfY29udGFjdC5jcHAAQzovVXNlcnMvbGVhbHovRGVza3RvcC90cnVuay9ib3gyZC9zcmMvZHluYW1pY3MvYjJfY2lyY2xlX2NvbnRhY3QuY3BwAEM6L1VzZXJzL2xlYWx6L0Rlc2t0b3AvdHJ1bmsvYm94MmQvc3JjL2R5bmFtaWNzL2IyX2NvbnRhY3QuY3BwAEM6L1VzZXJzL2xlYWx6L0Rlc2t0b3AvdHJ1bmsvYm94MmQvc3JjL2NvbGxpc2lvbi9iMl90aW1lX29mX2ltcGFjdC5jcHAAQzovVXNlcnMvbGVhbHovRGVza3RvcC90cnVuay9ib3gyZC9zcmMvY29tbW9uL2IyX2Jsb2NrX2FsbG9jYXRvci5jcHAAQzovVXNlcnMvbGVhbHovRGVza3RvcC90cnVuay9ib3gyZC9zcmMvY29tbW9uL2IyX3N0YWNrX2FsbG9jYXRvci5jcHAAQzovVXNlcnMvbGVhbHovRGVza3RvcC90cnVuay9ib3gyZC9zcmMvZHluYW1pY3MvYjJfY29udGFjdF9zb2x2ZXIuY3BwAEM6L1VzZXJzL2xlYWx6L0Rlc2t0b3AvdHJ1bmsvYm94MmQvc3JjL2NvbGxpc2lvbi9iMl9jb2xsaWRlX3BvbHlnb24uY3BwAEM6L1VzZXJzL2xlYWx6L0Rlc2t0b3AvdHJ1bmsvYm94MmQvc3JjL2R5bmFtaWNzL2IyX2ZpeHR1cmUuY3BwAEM6L1VzZXJzL2xlYWx6L0Rlc2t0b3AvdHJ1bmsvYm94MmQvc3JjL2NvbGxpc2lvbi9iMl9wb2x5Z29uX3NoYXBlLmNwcABDOi9Vc2Vycy9sZWFsei9EZXNrdG9wL3RydW5rL2JveDJkL3NyYy9jb2xsaXNpb24vYjJfY2hhaW5fc2hhcGUuY3BwAEM6L1VzZXJzL2xlYWx6L0Rlc2t0b3AvdHJ1bmsvYm94MmQvc3JjL2NvbGxpc2lvbi9iMl9jb2xsaWRlX2VkZ2UuY3BwAEM6L1VzZXJzL2xlYWx6L0Rlc2t0b3AvdHJ1bmsvYm94MmQvc3JjL2NvbGxpc2lvbi9iMl9keW5hbWljX3RyZWUuY3BwAEM6L1VzZXJzL2xlYWx6L0Rlc2t0b3AvdHJ1bmsvYm94MmQvc3JjL2NvbGxpc2lvbi9iMl9kaXN0YW5jZS5jcHAAQzovVXNlcnMvbGVhbHovRGVza3RvcC90cnVuay9ib3gyZC9zcmMvZHluYW1pY3MvYjJfaXNsYW5kLmNwcABDOi9Vc2Vycy9sZWFsei9EZXNrdG9wL3RydW5rL2JveDJkL3NyYy9keW5hbWljcy9iMl93b3JsZC5jcHAAUG9wAEZpeHR1cmVEdW1wAFN0ZXAAYWxsb3dTbGVlcABiMlNpemVNYXAAQ29tYmluZVR3bwBkYW1waW5nUmF0aW8AU2V0RGFtcGluZ1JhdGlvAEdldERhbXBpbmdSYXRpbwBTZXRTcHJpbmdEYW1waW5nUmF0aW8AR2V0U3ByaW5nRGFtcGluZ1JhdGlvAENvbnRhY3RSZXNldFJlc3RpdHV0aW9uAENvbnRhY3RTZXRSZXN0aXR1dGlvbgBGaXh0dXJlU2V0UmVzdGl0dXRpb24AQ29udGFjdEdldFJlc3RpdHV0aW9uAEZpeHR1cmVHZXRSZXN0aXR1dGlvbgBwb3NpdGlvbgBDaXJjbGVTaGFwZVNldFBvc2l0aW9uAENpcmNsZVNoYXBlR2V0UG9zaXRpb24Abm90aWZ5T25EZXN0cnVjdGlvbgBDb250YWN0UmVzZXRGcmljdGlvbgBDb250YWN0U2V0RnJpY3Rpb24ARml4dHVyZVNldEZyaWN0aW9uAENvbnRhY3RHZXRGcmljdGlvbgBGaXh0dXJlR2V0RnJpY3Rpb24AR2V0U2VhcmNoRGlyZWN0aW9uAGZyYWN0aW9uADAuMGYgPD0gbG93ZXIgJiYgbG93ZXIgPD0gaW5wdXQubWF4RnJhY3Rpb24AZml4ZWRSb3RhdGlvbgBTZXRGaXhlZFJvdGF0aW9uAElzRml4ZWRSb3RhdGlvbgBGaW5kTWluU2VwYXJhdGlvbgBHZXRKb2ludFRyYW5zbGF0aW9uAGxvd2VyVHJhbnNsYXRpb24AdXBwZXJUcmFuc2xhdGlvbgBtX2ZpeHR1cmVCLT5HZXRUeXBlKCkgPT0gYjJTaGFwZTo6ZV9wb2x5Z29uAG1fZml4dHVyZUEtPkdldFR5cGUoKSA9PSBiMlNoYXBlOjplX3BvbHlnb24ARHJhd1BvbHlnb24ARHJhd1NvbGlkUG9seWdvbgBtX2ZpeHR1cmVBLT5HZXRUeXBlKCkgPT0gYjJTaGFwZTo6ZV9jaGFpbgBuYW4ARHJhd1RyYW5zZm9ybQBTZXRUcmFuc2Zvcm0AR2V0VHJhbnNmb3JtAGJvb2wARml4dHVyZURlZlNldEFsbABlbXNjcmlwdGVuOjp2YWwAbm9ybWFsAFF1ZXJ5Q2FsbGJhY2sAUmF5Q2FzdENhbGxiYWNrAHB1c2hfYmFjawBsZW5ndGgAbWF4TGVuZ3RoAFNldE1heExlbmd0aABHZXRNYXhMZW5ndGgAU2V0TGVuZ3RoAEdldExlbmd0aABWZWMyVmVjdG9yUHVzaABDOlxVc2Vyc1xsZWFselxEZXNrdG9wXHRydW5rXGVtc2RrXHVwc3RyZWFtXGVtc2NyaXB0ZW5cY2FjaGVcc3lzcm9vdC9pbmNsdWRlXGVtc2NyaXB0ZW4vdmFsLmgAQzovVXNlcnMvbGVhbHovRGVza3RvcC90cnVuay9ib3gyZC9zcmMvLi4vaW5jbHVkZVxib3gyZC9iMl9ncm93YWJsZV9zdGFjay5oAEM6L1VzZXJzL2xlYWx6L0Rlc2t0b3AvdHJ1bmsvYm94MmQvc3JjLy4uL2luY2x1ZGVcYm94MmQvYjJfbWF0aC5oAEM6L1VzZXJzL2xlYWx6L0Rlc2t0b3AvdHJ1bmsvYm94MmQvaW5jbHVkZS9ib3gyZC9iMl9maXh0dXJlLmgAQzovVXNlcnMvbGVhbHovRGVza3RvcC90cnVuay9ib3gyZC9zcmMvLi4vaW5jbHVkZVxib3gyZC9iMl9keW5hbWljX3RyZWUuaABDOi9Vc2Vycy9sZWFsei9EZXNrdG9wL3RydW5rL2JveDJkL3NyYy8uLi9pbmNsdWRlXGJveDJkL2IyX2Rpc3RhbmNlLmgAQzovVXNlcnMvbGVhbHovRGVza3RvcC90cnVuay9ib3gyZC9zcmMvZHluYW1pY3MvYjJfaXNsYW5kLmgAdW5zaWduZWQgbG9uZwBzdGQ6OndzdHJpbmcAYmFzaWNfc3RyaW5nAHN0ZDo6c3RyaW5nAHN0ZDo6dTE2c3RyaW5nAHN0ZDo6dTMyc3RyaW5nAGFuZ3VsYXJEYW1waW5nAFNldEFuZ3VsYXJEYW1waW5nAEdldEFuZ3VsYXJEYW1waW5nAGxpbmVhckRhbXBpbmcAU2V0TGluZWFyRGFtcGluZwBHZXRMaW5lYXJEYW1waW5nAFNldEFsbG93U2xlZXBpbmcAR2V0QWxsb3dTbGVlcGluZwBDb250YWN0SXNUb3VjaGluZwBpbmYAQm9keURlZgBNb3RvckpvaW50RGVmAFdoZWVsSm9pbnREZWYAUmV2b2x1dGVKb2ludERlZgBNb3VzZUpvaW50RGVmAFJvcGVKb2ludERlZgBEaXN0YW5jZUpvaW50RGVmAFdlbGRKb2ludERlZgBQcmlzbWF0aWNKb2ludERlZgBJbnNlcnRMZWFmAGlzSW5kZXhPZgBiMklzVmFsaWQoZmFjdG9yKSAmJiAwLjBmIDw9IGZhY3RvciAmJiBmYWN0b3IgPD0gMS4wZgBhbHBoYTAgPCAxLjBmAGRlbiA+IDAuMGYAbV9JID4gMC4wZgByLkxlbmd0aFNxdWFyZWQoKSA+IDAuMGYAYjJJc1ZhbGlkKGRlZi0+ZnJlcXVlbmN5SHopICYmIGRlZi0+ZnJlcXVlbmN5SHogPj0gMC4wZgBiMklzVmFsaWQoZGVuc2l0eSkgJiYgZGVuc2l0eSA+PSAwLjBmAGEueCA+PSAwLjBmICYmIGEueSA+PSAwLjBmAGIySXNWYWxpZChkZWYtPmRhbXBpbmdSYXRpbykgJiYgZGVmLT5kYW1waW5nUmF0aW8gPj0gMC4wZgBiMklzVmFsaWQoYmQtPmFuZ3VsYXJEYW1waW5nKSAmJiBiZC0+YW5ndWxhckRhbXBpbmcgPj0gMC4wZgBiMklzVmFsaWQoYmQtPmxpbmVhckRhbXBpbmcpICYmIGJkLT5saW5lYXJEYW1waW5nID49IDAuMGYAYjJJc1ZhbGlkKHRvcnF1ZSkgJiYgdG9ycXVlID49IDAuMGYAYjJJc1ZhbGlkKGZvcmNlKSAmJiBmb3JjZSA+PSAwLjBmAGIySXNWYWxpZChkZWYtPm1heEZvcmNlKSAmJiBkZWYtPm1heEZvcmNlID49IDAuMGYAZGVmLT5yYXRpbyAhPSAwLjBmAHJlc2l6ZQBWZWMyVmVjdG9yUmVzaXplADAgPCBzaXplAEluaXRpYWxpemUAVmVjMlZlY3RvclNpemUAYmxvY2tDb3VudCAqIGJsb2NrU2l6ZSA8PSBiMl9jaHVua1NpemUAc3RhY2tDb3VudCA8IHN0YWNrU2l6ZQBQb3N0U29sdmUAUHJlU29sdmUAc19pbml0aWFsaXplZCA9PSB0cnVlAGItPklzRW5hYmxlZCgpID09IHRydWUAQXBwbHlUb3JxdWUAbWF4VG9ycXVlAFNldE1heFRvcnF1ZQBHZXRNYXhUb3JxdWUAbWF4TW90b3JUb3JxdWUAU2V0TWF4TW90b3JUb3JxdWUAR2V0TWF4TW90b3JUb3JxdWUAR2V0TW90b3JUb3JxdWUAR2V0UmVhY3Rpb25Ub3JxdWUAV29ybGRNYW5pZm9sZEdldFNlcGFyYXRpb25WYWx1ZQBWZWMyVmVjdG9yRGVsZXRlAEZpeHR1cmVEZWZEZWxldGUAUG9seWdvblNoYXBlRGVsZXRlAENpcmNsZVNoYXBlRGVsZXRlAFdvcmxkTWFuaWZvbGREZWxldGUARXZhbHVhdGUAQ3JlYXRlAEFsbG9jYXRlAE1hbmlmb2xkUG9pbnRHZXRUYW5nZW50SW1wdWxzZQBDb250YWN0SW1wdWxzZUdldFRhbmdlbnRJbXB1bHNlAEFwcGx5QW5ndWxhckltcHVsc2UAQXBwbHlMaW5lYXJJbXB1bHNlAE1hbmlmb2xkUG9pbnRHZXROb3JtYWxJbXB1bHNlAENvbnRhY3RJbXB1bHNlR2V0Tm9ybWFsSW1wdWxzZQBtX3dvcmxkLT5Jc0xvY2tlZCgpID09IGZhbHNlAEJvZHlEZXN0cm95Rml4dHVyZQBSZXBvcnRGaXh0dXJlAENvbnRhY3RHZXRGaXh0dXJlAHVucmVnaXN0ZXJDb250YWN0Rml4dHVyZQBCb2R5Q3JlYXRlRml4dHVyZQB0eXBlAEJvZHlUeXBlAFNldFR5cGUARml4dHVyZUdldFR5cGUAU2hhcGVHZXRUeXBlAE1hbmlmb2xkR2V0VHlwZQB3cml0ZUdlbmVyaWNXaXJlVHlwZQBTaGFwZVR5cGUAQWRkVHlwZQBEcmF3U2hhcGUARml4dHVyZUdldFNoYXBlAENvbWJpbmUAYW5nbGUAR2V0Sm9pbnRBbmdsZQBHZXRBbmdsZQBsb3dlckFuZ2xlAHVwcGVyQW5nbGUAcmVmZXJlbmNlQW5nbGUAR2V0UmVmZXJlbmNlQW5nbGUAUG9seWdvblNoYXBlU2V0QXNCb3hXaXRoQ2VudGVyQW5kQW5nbGUAbV9maXh0dXJlQi0+R2V0VHlwZSgpID09IGIyU2hhcGU6OmVfY2lyY2xlAG1fZml4dHVyZUEtPkdldFR5cGUoKSA9PSBiMlNoYXBlOjplX2NpcmNsZQBEcmF3Q2lyY2xlAGIyQ29sbGlkZUVkZ2VBbmRDaXJjbGUARHJhd1NvbGlkQ2lyY2xlAGRvdWJsZQBncmF2aXR5U2NhbGUAU2V0R3Jhdml0eVNjYWxlAEdldEdyYXZpdHlTY2FsZQBhd2FrZQBTZXRBd2FrZQBJc0F3YWtlAFJlYWRDYWNoZQBtX2ZpeHR1cmVBLT5HZXRUeXBlKCkgPT0gYjJTaGFwZTo6ZV9lZGdlAGIyRmluZEluY2lkZW50RWRnZQBHZXRDaGlsZEVkZ2UARnJlZQBBbGxvY2F0ZU5vZGUARnJlZU5vZGUAQXBwbHlGb3JjZQBtYXhGb3JjZQBTZXRNYXhGb3JjZQBHZXRNYXhGb3JjZQBtYXhNb3RvckZvcmNlAFNldE1heE1vdG9yRm9yY2UAR2V0TWF4TW90b3JGb3JjZQBHZXRNb3RvckZvcmNlAEdldFJlYWN0aW9uRm9yY2UAQWR2YW5jZQBiMkRpc3RhbmNlAHRhcmdldCA+IHRvbGVyYW5jZQBCYWxhbmNlAGZvdW5kAGxvd2VyQm91bmQAdXBwZXJCb3VuZABleHRlbmQAR2V0V29ybGQAQ29udGFjdEdldE1hbmlmb2xkAENvbnRhY3RHZXRXb3JsZE1hbmlmb2xkAHZvaWQAQ29tcHV0ZUNlbnRyb2lkAElzVmFsaWQAU2V0U2xlZXBpbmdBbGxvd2VkAElzU2xlZXBpbmdBbGxvd2VkAFdhc01vdmVkAENsZWFyTW92ZWQAY29sbGlkZUNvbm5lY3RlZABHZXRDb2xsaWRlQ29ubmVjdGVkAElzTGltaXRFbmFibGVkAENvbnRhY3RTZXRFbmFibGVkAElzRW5hYmxlZABJc01vdG9yRW5hYmxlZABHZXRKb2ludFNwZWVkAENvbnRhY3RTZXRUYW5nZW50U3BlZWQAQ29udGFjdEdldFRhbmdlbnRTcGVlZABtb3RvclNwZWVkAFNldE1vdG9yU3BlZWQAR2V0TW90b3JTcGVlZABBZGQAR2V0TWV0cmljAGIAcCA9PSBlbnRyeS0+ZGF0YQBSZXNldE1hc3NEYXRhAFNldE1hc3NEYXRhAEdldE1hc3NEYXRhAEZpeHR1cmVTZXRGaWx0ZXJEYXRhAEZpeHR1cmVHZXRGaWx0ZXJEYXRhAEZpeHR1cmVTZXRVc2VyRGF0YQBGaXh0dXJlR2V0VXNlckRhdGEAR2V0SW5lcnRpYQBNYW5pZm9sZFBvaW50R2V0TG9jYWxQb2ludFkAVmVjMlZlY3RvckdldFkAV29ybGRNYW5pZm9sZEdldFBvaW50VmFsdWVZAE1hbmlmb2xkR2V0TG9jYWxQb2ludFZhbHVlWQBXb3JsZE1hbmlmb2xkR2V0Tm9ybWFsVmFsdWVZAE1hbmlmb2xkR2V0TG9jYWxOb3JtYWxWYWx1ZVkATWFuaWZvbGRQb2ludEdldExvY2FsUG9pbnRYAFZlYzJWZWN0b3JHZXRYAFdvcmxkTWFuaWZvbGRHZXRQb2ludFZhbHVlWABNYW5pZm9sZEdldExvY2FsUG9pbnRWYWx1ZVgAV29ybGRNYW5pZm9sZEdldE5vcm1hbFZhbHVlWABNYW5pZm9sZEdldExvY2FsTm9ybWFsVmFsdWVYAHNob3J0X3B0ciA8PSBVSU5UMzJfTUFYAFZFUlNJT05fTUlOT1IAVkVSU0lPTl9NQUpPUgBWRVJTSU9OX1JFVklTSU9OAE5BTgBTb2x2ZVRPSQBJTkYAYXJlYSA+IDEuMTkyMDkyOTBlLTdGAGVkZ2UuTGVuZ3RoU3F1YXJlZCgpID4gMS4xOTIwOTI5MGUtN0YgKiAxLjE5MjA5MjkwZS03RgBkZWYtPmJvZHlBICE9IGRlZi0+Ym9keUIAU2V0Qm9keUIAR2V0Qm9keUIAR2V0QW5jaG9yQgBsb2NhbEFuY2hvckIAR2V0TG9jYWxBbmNob3JCAENvbnRhY3RHZXRGaXh0dXJlQgBRdWVyeUFBQkIARml4dHVyZUdldEFBQkIAR2V0RmF0QUFCQgBTZXRCb2R5QQBHZXRCb2R5QQBsb2NhbEF4aXNBAEdldExvY2FsQXhpc0EAR2V0QW5jaG9yQQBsb2NhbEFuY2hvckEAR2V0TG9jYWxBbmNob3JBAG1fbm9kZXNbQy0+cGFyZW50XS5jaGlsZDIgPT0gaUEAbV9ub2Rlc1tCLT5wYXJlbnRdLmNoaWxkMiA9PSBpQQBDb250YWN0R2V0Rml4dHVyZUEAZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8c2hvcnQ+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVuc2lnbmVkIHNob3J0PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQ+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVuc2lnbmVkIGludD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8ZmxvYXQ+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVpbnQ4X3Q+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGludDhfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dWludDE2X3Q+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGludDE2X3Q+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVpbnQ2NF90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQ2NF90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1aW50MzJfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8aW50MzJfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8Y2hhcj4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dW5zaWduZWQgY2hhcj4Ac3RkOjpiYXNpY19zdHJpbmc8dW5zaWduZWQgY2hhcj4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8c2lnbmVkIGNoYXI+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGxvbmc+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVuc2lnbmVkIGxvbmc+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGRvdWJsZT4AMyA8PSBjb3VudCAmJiBjb3VudCA8PSA4AHZlcnRleENvdW50IDw9IDgAbSA8IDgAbV9jb3VudCA+PSAzAGNhY2hlLT5jb3VudCA8PSAzADAgPCBjb3VudCAmJiBjb3VudCA8IDMAVHJhbnNmb3JtVmVjdG9yMgBwMgBWZWMyAEdldEZsb2F0MzIAcG9pbnRDb3VudCA9PSAxIHx8IHBvaW50Q291bnQgPT0gMgBwMQAwIDw9IGluZGV4ICYmIGluZGV4IDwgbV9jb3VudCAtIDEAbV9jb3VudCA+IDAAbV9lbnRyeUNvdW50ID4gMABtX2JvZHlDb3VudCA+IDAAbWFuaWZvbGQtPnBvaW50Q291bnQgPiAwAHBjLT5wb2ludENvdW50ID4gMABtX2pvaW50Q291bnQgPiAwAG1fZml4dHVyZUNvdW50ID4gMABtX2luZGV4ID09IDAAbV9wcm94eUNvdW50ID09IDAAbV9lbnRyeUNvdW50ID09IDAALgBiMklzVmFsaWQoYmQtPmFuZ3VsYXJWZWxvY2l0eSkAKG51bGwpAGIySXNWYWxpZChiZC0+YW5nbGUpAGlBICE9ICgtMSkAY2hpbGQyICE9ICgtMSkAY2hpbGQxICE9ICgtMSkAbV9ub2Rlc1twcm94eUlkXS5Jc0xlYWYoKQBiZC0+bGluZWFyVmVsb2NpdHkuSXNWYWxpZCgpAGRlZi0+dGFyZ2V0LklzVmFsaWQoKQBiZC0+cG9zaXRpb24uSXNWYWxpZCgpAFB1cmUgdmlydHVhbCBmdW5jdGlvbiBjYWxsZWQhACAgfQoAICB7CgBqb2ludHMgPSBudWxscHRyOwoAYm9kaWVzID0gbnVsbHB0cjsKACAgamQuZnJlcXVlbmN5SHogPSAlLjE1bGVmOwoAICAgIGZkLmRlbnNpdHkgPSAlLjE1bGVmOwoAICBiZC5hbmd1bGFyVmVsb2NpdHkgPSAlLjE1bGVmOwoAICBqZC5hbmd1bGFyT2Zmc2V0ID0gJS4xNWxlZjsKACAgICBzaGFwZS5tX3JhZGl1cyA9ICUuMTVsZWY7CgAgIGpkLmNvcnJlY3Rpb25GYWN0b3IgPSAlLjE1bGVmOwoAICBqZC5yYXRpbyA9ICUuMTVsZWY7CgAgIGpkLmRhbXBpbmdSYXRpbyA9ICUuMTVsZWY7CgAgICAgZmQucmVzdGl0dXRpb24gPSAlLjE1bGVmOwoAICAgIGZkLmZyaWN0aW9uID0gJS4xNWxlZjsKACAgamQubG93ZXJUcmFuc2xhdGlvbiA9ICUuMTVsZWY7CgAgIGpkLnVwcGVyVHJhbnNsYXRpb24gPSAlLjE1bGVmOwoAICBqZC5sZW5ndGggPSAlLjE1bGVmOwoAICBqZC5tYXhMZW5ndGggPSAlLjE1bGVmOwoAICBiZC5hbmd1bGFyRGFtcGluZyA9ICUuMTVsZWY7CgAgIGJkLmxpbmVhckRhbXBpbmcgPSAlLjE1bGVmOwoAICBqZC5tYXhUb3JxdWUgPSAlLjE1bGVmOwoAICBqZC5tYXhNb3RvclRvcnF1ZSA9ICUuMTVsZWY7CgAgIGJkLmFuZ2xlID0gJS4xNWxlZjsKACAgamQubG93ZXJBbmdsZSA9ICUuMTVsZWY7CgAgIGpkLnVwcGVyQW5nbGUgPSAlLjE1bGVmOwoAICBqZC5yZWZlcmVuY2VBbmdsZSA9ICUuMTVsZWY7CgAgIGJkLmdyYXZpdHlTY2FsZSA9ICUuMTVsZWY7CgAgIGpkLm1heEZvcmNlID0gJS4xNWxlZjsKACAgamQubWF4TW90b3JGb3JjZSA9ICUuMTVsZWY7CgAgIGpkLm1vdG9yU3BlZWQgPSAlLjE1bGVmOwoAICBqZC5sZW5ndGhCID0gJS4xNWxlZjsKACAgamQubGVuZ3RoQSA9ICUuMTVsZWY7CgAgICAgZmQuc2hhcGUgPSAmc2hhcGU7CgAgICAgYjJQb2x5Z29uU2hhcGUgc2hhcGU7CgAgICAgYjJDaGFpblNoYXBlIHNoYXBlOwoAICAgIGIyQ2lyY2xlU2hhcGUgc2hhcGU7CgAgICAgYjJFZGdlU2hhcGUgc2hhcGU7CgAgIGIyUHVsbGV5Sm9pbnREZWYgamQ7CgAgIGIyTW90b3JKb2ludERlZiBqZDsKACAgYjJHZWFySm9pbnREZWYgamQ7CgAgIGIyRnJpY3Rpb25Kb2ludERlZiBqZDsKACAgYjJXaGVlbEpvaW50RGVmIGpkOwoAICBiMlJldm9sdXRlSm9pbnREZWYgamQ7CgAgIGIyUm9wZUpvaW50RGVmIGpkOwoAICBiMkRpc3RhbmNlSm9pbnREZWYgamQ7CgAgIGIyV2VsZEpvaW50RGVmIGpkOwoAICBiMlByaXNtYXRpY0pvaW50RGVmIGpkOwoAICAgIGIyRml4dHVyZURlZiBmZDsKACAgYjJCb2R5RGVmIGJkOwoAICAgIGIyVmVjMiB2c1slZF07CgAgIGpkLmpvaW50MiA9IGpvaW50c1slZF07CgAgIGpkLmpvaW50MSA9IGpvaW50c1slZF07CgAgIGpkLmJvZHlCID0gYm9kaWVzWyVkXTsKACAgamQuYm9keUEgPSBib2RpZXNbJWRdOwoAYjJGcmVlKGpvaW50cyk7CgBiMkZyZWUoYm9kaWVzKTsKAG1fd29ybGQtPlNldEdyYXZpdHkoZyk7CgAgIGJkLmxpbmVhclZlbG9jaXR5LlNldCglLjE1bGVmLCAlLjE1bGVmKTsKACAgICBzaGFwZS5tX3ByZXZWZXJ0ZXguU2V0KCUuMTVsZWYsICUuMTVsZWYpOwoAICAgIHNoYXBlLm1fbmV4dFZlcnRleC5TZXQoJS4xNWxlZiwgJS4xNWxlZik7CgAgIGpkLmxpbmVhck9mZnNldC5TZXQoJS4xNWxlZiwgJS4xNWxlZik7CgAgICAgc2hhcGUubV9wLlNldCglLjE1bGVmLCAlLjE1bGVmKTsKACAgYmQucG9zaXRpb24uU2V0KCUuMTVsZWYsICUuMTVsZWYpOwoAICAgIHZzWyVkXS5TZXQoJS4xNWxlZiwgJS4xNWxlZik7CgAgIGpkLmxvY2FsQW5jaG9yQi5TZXQoJS4xNWxlZiwgJS4xNWxlZik7CgAgIGpkLmdyb3VuZEFuY2hvckIuU2V0KCUuMTVsZWYsICUuMTVsZWYpOwoAICBqZC5sb2NhbEF4aXNBLlNldCglLjE1bGVmLCAlLjE1bGVmKTsKACAgamQubG9jYWxBbmNob3JBLlNldCglLjE1bGVmLCAlLjE1bGVmKTsKACAgamQuZ3JvdW5kQW5jaG9yQS5TZXQoJS4xNWxlZiwgJS4xNWxlZik7CgAgICAgc2hhcGUubV92ZXJ0ZXgzLlNldCglLjE1bGVmLCAlLjE1bGVmKTsKACAgICBzaGFwZS5tX3ZlcnRleDIuU2V0KCUuMTVsZWYsICUuMTVsZWYpOwoAICAgIHNoYXBlLm1fdmVydGV4MS5TZXQoJS4xNWxlZiwgJS4xNWxlZik7CgAgICAgc2hhcGUubV92ZXJ0ZXgwLlNldCglLjE1bGVmLCAlLjE1bGVmKTsKAGIyVmVjMiBnKCUuMTVsZWYsICUuMTVsZWYpOwoAICBqb2ludHNbJWRdID0gbV93b3JsZC0+Q3JlYXRlSm9pbnQoJmpkKTsKACAgICBib2RpZXNbJWRdLT5DcmVhdGVGaXh0dXJlKCZmZCk7CgAgIGJvZGllc1slZF0gPSBtX3dvcmxkLT5DcmVhdGVCb2R5KCZiZCk7CgAgICAgc2hhcGUubV9oYXNQcmV2VmVydGV4ID0gYm9vbCglZCk7CgAgICAgc2hhcGUubV9oYXNOZXh0VmVydGV4ID0gYm9vbCglZCk7CgAgIGpkLmVuYWJsZUxpbWl0ID0gYm9vbCglZCk7CgAgIGJkLmJ1bGxldCA9IGJvb2woJWQpOwoAICBqZC5lbmFibGVNb3RvciA9IGJvb2woJWQpOwoAICAgIGZkLmlzU2Vuc29yID0gYm9vbCglZCk7CgAgIGJkLmFsbG93U2xlZXAgPSBib29sKCVkKTsKACAgYmQuZml4ZWRSb3RhdGlvbiA9IGJvb2woJWQpOwoAICBiZC5hd2FrZSA9IGJvb2woJWQpOwoAICBqZC5jb2xsaWRlQ29ubmVjdGVkID0gYm9vbCglZCk7CgAgIGJkLmVuYWJsZWQgPSBib29sKCVkKTsKACAgICBzaGFwZS5tX2hhc1ZlcnRleDMgPSBib29sKCVkKTsKACAgICBzaGFwZS5tX2hhc1ZlcnRleDAgPSBib29sKCVkKTsKACAgYmQudHlwZSA9IGIyQm9keVR5cGUoJWQpOwoAICAgIGZkLmZpbHRlci5jYXRlZ29yeUJpdHMgPSB1aW50MTYoJWQpOwoAICAgIGZkLmZpbHRlci5tYXNrQml0cyA9IHVpbnQxNiglZCk7CgAgICAgZmQuZmlsdGVyLmdyb3VwSW5kZXggPSBpbnQxNiglZCk7CgAgICAgc2hhcGUuU2V0KHZzLCAlZCk7CgAgICAgc2hhcGUuQ3JlYXRlQ2hhaW4odnMsICVkKTsKAGIyQm9keSoqIGJvZGllcyA9IChiMkJvZHkqKiliMkFsbG9jKCVkICogc2l6ZW9mKGIyQm9keSopKTsKAGIySm9pbnQqKiBqb2ludHMgPSAoYjJKb2ludCoqKWIyQWxsb2MoJWQgKiBzaXplb2YoYjJKb2ludCopKTsKAC8vIER1bXAgaXMgbm90IHN1cHBvcnRlZCBmb3IgdGhpcyBqb2ludCB0eXBlLgoATW91c2Ugam9pbnQgZHVtcGluZyBpcyBub3Qgc3VwcG9ydGVkLgoAZmlpaQA2YjJWZWMyADExYjJUcmFuc2Zvcm0AaWlpaQB2aWlpAGlpaQB2aWlmAGZpaQB2aWkAaWkAdmlpaWlmZmZpaWlpADhiMkZpbHRlcgA2YjJBQUJCAGlpaWlpADdiMlNoYXBlAHZpaWZmAHZpaWlpAHZpaWZmZmZmAHZpaWlmZgBON2IyU2hhcGU0VHlwZUUAMTBiMkJvZHlUeXBlAE5TdDNfXzI2dmVjdG9ySWlOU185YWxsb2NhdG9ySWlFRUVFAFBOU3QzX18yNnZlY3RvcklpTlNfOWFsbG9jYXRvcklpRUVFRQBQS05TdDNfXzI2dmVjdG9ySWlOU185YWxsb2NhdG9ySWlFRUVFAHYAdmkATjEwZW1zY3JpcHRlbjN2YWxFAGkATlN0M19fMjZ2ZWN0b3JJNmIyVmVjMk5TXzlhbGxvY2F0b3JJUzFfRUVFRQBQTlN0M19fMjZ2ZWN0b3JJNmIyVmVjMk5TXzlhbGxvY2F0b3JJUzFfRUVFRQBQS05TdDNfXzI2dmVjdG9ySTZiMlZlYzJOU185YWxsb2NhdG9ySVMxX0VFRUUANWIyUm90ADdiMkNvbG9yADE0YjJSYXlDYXN0SW5wdXQAMTViMlJheUNhc3RPdXRwdXQAMTBiMk1hc3NEYXRhADE1YjJRdWVyeUNhbGxiYWNrAFAxNWIyUXVlcnlDYWxsYmFjawBQSzE1YjJRdWVyeUNhbGxiYWNrADIyYjJRdWVyeUNhbGxiYWNrV3JhcHBlcgBOMTBlbXNjcmlwdGVuN3dyYXBwZXJJMTViMlF1ZXJ5Q2FsbGJhY2tFRQBOMTBlbXNjcmlwdGVuOGludGVybmFsMTFXcmFwcGVyQmFzZUUAUDIyYjJRdWVyeUNhbGxiYWNrV3JhcHBlcgBQSzIyYjJRdWVyeUNhbGxiYWNrV3JhcHBlcgBOU3QzX18yMTJiYXNpY19zdHJpbmdJY05TXzExY2hhcl90cmFpdHNJY0VFTlNfOWFsbG9jYXRvckljRUVFRQAxN2IyUmF5Q2FzdENhbGxiYWNrAFAxN2IyUmF5Q2FzdENhbGxiYWNrAFBLMTdiMlJheUNhc3RDYWxsYmFjawBmaWlpaWlmADI0YjJSYXlDYXN0Q2FsbGJhY2tXcmFwcGVyAE4xMGVtc2NyaXB0ZW43d3JhcHBlckkxN2IyUmF5Q2FzdENhbGxiYWNrRUUAUDI0YjJSYXlDYXN0Q2FsbGJhY2tXcmFwcGVyAFBLMjRiMlJheUNhc3RDYWxsYmFja1dyYXBwZXIAMTdiMkNvbnRhY3RMaXN0ZW5lcgBQMTdiMkNvbnRhY3RMaXN0ZW5lcgBQSzE3YjJDb250YWN0TGlzdGVuZXIAMjRiMkNvbnRhY3RMaXN0ZW5lcldyYXBwZXIATjEwZW1zY3JpcHRlbjd3cmFwcGVySTE3YjJDb250YWN0TGlzdGVuZXJFRQBQMjRiMkNvbnRhY3RMaXN0ZW5lcldyYXBwZXIAUEsyNGIyQ29udGFjdExpc3RlbmVyV3JhcHBlcgA2YjJEcmF3AFA2YjJEcmF3AFBLNmIyRHJhdwB2aWlpaWkAdmlpaWZpAHZpaWlmaWkAMTNiMkRyYXdXcmFwcGVyAE4xMGVtc2NyaXB0ZW43d3JhcHBlckk2YjJEcmF3RUUAUDEzYjJEcmF3V3JhcHBlcgBQSzEzYjJEcmF3V3JhcHBlcgBQNmIyQUFCQgBQSzZiMkFBQkIAUDE1YjJSYXlDYXN0T3V0cHV0ADdiMldvcmxkAFA3YjJXb3JsZABQSzdiMldvcmxkAFA2YjJCb2R5ADZiMkJvZHkAUEs5YjJCb2R5RGVmADliMkJvZHlEZWYAUDdiMkpvaW50ADdiMkpvaW50AFBLMTBiMkpvaW50RGVmADEwYjJKb2ludERlZgB2aWlmaWkAUDliMkJvZHlEZWYAUEs2YjJCb2R5AHZpaWlmAHZpaWZpAFAxMGIyTWFzc0RhdGEAUDEwYjJKb2ludERlZgAxMWIySm9pbnRUeXBlAFBLN2IySm9pbnQAaWlpZgBmaWlmADE4YjJEaXN0YW5jZUpvaW50RGVmAFAxOGIyRGlzdGFuY2VKb2ludERlZgBQSzE4YjJEaXN0YW5jZUpvaW50RGVmAFAxNWIyRGlzdGFuY2VKb2ludABQSzE1YjJEaXN0YW5jZUpvaW50ADE1YjJNb3RvckpvaW50RGVmAFAxNWIyTW90b3JKb2ludERlZgBQSzE1YjJNb3RvckpvaW50RGVmAFAxMmIyTW90b3JKb2ludABQSzEyYjJNb3RvckpvaW50ADE1YjJNb3VzZUpvaW50RGVmAFAxNWIyTW91c2VKb2ludERlZgBQSzE1YjJNb3VzZUpvaW50RGVmAFAxMmIyTW91c2VKb2ludABQSzEyYjJNb3VzZUpvaW50ADE5YjJQcmlzbWF0aWNKb2ludERlZgBQMTliMlByaXNtYXRpY0pvaW50RGVmAFBLMTliMlByaXNtYXRpY0pvaW50RGVmAFAxNmIyUHJpc21hdGljSm9pbnQAUEsxNmIyUHJpc21hdGljSm9pbnQAMThiMlJldm9sdXRlSm9pbnREZWYAUDE4YjJSZXZvbHV0ZUpvaW50RGVmAFBLMThiMlJldm9sdXRlSm9pbnREZWYAUDE1YjJSZXZvbHV0ZUpvaW50AFBLMTViMlJldm9sdXRlSm9pbnQAMTRiMlJvcGVKb2ludERlZgBQMTRiMlJvcGVKb2ludERlZgBQSzE0YjJSb3BlSm9pbnREZWYAUDExYjJSb3BlSm9pbnQAUEsxMWIyUm9wZUpvaW50ADE0YjJXZWxkSm9pbnREZWYAUDE0YjJXZWxkSm9pbnREZWYAUEsxNGIyV2VsZEpvaW50RGVmAFAxMWIyV2VsZEpvaW50AFBLMTFiMldlbGRKb2ludAAxNWIyV2hlZWxKb2ludERlZgBQMTViMldoZWVsSm9pbnREZWYAUEsxNWIyV2hlZWxKb2ludERlZgBQMTJiMldoZWVsSm9pbnQAUEsxMmIyV2hlZWxKb2ludAAAAAAAAACMRwAAyAIAAMkCAADKAgAAywIAAMwCAADNAgAAzgIAAM8CAAAxM2IyQ2lyY2xlU2hhcGUAHGEAAHxHAABIYwAAAAAAANRHAADQAgAA0QIAANICAADTAgAA1AIAANUCAADWAgAA1wIAADE0YjJQb2x5Z29uU2hhcGUAAAAAHGEAAMBHAABIYwAAEAAAACAAAABAAAAAYAAAAIAAAACgAAAAwAAAAOAAAAAAAQAAQAEAAIABAADAAQAAAAIAAIACAAAAAAAAKGgAANgCAADZAgAAoAIAAKACAACgAgAAoAIAAKACAACgAgAAoAIAAAAAAABsSAAA2wIAANwCAADdAgAAMTViMkNpcmNsZUNvbnRhY3QAAAAcYQAAWEgAAFRJAAAAAAAAsEgAAN4CAADfAgAA4AIAAOECAADiAgAA4wIAAOQCAADlAgAAMTFiMkVkZ2VTaGFwZQAAABxhAACgSAAASGMAAAAAAADsSAAA5wIAAOgCAADpAgAAMjNiMkNoYWluQW5kQ2lyY2xlQ29udGFjdAAAABxhAADQSAAAVEkAAAAAAAAoSQAA6wIAAOwCAADtAgAAMjRiMkNoYWluQW5kUG9seWdvbkNvbnRhY3QAABxhAAAMSQAAVEkAAAAAAABUSQAAoAIAAPwCAAD9AgAAOWIyQ29udGFjdAAA9GAAAEhJAAAAAAAApEkAAAADAAABAwAAAgMAAAMDAAAEAwAABQMAAAYDAAAHAwAACAMAAAkDAAAKAwAAMTViMkRpc3RhbmNlSm9pbnQAAAAcYQAAkEkAADRrAAAAAAAA4EkAAAwDAAANAwAADgMAADIyYjJFZGdlQW5kQ2lyY2xlQ29udGFjdAAAAAAcYQAAxEkAAFRJAAAAAAAAHEoAABADAAARAwAAEgMAADIzYjJFZGdlQW5kUG9seWdvbkNvbnRhY3QAAAAcYQAAAEoAAFRJAAAAAAAAbEoAABMDAAAUAwAAFQMAABYDAAAXAwAABQMAABgDAAAZAwAAGgMAABsDAAAcAwAAMTFiMkdlYXJKb2ludAAAABxhAABcSgAANGsAAAAAAADASgAAHQMAAB4DAAAfAwAAIAMAACEDAAAFAwAAIgMAACMDAAAkAwAAJQMAACYDAAAxNWIyRnJpY3Rpb25Kb2ludAAAABxhAACsSgAANGsAAAAAAAA0awAAoAIAAKACAACgAgAAoAIAACcDAAAFAwAAKAMAACkDAACgAgAAoAIAAKACAAAAAAAAREsAACoDAAArAwAALAMAAC0DAAAuAwAABQMAAC8DAAAwAwAAMQMAADIDAAAzAwAAMTJiMk1vdG9ySm9pbnQAABxhAAA0SwAANGsAAAAAAACUSwAANAMAADUDAAA2AwAANwMAADgDAAA5AwAAOgMAADsDAAA8AwAAPQMAAD4DAAAxMmIyTW91c2VKb2ludAAAHGEAAIRLAAA0awAAAAAAANBLAABAAwAAQQMAAEIDAAAyNWIyUG9seWdvbkFuZENpcmNsZUNvbnRhY3QAHGEAALRLAABUSQAAAAAAAARMAABEAwAARQMAAEYDAAAxNmIyUG9seWdvbkNvbnRhY3QAABxhAADwSwAAVEkAAAAAAABYTAAARwMAAEgDAABJAwAASgMAAEsDAAAFAwAATAMAAE0DAABOAwAATwMAAFADAAAxNmIyUHJpc21hdGljSm9pbnQAABxhAABETAAANGsAAAAAAACoTAAAUQMAAFIDAABTAwAAVAMAAFUDAABWAwAAVwMAAFgDAABZAwAAWgMAAFsDAAAxM2IyUHVsbGV5Sm9pbnQAHGEAAJhMAAA0awAAAAAAAPxMAABcAwAAXQMAAF4DAABfAwAAYAMAAAUDAABhAwAAYgMAAGMDAABkAwAAZQMAADE1YjJSZXZvbHV0ZUpvaW50AAAAHGEAAOhMAAA0awAAAAAAAExNAABmAwAAZwMAAGgDAABpAwAAagMAAAUDAABrAwAAbAMAAG0DAABuAwAAbwMAADExYjJSb3BlSm9pbnQAAAAcYQAAPE0AADRrAAAAAAAAnE0AAHADAABxAwAAcgMAAHMDAAB0AwAABQMAAHUDAAB2AwAAdwMAAHgDAAB5AwAAMTFiMldlbGRKb2ludAAAABxhAACMTQAANGsAAAAAAADsTQAAegMAAHsDAAB8AwAAfQMAAH4DAAAFAwAAfwMAAIADAACBAwAAggMAAIMDAAAxMmIyV2hlZWxKb2ludAAAHGEAANxNAAA0awAAAAAAACBOAACEAwAAhQMAAIYDAAAxNWIyQ29udGFjdEZpbHRlcgAAAPRgAAAMTgAATlN0M19fMjEyYmFzaWNfc3RyaW5nSWhOU18xMWNoYXJfdHJhaXRzSWhFRU5TXzlhbGxvY2F0b3JJaEVFRUUAAPRgAAAoTgAATlN0M19fMjEyYmFzaWNfc3RyaW5nSXdOU18xMWNoYXJfdHJhaXRzSXdFRU5TXzlhbGxvY2F0b3JJd0VFRUUAAPRgAABwTgAATlN0M19fMjEyYmFzaWNfc3RyaW5nSURzTlNfMTFjaGFyX3RyYWl0c0lEc0VFTlNfOWFsbG9jYXRvcklEc0VFRUUAAAD0YAAAuE4AAE5TdDNfXzIxMmJhc2ljX3N0cmluZ0lEaU5TXzExY2hhcl90cmFpdHNJRGlFRU5TXzlhbGxvY2F0b3JJRGlFRUVFAAAA9GAAAARPAABOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0ljRUUAAPRgAABQTwAATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJYUVFAAD0YAAAeE8AAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWhFRQAA9GAAAKBPAABOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0lzRUUAAPRgAADITwAATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJdEVFAAD0YAAA8E8AAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWlFRQAA9GAAABhQAABOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0lqRUUAAPRgAABAUAAATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJbEVFAAD0YAAAaFAAAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SW1FRQAA9GAAAJBQAABOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0l4RUUAAPRgAAC4UAAATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJeUVFAAD0YAAA4FAAAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWZFRQAA9GAAAAhRAABOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0lkRUUAAPRgAAAwUQ=="); - base64DecodeToExistingUint8Array(bufferView, 20832, "AwAAAAQAAAAEAAAABgAAAIP5ogBETm4A/CkVANFXJwDdNPUAYtvAADyZlQBBkEMAY1H+ALveqwC3YcUAOm4kANJNQgBJBuAACeouAByS0QDrHf4AKbEcAOg+pwD1NYIARLsuAJzphAC0JnAAQX5fANaROQBTgzkAnPQ5AItfhAAo+b0A+B87AN7/lwAPmAUAES/vAApaiwBtH20Az342AAnLJwBGT7cAnmY/AC3qXwC6J3UA5evHAD178QD3OQcAklKKAPtr6gAfsV8ACF2NADADVgB7/EYA8KtrACC8zwA29JoA46kdAF5hkQAIG+YAhZllAKAUXwCNQGgAgNj/ACdzTQAGBjEAylYVAMmocwB74mAAa4zAABnERwDNZ8MACejcAFmDKgCLdsQAphyWAESv3QAZV9EApT4FAAUH/wAzfj8AwjLoAJhP3gC7fTIAJj3DAB5r7wCf+F4ANR86AH/yygDxhx0AfJAhAGokfADVbvoAMC13ABU7QwC1FMYAwxmdAK3EwgAsTUEADABdAIZ9RgDjcS0Am8aaADNiAAC00nwAtKeXADdV1QDXPvYAoxAYAE12/ABknSoAcNerAGN8+AB6sFcAFxXnAMBJVgA71tkAp4Q4ACQjywDWincAWlQjAAAfuQDxChsAGc7fAJ8x/wBmHmoAmVdhAKz7RwB+f9gAImW3ADLoiQDmv2AA78TNAGw2CQBdP9QAFt7XAFg73gDem5IA0iIoACiG6ADiWE0AxsoyAAjjFgDgfcsAF8BQAPMdpwAY4FsALhM0AIMSYgCDSAEA9Y5bAK2wfwAe6fIASEpDABBn0wCq3dgArl9CAGphzgAKKKQA05m0AAam8gBcd38Ao8KDAGE8iACKc3gAr4xaAG/XvQAtpmMA9L/LAI2B7wAmwWcAVcpFAMrZNgAoqNIAwmGNABLJdwAEJhQAEkabAMRZxADIxUQATbKRAAAX8wDUQ60AKUnlAP3VEAAAvvwAHpTMAHDO7gATPvUA7PGAALPnwwDH+CgAkwWUAMFxPgAuCbMAC0XzAIgSnACrIHsALrWfAEeSwgB7Mi8ADFVtAHKnkABr5x8AMcuWAHkWSgBBeeIA9N+JAOiUlwDi5oQAmTGXAIjtawBfXzYAu/0OAEiatABnpGwAcXJCAI1dMgCfFbgAvOUJAI0xJQD3dDkAMAUcAA0MAQBLCGgALO5YAEeqkAB05wIAvdYkAPd9pgBuSHIAnxbvAI6UpgC0kfYA0VNRAM8K8gAgmDMA9Ut+ALJjaADdPl8AQF0DAIWJfwBVUikAN2TAAG3YEAAySDIAW0x1AE5x1ABFVG4ACwnBACr1aQAUZtUAJwedAF0EUAC0O9sA6nbFAIf5FwBJa30AHSe6AJZpKQDGzKwArRRUAJDiagCI2YkALHJQAASkvgB3B5QA8zBwAAD8JwDqcagAZsJJAGTgPQCX3YMAoz+XAEOU/QANhowAMUHeAJI5nQDdcIwAF7fnAAjfOwAVNysAXICgAFqAkwAQEZIAD+jYAGyArwDb/0sAOJAPAFkYdgBipRUAYcu7AMeJuQAQQL0A0vIEAEl1JwDrtvYA2yK7AAoUqgCJJi8AZIN2AAk7MwAOlBoAUTqqAB2jwgCv7a4AXCYSAG3CTQAtepwAwFaXAAM/gwAJ8PYAK0CMAG0xmQA5tAcADCAVANjDWwD1ksQAxq1LAE7KpQCnN80A5qk2AKuSlADdQmgAGWPeAHaM7wBoi1IA/Ns3AK6hqwDfFTEAAK6hAAz72gBkTWYA7QW3ACllMABXVr8AR/86AGr5uQB1vvMAKJPfAKuAMABmjPYABMsVAPoiBgDZ5B0APbOkAFcbjwA2zQkATkLpABO+pAAzI7UA8KoaAE9lqADSwaUACz8PAFt4zQAj+XYAe4sEAIkXcgDGplMAb27iAO/rAACbSlgAxNq3AKpmugB2z88A0QIdALHxLQCMmcEAw613AIZI2gD3XaAAxoD0AKzwLwDd7JoAP1y8ANDebQCQxx8AKtu2AKMlOgAAr5oArVOTALZXBAApLbQAS4B+ANoHpwB2qg4Ae1mhABYSKgDcty0A+uX9AInb/gCJvv0A5HZsAAap/AA+gHAAhW4VAP2H/wAoPgcAYWczACoYhgBNveoAs+evAI9tbgCVZzkAMb9bAITXSAAw3xYAxy1DACVhNQDJcM4AMMu4AL9s/QCkAKIABWzkAFrdoAAhb0cAYhLSALlchABwYUkAa1bgAJlSAQBQVTcAHtW3ADPxxAATbl8AXTDkAIUuqQAdssMAoTI2AAi3pADqsdQAFvchAI9p5AAn/3cADAOAAI1ALQBPzaAAIKWZALOi0wAvXQoAtPlCABHaywB9vtAAm9vBAKsXvQDKooEACGpcAC5VFwAnAFUAfxTwAOEHhgAUC2QAlkGNAIe+3gDa/SoAayW2AHuJNAAF8/4Aub+eAGhqTwBKKqgAT8RaAC34vADXWpgA9MeVAA1NjQAgOqYApFdfABQ/sQCAOJUAzCABAHHdhgDJ3rYAv2D1AE1lEQABB2sAjLCsALLA0ABRVUgAHvsOAJVywwCjBjsAwEA1AAbcewDgRcwATin6ANbKyADo80EAfGTeAJtk2ADZvjEApJfDAHdY1ABp48UA8NoTALo6PABGGEYAVXVfANK99QBuksYArC5dAA5E7QAcPkIAYcSHACn96QDn1vMAInzKAG+RNQAI4MUA/9eNAG5q4gCw/cYAkwjBAHxddABrrbIAzW6dAD5yewDGEWoA98+pAClz3wC1yboAtwBRAOKyDQB0uiQA5X1gAHTYigANFSwAgRgMAH5mlAABKRYAn3p2AP39vgBWRe8A2X42AOzZEwCLurkAxJf8ADGoJwDxbsMAlMU2ANioVgC0qLUAz8wOABKJLQBvVzQALFaJAJnO4wDWILkAa16qAD4qnAARX8wA/QtKAOH0+wCOO20A4oYsAOnUhAD8tKkA7+7RAC41yQAvOWEAOCFEABvZyACB/AoA+0pqAC8c2ABTtIQATpmMAFQizAAqVdwAwMbWAAsZlgAacLgAaZVkACZaYAA/Uu4AfxEPAPS1EQD8y/UANLwtADS87gDoXcwA3V5gAGeOmwCSM+8AyRe4AGFYmwDhV7wAUYPGANg+EADdcUgALRzdAK8YoQAhLEYAWfPXANl6mACeVMAAT4b6AFYG/ADlea4AiSI2ADitIgBnk9wAVeiqAIImOADK55sAUQ2kAJkzsQCp1w4AaQVIAGWy8AB/iKcAiEyXAPnRNgAhkrMAe4JKAJjPIQBAn9wA3EdVAOF0OgBn60IA/p3fAF7UXwB7Z6QAuqx6AFX2ogAriCMAQbpVAFluCAAhKoYAOUeDAInj5gDlntQASftAAP9W6QAcD8oAxVmKAJT6KwDTwcUAD8XPANtargBHxYYAhUNiACGGOwAseZQAEGGHACpMewCALBoAQ78SAIgmkAB4PIkAqMTkAOXbewDEOsIAJvTqAPdnigANkr8AZaMrAD2TsQC9fAsApFHcACfdYwBp4d0AmpQZAKgplQBozigACe20AESfIABOmMoAcIJjAH58IwAPuTIAp/WOABRW5wAh8QgAtZ0qAG9+TQClGVEAtfmrAILf1gCW3WEAFjYCAMQ6nwCDoqEAcu1tADmNegCCuKkAazJcAEYnWwAANO0A0gB3APz0VQABWU0A4HGA"); - base64DecodeToExistingUint8Array(bufferView, 23619, "QPsh+T8AAAAALUR0PgAAAICYRvg8AAAAYFHMeDsAAACAgxvwOQAAAEAgJXo4AAAAgCKC4zYAAAAAHfNpNRkACgAZGRkAAAAABQAAAAAAAAkAAAAACwAAAAAAAAAAGQARChkZGQMKBwABAAkLGAAACQYLAAALAAYZAAAAGRkZ"); - base64DecodeToExistingUint8Array(bufferView, 23761, "DgAAAAAAAAAAGQAKDRkZGQANAAACAAkOAAAACQAOAAAO"); - base64DecodeToExistingUint8Array(bufferView, 23819, "DA=="); - base64DecodeToExistingUint8Array(bufferView, 23831, "EwAAAAATAAAAAAkMAAAAAAAMAAAM"); - base64DecodeToExistingUint8Array(bufferView, 23877, "EA=="); - base64DecodeToExistingUint8Array(bufferView, 23889, "DwAAAAQPAAAAAAkQAAAAAAAQAAAQ"); - base64DecodeToExistingUint8Array(bufferView, 23935, "Eg=="); - base64DecodeToExistingUint8Array(bufferView, 23947, "EQAAAAARAAAAAAkSAAAAAAASAAASAAAaAAAAGhoa"); - base64DecodeToExistingUint8Array(bufferView, 24002, "GgAAABoaGgAAAAAAAAk="); - base64DecodeToExistingUint8Array(bufferView, 24051, "FA=="); - base64DecodeToExistingUint8Array(bufferView, 24063, "FwAAAAAXAAAAAAkUAAAAAAAUAAAU"); - base64DecodeToExistingUint8Array(bufferView, 24109, "Fg=="); - base64DecodeToExistingUint8Array(bufferView, 24121, "FQAAAAAVAAAAAAkWAAAAAAAWAAAWAAAwMTIzNDU2Nzg5QUJDREVGTjEwX19jeHhhYml2MTE2X19zaGltX3R5cGVfaW5mb0UAAAAAHGEAAGBeAAD4YQAATjEwX19jeHhhYml2MTE3X19jbGFzc190eXBlX2luZm9FAAAAHGEAAJBeAACEXgAATjEwX19jeHhhYml2MTE3X19wYmFzZV90eXBlX2luZm9FAAAAHGEAAMBeAACEXgAATjEwX19jeHhhYml2MTE5X19wb2ludGVyX3R5cGVfaW5mb0UAHGEAAPBeAADkXgAATjEwX19jeHhhYml2MTIwX19mdW5jdGlvbl90eXBlX2luZm9FAAAAABxhAAAgXwAAhF4AAE4xMF9fY3h4YWJpdjEyOV9fcG9pbnRlcl90b19tZW1iZXJfdHlwZV9pbmZvRQAAABxhAABUXwAA5F4AAAAAAADUXwAAjQMAAI4DAACPAwAAkAMAAJEDAABOMTBfX2N4eGFiaXYxMjNfX2Z1bmRhbWVudGFsX3R5cGVfaW5mb0UAHGEAAKxfAACEXgAAdgAAAJhfAADgXwAARG4AAJhfAADsXwAAYgAAAJhfAAD4XwAAYwAAAJhfAAAEYAAAaAAAAJhfAAAQYAAAYQAAAJhfAAAcYAAAcwAAAJhfAAAoYAAAdAAAAJhfAAA0YAAAaQAAAJhfAABAYAAAagAAAJhfAABMYAAAbAAAAJhfAABYYAAAbQAAAJhfAABkYAAAeAAAAJhfAABwYAAAeQAAAJhfAAB8YAAAZgAAAJhfAACIYAAAZAAAAJhfAACUYAAAAAAAAOBgAACNAwAAkgMAAI8DAACQAwAAkwMAAE4xMF9fY3h4YWJpdjExNl9fZW51bV90eXBlX2luZm9FAAAAABxhAAC8YAAAhF4AAAAAAAC0XgAAjQMAAJQDAACPAwAAkAMAAJUDAACWAwAAlwMAAJgDAAAAAAAAZGEAAI0DAACZAwAAjwMAAJADAACVAwAAmgMAAJsDAACcAwAATjEwX19jeHhhYml2MTIwX19zaV9jbGFzc190eXBlX2luZm9FAAAAABxhAAA8YQAAtF4AAAAAAADAYQAAjQMAAJ0DAACPAwAAkAMAAJUDAACeAwAAnwMAAKADAABOMTBfX2N4eGFiaXYxMjFfX3ZtaV9jbGFzc190eXBlX2luZm9FAAAAHGEAAJhhAAC0XgAAAAAAABRfAACNAwAAoQMAAI8DAACQAwAAogMAAFN0OXR5cGVfaW5mbwAAAAD0YAAA6GE="); - base64DecodeToExistingUint8Array(bufferView, 25088, "jGAAAFBgAABEYAAAGGIAACBiAAAYYgAA9GAAAEw+AAD0YAAAVD4AAORfAABQYAAA/F8AAPxfAABQYAAA5F8AAFBgAACMYAAAjGAAAFBgAADkXwAAUGAAABhiAABQYAAAUGAAAFBgAADkXwAAUGAAAFBgAABQYAAAUGAAAERgAABQYAAARGAAAFBgAAAAAAAA5F8AAFBgAABQYAAAUGAAAIxgAACMYAAAjGAAAPxfAAA4YAAAOGAAACxgAADkXwAAUGAAAMhiAAD0YAAAjT4AAMhiAABQYAAA/F8AAFBgAAAYYgAA8GIAAFBgAABEYAAA9GAAAJc+AADkXwAAUGAAAERg"); - base64DecodeToExistingUint8Array(bufferView, 25360, "/F8AAFBgAAAgYgAAGGIAAAAAAABIYwAAngIAAJ8CAACgAgAAoAIAAKACAACgAgAAoAIAAKACAAD0YAAApT4AAORfAABQYAAAjGAAAIxgAAAYYgAAUGA="); - base64DecodeToExistingUint8Array(bufferView, 25456, "5F8AAFBgAABQYAAARGAAAORfAABQYAAAjGAAAIxgAACMYAAAjGAAAIxgAABQYAAAUGAAAFBgAAAYYgAAUGAAAERg"); - base64DecodeToExistingUint8Array(bufferView, 25536, "5F8AAFBgAABEYAAAjGAAAIxgAACoYAAAyj4AAKhgAADaPgAA9GAAAOc+AADUYQAACz8AAAAAAADkYwAA1GEAADA/AAABAAAA5GMAAOxjAADkXwAA7GMAAERgAAAAAAAA5F8AAOxjAABoYAAARGAAAGhgAAD8YwAARGQAAORjAABoYAAA9GAAAFs/AAAAAAAA/F8AAORjAABoYAAARGAAAPRgAABwPwAA1GEAAJw/AAAAAAAAYGQAANRhAADJPwAAAQAAAGBkAABoZAAA5F8AAGhkAAAYYg=="); - base64DecodeToExistingUint8Array(bufferView, 25760, "5F8AAGhkAABoYAAAGGIAAGhgAAB4ZAAARGQAAGBkAABoYA=="); - base64DecodeToExistingUint8Array(bufferView, 25808, "/F8AAGBkAABoYAAAGGIAAPRgAAD3PwAA9GAAAP4/AAD0YAAAB0AAAPRgAAAYQAAA9GAAACpAAAD0YAAAN0AAANRhAABJQAAAAAAAAAhlAADUYQAAXEAAAAEAAAAIZQAA/F8AABBlAABQYAAA9GAAALNAAAB4YQAAiUAAAAAAAAACAAAACGUAAAIAAAA8ZQAAAgQAABxhAABwQAAARGUAANRhAADYQAAAAAAAAGRlAADUYQAA8kAAAAEAAABkZQAA5F8AAGRlAABwZQAARGQAAAAAAABkZQAAoQIAAKICAACjAgAAAAAAAERlAACkAgAApQIAAKACAAAAAAAACGUAAKYCAACnAgAAoAIAAORfAAD8XwAAUGAAAERkAAD0ZQAARGQAAPRgAAANQQAA9GAAAExBAADUYQAAYEEAAAAAAAD8ZQAA1GEAAHVBAAABAAAA/GU="); - base64DecodeToExistingUint8Array(bufferView, 26160, "jGAAAARmAABQYAAAGGIAABhiAACMYAAAeGEAAK5BAAAAAAAAAgAAAPxlAAACAAAAPGUAAAIEAAAcYQAAk0EAAEhmAADUYQAA2kEAAAAAAABoZgAA1GEAAPZBAAABAAAAaGYAAORfAABoZgAAdGYAAERkAAAAAAAAaGYAAKgCAACpAgAAqgIAAAAAAABIZgAAqwIAAKwCAACgAgAAAAAAAPxlAACtAgAArgIAAKACAACMYAAAUGAAABhiAAAYYgAAjGAAAPRgAAATQgAA1GEAACdCAAAAAAAA9GYAANRhAAA8QgAAAQAAAPRmAADkXwAA/GYAAFBg"); - base64DecodeToExistingUint8Array(bufferView, 26416, "5F8AAPxmAABQYAAAUGAAAHhhAABtQgAAAAAAAAIAAAD0ZgAAAgAAADxlAAACBAAAHGEAAFJCAABAZwAA5F8AAHhnAABQYAAA1GEAAJlCAAAAAAAAYGcAAPxfAAB4ZwAAUGAAANRhAAC1QgAAAQAAAGBnAADkXwAAYGcAAHhnAABEZAAAAAAAAGBnAACvAgAAsAIAALECAACyAgAAswIAALQCAAAAAAAAQGcAALUCAAC2AgAAtwIAALgCAAC5AgAAugIAAAAAAAD0ZgAAuwIAALwCAAC3AgAAuAIAALkCAAC6AgAA5F8AAFBgAADkXwAAUGAAAFBgAAD0YAAA0kIAANRhAADaQgAAAAAAAChoAADUYQAA40IAAAEAAAAoaAAA5F8AADBoAABQYAAAUGAAAEBo"); - base64DecodeToExistingUint8Array(bufferView, 26736, "5F8AADBoAABQYAAARGAAAOhk"); - base64DecodeToExistingUint8Array(bufferView, 26768, "5F8AADBoAAAYYgAAjGAAAOhk"); - base64DecodeToExistingUint8Array(bufferView, 26800, "5F8AADBoAAAYYgAAjGAAABhiAADoZA=="); - base64DecodeToExistingUint8Array(bufferView, 26832, "5F8AADBoAAAYYgAAGGIAAOhkAADkXwAAMGgAACBiAAB4YQAAE0MAAAAAAAACAAAAKGgAAAIAAAA8ZQAAAggAABxhAAADQwAA8GgAANRhAAAzQwAAAAAAABBpAADUYQAAREMAAAEAAAAQaQAA5F8AABBpAAAcaQAARGQAAAAAAAAQaQAAvQIAAL4CAAC/AgAAwAIAAMECAADCAgAAwwIAAMQCAADFAgAAAAAAAPBoAADGAgAAxwIAAKACAACgAgAAoAIAAKACAACgAgAAoAIAAKAC"); - base64DecodeToExistingUint8Array(bufferView, 27056, "5F8AAFBgAABEYAAA6GQAAORfAAAYYgAAjGAAAOhkAADkXwAAGGIAAIxgAAAYYgAA6GQ="); - base64DecodeToExistingUint8Array(bufferView, 27120, "5F8AABhiAAAYYgAA6GQAAORfAAAgYgAA1GEAAFZDAAAAAAAA8GIAANRhAABfQwAAAQAAAPBiAAAIagAA/F8AABhqAAAYYgAAGGoAAIxgAAAYagAA5F8AAAhqAAAIagAA5F8AAAhqAAAIagAACGoAAPxfAAAYagAA8GIAAAAAAAD8XwAAGGoAAIBqAADwZAAA1GEAAGlDAAAAAAAA+GQAAPRgAAB8QwAA1GEAAIVDAAAAAAAAkGoAANRhAACPQwAAAQAAAJBqAACYagAAGGIAAORfAACYagAA/GYAAORfAACYagAAMGgAAORfAACYagAA9GoAAJhqAAAMawAA9GAAAKNDAADUYQAAmkMAAAAAAADsagAA9GAAALhDAADUYQAAq0MAAAEAAAAEawAA5F8AAJhqAAD0agAAPGsAAJhqAABUawAA9GAAAM1DAADUYQAAw0MAAAAAAAA0awAA9GAAAOVDAADUYQAA1kMAAAEAAABMawAA5F8AAJhqAAA8awAA5F8AAJhqAACMYAAARGAAAERg"); - base64DecodeToExistingUint8Array(bufferView, 27536, "5F8AAKhqAAAQZQAA8GIAAORfAACoagAABGYAABhiAAAYYgAA5F8AAJhqAAD8XwAA/F8AAKhqAADkXwAAmGoAABhiAAAYYgAAqGoAANRhAAD5QwAAAAAAAARrAADcawAA1GEAAAVEAAABAAAA7GoAAORfAAD0agAAGGIAAIxgAAAgYgAA8GsAABhiAADwawAAjGAAAPBrAADkXwAA9GoAABhiAADkXwAA9GoAAIxgAADkXwAA9GoAABhiAAAYYgAA/F8="); - base64DecodeToExistingUint8Array(bufferView, 27744, "5F8AAPRqAAAYYgAA/F8AAORfAAD0agAAjGAAAPxfAADkXwAA8GsAAIxsAADUYQAAG0QAAAAAAAAAZQAA5F8AAPRqAAAAZQAA5F8AAPRqAAAYYgAA8GsAABhiAADkXwAA9GoAANxjAADcYwAA8GsAAORfAAD0agAA/F8AAPxfAADwawAAUGAAAPRqAACYagAA9GoAANRhAAApRAAAAAAAAExrAAD0bAAAqGAAADdEAADkXwAA9GwAAPRqAAD0agAA9GwAANRhAABFRAAAAQAAADRrAAAIbQAAJG0AAPRqAAA8awAAGGIAACRtAAAYYgAAJG0AAIxgAACMYAAAJG0AAIxgAAD8XwAAJG0AAORfAAA8awAAHGEAAFpEAABMawAA1GEAAG9EAAAAAAAAdG0AANRhAACFRAAAAQAAAHRtAACAbQAA1GEAAJxEAAAAAAAApEkAANRhAACvRAAAAQAAAKRJAAAYYgAAtG0AAORfAACkbQAAjGAAAIxgAAC0bQAA5F8AAKRtAAAcYQAAw0QAAExrAADUYQAA1UQAAAAAAADobQAA1GEAAOhEAAABAAAA6G0AAPRtAADUYQAA/EQAAAAAAABESwAA1GEAAAxFAAABAAAAREsAAORfAAAYbgAAGGIAABhiAAAobgAA5F8AABhuAACMYAAAjGAAAChuAADkXwAAGG4AABxhAAAdRQAATGsAANRhAAAvRQAAAAAAAGhuAADUYQAAQkUAAAEAAABobgAAdG4AANRhAABWRQAAAAAAAJRLAADUYQAAZkUAAAEAAACUSwAA5F8AAJhuAAAYYgAAGGIAAKhuAADkXwAAmG4AAIxgAACMYAAAqG4AAORfAACYbgAAHGEAAHdFAABMawAA1GEAAI1FAAAAAAAA6G4AANRhAACkRQAAAQAAAOhuAAD0bgAA1GEAALxFAAAAAAAAWEwAANRhAADQRQAAAQAAAFhMAAAYYgAAKG8AAIxgAAAobwAA/F8AAChvAADkXwAAGG8AAPxfAAAAAAAA5F8AABhvAACMYAAAjGAAAORfAAAYbwAAjGAAAIxgAAAobwAAjGAAAORfAAAYbwAAHGEAAOVFAABMawAA1GEAAPpFAAAAAAAAkG8AANRhAAAQRgAAAQAAAJBvAACcbwAA1GEAACdGAAAAAAAA/EwAANRhAAA6RgAAAQAAAPxMAAAYYgAA0G8AAIxgAADQbwAA/F8AANBvAADkXwAAwG8AAPxf"); - base64DecodeToExistingUint8Array(bufferView, 28688, "5F8AAMBvAACMYAAAjGAAAORfAADAbwAAjGAAAIxgAADQbwAAjGAAAORfAADAbwAAHGEAAE5GAABMawAA1GEAAF9GAAAAAAAAQHAAANRhAABxRgAAAQAAAEBwAABMcAAA1GEAAIRGAAAAAAAATE0AANRhAACTRgAAAQAAAExNAAAYYgAAgHAAABhiAACAcAAAjGAAAIxgAACAcAAAjGAAAORfAABwcAAAjGAAAIxgAACAcAAA5F8AAHBwAAAcYQAAo0YAAExrAADUYQAAtEYAAAAAAADMcAAA1GEAAMZGAAABAAAAzHAAANhwAADUYQAA2UYAAAAAAACcTQAA1GEAAOhGAAABAAAAnE0AABhiAAAMcQAAjGAAAAxxAADkXwAA/HAAAIxgAADkXwAA/HAAABxhAAD4RgAATGsAANRhAAAKRwAAAAAAAEBxAADUYQAAHUcAAAEAAABAcQAATHEAANRhAAAxRwAAAAAAAOxNAADUYQAAQUcAAAEAAADsTQAAGGIAAIBxAACMYAAAgHEAAPxfAACAcQAA5F8AAHBxAAD8XwAA5F8AAHBxAACMYAAAjGAAAIBxAACMYAAA5F8AAHBxAAACAAAABAAAAAAAAAAATgAA/GcAAAEAAAAAAAAABQ=="); - base64DecodeToExistingUint8Array(bufferView, 29180, "iAM="); - base64DecodeToExistingUint8Array(bufferView, 29204, "iQMAAIoDAAB4dgAAAAQ="); - base64DecodeToExistingUint8Array(bufferView, 29228, "AQ=="); - base64DecodeToExistingUint8Array(bufferView, 29244, "/////wo="); - base64DecodeToExistingUint8Array(bufferView, 29312, "MH0B"); -} - - var scratchBuffer = new ArrayBuffer(16); - var i32ScratchView = new Int32Array(scratchBuffer); - var f32ScratchView = new Float32Array(scratchBuffer); - var f64ScratchView = new Float64Array(scratchBuffer); - - function wasm2js_scratch_load_i32(index) { - return i32ScratchView[index]; - } - - function wasm2js_scratch_store_i32(index, value) { - i32ScratchView[index] = value; - } - - function wasm2js_scratch_load_f64() { - return f64ScratchView[0]; - } - - function wasm2js_scratch_store_f64(value) { - f64ScratchView[0] = value; - } - function wasm2js_trap() { throw new Error('abort'); } - - function wasm2js_scratch_store_f32(value) { - f32ScratchView[2] = value; - } - - function wasm2js_scratch_load_f32() { - return f32ScratchView[2]; - } - -function asmFunc(imports) { - var env = imports.env; - var memory = env.memory; - var buffer = memory.buffer; - memory.grow = __wasm_memory_grow; - var HEAP8 = new Int8Array(buffer); - var HEAP16 = new Int16Array(buffer); - var HEAP32 = new Int32Array(buffer); - var HEAPU8 = new Uint8Array(buffer); - var HEAPU16 = new Uint16Array(buffer); - var HEAPU32 = new Uint32Array(buffer); - var HEAPF32 = new Float32Array(buffer); - var HEAPF64 = new Float64Array(buffer); - var Math_imul = Math.imul; - var Math_fround = Math.fround; - var Math_abs = Math.abs; - var Math_clz32 = Math.clz32; - var Math_min = Math.min; - var Math_max = Math.max; - var Math_floor = Math.floor; - var Math_ceil = Math.ceil; - var Math_trunc = Math.trunc; - var Math_sqrt = Math.sqrt; - var _embind_register_class = env._embind_register_class; - var _embind_register_class_class_function = env._embind_register_class_class_function; - var _embind_register_class_property = env._embind_register_class_property; - var _embind_register_constant = env._embind_register_constant; - var _embind_register_function = env._embind_register_function; - var _embind_register_enum = env._embind_register_enum; - var _embind_register_enum_value = env._embind_register_enum_value; - var _embind_register_value_object = env._embind_register_value_object; - var _embind_register_value_object_field = env._embind_register_value_object_field; - var _embind_finalize_value_object = env._embind_finalize_value_object; - var __assert_fail = env.__assert_fail; - var abort = env.abort; - var _embind_register_class_constructor = env._embind_register_class_constructor; - var _embind_register_class_function = env._embind_register_class_function; - var _emval_incref = env._emval_incref; - var _emval_decref = env._emval_decref; - var _emval_take_value = env._emval_take_value; - var _embind_create_inheriting_constructor = env._embind_create_inheriting_constructor; - var _emval_call_void_method = env._emval_call_void_method; - var _emval_get_method_caller = env._emval_get_method_caller; - var _emval_call_method = env._emval_call_method; - var _emval_run_destructors = env._emval_run_destructors; - var _embind_register_void = env._embind_register_void; - var _embind_register_bool = env._embind_register_bool; - var _embind_register_integer = env._embind_register_integer; - var _embind_register_float = env._embind_register_float; - var _embind_register_std_string = env._embind_register_std_string; - var _embind_register_std_wstring = env._embind_register_std_wstring; - var _embind_register_emval = env._embind_register_emval; - var _embind_register_memory_view = env._embind_register_memory_view; - var emscripten_memcpy_big = env.emscripten_memcpy_big; - var wasi_snapshot_preview1 = imports.wasi_snapshot_preview1; - var __wasi_fd_write = wasi_snapshot_preview1.fd_write; - var emscripten_resize_heap = env.emscripten_resize_heap; - var legalimport$_embind_register_bigint = env._embind_register_bigint; - var __stack_pointer = 97584; - var i64toi32_i32$HIGH_BITS = 0; - // EMSCRIPTEN_START_FUNCS -function embind_init_b2_28_29() { - var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $0 = __stack_pointer - 13120 | 0; - __stack_pointer = $0; - void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(11119, 29140); - void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(11105, 29144); - void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(11133, 29148); - HEAP32[$0 + 3340 >> 2] = 8; - void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(3749, $0 + 3340 | 0); - void_20emscripten__function_float_2c_20unsigned_20int_2c_20int__28char_20const__2c_20float_20_28__29_28unsigned_20int_2c_20int_29_29(12350, 2); - void_20emscripten__function_b2Vec2_2c_20b2Transform_20const__2c_20b2Vec2_20const__2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2Vec2_20_28__29_28b2Transform_20const__2c_20b2Vec2_20const__29_2c_20emscripten__allow_raw_pointers_29(12325, 3); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20bool__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20bool_29_29(10463, 4); - void_20emscripten__function_bool_2c_20unsigned_20int__28char_20const__2c_20bool_20_28__29_28unsigned_20int_29_29(8013, 5); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20float__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20float_29_29(10520, 6); - void_20emscripten__function_float_2c_20unsigned_20int__28char_20const__2c_20float_20_28__29_28unsigned_20int_29_29(10543, 7); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20float__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20float_29_29(6663, 8); - void_20emscripten__function_float_2c_20unsigned_20int__28char_20const__2c_20float_20_28__29_28unsigned_20int_29_29(6701, 9); - void_20emscripten__function_void_2c_20unsigned_20int__28char_20const__2c_20void_20_28__29_28unsigned_20int_29_29(6642, 10); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20float__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20float_29_29(6479, 11); - void_20emscripten__function_float_2c_20unsigned_20int__28char_20const__2c_20float_20_28__29_28unsigned_20int_29_29(6523, 12); - void_20emscripten__function_void_2c_20unsigned_20int__28char_20const__2c_20void_20_28__29_28unsigned_20int_29_29(6455, 13); - void_20emscripten__function_b2Vec2_2c_20unsigned_20int__28char_20const__2c_20b2Vec2_20_28__29_28unsigned_20int_29_29(9425, 14); - void_20emscripten__function_unsigned_20int_2c_20unsigned_20int__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_29_29(11529, 15); - void_20emscripten__function_unsigned_20int_2c_20unsigned_20int__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_29_29(11327, 16); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20unsigned_20int__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20unsigned_20int_29_29(10301, 17); - void_20emscripten__function_unsigned_20int_2c_20unsigned_20int__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_29_29(10282, 18); - void_20emscripten__function_unsigned_20int_2c_20unsigned_20int__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_29_29(9536, 19); - void_20emscripten__function_unsigned_20int_2c_20unsigned_20int__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_29_29(2278, 20); - void_20emscripten__function_unsigned_20int_2c_20unsigned_20int_2c_20int__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_2c_20int_29_29(3768, 21); - void_20emscripten__function_float_2c_20unsigned_20int__28char_20const__2c_20float_20_28__29_28unsigned_20int_29_29(10995, 22); - void_20emscripten__function_float_2c_20unsigned_20int__28char_20const__2c_20float_20_28__29_28unsigned_20int_29_29(10838, 23); - void_20emscripten__function_float_2c_20unsigned_20int__28char_20const__2c_20float_20_28__29_28unsigned_20int_29_29(11052, 24); - void_20emscripten__function_float_2c_20unsigned_20int__28char_20const__2c_20float_20_28__29_28unsigned_20int_29_29(10895, 25); - void_20emscripten__function_float_2c_20unsigned_20int__28char_20const__2c_20float_20_28__29_28unsigned_20int_29_29(10924, 26); - void_20emscripten__function_float_2c_20unsigned_20int__28char_20const__2c_20float_20_28__29_28unsigned_20int_29_29(10767, 27); - void_20emscripten__function_float_2c_20unsigned_20int__28char_20const__2c_20float_20_28__29_28unsigned_20int_29_29(9302, 28); - void_20emscripten__function_float_2c_20unsigned_20int__28char_20const__2c_20float_20_28__29_28unsigned_20int_29_29(9200, 29); - void_20emscripten__function_unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28_29_2c_20emscripten__allow_raw_pointers_29(1920, 30); - void_20emscripten__function_float_2c_20unsigned_20int_2c_20int__28char_20const__2c_20float_20_28__29_28unsigned_20int_2c_20int_29_29(10967, 31); - void_20emscripten__function_float_2c_20unsigned_20int_2c_20int__28char_20const__2c_20float_20_28__29_28unsigned_20int_2c_20int_29_29(10810, 32); - void_20emscripten__function_float_2c_20unsigned_20int_2c_20int__28char_20const__2c_20float_20_28__29_28unsigned_20int_2c_20int_29_29(9052, 33); - void_20emscripten__function_float_2c_20unsigned_20int__28char_20const__2c_20float_20_28__29_28unsigned_20int_29_29(11023, 34); - void_20emscripten__function_float_2c_20unsigned_20int__28char_20const__2c_20float_20_28__29_28unsigned_20int_29_29(10866, 35); - void_20emscripten__function_void_2c_20unsigned_20int__28char_20const__2c_20void_20_28__29_28unsigned_20int_29_29(9155, 36); - void_20emscripten__function_float_2c_20unsigned_20int_2c_20int__28char_20const__2c_20float_20_28__29_28unsigned_20int_2c_20int_29_29(9332, 37); - void_20emscripten__function_float_2c_20unsigned_20int_2c_20int__28char_20const__2c_20float_20_28__29_28unsigned_20int_2c_20int_29_29(9231, 38); - void_20emscripten__function_int_2c_20unsigned_20int__28char_20const__2c_20int_20_28__29_28unsigned_20int_29_29(2300, 39); - void_20emscripten__function_unsigned_20int_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(4269, 40); - void_20emscripten__function_unsigned_20int_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(2710, 41); - void_20emscripten__function_unsigned_20int_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(1950, 42); - void_20emscripten__function_unsigned_20int_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(1982, 43); - void_20emscripten__function_unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28_29_2c_20emscripten__allow_raw_pointers_29(1875, 44); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(9101, 45); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20bool_2c_20unsigned_20short_2c_20unsigned_20short_2c_20short_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20bool_2c_20unsigned_20short_2c_20unsigned_20short_2c_20short_29_2c_20emscripten__allow_raw_pointers_29(7138, 46); - void_20emscripten__function_unsigned_20int_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(9508, 47); - void_20emscripten__function_unsigned_20int_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(9601, 48); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20bool_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20bool_29_2c_20emscripten__allow_raw_pointers_29(3972, 49); - void_20emscripten__function_bool_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20bool_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(3989, 50); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20b2Filter_20const__2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20b2Filter_20const__29_2c_20emscripten__allow_raw_pointers_29(10676, 51); - void_20emscripten__function_b2Filter_20const__2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2Filter_20const__20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(10697, 52); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(4120, 53); - void_20emscripten__function_unsigned_20int_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(1675, 54); - void_20emscripten__function_unsigned_20int_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(1967, 55); - void_20emscripten__function_unsigned_20int_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(10737, 56); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(10718, 57); - void_20emscripten__function_bool_2c_20unsigned_20int_2c_20b2Vec2_20const__2c_20emscripten__allow_raw_pointers__28char_20const__2c_20bool_20_28__29_28unsigned_20int_2c_20b2Vec2_20const__29_2c_20emscripten__allow_raw_pointers_29(2559, 58); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20float_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20float_29_2c_20emscripten__allow_raw_pointers_29(1123, 59); - void_20emscripten__function_float_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20float_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(1141, 60); - void_20emscripten__function_float_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20float_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(6720, 61); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20float_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20float_29_2c_20emscripten__allow_raw_pointers_29(6682, 62); - void_20emscripten__function_float_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20float_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(6545, 63); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20float_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20float_29_2c_20emscripten__allow_raw_pointers_29(6501, 64); - void_20emscripten__function_b2AABB_20const__2c_20unsigned_20int_2c_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2AABB_20const__20_28__29_28unsigned_20int_2c_20int_29_2c_20emscripten__allow_raw_pointers_29(11356, 65); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20int_29_2c_20emscripten__allow_raw_pointers_29(6317, 66); - void_20emscripten__function_float_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20float_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(3472, 67); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20float_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20float_29_2c_20emscripten__allow_raw_pointers_29(3457, 68); - void_20emscripten__function_unsigned_20int_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(9523, 69); - void_20emscripten__function_unsigned_20int_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(2530, 70); - void_20emscripten__function_bool_2c_20unsigned_20int_2c_20b2Transform_20const__2c_20b2Vec2_20const__2c_20emscripten__allow_raw_pointers__28char_20const__2c_20bool_20_28__29_28unsigned_20int_2c_20b2Transform_20const__2c_20b2Vec2_20const__29_2c_20emscripten__allow_raw_pointers_29(2576, 71); - void_20emscripten__function_unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28_29_2c_20emscripten__allow_raw_pointers_29(1905, 72); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(9137, 73); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20float_2c_20float_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20float_2c_20float_29_2c_20emscripten__allow_raw_pointers_29(6576, 74); - void_20emscripten__function_b2Vec2_20const__2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2Vec2_20const__20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(6599, 75); - void_20emscripten__function_unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28_29_2c_20emscripten__allow_raw_pointers_29(1889, 76); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(9118, 77); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20unsigned_20int_2c_20int_29_2c_20emscripten__allow_raw_pointers_29(3207, 78); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20float_2c_20float_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20float_2c_20float_29_2c_20emscripten__allow_raw_pointers_29(1790, 79); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_29_2c_20emscripten__allow_raw_pointers_29(9709, 80); - void_20emscripten__function_unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_2c_20unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(9468, 81); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(9392, 82); - void_20emscripten__function_unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28_29_2c_20emscripten__allow_raw_pointers_29(1861, 83); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(9084, 84); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20float_2c_20float_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20float_2c_20float_29_2c_20emscripten__allow_raw_pointers_29(7281, 85); - void_20emscripten__function_int_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20int_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(8779, 86); - void_20emscripten__function_float_2c_20unsigned_20int_2c_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20float_20_28__29_28unsigned_20int_2c_20int_29_2c_20emscripten__allow_raw_pointers_29(10952, 87); - void_20emscripten__function_float_2c_20unsigned_20int_2c_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20float_20_28__29_28unsigned_20int_2c_20int_29_2c_20emscripten__allow_raw_pointers_29(10795, 88); - void_20emscripten__function_b2Vec2_20const__2c_20unsigned_20int_2c_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2Vec2_20const__20_28__29_28unsigned_20int_2c_20int_29_2c_20emscripten__allow_raw_pointers_29(3223, 89); - void_20emscripten__function_unsigned_20int_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(3796, 90); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20int_2c_20float_2c_20float_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20int_2c_20float_2c_20float_29_2c_20emscripten__allow_raw_pointers_29(8742, 91); - void_20emscripten__function_void_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29(4301, 92); - emscripten__enum__b2Shape__Type___enum__28char_20const__29($0 + 3284 | 0, 9573); - emscripten__enum__b2Shape__Type___value_28char_20const__2c_20b2Shape__Type_29(emscripten__enum__b2Shape__Type___value_28char_20const__2c_20b2Shape__Type_29(emscripten__enum__b2Shape__Type___value_28char_20const__2c_20b2Shape__Type_29(emscripten__enum__b2Shape__Type___value_28char_20const__2c_20b2Shape__Type_29(emscripten__enum__b2Shape__Type___value_28char_20const__2c_20b2Shape__Type_29($0 + 3284 | 0, 9825, 0), 10003, 1), 7008, 2), 7081, 3), 2502, 4); - emscripten__enum__b2BodyType___enum__28char_20const__29($0 + 3283 | 0, 9491); - emscripten__enum__b2BodyType___value_28char_20const__2c_20b2BodyType_29(emscripten__enum__b2BodyType___value_28char_20const__2c_20b2BodyType_29(emscripten__enum__b2BodyType___value_28char_20const__2c_20b2BodyType_29($0 + 3283 | 0, 1701, 0), 1715, 1), 1742, 2); - emscripten__class__std____2__vector_int_2c_20std____2__allocator_int___2c_20emscripten__internal__NoBaseClass__20emscripten__register_vector_int__28char_20const__29(3885); - emscripten__value_object_b2Vec2___value_object_28char_20const__29($0 + 3281 | 0, 12345); - emscripten__value_object_b2Vec2___20emscripten__value_object_b2Vec2___field_b2Vec2_2c_20float__28char_20const__2c_20float_20b2Vec2____29(emscripten__value_object_b2Vec2___20emscripten__value_object_b2Vec2___field_b2Vec2_2c_20float__28char_20const__2c_20float_20b2Vec2____29($0 + 3281 | 0, 1859, 0), 1788, 4); - emscripten__value_object_b2Vec2____value_object_28_29($0 + 3281 | 0); - emscripten__class__std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___2c_20emscripten__internal__NoBaseClass__20emscripten__register_vector_b2Vec2__28char_20const__29(3874); - emscripten__value_object_b2Rot___value_object_28char_20const__29($0 + 3279 | 0, 2077); - emscripten__value_object_b2Rot___20emscripten__value_object_b2Rot___field_b2Rot_2c_20float__28char_20const__2c_20float_20b2Rot____29(emscripten__value_object_b2Rot___20emscripten__value_object_b2Rot___field_b2Rot_2c_20float__28char_20const__2c_20float_20b2Rot____29($0 + 3279 | 0, 3766, 0), 10617, 4); - emscripten__value_object_b2Rot____value_object_28_29($0 + 3279 | 0); - emscripten__value_object_b2Transform___value_object_28char_20const__29($0 + 3278 | 0, 7123); - emscripten__value_object_b2Transform___20emscripten__value_object_b2Transform___field_b2Transform_2c_20b2Rot__28char_20const__2c_20b2Rot_20b2Transform____29(emscripten__value_object_b2Transform___20emscripten__value_object_b2Transform___field_b2Transform_2c_20b2Vec2__28char_20const__2c_20b2Vec2_20b2Transform____29($0 + 3278 | 0, 6353, 0), 4317, 8); - emscripten__value_object_b2Transform____value_object_28_29($0 + 3278 | 0); - emscripten__value_object_b2Color___value_object_28char_20const__29($0 + 3277 | 0, 4005); - emscripten__value_object_b2Color___20emscripten__value_object_b2Color___field_b2Color_2c_20float__28char_20const__2c_20float_20b2Color____29(emscripten__value_object_b2Color___20emscripten__value_object_b2Color___field_b2Color_2c_20float__28char_20const__2c_20float_20b2Color____29(emscripten__value_object_b2Color___20emscripten__value_object_b2Color___field_b2Color_2c_20float__28char_20const__2c_20float_20b2Color____29(emscripten__value_object_b2Color___20emscripten__value_object_b2Color___field_b2Color_2c_20float__28char_20const__2c_20float_20b2Color____29($0 + 3277 | 0, 4315, 0), 8029, 4), 10619, 8), 10765, 12); - emscripten__value_object_b2Color____value_object_28_29($0 + 3277 | 0); - emscripten__value_object_b2RayCastInput___value_object_28char_20const__29($0 + 3276 | 0, 2013); - emscripten__value_object_b2RayCastInput___20emscripten__value_object_b2RayCastInput___field_b2RayCastInput_2c_20float__28char_20const__2c_20float_20b2RayCastInput____29(emscripten__value_object_b2RayCastInput___20emscripten__value_object_b2RayCastInput___field_b2RayCastInput_2c_20b2Vec2__28char_20const__2c_20b2Vec2_20b2RayCastInput____29(emscripten__value_object_b2RayCastInput___20emscripten__value_object_b2RayCastInput___field_b2RayCastInput_2c_20b2Vec2__28char_20const__2c_20b2Vec2_20b2RayCastInput____29($0 + 3276 | 0, 12396, 0), 12342, 8), 6799, 16); - emscripten__value_object_b2RayCastInput____value_object_28_29($0 + 3276 | 0); - emscripten__value_object_b2RayCastOutput___value_object_28char_20const__29($0 + 3275 | 0, 1999); - emscripten__value_object_b2RayCastOutput___20emscripten__value_object_b2RayCastOutput___field_b2RayCastOutput_2c_20float__28char_20const__2c_20float_20b2RayCastOutput____29(emscripten__value_object_b2RayCastOutput___20emscripten__value_object_b2RayCastOutput___field_b2RayCastOutput_2c_20b2Vec2__28char_20const__2c_20b2Vec2_20b2RayCastOutput____29($0 + 3275 | 0, 7171, 0), 6758, 8); - emscripten__value_object_b2RayCastOutput____value_object_28_29($0 + 3275 | 0); - emscripten__value_object_b2MassData___value_object_28char_20const__29($0 + 3274 | 0, 10667); - emscripten__value_object_b2MassData___20emscripten__value_object_b2MassData___field_b2MassData_2c_20float__28char_20const__2c_20float_20b2MassData____29(emscripten__value_object_b2MassData___20emscripten__value_object_b2MassData___field_b2MassData_2c_20b2Vec2__28char_20const__2c_20b2Vec2_20b2MassData____29(emscripten__value_object_b2MassData___20emscripten__value_object_b2MassData___field_b2MassData_2c_20float__28char_20const__2c_20float_20b2MassData____29($0 + 3274 | 0, 3602, 0), 4027, 4), 11161, 12); - emscripten__value_object_b2MassData____value_object_28_29($0 + 3274 | 0); - emscripten__value_object_b2Filter___value_object_28char_20const__29($0 + 3273 | 0, 4136); - emscripten__value_object_b2Filter___20emscripten__value_object_b2Filter___field_b2Filter_2c_20short__28char_20const__2c_20short_20b2Filter____29(emscripten__value_object_b2Filter___20emscripten__value_object_b2Filter___field_b2Filter_2c_20unsigned_20short__28char_20const__2c_20unsigned_20short_20b2Filter____29(emscripten__value_object_b2Filter___20emscripten__value_object_b2Filter___field_b2Filter_2c_20unsigned_20short__28char_20const__2c_20unsigned_20short_20b2Filter____29($0 + 3273 | 0, 3580, 0), 3593, 2), 1821, 4); - emscripten__value_object_b2Filter____value_object_28_29($0 + 3273 | 0); - HEAP32[$0 + 3364 >> 2] = $0 + 3272; - HEAP32[$0 + 3360 >> 2] = 7178; - void_20emscripten__internal__NoBaseClass__verify_b2QueryCallback__28_29(); - HEAP32[$0 + 3356 >> 2] = 93; - wasm2js_i32$0 = $0, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getUpcaster_b2QueryCallback__28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 3352 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getDowncaster_b2QueryCallback__28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 3348 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 3344 >> 2] = 94; - $1 = emscripten__internal__TypeID_b2QueryCallback_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2QueryCallback__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2QueryCallback_20const__2c_20void___get_28_29(); - $4 = emscripten__internal__NoBaseClass__get_28_29(); - HEAP32[$0 + 11768 >> 2] = HEAP32[$0 + 3356 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 3356 >> 2]; - HEAP32[$0 + 11764 >> 2] = HEAP32[$0 + 3352 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $8 = HEAP32[$0 + 3352 >> 2]; - HEAP32[$0 + 11760 >> 2] = HEAP32[$0 + 3348 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $10 = HEAP32[$0 + 3348 >> 2]; - $11 = HEAP32[$0 + 3360 >> 2]; - HEAP32[$0 + 11772 >> 2] = HEAP32[$0 + 3344 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 3344 >> 2]); - HEAP32[$0 + 3264 >> 2] = 1; - HEAP32[$0 + 3260 >> 2] = 8; - $1 = HEAP32[$0 + 3264 >> 2]; - $2 = HEAP32[$0 + 3260 >> 2]; - HEAP32[$0 + 3368 >> 2] = $2; - HEAP32[$0 + 3372 >> 2] = $1; - $1 = HEAP32[$0 + 3368 >> 2]; - $2 = HEAP32[$0 + 3372 >> 2]; - HEAP32[$0 + 3400 >> 2] = $0 + 3272; - HEAP32[$0 + 3396 >> 2] = 9411; - HEAP32[$0 + 3392 >> 2] = $2; - HEAP32[$0 + 3388 >> 2] = $1; - $3 = HEAP32[$0 + 3400 >> 2]; - $4 = HEAP32[$0 + 3396 >> 2]; - $1 = HEAP32[$0 + 3388 >> 2]; - HEAP32[$0 + 3384 >> 2] = HEAP32[$0 + 3392 >> 2]; - HEAP32[$0 + 3380 >> 2] = $1; - $2 = HEAP32[$0 + 3384 >> 2]; - $1 = HEAP32[$0 + 3380 >> 2]; - HEAP32[$0 + 1528 >> 2] = $1; - HEAP32[$0 + 1532 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_bool_20_28b2QueryCallback____29_28unsigned_20int_29___invoke_b2QueryCallback_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20bool_20_28b2QueryCallback____29_28unsigned_20int_29_29($4, $0 + 1528 | 0); - HEAP32[$0 + 3412 >> 2] = $3; - HEAP32[$0 + 3408 >> 2] = 4206; - $1 = HEAP32[$0 + 3412 >> 2]; - $2 = HEAP32[$0 + 3408 >> 2]; - HEAP32[$0 + 11796 >> 2] = $0 + 3407; - HEAP32[$0 + 11792 >> 2] = $2; - void_20emscripten__base_b2QueryCallback___verify_b2QueryCallbackWrapper__28_29(); - HEAP32[$0 + 11788 >> 2] = 95; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2QueryCallback__20_28_emscripten__base_b2QueryCallback___getUpcaster_b2QueryCallbackWrapper__28_29_29_28b2QueryCallbackWrapper__29(), - HEAP32[wasm2js_i32$0 + 11784 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2QueryCallbackWrapper__20_28_emscripten__base_b2QueryCallback___getDowncaster_b2QueryCallbackWrapper__28_29_29_28b2QueryCallback__29(), - HEAP32[wasm2js_i32$0 + 11780 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 11776 >> 2] = 96; - $2 = emscripten__internal__TypeID_b2QueryCallbackWrapper_2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2QueryCallbackWrapper__2c_20void___get_28_29(); - $4 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2QueryCallbackWrapper_20const__2c_20void___get_28_29(); - $5 = emscripten__base_b2QueryCallback___get_28_29(); - HEAP32[$0 + 11852 >> 2] = HEAP32[$0 + 11788 >> 2]; - $6 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $7 = HEAP32[$0 + 11788 >> 2]; - HEAP32[$0 + 11856 >> 2] = HEAP32[$0 + 11784 >> 2]; - $8 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $9 = HEAP32[$0 + 11784 >> 2]; - HEAP32[$0 + 11860 >> 2] = HEAP32[$0 + 11780 >> 2]; - $10 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $11 = HEAP32[$0 + 11780 >> 2]; - $12 = HEAP32[$0 + 11792 >> 2]; - HEAP32[$0 + 11864 >> 2] = HEAP32[$0 + 11776 >> 2]; - _embind_register_class($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, $12 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 11776 >> 2]); - $2 = void_20_28_emscripten__select_overload_void_20_28b2QueryCallbackWrapper__29__28void_20_28__29_28b2QueryCallbackWrapper__29_29_29_28b2QueryCallbackWrapper__29(emscripten__class__b2QueryCallback_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2QueryCallback_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2QueryCallbackWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2QueryCallbackWrapper__29__operator_20void_20_28__29_28b2QueryCallbackWrapper__29_28_29_20const($0 + 3406 | 0)); - HEAP32[$0 + 11808 >> 2] = $0 + 3407; - HEAP32[$0 + 11804 >> 2] = 6622; - HEAP32[$0 + 11800 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28__29_28b2QueryCallbackWrapper__29___invoke_b2QueryCallbackWrapper__28char_20const__2c_20void_20_28__29_28b2QueryCallbackWrapper__29_29(HEAP32[$0 + 11804 >> 2], HEAP32[$0 + 11800 >> 2]); - HEAP32[$0 + 11828 >> 2] = $1; - HEAP32[$0 + 11824 >> 2] = 2999; - HEAP32[$0 + 11820 >> 2] = 97; - $1 = HEAP32[$0 + 11828 >> 2]; - HEAP32[$0 + 11812 >> 2] = 98; - $2 = emscripten__internal__TypeID_b2QueryCallback_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 11824 >> 2]; - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointer_emscripten__ret_val____ArgTypeList_b2QueryCallbackWrapper__2c_20emscripten__val_____getCount_28_29_20const($0 + 11819 | 0); - $5 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointer_emscripten__ret_val____ArgTypeList_b2QueryCallbackWrapper__2c_20emscripten__val_____getTypes_28_29_20const($0 + 11819 | 0); - HEAP32[$0 + 11868 >> 2] = HEAP32[$0 + 11812 >> 2]; - _embind_register_class_class_function($2 | 0, $3 | 0, $4 | 0, $5 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 11812 >> 2], HEAP32[$0 + 11820 >> 2], 0); - HEAP32[$0 + 11848 >> 2] = $1; - HEAP32[$0 + 11844 >> 2] = 10266; - HEAP32[$0 + 11840 >> 2] = 99; - HEAP32[$0 + 11832 >> 2] = 100; - $1 = emscripten__internal__TypeID_b2QueryCallback_2c_20void___get_28_29(); - $2 = HEAP32[$0 + 11844 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_emscripten__val_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const____getCount_28_29_20const($0 + 11839 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_emscripten__val_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const____getTypes_28_29_20const($0 + 11839 | 0); - HEAP32[$0 + 11872 >> 2] = HEAP32[$0 + 11832 >> 2]; - _embind_register_class_class_function($1 | 0, $2 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 11832 >> 2], HEAP32[$0 + 11840 >> 2], 0); - HEAP32[$0 + 3436 >> 2] = $0 + 3258; - HEAP32[$0 + 3432 >> 2] = 7192; - void_20emscripten__internal__NoBaseClass__verify_b2RayCastCallback__28_29(); - HEAP32[$0 + 3428 >> 2] = 101; - wasm2js_i32$0 = $0, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getUpcaster_b2RayCastCallback__28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 3424 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getDowncaster_b2RayCastCallback__28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 3420 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 3416 >> 2] = 102; - $1 = emscripten__internal__TypeID_b2RayCastCallback_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RayCastCallback__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RayCastCallback_20const__2c_20void___get_28_29(); - $4 = emscripten__internal__NoBaseClass__get_28_29(); - HEAP32[$0 + 11876 >> 2] = HEAP32[$0 + 3428 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 3428 >> 2]; - HEAP32[$0 + 11756 >> 2] = HEAP32[$0 + 3424 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $8 = HEAP32[$0 + 3424 >> 2]; - HEAP32[$0 + 11752 >> 2] = HEAP32[$0 + 3420 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $10 = HEAP32[$0 + 3420 >> 2]; - $11 = HEAP32[$0 + 3432 >> 2]; - HEAP32[$0 + 11880 >> 2] = HEAP32[$0 + 3416 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 3416 >> 2]); - HEAP32[$0 + 3252 >> 2] = 1; - HEAP32[$0 + 3248 >> 2] = 8; - $1 = HEAP32[$0 + 3252 >> 2]; - $2 = HEAP32[$0 + 3248 >> 2]; - HEAP32[$0 + 3440 >> 2] = $2; - HEAP32[$0 + 3444 >> 2] = $1; - $1 = HEAP32[$0 + 3440 >> 2]; - $2 = HEAP32[$0 + 3444 >> 2]; - HEAP32[$0 + 3472 >> 2] = $0 + 3258; - HEAP32[$0 + 3468 >> 2] = 9411; - HEAP32[$0 + 3464 >> 2] = $2; - HEAP32[$0 + 3460 >> 2] = $1; - $3 = HEAP32[$0 + 3472 >> 2]; - $4 = HEAP32[$0 + 3468 >> 2]; - $1 = HEAP32[$0 + 3460 >> 2]; - HEAP32[$0 + 3456 >> 2] = HEAP32[$0 + 3464 >> 2]; - HEAP32[$0 + 3452 >> 2] = $1; - $2 = HEAP32[$0 + 3456 >> 2]; - $1 = HEAP32[$0 + 3452 >> 2]; - HEAP32[$0 + 1520 >> 2] = $1; - HEAP32[$0 + 1524 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2RayCastCallback____29_28unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float_29___invoke_b2RayCastCallback_2c_20emscripten__pure_virtual_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20float_20_28b2RayCastCallback____29_28unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float_29_29($4, $0 + 1520 | 0); - HEAP32[$0 + 3484 >> 2] = $3; - HEAP32[$0 + 3480 >> 2] = 4227; - $1 = HEAP32[$0 + 3484 >> 2]; - $2 = HEAP32[$0 + 3480 >> 2]; - HEAP32[$0 + 11904 >> 2] = $0 + 3479; - HEAP32[$0 + 11900 >> 2] = $2; - void_20emscripten__base_b2RayCastCallback___verify_b2RayCastCallbackWrapper__28_29(); - HEAP32[$0 + 11896 >> 2] = 103; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2RayCastCallback__20_28_emscripten__base_b2RayCastCallback___getUpcaster_b2RayCastCallbackWrapper__28_29_29_28b2RayCastCallbackWrapper__29(), - HEAP32[wasm2js_i32$0 + 11892 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2RayCastCallbackWrapper__20_28_emscripten__base_b2RayCastCallback___getDowncaster_b2RayCastCallbackWrapper__28_29_29_28b2RayCastCallback__29(), - HEAP32[wasm2js_i32$0 + 11888 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 11884 >> 2] = 104; - $2 = emscripten__internal__TypeID_b2RayCastCallbackWrapper_2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RayCastCallbackWrapper__2c_20void___get_28_29(); - $4 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RayCastCallbackWrapper_20const__2c_20void___get_28_29(); - $5 = emscripten__base_b2RayCastCallback___get_28_29(); - HEAP32[$0 + 11964 >> 2] = HEAP32[$0 + 11896 >> 2]; - $6 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $7 = HEAP32[$0 + 11896 >> 2]; - HEAP32[$0 + 11968 >> 2] = HEAP32[$0 + 11892 >> 2]; - $8 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $9 = HEAP32[$0 + 11892 >> 2]; - HEAP32[$0 + 11972 >> 2] = HEAP32[$0 + 11888 >> 2]; - $10 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $11 = HEAP32[$0 + 11888 >> 2]; - $12 = HEAP32[$0 + 11900 >> 2]; - HEAP32[$0 + 11976 >> 2] = HEAP32[$0 + 11884 >> 2]; - _embind_register_class($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, $12 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 11884 >> 2]); - $2 = void_20_28_emscripten__select_overload_void_20_28b2RayCastCallbackWrapper__29__28void_20_28__29_28b2RayCastCallbackWrapper__29_29_29_28b2RayCastCallbackWrapper__29(emscripten__class__b2RayCastCallback_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2RayCastCallback_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2RayCastCallbackWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2RayCastCallbackWrapper__29__operator_20void_20_28__29_28b2RayCastCallbackWrapper__29_28_29_20const($0 + 3478 | 0)); - HEAP32[$0 + 11916 >> 2] = $0 + 3479; - HEAP32[$0 + 11912 >> 2] = 6622; - HEAP32[$0 + 11908 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28__29_28b2RayCastCallbackWrapper__29___invoke_b2RayCastCallbackWrapper__28char_20const__2c_20void_20_28__29_28b2RayCastCallbackWrapper__29_29(HEAP32[$0 + 11912 >> 2], HEAP32[$0 + 11908 >> 2]); - HEAP32[$0 + 11936 >> 2] = $1; - HEAP32[$0 + 11932 >> 2] = 2999; - HEAP32[$0 + 11928 >> 2] = 105; - $1 = HEAP32[$0 + 11936 >> 2]; - HEAP32[$0 + 11920 >> 2] = 106; - $2 = emscripten__internal__TypeID_b2RayCastCallback_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 11932 >> 2]; - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointer_emscripten__ret_val____ArgTypeList_b2RayCastCallbackWrapper__2c_20emscripten__val_____getCount_28_29_20const($0 + 11927 | 0); - $5 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointer_emscripten__ret_val____ArgTypeList_b2RayCastCallbackWrapper__2c_20emscripten__val_____getTypes_28_29_20const($0 + 11927 | 0); - HEAP32[$0 + 11980 >> 2] = HEAP32[$0 + 11920 >> 2]; - _embind_register_class_class_function($2 | 0, $3 | 0, $4 | 0, $5 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 11920 >> 2], HEAP32[$0 + 11928 >> 2], 0); - HEAP32[$0 + 11956 >> 2] = $1; - HEAP32[$0 + 11952 >> 2] = 10266; - HEAP32[$0 + 11948 >> 2] = 107; - HEAP32[$0 + 11940 >> 2] = 100; - $1 = emscripten__internal__TypeID_b2RayCastCallback_2c_20void___get_28_29(); - $2 = HEAP32[$0 + 11952 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_emscripten__val_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const____getCount_28_29_20const($0 + 11947 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_emscripten__val_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const____getTypes_28_29_20const($0 + 11947 | 0); - HEAP32[$0 + 11960 >> 2] = HEAP32[$0 + 11940 >> 2]; - _embind_register_class_class_function($1 | 0, $2 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 11940 >> 2], HEAP32[$0 + 11948 >> 2], 0); - HEAP32[$0 + 3508 >> 2] = $0 + 3246; - HEAP32[$0 + 3504 >> 2] = 4253; - void_20emscripten__internal__NoBaseClass__verify_b2ContactListener__28_29(); - HEAP32[$0 + 3500 >> 2] = 108; - wasm2js_i32$0 = $0, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getUpcaster_b2ContactListener__28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 3496 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getDowncaster_b2ContactListener__28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 3492 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 3488 >> 2] = 109; - $1 = emscripten__internal__TypeID_b2ContactListener_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2ContactListener__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2ContactListener_20const__2c_20void___get_28_29(); - $4 = emscripten__internal__NoBaseClass__get_28_29(); - HEAP32[$0 + 11984 >> 2] = HEAP32[$0 + 3500 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 3500 >> 2]; - HEAP32[$0 + 11748 >> 2] = HEAP32[$0 + 3496 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $8 = HEAP32[$0 + 3496 >> 2]; - HEAP32[$0 + 11744 >> 2] = HEAP32[$0 + 3492 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $10 = HEAP32[$0 + 3492 >> 2]; - $11 = HEAP32[$0 + 3504 >> 2]; - HEAP32[$0 + 11988 >> 2] = HEAP32[$0 + 3488 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 3488 >> 2]); - HEAP32[$0 + 3240 >> 2] = 1; - HEAP32[$0 + 3236 >> 2] = 8; - $1 = HEAP32[$0 + 3240 >> 2]; - $2 = HEAP32[$0 + 3236 >> 2]; - HEAP32[$0 + 3544 >> 2] = $2; - HEAP32[$0 + 3548 >> 2] = $1; - $1 = HEAP32[$0 + 3544 >> 2]; - $2 = HEAP32[$0 + 3548 >> 2]; - HEAP32[$0 + 3572 >> 2] = $0 + 3246; - HEAP32[$0 + 3568 >> 2] = 3314; - HEAP32[$0 + 3564 >> 2] = $2; - HEAP32[$0 + 3560 >> 2] = $1; - $3 = HEAP32[$0 + 3572 >> 2]; - $4 = HEAP32[$0 + 3568 >> 2]; - $1 = HEAP32[$0 + 3560 >> 2]; - HEAP32[$0 + 3556 >> 2] = HEAP32[$0 + 3564 >> 2]; - HEAP32[$0 + 3552 >> 2] = $1; - $2 = HEAP32[$0 + 3556 >> 2]; - $1 = HEAP32[$0 + 3552 >> 2]; - HEAP32[$0 + 1512 >> 2] = $1; - HEAP32[$0 + 1516 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2ContactListener____29_28unsigned_20int_29___invoke_b2ContactListener_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2ContactListener____29_28unsigned_20int_29_29($4, $0 + 1512 | 0); - HEAP32[$0 + 3228 >> 2] = 1; - HEAP32[$0 + 3224 >> 2] = 12; - $1 = HEAP32[$0 + 3228 >> 2]; - $2 = HEAP32[$0 + 3224 >> 2]; - HEAP32[$0 + 3512 >> 2] = $2; - HEAP32[$0 + 3516 >> 2] = $1; - $1 = HEAP32[$0 + 3512 >> 2]; - $2 = HEAP32[$0 + 3516 >> 2]; - HEAP32[$0 + 3540 >> 2] = $3; - HEAP32[$0 + 3536 >> 2] = 3416; - HEAP32[$0 + 3532 >> 2] = $2; - HEAP32[$0 + 3528 >> 2] = $1; - $3 = HEAP32[$0 + 3540 >> 2]; - $4 = HEAP32[$0 + 3536 >> 2]; - $1 = HEAP32[$0 + 3528 >> 2]; - HEAP32[$0 + 3524 >> 2] = HEAP32[$0 + 3532 >> 2]; - HEAP32[$0 + 3520 >> 2] = $1; - $2 = HEAP32[$0 + 3524 >> 2]; - $1 = HEAP32[$0 + 3520 >> 2]; - HEAP32[$0 + 1504 >> 2] = $1; - HEAP32[$0 + 1508 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2ContactListener____29_28unsigned_20int_29___invoke_b2ContactListener_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2ContactListener____29_28unsigned_20int_29_29($4, $0 + 1504 | 0); - HEAP32[$0 + 3216 >> 2] = 1; - HEAP32[$0 + 3212 >> 2] = 16; - $1 = HEAP32[$0 + 3216 >> 2]; - $2 = HEAP32[$0 + 3212 >> 2]; - HEAP32[$0 + 3608 >> 2] = $2; - HEAP32[$0 + 3612 >> 2] = $1; - $1 = HEAP32[$0 + 3608 >> 2]; - $2 = HEAP32[$0 + 3612 >> 2]; - HEAP32[$0 + 3636 >> 2] = $3; - HEAP32[$0 + 3632 >> 2] = 8866; - HEAP32[$0 + 3628 >> 2] = $2; - HEAP32[$0 + 3624 >> 2] = $1; - $3 = HEAP32[$0 + 3636 >> 2]; - $4 = HEAP32[$0 + 3632 >> 2]; - $1 = HEAP32[$0 + 3624 >> 2]; - HEAP32[$0 + 3620 >> 2] = HEAP32[$0 + 3628 >> 2]; - HEAP32[$0 + 3616 >> 2] = $1; - $2 = HEAP32[$0 + 3620 >> 2]; - $1 = HEAP32[$0 + 3616 >> 2]; - HEAP32[$0 + 1496 >> 2] = $1; - HEAP32[$0 + 1500 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2ContactListener____29_28unsigned_20int_2c_20unsigned_20int_29___invoke_b2ContactListener_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2ContactListener____29_28unsigned_20int_2c_20unsigned_20int_29_29($4, $0 + 1496 | 0); - HEAP32[$0 + 3204 >> 2] = 1; - HEAP32[$0 + 3200 >> 2] = 20; - $1 = HEAP32[$0 + 3204 >> 2]; - $2 = HEAP32[$0 + 3200 >> 2]; - HEAP32[$0 + 3576 >> 2] = $2; - HEAP32[$0 + 3580 >> 2] = $1; - $1 = HEAP32[$0 + 3576 >> 2]; - $2 = HEAP32[$0 + 3580 >> 2]; - HEAP32[$0 + 3604 >> 2] = $3; - HEAP32[$0 + 3600 >> 2] = 8856; - HEAP32[$0 + 3596 >> 2] = $2; - HEAP32[$0 + 3592 >> 2] = $1; - $3 = HEAP32[$0 + 3604 >> 2]; - $4 = HEAP32[$0 + 3600 >> 2]; - $1 = HEAP32[$0 + 3592 >> 2]; - HEAP32[$0 + 3588 >> 2] = HEAP32[$0 + 3596 >> 2]; - HEAP32[$0 + 3584 >> 2] = $1; - $2 = HEAP32[$0 + 3588 >> 2]; - $1 = HEAP32[$0 + 3584 >> 2]; - HEAP32[$0 + 1488 >> 2] = $1; - HEAP32[$0 + 1492 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2ContactListener____29_28unsigned_20int_2c_20unsigned_20int_29___invoke_b2ContactListener_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2ContactListener____29_28unsigned_20int_2c_20unsigned_20int_29_29($4, $0 + 1488 | 0); - HEAP32[$0 + 3196 >> 2] = 0; - HEAP32[$0 + 3192 >> 2] = 110; - $1 = HEAP32[$0 + 3196 >> 2]; - $2 = HEAP32[$0 + 3192 >> 2]; - HEAP32[$0 + 3672 >> 2] = $2; - HEAP32[$0 + 3676 >> 2] = $1; - $1 = HEAP32[$0 + 3672 >> 2]; - $2 = HEAP32[$0 + 3676 >> 2]; - HEAP32[$0 + 3700 >> 2] = $3; - HEAP32[$0 + 3696 >> 2] = 9445; - HEAP32[$0 + 3692 >> 2] = $2; - HEAP32[$0 + 3688 >> 2] = $1; - $3 = HEAP32[$0 + 3700 >> 2]; - $4 = HEAP32[$0 + 3696 >> 2]; - $1 = HEAP32[$0 + 3688 >> 2]; - HEAP32[$0 + 3684 >> 2] = HEAP32[$0 + 3692 >> 2]; - HEAP32[$0 + 3680 >> 2] = $1; - $2 = HEAP32[$0 + 3684 >> 2]; - $1 = HEAP32[$0 + 3680 >> 2]; - HEAP32[$0 + 1480 >> 2] = $1; - HEAP32[$0 + 1484 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2ContactListenerWrapper____29_28unsigned_20int_29___invoke_b2ContactListener__28char_20const__2c_20void_20_28b2ContactListenerWrapper____29_28unsigned_20int_29_29($4, $0 + 1480 | 0); - HEAP32[$0 + 3188 >> 2] = 0; - HEAP32[$0 + 3184 >> 2] = 111; - $1 = HEAP32[$0 + 3188 >> 2]; - $2 = HEAP32[$0 + 3184 >> 2]; - HEAP32[$0 + 3640 >> 2] = $2; - HEAP32[$0 + 3644 >> 2] = $1; - $1 = HEAP32[$0 + 3640 >> 2]; - $2 = HEAP32[$0 + 3644 >> 2]; - HEAP32[$0 + 3668 >> 2] = $3; - HEAP32[$0 + 3664 >> 2] = 9443; - HEAP32[$0 + 3660 >> 2] = $2; - HEAP32[$0 + 3656 >> 2] = $1; - $3 = HEAP32[$0 + 3668 >> 2]; - $4 = HEAP32[$0 + 3664 >> 2]; - $1 = HEAP32[$0 + 3656 >> 2]; - HEAP32[$0 + 3652 >> 2] = HEAP32[$0 + 3660 >> 2]; - HEAP32[$0 + 3648 >> 2] = $1; - $2 = HEAP32[$0 + 3652 >> 2]; - $1 = HEAP32[$0 + 3648 >> 2]; - HEAP32[$0 + 1472 >> 2] = $1; - HEAP32[$0 + 1476 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2ContactListenerWrapper____29_28unsigned_20int_29___invoke_b2ContactListener__28char_20const__2c_20void_20_28b2ContactListenerWrapper____29_28unsigned_20int_29_29($4, $0 + 1472 | 0); - HEAP32[$0 + 3180 >> 2] = 0; - HEAP32[$0 + 3176 >> 2] = 112; - $1 = HEAP32[$0 + 3180 >> 2]; - $2 = HEAP32[$0 + 3176 >> 2]; - HEAP32[$0 + 3704 >> 2] = $2; - HEAP32[$0 + 3708 >> 2] = $1; - $1 = HEAP32[$0 + 3704 >> 2]; - $2 = HEAP32[$0 + 3708 >> 2]; - HEAP32[$0 + 3736 >> 2] = $3; - HEAP32[$0 + 3732 >> 2] = 8174; - HEAP32[$0 + 3728 >> 2] = $2; - HEAP32[$0 + 3724 >> 2] = $1; - $3 = HEAP32[$0 + 3736 >> 2]; - $4 = HEAP32[$0 + 3732 >> 2]; - $1 = HEAP32[$0 + 3724 >> 2]; - HEAP32[$0 + 3720 >> 2] = HEAP32[$0 + 3728 >> 2]; - HEAP32[$0 + 3716 >> 2] = $1; - $2 = HEAP32[$0 + 3720 >> 2]; - $1 = HEAP32[$0 + 3716 >> 2]; - HEAP32[$0 + 1464 >> 2] = $1; - HEAP32[$0 + 1468 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_bool_20_28b2ContactListenerWrapper____29_28unsigned_20int_29___invoke_b2ContactListener__28char_20const__2c_20bool_20_28b2ContactListenerWrapper____29_28unsigned_20int_29_29($4, $0 + 1464 | 0); - HEAP32[$0 + 3748 >> 2] = $3; - HEAP32[$0 + 3744 >> 2] = 4183; - $1 = HEAP32[$0 + 3748 >> 2]; - $2 = HEAP32[$0 + 3744 >> 2]; - HEAP32[$0 + 12012 >> 2] = $0 + 3743; - HEAP32[$0 + 12008 >> 2] = $2; - void_20emscripten__base_b2ContactListener___verify_b2ContactListenerWrapper__28_29(); - HEAP32[$0 + 12004 >> 2] = 113; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2ContactListener__20_28_emscripten__base_b2ContactListener___getUpcaster_b2ContactListenerWrapper__28_29_29_28b2ContactListenerWrapper__29(), - HEAP32[wasm2js_i32$0 + 12e3 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2ContactListenerWrapper__20_28_emscripten__base_b2ContactListener___getDowncaster_b2ContactListenerWrapper__28_29_29_28b2ContactListener__29(), - HEAP32[wasm2js_i32$0 + 11996 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 11992 >> 2] = 114; - $2 = emscripten__internal__TypeID_b2ContactListenerWrapper_2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2ContactListenerWrapper__2c_20void___get_28_29(); - $4 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2ContactListenerWrapper_20const__2c_20void___get_28_29(); - $5 = emscripten__base_b2ContactListener___get_28_29(); - HEAP32[$0 + 12072 >> 2] = HEAP32[$0 + 12004 >> 2]; - $6 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $7 = HEAP32[$0 + 12004 >> 2]; - HEAP32[$0 + 12076 >> 2] = HEAP32[$0 + 12e3 >> 2]; - $8 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $9 = HEAP32[$0 + 12e3 >> 2]; - HEAP32[$0 + 12080 >> 2] = HEAP32[$0 + 11996 >> 2]; - $10 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $11 = HEAP32[$0 + 11996 >> 2]; - $12 = HEAP32[$0 + 12008 >> 2]; - HEAP32[$0 + 12084 >> 2] = HEAP32[$0 + 11992 >> 2]; - _embind_register_class($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, $12 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 11992 >> 2]); - $2 = void_20_28_emscripten__select_overload_void_20_28b2ContactListenerWrapper__29__28void_20_28__29_28b2ContactListenerWrapper__29_29_29_28b2ContactListenerWrapper__29(emscripten__class__b2ContactListener_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2ContactListener_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2ContactListenerWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2ContactListenerWrapper__29__operator_20void_20_28__29_28b2ContactListenerWrapper__29_28_29_20const($0 + 3742 | 0)); - HEAP32[$0 + 12024 >> 2] = $0 + 3743; - HEAP32[$0 + 12020 >> 2] = 6622; - HEAP32[$0 + 12016 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28__29_28b2ContactListenerWrapper__29___invoke_b2ContactListenerWrapper__28char_20const__2c_20void_20_28__29_28b2ContactListenerWrapper__29_29(HEAP32[$0 + 12020 >> 2], HEAP32[$0 + 12016 >> 2]); - HEAP32[$0 + 12044 >> 2] = $1; - HEAP32[$0 + 12040 >> 2] = 2999; - HEAP32[$0 + 12036 >> 2] = 115; - $1 = HEAP32[$0 + 12044 >> 2]; - HEAP32[$0 + 12028 >> 2] = 116; - $2 = emscripten__internal__TypeID_b2ContactListener_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 12040 >> 2]; - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointer_emscripten__ret_val____ArgTypeList_b2ContactListenerWrapper__2c_20emscripten__val_____getCount_28_29_20const($0 + 12035 | 0); - $5 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointer_emscripten__ret_val____ArgTypeList_b2ContactListenerWrapper__2c_20emscripten__val_____getTypes_28_29_20const($0 + 12035 | 0); - HEAP32[$0 + 12088 >> 2] = HEAP32[$0 + 12028 >> 2]; - _embind_register_class_class_function($2 | 0, $3 | 0, $4 | 0, $5 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 12028 >> 2], HEAP32[$0 + 12036 >> 2], 0); - HEAP32[$0 + 12064 >> 2] = $1; - HEAP32[$0 + 12060 >> 2] = 10266; - HEAP32[$0 + 12056 >> 2] = 117; - HEAP32[$0 + 12048 >> 2] = 100; - $1 = emscripten__internal__TypeID_b2ContactListener_2c_20void___get_28_29(); - $2 = HEAP32[$0 + 12060 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_emscripten__val_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const____getCount_28_29_20const($0 + 12055 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_emscripten__val_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const____getTypes_28_29_20const($0 + 12055 | 0); - HEAP32[$0 + 12068 >> 2] = HEAP32[$0 + 12048 >> 2]; - _embind_register_class_class_function($1 | 0, $2 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 12048 >> 2], HEAP32[$0 + 12056 >> 2], 0); - HEAP32[$0 + 3772 >> 2] = $0 + 3174; - HEAP32[$0 + 3768 >> 2] = 1945; - void_20emscripten__internal__NoBaseClass__verify_b2Draw__28_29(); - HEAP32[$0 + 3764 >> 2] = 118; - wasm2js_i32$0 = $0, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getUpcaster_b2Draw__28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 3760 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getDowncaster_b2Draw__28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 3756 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 3752 >> 2] = 119; - $1 = emscripten__internal__TypeID_b2Draw_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2Draw__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2Draw_20const__2c_20void___get_28_29(); - $4 = emscripten__internal__NoBaseClass__get_28_29(); - HEAP32[$0 + 12092 >> 2] = HEAP32[$0 + 3764 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 3764 >> 2]; - HEAP32[$0 + 11740 >> 2] = HEAP32[$0 + 3760 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $8 = HEAP32[$0 + 3760 >> 2]; - HEAP32[$0 + 11736 >> 2] = HEAP32[$0 + 3756 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $10 = HEAP32[$0 + 3756 >> 2]; - $11 = HEAP32[$0 + 3768 >> 2]; - HEAP32[$0 + 12096 >> 2] = HEAP32[$0 + 3752 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 3752 >> 2]); - HEAP32[$0 + 3168 >> 2] = 0; - HEAP32[$0 + 3164 >> 2] = 120; - $1 = HEAP32[$0 + 3168 >> 2]; - $2 = HEAP32[$0 + 3164 >> 2]; - HEAP32[$0 + 3840 >> 2] = $2; - HEAP32[$0 + 3844 >> 2] = $1; - $1 = HEAP32[$0 + 3840 >> 2]; - $2 = HEAP32[$0 + 3844 >> 2]; - HEAP32[$0 + 3868 >> 2] = $0 + 3174; - HEAP32[$0 + 3864 >> 2] = 3660; - HEAP32[$0 + 3860 >> 2] = $2; - HEAP32[$0 + 3856 >> 2] = $1; - $3 = HEAP32[$0 + 3868 >> 2]; - $4 = HEAP32[$0 + 3864 >> 2]; - $1 = HEAP32[$0 + 3856 >> 2]; - HEAP32[$0 + 3852 >> 2] = HEAP32[$0 + 3860 >> 2]; - HEAP32[$0 + 3848 >> 2] = $1; - $2 = HEAP32[$0 + 3852 >> 2]; - $1 = HEAP32[$0 + 3848 >> 2]; - HEAP32[$0 + 1456 >> 2] = $1; - HEAP32[$0 + 1460 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Draw____29_28unsigned_20int_29___invoke_b2Draw__28char_20const__2c_20void_20_28b2Draw____29_28unsigned_20int_29_29($4, $0 + 1456 | 0); - HEAP32[$0 + 3160 >> 2] = 0; - HEAP32[$0 + 3156 >> 2] = 121; - $1 = HEAP32[$0 + 3160 >> 2]; - $2 = HEAP32[$0 + 3156 >> 2]; - HEAP32[$0 + 3872 >> 2] = $2; - HEAP32[$0 + 3876 >> 2] = $1; - $1 = HEAP32[$0 + 3872 >> 2]; - $2 = HEAP32[$0 + 3876 >> 2]; - HEAP32[$0 + 3900 >> 2] = $3; - HEAP32[$0 + 3896 >> 2] = 3669; - HEAP32[$0 + 3892 >> 2] = $2; - HEAP32[$0 + 3888 >> 2] = $1; - $3 = HEAP32[$0 + 3900 >> 2]; - $4 = HEAP32[$0 + 3896 >> 2]; - $1 = HEAP32[$0 + 3888 >> 2]; - HEAP32[$0 + 3884 >> 2] = HEAP32[$0 + 3892 >> 2]; - HEAP32[$0 + 3880 >> 2] = $1; - $2 = HEAP32[$0 + 3884 >> 2]; - $1 = HEAP32[$0 + 3880 >> 2]; - HEAP32[$0 + 1448 >> 2] = $1; - HEAP32[$0 + 1452 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_unsigned_20int_20_28b2Draw____29_28_29_20const___invoke_b2Draw__28char_20const__2c_20unsigned_20int_20_28b2Draw____29_28_29_20const_29($4, $0 + 1448 | 0); - HEAP32[$0 + 3152 >> 2] = 0; - HEAP32[$0 + 3148 >> 2] = 122; - $1 = HEAP32[$0 + 3152 >> 2]; - $2 = HEAP32[$0 + 3148 >> 2]; - HEAP32[$0 + 3808 >> 2] = $2; - HEAP32[$0 + 3812 >> 2] = $1; - $1 = HEAP32[$0 + 3808 >> 2]; - $2 = HEAP32[$0 + 3812 >> 2]; - HEAP32[$0 + 3836 >> 2] = $3; - HEAP32[$0 + 3832 >> 2] = 3689; - HEAP32[$0 + 3828 >> 2] = $2; - HEAP32[$0 + 3824 >> 2] = $1; - $3 = HEAP32[$0 + 3836 >> 2]; - $4 = HEAP32[$0 + 3832 >> 2]; - $1 = HEAP32[$0 + 3824 >> 2]; - HEAP32[$0 + 3820 >> 2] = HEAP32[$0 + 3828 >> 2]; - HEAP32[$0 + 3816 >> 2] = $1; - $2 = HEAP32[$0 + 3820 >> 2]; - $1 = HEAP32[$0 + 3816 >> 2]; - HEAP32[$0 + 1440 >> 2] = $1; - HEAP32[$0 + 1444 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Draw____29_28unsigned_20int_29___invoke_b2Draw__28char_20const__2c_20void_20_28b2Draw____29_28unsigned_20int_29_29($4, $0 + 1440 | 0); - HEAP32[$0 + 3144 >> 2] = 0; - HEAP32[$0 + 3140 >> 2] = 123; - $1 = HEAP32[$0 + 3144 >> 2]; - $2 = HEAP32[$0 + 3140 >> 2]; - HEAP32[$0 + 3776 >> 2] = $2; - HEAP32[$0 + 3780 >> 2] = $1; - $1 = HEAP32[$0 + 3776 >> 2]; - $2 = HEAP32[$0 + 3780 >> 2]; - HEAP32[$0 + 3804 >> 2] = $3; - HEAP32[$0 + 3800 >> 2] = 3678; - HEAP32[$0 + 3796 >> 2] = $2; - HEAP32[$0 + 3792 >> 2] = $1; - $3 = HEAP32[$0 + 3804 >> 2]; - $4 = HEAP32[$0 + 3800 >> 2]; - $1 = HEAP32[$0 + 3792 >> 2]; - HEAP32[$0 + 3788 >> 2] = HEAP32[$0 + 3796 >> 2]; - HEAP32[$0 + 3784 >> 2] = $1; - $2 = HEAP32[$0 + 3788 >> 2]; - $1 = HEAP32[$0 + 3784 >> 2]; - HEAP32[$0 + 1432 >> 2] = $1; - HEAP32[$0 + 1436 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Draw____29_28unsigned_20int_29___invoke_b2Draw__28char_20const__2c_20void_20_28b2Draw____29_28unsigned_20int_29_29($4, $0 + 1432 | 0); - HEAP32[$0 + 3132 >> 2] = 1; - HEAP32[$0 + 3128 >> 2] = 8; - $1 = HEAP32[$0 + 3132 >> 2]; - $2 = HEAP32[$0 + 3128 >> 2]; - HEAP32[$0 + 3936 >> 2] = $2; - HEAP32[$0 + 3940 >> 2] = $1; - $1 = HEAP32[$0 + 3936 >> 2]; - $2 = HEAP32[$0 + 3940 >> 2]; - HEAP32[$0 + 3964 >> 2] = $3; - HEAP32[$0 + 3960 >> 2] = 7018; - HEAP32[$0 + 3956 >> 2] = $2; - HEAP32[$0 + 3952 >> 2] = $1; - $3 = HEAP32[$0 + 3964 >> 2]; - $4 = HEAP32[$0 + 3960 >> 2]; - $1 = HEAP32[$0 + 3952 >> 2]; - HEAP32[$0 + 3948 >> 2] = HEAP32[$0 + 3956 >> 2]; - HEAP32[$0 + 3944 >> 2] = $1; - $2 = HEAP32[$0 + 3948 >> 2]; - $1 = HEAP32[$0 + 3944 >> 2]; - HEAP32[$0 + 1424 >> 2] = $1; - HEAP32[$0 + 1428 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Draw____29_28unsigned_20int_2c_20int_2c_20b2Color_20const__29___invoke_b2Draw_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2Draw____29_28unsigned_20int_2c_20int_2c_20b2Color_20const__29_29($4, $0 + 1424 | 0); - HEAP32[$0 + 3120 >> 2] = 1; - HEAP32[$0 + 3116 >> 2] = 12; - $1 = HEAP32[$0 + 3120 >> 2]; - $2 = HEAP32[$0 + 3116 >> 2]; - HEAP32[$0 + 3904 >> 2] = $2; - HEAP32[$0 + 3908 >> 2] = $1; - $1 = HEAP32[$0 + 3904 >> 2]; - $2 = HEAP32[$0 + 3908 >> 2]; - HEAP32[$0 + 3932 >> 2] = $3; - HEAP32[$0 + 3928 >> 2] = 7030; - HEAP32[$0 + 3924 >> 2] = $2; - HEAP32[$0 + 3920 >> 2] = $1; - $3 = HEAP32[$0 + 3932 >> 2]; - $4 = HEAP32[$0 + 3928 >> 2]; - $1 = HEAP32[$0 + 3920 >> 2]; - HEAP32[$0 + 3916 >> 2] = HEAP32[$0 + 3924 >> 2]; - HEAP32[$0 + 3912 >> 2] = $1; - $2 = HEAP32[$0 + 3916 >> 2]; - $1 = HEAP32[$0 + 3912 >> 2]; - HEAP32[$0 + 1416 >> 2] = $1; - HEAP32[$0 + 1420 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Draw____29_28unsigned_20int_2c_20int_2c_20b2Color_20const__29___invoke_b2Draw_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2Draw____29_28unsigned_20int_2c_20int_2c_20b2Color_20const__29_29($4, $0 + 1416 | 0); - HEAP32[$0 + 3108 >> 2] = 1; - HEAP32[$0 + 3104 >> 2] = 16; - $1 = HEAP32[$0 + 3108 >> 2]; - $2 = HEAP32[$0 + 3104 >> 2]; - HEAP32[$0 + 4e3 >> 2] = $2; - HEAP32[$0 + 4004 >> 2] = $1; - $1 = HEAP32[$0 + 4e3 >> 2]; - $2 = HEAP32[$0 + 4004 >> 2]; - HEAP32[$0 + 4028 >> 2] = $3; - HEAP32[$0 + 4024 >> 2] = 9834; - HEAP32[$0 + 4020 >> 2] = $2; - HEAP32[$0 + 4016 >> 2] = $1; - $3 = HEAP32[$0 + 4028 >> 2]; - $4 = HEAP32[$0 + 4024 >> 2]; - $1 = HEAP32[$0 + 4016 >> 2]; - HEAP32[$0 + 4012 >> 2] = HEAP32[$0 + 4020 >> 2]; - HEAP32[$0 + 4008 >> 2] = $1; - $2 = HEAP32[$0 + 4012 >> 2]; - $1 = HEAP32[$0 + 4008 >> 2]; - HEAP32[$0 + 1408 >> 2] = $1; - HEAP32[$0 + 1412 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Draw____29_28b2Vec2_20const__2c_20float_2c_20b2Color_20const__29___invoke_b2Draw_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2Draw____29_28b2Vec2_20const__2c_20float_2c_20b2Color_20const__29_29($4, $0 + 1408 | 0); - HEAP32[$0 + 3096 >> 2] = 1; - HEAP32[$0 + 3092 >> 2] = 20; - $1 = HEAP32[$0 + 3096 >> 2]; - $2 = HEAP32[$0 + 3092 >> 2]; - HEAP32[$0 + 4032 >> 2] = $2; - HEAP32[$0 + 4036 >> 2] = $1; - $1 = HEAP32[$0 + 4032 >> 2]; - $2 = HEAP32[$0 + 4036 >> 2]; - HEAP32[$0 + 4060 >> 2] = $3; - HEAP32[$0 + 4056 >> 2] = 9868; - HEAP32[$0 + 4052 >> 2] = $2; - HEAP32[$0 + 4048 >> 2] = $1; - $3 = HEAP32[$0 + 4060 >> 2]; - $4 = HEAP32[$0 + 4056 >> 2]; - $1 = HEAP32[$0 + 4048 >> 2]; - HEAP32[$0 + 4044 >> 2] = HEAP32[$0 + 4052 >> 2]; - HEAP32[$0 + 4040 >> 2] = $1; - $2 = HEAP32[$0 + 4044 >> 2]; - $1 = HEAP32[$0 + 4040 >> 2]; - HEAP32[$0 + 1400 >> 2] = $1; - HEAP32[$0 + 1404 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Draw____29_28b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const__29___invoke_b2Draw_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2Draw____29_28b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const__29_29($4, $0 + 1400 | 0); - HEAP32[$0 + 3084 >> 2] = 1; - HEAP32[$0 + 3080 >> 2] = 24; - $1 = HEAP32[$0 + 3084 >> 2]; - $2 = HEAP32[$0 + 3080 >> 2]; - HEAP32[$0 + 4064 >> 2] = $2; - HEAP32[$0 + 4068 >> 2] = $1; - $1 = HEAP32[$0 + 4064 >> 2]; - $2 = HEAP32[$0 + 4068 >> 2]; - HEAP32[$0 + 4092 >> 2] = $3; - HEAP32[$0 + 4088 >> 2] = 2987; - HEAP32[$0 + 4084 >> 2] = $2; - HEAP32[$0 + 4080 >> 2] = $1; - $3 = HEAP32[$0 + 4092 >> 2]; - $4 = HEAP32[$0 + 4088 >> 2]; - $1 = HEAP32[$0 + 4080 >> 2]; - HEAP32[$0 + 4076 >> 2] = HEAP32[$0 + 4084 >> 2]; - HEAP32[$0 + 4072 >> 2] = $1; - $2 = HEAP32[$0 + 4076 >> 2]; - $1 = HEAP32[$0 + 4072 >> 2]; - HEAP32[$0 + 1392 >> 2] = $1; - HEAP32[$0 + 1396 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Draw____29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29___invoke_b2Draw_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2Draw____29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29_29($4, $0 + 1392 | 0); - HEAP32[$0 + 3072 >> 2] = 1; - HEAP32[$0 + 3068 >> 2] = 28; - $1 = HEAP32[$0 + 3072 >> 2]; - $2 = HEAP32[$0 + 3068 >> 2]; - HEAP32[$0 + 4096 >> 2] = $2; - HEAP32[$0 + 4100 >> 2] = $1; - $1 = HEAP32[$0 + 4096 >> 2]; - $2 = HEAP32[$0 + 4100 >> 2]; - HEAP32[$0 + 4124 >> 2] = $3; - HEAP32[$0 + 4120 >> 2] = 7093; - HEAP32[$0 + 4116 >> 2] = $2; - HEAP32[$0 + 4112 >> 2] = $1; - $3 = HEAP32[$0 + 4124 >> 2]; - $4 = HEAP32[$0 + 4120 >> 2]; - $1 = HEAP32[$0 + 4112 >> 2]; - HEAP32[$0 + 4108 >> 2] = HEAP32[$0 + 4116 >> 2]; - HEAP32[$0 + 4104 >> 2] = $1; - $2 = HEAP32[$0 + 4108 >> 2]; - $1 = HEAP32[$0 + 4104 >> 2]; - HEAP32[$0 + 1384 >> 2] = $1; - HEAP32[$0 + 1388 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Draw____29_28b2Transform_20const__29___invoke_b2Draw_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2Draw____29_28b2Transform_20const__29_29($4, $0 + 1384 | 0); - HEAP32[$0 + 3060 >> 2] = 1; - HEAP32[$0 + 3056 >> 2] = 32; - $1 = HEAP32[$0 + 3060 >> 2]; - $2 = HEAP32[$0 + 3056 >> 2]; - HEAP32[$0 + 3968 >> 2] = $2; - HEAP32[$0 + 3972 >> 2] = $1; - $1 = HEAP32[$0 + 3968 >> 2]; - $2 = HEAP32[$0 + 3972 >> 2]; - HEAP32[$0 + 3996 >> 2] = $3; - HEAP32[$0 + 3992 >> 2] = 2549; - HEAP32[$0 + 3988 >> 2] = $2; - HEAP32[$0 + 3984 >> 2] = $1; - $3 = HEAP32[$0 + 3996 >> 2]; - $4 = HEAP32[$0 + 3992 >> 2]; - $1 = HEAP32[$0 + 3984 >> 2]; - HEAP32[$0 + 3980 >> 2] = HEAP32[$0 + 3988 >> 2]; - HEAP32[$0 + 3976 >> 2] = $1; - $2 = HEAP32[$0 + 3980 >> 2]; - $1 = HEAP32[$0 + 3976 >> 2]; - HEAP32[$0 + 1376 >> 2] = $1; - HEAP32[$0 + 1380 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Draw____29_28b2Vec2_20const__2c_20float_2c_20b2Color_20const__29___invoke_b2Draw_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2Draw____29_28b2Vec2_20const__2c_20float_2c_20b2Color_20const__29_29($4, $0 + 1376 | 0); - HEAP32[$0 + 4136 >> 2] = $3; - HEAP32[$0 + 4132 >> 2] = 4171; - $1 = HEAP32[$0 + 4136 >> 2]; - $2 = HEAP32[$0 + 4132 >> 2]; - HEAP32[$0 + 12120 >> 2] = $0 + 4131; - HEAP32[$0 + 12116 >> 2] = $2; - void_20emscripten__base_b2Draw___verify_b2DrawWrapper__28_29(); - HEAP32[$0 + 12112 >> 2] = 124; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2Draw__20_28_emscripten__base_b2Draw___getUpcaster_b2DrawWrapper__28_29_29_28b2DrawWrapper__29(), - HEAP32[wasm2js_i32$0 + 12108 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2DrawWrapper__20_28_emscripten__base_b2Draw___getDowncaster_b2DrawWrapper__28_29_29_28b2Draw__29(), - HEAP32[wasm2js_i32$0 + 12104 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 12100 >> 2] = 125; - $2 = emscripten__internal__TypeID_b2DrawWrapper_2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2DrawWrapper__2c_20void___get_28_29(); - $4 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2DrawWrapper_20const__2c_20void___get_28_29(); - $5 = emscripten__base_b2Draw___get_28_29(); - HEAP32[$0 + 12180 >> 2] = HEAP32[$0 + 12112 >> 2]; - $6 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $7 = HEAP32[$0 + 12112 >> 2]; - HEAP32[$0 + 12184 >> 2] = HEAP32[$0 + 12108 >> 2]; - $8 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $9 = HEAP32[$0 + 12108 >> 2]; - HEAP32[$0 + 12188 >> 2] = HEAP32[$0 + 12104 >> 2]; - $10 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $11 = HEAP32[$0 + 12104 >> 2]; - $12 = HEAP32[$0 + 12116 >> 2]; - HEAP32[$0 + 12192 >> 2] = HEAP32[$0 + 12100 >> 2]; - _embind_register_class($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, $12 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 12100 >> 2]); - $2 = void_20_28_emscripten__select_overload_void_20_28b2DrawWrapper__29__28void_20_28__29_28b2DrawWrapper__29_29_29_28b2DrawWrapper__29(emscripten__class__b2Draw_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2Draw_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2DrawWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2DrawWrapper__29__operator_20void_20_28__29_28b2DrawWrapper__29_28_29_20const($0 + 4130 | 0)); - HEAP32[$0 + 12132 >> 2] = $0 + 4131; - HEAP32[$0 + 12128 >> 2] = 6622; - HEAP32[$0 + 12124 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28__29_28b2DrawWrapper__29___invoke_b2DrawWrapper__28char_20const__2c_20void_20_28__29_28b2DrawWrapper__29_29(HEAP32[$0 + 12128 >> 2], HEAP32[$0 + 12124 >> 2]); - HEAP32[$0 + 12152 >> 2] = $1; - HEAP32[$0 + 12148 >> 2] = 2999; - HEAP32[$0 + 12144 >> 2] = 126; - $1 = HEAP32[$0 + 12152 >> 2]; - HEAP32[$0 + 12136 >> 2] = 127; - $2 = emscripten__internal__TypeID_b2Draw_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 12148 >> 2]; - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointer_emscripten__ret_val____ArgTypeList_b2DrawWrapper__2c_20emscripten__val_____getCount_28_29_20const($0 + 12143 | 0); - $5 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointer_emscripten__ret_val____ArgTypeList_b2DrawWrapper__2c_20emscripten__val_____getTypes_28_29_20const($0 + 12143 | 0); - HEAP32[$0 + 12196 >> 2] = HEAP32[$0 + 12136 >> 2]; - _embind_register_class_class_function($2 | 0, $3 | 0, $4 | 0, $5 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 12136 >> 2], HEAP32[$0 + 12144 >> 2], 0); - HEAP32[$0 + 12172 >> 2] = $1; - HEAP32[$0 + 12168 >> 2] = 10266; - HEAP32[$0 + 12164 >> 2] = 128; - HEAP32[$0 + 12156 >> 2] = 100; - $1 = emscripten__internal__TypeID_b2Draw_2c_20void___get_28_29(); - $2 = HEAP32[$0 + 12168 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_emscripten__val_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const____getCount_28_29_20const($0 + 12163 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_emscripten__val_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const____getTypes_28_29_20const($0 + 12163 | 0); - HEAP32[$0 + 12176 >> 2] = HEAP32[$0 + 12156 >> 2]; - _embind_register_class_class_function($1 | 0, $2 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 12156 >> 2], HEAP32[$0 + 12164 >> 2], 0); - HEAP32[$0 + 4160 >> 2] = $0 + 3054; - HEAP32[$0 + 4156 >> 2] = 11377; - void_20emscripten__internal__NoBaseClass__verify_b2AABB__28_29(); - HEAP32[$0 + 4152 >> 2] = 129; - wasm2js_i32$0 = $0, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getUpcaster_b2AABB__28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 4148 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getDowncaster_b2AABB__28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 4144 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 4140 >> 2] = 130; - $1 = emscripten__internal__TypeID_b2AABB_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2AABB__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2AABB_20const__2c_20void___get_28_29(); - $4 = emscripten__internal__NoBaseClass__get_28_29(); - HEAP32[$0 + 12200 >> 2] = HEAP32[$0 + 4152 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 4152 >> 2]; - HEAP32[$0 + 11732 >> 2] = HEAP32[$0 + 4148 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $8 = HEAP32[$0 + 4148 >> 2]; - HEAP32[$0 + 11728 >> 2] = HEAP32[$0 + 4144 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $10 = HEAP32[$0 + 4144 >> 2]; - $11 = HEAP32[$0 + 4156 >> 2]; - HEAP32[$0 + 12204 >> 2] = HEAP32[$0 + 4140 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 4140 >> 2]); - HEAP32[$0 + 4164 >> 2] = $0 + 3054; - HEAP32[$0 + 12212 >> 2] = HEAP32[$0 + 4164 >> 2]; - HEAP32[$0 + 12208 >> 2] = 131; - $3 = HEAP32[$0 + 12212 >> 2]; - void_20emscripten__internal__RegisterClassConstructor_b2AABB__20_28__29_28_29___invoke_b2AABB__28b2AABB__20_28__29_28_29_29(HEAP32[$0 + 12208 >> 2]); - HEAP32[$0 + 3048 >> 2] = 0; - HEAP32[$0 + 3044 >> 2] = 132; - $1 = HEAP32[$0 + 3048 >> 2]; - $2 = HEAP32[$0 + 3044 >> 2]; - HEAP32[$0 + 4168 >> 2] = $2; - HEAP32[$0 + 4172 >> 2] = $1; - $1 = HEAP32[$0 + 4168 >> 2]; - $2 = HEAP32[$0 + 4172 >> 2]; - HEAP32[$0 + 4196 >> 2] = $3; - HEAP32[$0 + 4192 >> 2] = 10346; - HEAP32[$0 + 4188 >> 2] = $2; - HEAP32[$0 + 4184 >> 2] = $1; - $3 = HEAP32[$0 + 4196 >> 2]; - $4 = HEAP32[$0 + 4192 >> 2]; - $1 = HEAP32[$0 + 4184 >> 2]; - HEAP32[$0 + 4180 >> 2] = HEAP32[$0 + 4188 >> 2]; - HEAP32[$0 + 4176 >> 2] = $1; - $2 = HEAP32[$0 + 4180 >> 2]; - $1 = HEAP32[$0 + 4176 >> 2]; - HEAP32[$0 + 1368 >> 2] = $1; - HEAP32[$0 + 1372 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_bool_20_28b2AABB____29_28_29_20const___invoke_b2AABB__28char_20const__2c_20bool_20_28b2AABB____29_28_29_20const_29($4, $0 + 1368 | 0); - HEAP32[$0 + 3040 >> 2] = 0; - HEAP32[$0 + 3036 >> 2] = 133; - $1 = HEAP32[$0 + 3040 >> 2]; - $2 = HEAP32[$0 + 3036 >> 2]; - HEAP32[$0 + 4232 >> 2] = $2; - HEAP32[$0 + 4236 >> 2] = $1; - $1 = HEAP32[$0 + 4232 >> 2]; - $2 = HEAP32[$0 + 4236 >> 2]; - HEAP32[$0 + 4260 >> 2] = $3; - HEAP32[$0 + 4256 >> 2] = 4034; - HEAP32[$0 + 4252 >> 2] = $2; - HEAP32[$0 + 4248 >> 2] = $1; - $3 = HEAP32[$0 + 4260 >> 2]; - $4 = HEAP32[$0 + 4256 >> 2]; - $1 = HEAP32[$0 + 4248 >> 2]; - HEAP32[$0 + 4244 >> 2] = HEAP32[$0 + 4252 >> 2]; - HEAP32[$0 + 4240 >> 2] = $1; - $2 = HEAP32[$0 + 4244 >> 2]; - $1 = HEAP32[$0 + 4240 >> 2]; - HEAP32[$0 + 1360 >> 2] = $1; - HEAP32[$0 + 1364 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20_28b2AABB____29_28_29_20const___invoke_b2AABB__28char_20const__2c_20b2Vec2_20_28b2AABB____29_28_29_20const_29($4, $0 + 1360 | 0); - HEAP32[$0 + 3032 >> 2] = 0; - HEAP32[$0 + 3028 >> 2] = 134; - $1 = HEAP32[$0 + 3032 >> 2]; - $2 = HEAP32[$0 + 3028 >> 2]; - HEAP32[$0 + 4200 >> 2] = $2; - HEAP32[$0 + 4204 >> 2] = $1; - $1 = HEAP32[$0 + 4200 >> 2]; - $2 = HEAP32[$0 + 4204 >> 2]; - HEAP32[$0 + 4228 >> 2] = $3; - HEAP32[$0 + 4224 >> 2] = 3559; - HEAP32[$0 + 4220 >> 2] = $2; - HEAP32[$0 + 4216 >> 2] = $1; - $3 = HEAP32[$0 + 4228 >> 2]; - $4 = HEAP32[$0 + 4224 >> 2]; - $1 = HEAP32[$0 + 4216 >> 2]; - HEAP32[$0 + 4212 >> 2] = HEAP32[$0 + 4220 >> 2]; - HEAP32[$0 + 4208 >> 2] = $1; - $2 = HEAP32[$0 + 4212 >> 2]; - $1 = HEAP32[$0 + 4208 >> 2]; - HEAP32[$0 + 1352 >> 2] = $1; - HEAP32[$0 + 1356 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20_28b2AABB____29_28_29_20const___invoke_b2AABB__28char_20const__2c_20b2Vec2_20_28b2AABB____29_28_29_20const_29($4, $0 + 1352 | 0); - HEAP32[$0 + 3024 >> 2] = 0; - HEAP32[$0 + 3020 >> 2] = 135; - $1 = HEAP32[$0 + 3024 >> 2]; - $2 = HEAP32[$0 + 3020 >> 2]; - HEAP32[$0 + 4264 >> 2] = $2; - HEAP32[$0 + 4268 >> 2] = $1; - $1 = HEAP32[$0 + 4264 >> 2]; - $2 = HEAP32[$0 + 4268 >> 2]; - HEAP32[$0 + 4292 >> 2] = $3; - HEAP32[$0 + 4288 >> 2] = 4143; - HEAP32[$0 + 4284 >> 2] = $2; - HEAP32[$0 + 4280 >> 2] = $1; - $3 = HEAP32[$0 + 4292 >> 2]; - $4 = HEAP32[$0 + 4288 >> 2]; - $1 = HEAP32[$0 + 4280 >> 2]; - HEAP32[$0 + 4276 >> 2] = HEAP32[$0 + 4284 >> 2]; - HEAP32[$0 + 4272 >> 2] = $1; - $2 = HEAP32[$0 + 4276 >> 2]; - $1 = HEAP32[$0 + 4272 >> 2]; - HEAP32[$0 + 1344 >> 2] = $1; - HEAP32[$0 + 1348 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2AABB____29_28_29_20const___invoke_b2AABB__28char_20const__2c_20float_20_28b2AABB____29_28_29_20const_29($4, $0 + 1344 | 0); - $1 = emscripten__internal__remove_class_decltype_28_embind_init_b2_28_29__$_0__operator_28_29_29___type__20emscripten__optional_override_embind_init_b2_28_29__$_0__28embind_init_b2_28_29__$_0_20const__29($0 + 3019 | 0); - HEAP32[$0 + 4304 >> 2] = $3; - HEAP32[$0 + 4300 >> 2] = 9617; - HEAP32[$0 + 4296 >> 2] = $1; - $1 = HEAP32[$0 + 4304 >> 2]; - void_20emscripten__internal__RegisterClassMethod_void_20_28__29_28b2AABB__2c_20b2AABB__29___invoke_b2AABB_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28b2AABB__2c_20b2AABB__29_29(HEAP32[$0 + 4300 >> 2], HEAP32[$0 + 4296 >> 2]); - $2 = emscripten__internal__remove_class_decltype_28_embind_init_b2_28_29__$_1__operator_28_29_29___type__20emscripten__optional_override_embind_init_b2_28_29__$_1__28embind_init_b2_28_29__$_1_20const__29($0 + 3017 | 0); - HEAP32[$0 + 4316 >> 2] = $1; - HEAP32[$0 + 4312 >> 2] = 6355; - HEAP32[$0 + 4308 >> 2] = $2; - $3 = HEAP32[$0 + 4316 >> 2]; - void_20emscripten__internal__RegisterClassMethod_void_20_28__29_28b2AABB__2c_20b2AABB__2c_20b2AABB__29___invoke_b2AABB_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28b2AABB__2c_20b2AABB__2c_20b2AABB__29_29(HEAP32[$0 + 4312 >> 2], HEAP32[$0 + 4308 >> 2]); - HEAP32[$0 + 3012 >> 2] = 0; - HEAP32[$0 + 3008 >> 2] = 136; - $1 = HEAP32[$0 + 3012 >> 2]; - $2 = HEAP32[$0 + 3008 >> 2]; - HEAP32[$0 + 4320 >> 2] = $2; - HEAP32[$0 + 4324 >> 2] = $1; - $1 = HEAP32[$0 + 4320 >> 2]; - $2 = HEAP32[$0 + 4324 >> 2]; - HEAP32[$0 + 4348 >> 2] = $3; - HEAP32[$0 + 4344 >> 2] = 3627; - HEAP32[$0 + 4340 >> 2] = $2; - HEAP32[$0 + 4336 >> 2] = $1; - $3 = HEAP32[$0 + 4348 >> 2]; - $4 = HEAP32[$0 + 4344 >> 2]; - $1 = HEAP32[$0 + 4336 >> 2]; - HEAP32[$0 + 4332 >> 2] = HEAP32[$0 + 4340 >> 2]; - HEAP32[$0 + 4328 >> 2] = $1; - $2 = HEAP32[$0 + 4332 >> 2]; - $1 = HEAP32[$0 + 4328 >> 2]; - HEAP32[$0 + 1336 >> 2] = $1; - HEAP32[$0 + 1340 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_bool_20_28b2AABB____29_28b2AABB_20const__29_20const___invoke_b2AABB__28char_20const__2c_20bool_20_28b2AABB____29_28b2AABB_20const__29_20const_29($4, $0 + 1336 | 0); - HEAP32[$0 + 3e3 >> 2] = 0; - HEAP32[$0 + 2996 >> 2] = 137; - $1 = HEAP32[$0 + 3e3 >> 2]; - $2 = HEAP32[$0 + 2996 >> 2]; - HEAP32[$0 + 4352 >> 2] = $2; - HEAP32[$0 + 4356 >> 2] = $1; - $1 = HEAP32[$0 + 4352 >> 2]; - $2 = HEAP32[$0 + 4356 >> 2]; - HEAP32[$0 + 4384 >> 2] = $3; - HEAP32[$0 + 4380 >> 2] = 2054; - HEAP32[$0 + 4376 >> 2] = $2; - HEAP32[$0 + 4372 >> 2] = $1; - $3 = HEAP32[$0 + 4384 >> 2]; - $4 = HEAP32[$0 + 4380 >> 2]; - $1 = HEAP32[$0 + 4372 >> 2]; - HEAP32[$0 + 4368 >> 2] = HEAP32[$0 + 4376 >> 2]; - HEAP32[$0 + 4364 >> 2] = $1; - $2 = HEAP32[$0 + 4368 >> 2]; - $1 = HEAP32[$0 + 4364 >> 2]; - HEAP32[$0 + 1328 >> 2] = $1; - HEAP32[$0 + 1332 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_bool_20_28b2AABB____29_28b2RayCastOutput__2c_20b2RayCastInput_20const__29_20const___invoke_b2AABB_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20bool_20_28b2AABB____29_28b2RayCastOutput__2c_20b2RayCastInput_20const__29_20const_29($4, $0 + 1328 | 0); - HEAP32[$0 + 4424 >> 2] = $3; - HEAP32[$0 + 4420 >> 2] = 10244; - HEAP32[$0 + 4416 >> 2] = 0; - $1 = HEAP32[$0 + 4424 >> 2]; - HEAP32[$0 + 4412 >> 2] = 138; - HEAP32[$0 + 4408 >> 2] = 139; - $2 = emscripten__internal__TypeID_b2AABB_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 4420 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12216 >> 2] = HEAP32[$0 + 4412 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 4412 >> 2]; - $7 = b2Vec2_20b2AABB_____20emscripten__internal__getContext_b2Vec2_20b2AABB_____28b2Vec2_20b2AABB____20const__29($0 + 4416 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12224 >> 2] = HEAP32[$0 + 4408 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 4408 >> 2], b2Vec2_20b2AABB_____20emscripten__internal__getContext_b2Vec2_20b2AABB_____28b2Vec2_20b2AABB____20const__29($0 + 4416 | 0) | 0); - HEAP32[$0 + 4404 >> 2] = $1; - HEAP32[$0 + 4400 >> 2] = 10255; - HEAP32[$0 + 4396 >> 2] = 8; - HEAP32[$0 + 4392 >> 2] = 138; - HEAP32[$0 + 4388 >> 2] = 139; - $1 = emscripten__internal__TypeID_b2AABB_2c_20void___get_28_29(); - $2 = HEAP32[$0 + 4400 >> 2]; - $3 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12220 >> 2] = HEAP32[$0 + 4392 >> 2]; - $4 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $5 = HEAP32[$0 + 4392 >> 2]; - $6 = b2Vec2_20b2AABB_____20emscripten__internal__getContext_b2Vec2_20b2AABB_____28b2Vec2_20b2AABB____20const__29($0 + 4396 | 0); - $7 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12228 >> 2] = HEAP32[$0 + 4388 >> 2]; - _embind_register_class_property($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 4388 >> 2], b2Vec2_20b2AABB_____20emscripten__internal__getContext_b2Vec2_20b2AABB_____28b2Vec2_20b2AABB____20const__29($0 + 4396 | 0) | 0); - HEAP32[$0 + 4448 >> 2] = $0 + 2995; - HEAP32[$0 + 4444 >> 2] = 10276; - void_20emscripten__internal__NoBaseClass__verify_b2World__28_29(); - HEAP32[$0 + 4440 >> 2] = 140; - wasm2js_i32$0 = $0, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getUpcaster_b2World__28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 4436 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getDowncaster_b2World__28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 4432 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 4428 >> 2] = 141; - $1 = emscripten__internal__TypeID_b2World_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2World__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2World_20const__2c_20void___get_28_29(); - $4 = emscripten__internal__NoBaseClass__get_28_29(); - HEAP32[$0 + 12232 >> 2] = HEAP32[$0 + 4440 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 4440 >> 2]; - HEAP32[$0 + 11724 >> 2] = HEAP32[$0 + 4436 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $8 = HEAP32[$0 + 4436 >> 2]; - HEAP32[$0 + 11720 >> 2] = HEAP32[$0 + 4432 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $10 = HEAP32[$0 + 4432 >> 2]; - $11 = HEAP32[$0 + 4444 >> 2]; - HEAP32[$0 + 12236 >> 2] = HEAP32[$0 + 4428 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 4428 >> 2]); - HEAP32[$0 + 4452 >> 2] = $0 + 2995; - HEAP32[$0 + 12244 >> 2] = HEAP32[$0 + 4452 >> 2]; - HEAP32[$0 + 12240 >> 2] = 142; - $3 = HEAP32[$0 + 12244 >> 2]; - void_20emscripten__internal__RegisterClassConstructor_b2World__20_28__29_28b2Vec2___29___invoke_b2World__28b2World__20_28__29_28b2Vec2___29_29(HEAP32[$0 + 12240 >> 2]); - HEAP32[$0 + 2988 >> 2] = 0; - HEAP32[$0 + 2984 >> 2] = 143; - $1 = HEAP32[$0 + 2988 >> 2]; - $2 = HEAP32[$0 + 2984 >> 2]; - HEAP32[$0 + 4456 >> 2] = $2; - HEAP32[$0 + 4460 >> 2] = $1; - $1 = HEAP32[$0 + 4456 >> 2]; - $2 = HEAP32[$0 + 4460 >> 2]; - HEAP32[$0 + 4484 >> 2] = $3; - HEAP32[$0 + 4480 >> 2] = 4250; - HEAP32[$0 + 4476 >> 2] = $2; - HEAP32[$0 + 4472 >> 2] = $1; - $3 = HEAP32[$0 + 4484 >> 2]; - $4 = HEAP32[$0 + 4480 >> 2]; - $1 = HEAP32[$0 + 4472 >> 2]; - HEAP32[$0 + 4468 >> 2] = HEAP32[$0 + 4476 >> 2]; - HEAP32[$0 + 4464 >> 2] = $1; - $2 = HEAP32[$0 + 4468 >> 2]; - $1 = HEAP32[$0 + 4464 >> 2]; - HEAP32[$0 + 1320 >> 2] = $1; - HEAP32[$0 + 1324 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2World____29_28b2ContactListener__29___invoke_b2World_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2World____29_28b2ContactListener__29_29($4, $0 + 1320 | 0); - HEAP32[$0 + 2976 >> 2] = 0; - HEAP32[$0 + 2972 >> 2] = 144; - $1 = HEAP32[$0 + 2976 >> 2]; - $2 = HEAP32[$0 + 2972 >> 2]; - HEAP32[$0 + 4488 >> 2] = $2; - HEAP32[$0 + 4492 >> 2] = $1; - $1 = HEAP32[$0 + 4488 >> 2]; - $2 = HEAP32[$0 + 4492 >> 2]; - HEAP32[$0 + 4516 >> 2] = $3; - HEAP32[$0 + 4512 >> 2] = 1937; - HEAP32[$0 + 4508 >> 2] = $2; - HEAP32[$0 + 4504 >> 2] = $1; - $3 = HEAP32[$0 + 4516 >> 2]; - $4 = HEAP32[$0 + 4512 >> 2]; - $1 = HEAP32[$0 + 4504 >> 2]; - HEAP32[$0 + 4500 >> 2] = HEAP32[$0 + 4508 >> 2]; - HEAP32[$0 + 4496 >> 2] = $1; - $2 = HEAP32[$0 + 4500 >> 2]; - $1 = HEAP32[$0 + 4496 >> 2]; - HEAP32[$0 + 1312 >> 2] = $1; - HEAP32[$0 + 1316 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2World____29_28b2Draw__29___invoke_b2World_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2World____29_28b2Draw__29_29($4, $0 + 1312 | 0); - HEAP32[$0 + 2964 >> 2] = 0; - HEAP32[$0 + 2960 >> 2] = 145; - $1 = HEAP32[$0 + 2964 >> 2]; - $2 = HEAP32[$0 + 2960 >> 2]; - HEAP32[$0 + 4520 >> 2] = $2; - HEAP32[$0 + 4524 >> 2] = $1; - $1 = HEAP32[$0 + 4520 >> 2]; - $2 = HEAP32[$0 + 4524 >> 2]; - HEAP32[$0 + 4548 >> 2] = $3; - HEAP32[$0 + 4544 >> 2] = 1940; - HEAP32[$0 + 4540 >> 2] = $2; - HEAP32[$0 + 4536 >> 2] = $1; - $3 = HEAP32[$0 + 4548 >> 2]; - $4 = HEAP32[$0 + 4544 >> 2]; - $1 = HEAP32[$0 + 4536 >> 2]; - HEAP32[$0 + 4532 >> 2] = HEAP32[$0 + 4540 >> 2]; - HEAP32[$0 + 4528 >> 2] = $1; - $2 = HEAP32[$0 + 4532 >> 2]; - $1 = HEAP32[$0 + 4528 >> 2]; - HEAP32[$0 + 1304 >> 2] = $1; - HEAP32[$0 + 1308 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2World____29_28_29___invoke_b2World_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2World____29_28_29_29($4, $0 + 1304 | 0); - HEAP32[$0 + 2952 >> 2] = 0; - HEAP32[$0 + 2948 >> 2] = 146; - $1 = HEAP32[$0 + 2952 >> 2]; - $2 = HEAP32[$0 + 2948 >> 2]; - HEAP32[$0 + 4552 >> 2] = $2; - HEAP32[$0 + 4556 >> 2] = $1; - $1 = HEAP32[$0 + 4552 >> 2]; - $2 = HEAP32[$0 + 4556 >> 2]; - HEAP32[$0 + 4580 >> 2] = $3; - HEAP32[$0 + 4576 >> 2] = 1690; - HEAP32[$0 + 4572 >> 2] = $2; - HEAP32[$0 + 4568 >> 2] = $1; - $3 = HEAP32[$0 + 4580 >> 2]; - $4 = HEAP32[$0 + 4576 >> 2]; - $1 = HEAP32[$0 + 4568 >> 2]; - HEAP32[$0 + 4564 >> 2] = HEAP32[$0 + 4572 >> 2]; - HEAP32[$0 + 4560 >> 2] = $1; - $2 = HEAP32[$0 + 4564 >> 2]; - $1 = HEAP32[$0 + 4560 >> 2]; - HEAP32[$0 + 1296 >> 2] = $1; - HEAP32[$0 + 1300 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Body__20_28b2World____29_28b2BodyDef_20const__29___invoke_b2World_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2Body__20_28b2World____29_28b2BodyDef_20const__29_29($4, $0 + 1296 | 0); - HEAP32[$0 + 2940 >> 2] = 0; - HEAP32[$0 + 2936 >> 2] = 147; - $1 = HEAP32[$0 + 2940 >> 2]; - $2 = HEAP32[$0 + 2936 >> 2]; - HEAP32[$0 + 4584 >> 2] = $2; - HEAP32[$0 + 4588 >> 2] = $1; - $1 = HEAP32[$0 + 4584 >> 2]; - $2 = HEAP32[$0 + 4588 >> 2]; - HEAP32[$0 + 4612 >> 2] = $3; - HEAP32[$0 + 4608 >> 2] = 1663; - HEAP32[$0 + 4604 >> 2] = $2; - HEAP32[$0 + 4600 >> 2] = $1; - $3 = HEAP32[$0 + 4612 >> 2]; - $4 = HEAP32[$0 + 4608 >> 2]; - $1 = HEAP32[$0 + 4600 >> 2]; - HEAP32[$0 + 4596 >> 2] = HEAP32[$0 + 4604 >> 2]; - HEAP32[$0 + 4592 >> 2] = $1; - $2 = HEAP32[$0 + 4596 >> 2]; - $1 = HEAP32[$0 + 4592 >> 2]; - HEAP32[$0 + 1288 >> 2] = $1; - HEAP32[$0 + 1292 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2World____29_28b2Body__29___invoke_b2World_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2World____29_28b2Body__29_29($4, $0 + 1288 | 0); - HEAP32[$0 + 2928 >> 2] = 0; - HEAP32[$0 + 2924 >> 2] = 148; - $1 = HEAP32[$0 + 2928 >> 2]; - $2 = HEAP32[$0 + 2924 >> 2]; - HEAP32[$0 + 4616 >> 2] = $2; - HEAP32[$0 + 4620 >> 2] = $1; - $1 = HEAP32[$0 + 4616 >> 2]; - $2 = HEAP32[$0 + 4620 >> 2]; - HEAP32[$0 + 4644 >> 2] = $3; - HEAP32[$0 + 4640 >> 2] = 2776; - HEAP32[$0 + 4636 >> 2] = $2; - HEAP32[$0 + 4632 >> 2] = $1; - $3 = HEAP32[$0 + 4644 >> 2]; - $4 = HEAP32[$0 + 4640 >> 2]; - $1 = HEAP32[$0 + 4632 >> 2]; - HEAP32[$0 + 4628 >> 2] = HEAP32[$0 + 4636 >> 2]; - HEAP32[$0 + 4624 >> 2] = $1; - $2 = HEAP32[$0 + 4628 >> 2]; - $1 = HEAP32[$0 + 4624 >> 2]; - HEAP32[$0 + 1280 >> 2] = $1; - HEAP32[$0 + 1284 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Joint__20_28b2World____29_28b2JointDef_20const__29___invoke_b2World_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2Joint__20_28b2World____29_28b2JointDef_20const__29_29($4, $0 + 1280 | 0); - HEAP32[$0 + 2916 >> 2] = 0; - HEAP32[$0 + 2912 >> 2] = 149; - $1 = HEAP32[$0 + 2916 >> 2]; - $2 = HEAP32[$0 + 2912 >> 2]; - HEAP32[$0 + 4648 >> 2] = $2; - HEAP32[$0 + 4652 >> 2] = $1; - $1 = HEAP32[$0 + 4648 >> 2]; - $2 = HEAP32[$0 + 4652 >> 2]; - HEAP32[$0 + 4676 >> 2] = $3; - HEAP32[$0 + 4672 >> 2] = 2683; - HEAP32[$0 + 4668 >> 2] = $2; - HEAP32[$0 + 4664 >> 2] = $1; - $3 = HEAP32[$0 + 4676 >> 2]; - $4 = HEAP32[$0 + 4672 >> 2]; - $1 = HEAP32[$0 + 4664 >> 2]; - HEAP32[$0 + 4660 >> 2] = HEAP32[$0 + 4668 >> 2]; - HEAP32[$0 + 4656 >> 2] = $1; - $2 = HEAP32[$0 + 4660 >> 2]; - $1 = HEAP32[$0 + 4656 >> 2]; - HEAP32[$0 + 1272 >> 2] = $1; - HEAP32[$0 + 1276 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2World____29_28b2Joint__29___invoke_b2World_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2World____29_28b2Joint__29_29($4, $0 + 1272 | 0); - HEAP32[$0 + 2908 >> 2] = 0; - HEAP32[$0 + 2904 >> 2] = 150; - $1 = HEAP32[$0 + 2908 >> 2]; - $2 = HEAP32[$0 + 2904 >> 2]; - HEAP32[$0 + 4680 >> 2] = $2; - HEAP32[$0 + 4684 >> 2] = $1; - $1 = HEAP32[$0 + 4680 >> 2]; - $2 = HEAP32[$0 + 4684 >> 2]; - HEAP32[$0 + 4708 >> 2] = $3; - HEAP32[$0 + 4704 >> 2] = 6329; - HEAP32[$0 + 4700 >> 2] = $2; - HEAP32[$0 + 4696 >> 2] = $1; - $3 = HEAP32[$0 + 4708 >> 2]; - $4 = HEAP32[$0 + 4704 >> 2]; - $1 = HEAP32[$0 + 4696 >> 2]; - HEAP32[$0 + 4692 >> 2] = HEAP32[$0 + 4700 >> 2]; - HEAP32[$0 + 4688 >> 2] = $1; - $2 = HEAP32[$0 + 4692 >> 2]; - $1 = HEAP32[$0 + 4688 >> 2]; - HEAP32[$0 + 1264 >> 2] = $1; - HEAP32[$0 + 1268 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2World____29_28float_2c_20int_2c_20int_29___invoke_b2World__28char_20const__2c_20void_20_28b2World____29_28float_2c_20int_2c_20int_29_29($4, $0 + 1264 | 0); - HEAP32[$0 + 2896 >> 2] = 0; - HEAP32[$0 + 2892 >> 2] = 151; - $1 = HEAP32[$0 + 2896 >> 2]; - $2 = HEAP32[$0 + 2892 >> 2]; - HEAP32[$0 + 4712 >> 2] = $2; - HEAP32[$0 + 4716 >> 2] = $1; - $1 = HEAP32[$0 + 4712 >> 2]; - $2 = HEAP32[$0 + 4716 >> 2]; - HEAP32[$0 + 4740 >> 2] = $3; - HEAP32[$0 + 4736 >> 2] = 11346; - HEAP32[$0 + 4732 >> 2] = $2; - HEAP32[$0 + 4728 >> 2] = $1; - $3 = HEAP32[$0 + 4740 >> 2]; - $4 = HEAP32[$0 + 4736 >> 2]; - $1 = HEAP32[$0 + 4728 >> 2]; - HEAP32[$0 + 4724 >> 2] = HEAP32[$0 + 4732 >> 2]; - HEAP32[$0 + 4720 >> 2] = $1; - $2 = HEAP32[$0 + 4724 >> 2]; - $1 = HEAP32[$0 + 4720 >> 2]; - HEAP32[$0 + 1256 >> 2] = $1; - HEAP32[$0 + 1260 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2World____29_28b2QueryCallback__2c_20b2AABB_20const__29_20const___invoke_b2World_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2World____29_28b2QueryCallback__2c_20b2AABB_20const__29_20const_29($4, $0 + 1256 | 0); - HEAP32[$0 + 2884 >> 2] = 0; - HEAP32[$0 + 2880 >> 2] = 152; - $1 = HEAP32[$0 + 2884 >> 2]; - $2 = HEAP32[$0 + 2880 >> 2]; - HEAP32[$0 + 4744 >> 2] = $2; - HEAP32[$0 + 4748 >> 2] = $1; - $1 = HEAP32[$0 + 4744 >> 2]; - $2 = HEAP32[$0 + 4748 >> 2]; - HEAP32[$0 + 4772 >> 2] = $3; - HEAP32[$0 + 4768 >> 2] = 2054; - HEAP32[$0 + 4764 >> 2] = $2; - HEAP32[$0 + 4760 >> 2] = $1; - $3 = HEAP32[$0 + 4772 >> 2]; - $4 = HEAP32[$0 + 4768 >> 2]; - $1 = HEAP32[$0 + 4760 >> 2]; - HEAP32[$0 + 4756 >> 2] = HEAP32[$0 + 4764 >> 2]; - HEAP32[$0 + 4752 >> 2] = $1; - $2 = HEAP32[$0 + 4756 >> 2]; - $1 = HEAP32[$0 + 4752 >> 2]; - HEAP32[$0 + 1248 >> 2] = $1; - HEAP32[$0 + 1252 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2World____29_28b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const__29_20const___invoke_b2World_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2World____29_28b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const__29_20const_29($4, $0 + 1248 | 0); - HEAP32[$0 + 2876 >> 2] = 0; - HEAP32[$0 + 2872 >> 2] = 153; - $1 = HEAP32[$0 + 2876 >> 2]; - $2 = HEAP32[$0 + 2872 >> 2]; - HEAP32[$0 + 4776 >> 2] = $2; - HEAP32[$0 + 4780 >> 2] = $1; - $1 = HEAP32[$0 + 4776 >> 2]; - $2 = HEAP32[$0 + 4780 >> 2]; - HEAP32[$0 + 4804 >> 2] = $3; - HEAP32[$0 + 4800 >> 2] = 7979; - HEAP32[$0 + 4796 >> 2] = $2; - HEAP32[$0 + 4792 >> 2] = $1; - $3 = HEAP32[$0 + 4804 >> 2]; - $4 = HEAP32[$0 + 4800 >> 2]; - $1 = HEAP32[$0 + 4792 >> 2]; - HEAP32[$0 + 4788 >> 2] = HEAP32[$0 + 4796 >> 2]; - HEAP32[$0 + 4784 >> 2] = $1; - $2 = HEAP32[$0 + 4788 >> 2]; - $1 = HEAP32[$0 + 4784 >> 2]; - HEAP32[$0 + 1240 >> 2] = $1; - HEAP32[$0 + 1244 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2World____29_28bool_29___invoke_b2World__28char_20const__2c_20void_20_28b2World____29_28bool_29_29($4, $0 + 1240 | 0); - HEAP32[$0 + 2868 >> 2] = 0; - HEAP32[$0 + 2864 >> 2] = 154; - $1 = HEAP32[$0 + 2868 >> 2]; - $2 = HEAP32[$0 + 2864 >> 2]; - HEAP32[$0 + 4808 >> 2] = $2; - HEAP32[$0 + 4812 >> 2] = $1; - $1 = HEAP32[$0 + 4808 >> 2]; - $2 = HEAP32[$0 + 4812 >> 2]; - HEAP32[$0 + 4836 >> 2] = $3; - HEAP32[$0 + 4832 >> 2] = 7996; - HEAP32[$0 + 4828 >> 2] = $2; - HEAP32[$0 + 4824 >> 2] = $1; - $3 = HEAP32[$0 + 4836 >> 2]; - $4 = HEAP32[$0 + 4832 >> 2]; - $1 = HEAP32[$0 + 4824 >> 2]; - HEAP32[$0 + 4820 >> 2] = HEAP32[$0 + 4828 >> 2]; - HEAP32[$0 + 4816 >> 2] = $1; - $2 = HEAP32[$0 + 4820 >> 2]; - $1 = HEAP32[$0 + 4816 >> 2]; - HEAP32[$0 + 1232 >> 2] = $1; - HEAP32[$0 + 1236 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_bool_20_28b2World____29_28_29_20const___invoke_b2World__28char_20const__2c_20bool_20_28b2World____29_28_29_20const_29($4, $0 + 1232 | 0); - HEAP32[$0 + 2860 >> 2] = 0; - HEAP32[$0 + 2856 >> 2] = 155; - $1 = HEAP32[$0 + 2860 >> 2]; - $2 = HEAP32[$0 + 2856 >> 2]; - HEAP32[$0 + 4840 >> 2] = $2; - HEAP32[$0 + 4844 >> 2] = $1; - $1 = HEAP32[$0 + 4840 >> 2]; - $2 = HEAP32[$0 + 4844 >> 2]; - HEAP32[$0 + 4868 >> 2] = $3; - HEAP32[$0 + 4864 >> 2] = 1101; - HEAP32[$0 + 4860 >> 2] = $2; - HEAP32[$0 + 4856 >> 2] = $1; - $3 = HEAP32[$0 + 4868 >> 2]; - $4 = HEAP32[$0 + 4864 >> 2]; - $1 = HEAP32[$0 + 4856 >> 2]; - HEAP32[$0 + 4852 >> 2] = HEAP32[$0 + 4860 >> 2]; - HEAP32[$0 + 4848 >> 2] = $1; - $2 = HEAP32[$0 + 4852 >> 2]; - $1 = HEAP32[$0 + 4848 >> 2]; - HEAP32[$0 + 1224 >> 2] = $1; - HEAP32[$0 + 1228 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2World____29_28b2Vec2_20const__29___invoke_b2World__28char_20const__2c_20void_20_28b2World____29_28b2Vec2_20const__29_29($4, $0 + 1224 | 0); - HEAP32[$0 + 2852 >> 2] = 0; - HEAP32[$0 + 2848 >> 2] = 156; - $1 = HEAP32[$0 + 2852 >> 2]; - $2 = HEAP32[$0 + 2848 >> 2]; - HEAP32[$0 + 4872 >> 2] = $2; - HEAP32[$0 + 4876 >> 2] = $1; - $1 = HEAP32[$0 + 4872 >> 2]; - $2 = HEAP32[$0 + 4876 >> 2]; - HEAP32[$0 + 4900 >> 2] = $3; - HEAP32[$0 + 4896 >> 2] = 1112; - HEAP32[$0 + 4892 >> 2] = $2; - HEAP32[$0 + 4888 >> 2] = $1; - $3 = HEAP32[$0 + 4900 >> 2]; - $4 = HEAP32[$0 + 4896 >> 2]; - $1 = HEAP32[$0 + 4888 >> 2]; - HEAP32[$0 + 4884 >> 2] = HEAP32[$0 + 4892 >> 2]; - HEAP32[$0 + 4880 >> 2] = $1; - $2 = HEAP32[$0 + 4884 >> 2]; - $1 = HEAP32[$0 + 4880 >> 2]; - HEAP32[$0 + 1216 >> 2] = $1; - HEAP32[$0 + 1220 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20_28b2World____29_28_29_20const___invoke_b2World__28char_20const__2c_20b2Vec2_20_28b2World____29_28_29_20const_29($4, $0 + 1216 | 0); - HEAP32[$0 + 2844 >> 2] = 0; - HEAP32[$0 + 2840 >> 2] = 157; - $1 = HEAP32[$0 + 2844 >> 2]; - $2 = HEAP32[$0 + 2840 >> 2]; - HEAP32[$0 + 4904 >> 2] = $2; - HEAP32[$0 + 4908 >> 2] = $1; - $1 = HEAP32[$0 + 4904 >> 2]; - $2 = HEAP32[$0 + 4908 >> 2]; - HEAP32[$0 + 4936 >> 2] = $3; - HEAP32[$0 + 4932 >> 2] = 6324; - HEAP32[$0 + 4928 >> 2] = $2; - HEAP32[$0 + 4924 >> 2] = $1; - $3 = HEAP32[$0 + 4932 >> 2]; - $1 = HEAP32[$0 + 4924 >> 2]; - HEAP32[$0 + 4920 >> 2] = HEAP32[$0 + 4928 >> 2]; - HEAP32[$0 + 4916 >> 2] = $1; - $2 = HEAP32[$0 + 4920 >> 2]; - $1 = HEAP32[$0 + 4916 >> 2]; - HEAP32[$0 + 1208 >> 2] = $1; - HEAP32[$0 + 1212 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2World____29_28_29___invoke_b2World__28char_20const__2c_20void_20_28b2World____29_28_29_29($3, $0 + 1208 | 0); - HEAP32[$0 + 4960 >> 2] = $0 + 2839; - HEAP32[$0 + 4956 >> 2] = 8035; - void_20emscripten__internal__NoBaseClass__verify_b2BodyDef__28_29(); - HEAP32[$0 + 4952 >> 2] = 158; - wasm2js_i32$0 = $0, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getUpcaster_b2BodyDef__28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 4948 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getDowncaster_b2BodyDef__28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 4944 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 4940 >> 2] = 159; - $1 = emscripten__internal__TypeID_b2BodyDef_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2BodyDef__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2BodyDef_20const__2c_20void___get_28_29(); - $4 = emscripten__internal__NoBaseClass__get_28_29(); - HEAP32[$0 + 12248 >> 2] = HEAP32[$0 + 4952 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 4952 >> 2]; - HEAP32[$0 + 11716 >> 2] = HEAP32[$0 + 4948 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $8 = HEAP32[$0 + 4948 >> 2]; - HEAP32[$0 + 11712 >> 2] = HEAP32[$0 + 4944 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $10 = HEAP32[$0 + 4944 >> 2]; - $11 = HEAP32[$0 + 4956 >> 2]; - HEAP32[$0 + 12252 >> 2] = HEAP32[$0 + 4940 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 4940 >> 2]); - HEAP32[$0 + 4964 >> 2] = $0 + 2839; - HEAP32[$0 + 12260 >> 2] = HEAP32[$0 + 4964 >> 2]; - HEAP32[$0 + 12256 >> 2] = 160; - $1 = HEAP32[$0 + 12260 >> 2]; - void_20emscripten__internal__RegisterClassConstructor_b2BodyDef__20_28__29_28_29___invoke_b2BodyDef__28b2BodyDef__20_28__29_28_29_29(HEAP32[$0 + 12256 >> 2]); - HEAP32[$0 + 4984 >> 2] = $1; - HEAP32[$0 + 4980 >> 2] = 9486; - HEAP32[$0 + 4976 >> 2] = 0; - $1 = HEAP32[$0 + 4984 >> 2]; - HEAP32[$0 + 4972 >> 2] = 161; - HEAP32[$0 + 4968 >> 2] = 162; - $2 = emscripten__internal__TypeID_b2BodyDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 4980 >> 2]; - $4 = emscripten__internal__TypeID_b2BodyType_2c_20void___get_28_29(); - HEAP32[$0 + 12264 >> 2] = HEAP32[$0 + 4972 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 4972 >> 2]; - $7 = b2BodyType_20b2BodyDef_____20emscripten__internal__getContext_b2BodyType_20b2BodyDef_____28b2BodyType_20b2BodyDef____20const__29($0 + 4976 | 0); - $8 = emscripten__internal__TypeID_b2BodyType_2c_20void___get_28_29(); - HEAP32[$0 + 12268 >> 2] = HEAP32[$0 + 4968 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 4968 >> 2], b2BodyType_20b2BodyDef_____20emscripten__internal__getContext_b2BodyType_20b2BodyDef_____28b2BodyType_20b2BodyDef____20const__29($0 + 4976 | 0) | 0); - HEAP32[$0 + 5024 >> 2] = $1; - HEAP32[$0 + 5020 >> 2] = 6567; - HEAP32[$0 + 5016 >> 2] = 4; - $1 = HEAP32[$0 + 5024 >> 2]; - HEAP32[$0 + 5012 >> 2] = 163; - HEAP32[$0 + 5008 >> 2] = 164; - $2 = emscripten__internal__TypeID_b2BodyDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 5020 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12272 >> 2] = HEAP32[$0 + 5012 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 5012 >> 2]; - $7 = b2Vec2_20b2BodyDef_____20emscripten__internal__getContext_b2Vec2_20b2BodyDef_____28b2Vec2_20b2BodyDef____20const__29($0 + 5016 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12280 >> 2] = HEAP32[$0 + 5008 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 5008 >> 2], b2Vec2_20b2BodyDef_____20emscripten__internal__getContext_b2Vec2_20b2BodyDef_____28b2Vec2_20b2BodyDef____20const__29($0 + 5016 | 0) | 0); - HEAP32[$0 + 5124 >> 2] = $1; - HEAP32[$0 + 5120 >> 2] = 9625; - HEAP32[$0 + 5116 >> 2] = 12; - $1 = HEAP32[$0 + 5124 >> 2]; - HEAP32[$0 + 5112 >> 2] = 165; - HEAP32[$0 + 5108 >> 2] = 166; - $2 = emscripten__internal__TypeID_b2BodyDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 5120 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12288 >> 2] = HEAP32[$0 + 5112 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 5112 >> 2]; - $7 = float_20b2BodyDef_____20emscripten__internal__getContext_float_20b2BodyDef_____28float_20b2BodyDef____20const__29($0 + 5116 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12308 >> 2] = HEAP32[$0 + 5108 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 5108 >> 2], float_20b2BodyDef_____20emscripten__internal__getContext_float_20b2BodyDef_____28float_20b2BodyDef____20const__29($0 + 5116 | 0) | 0); - HEAP32[$0 + 5004 >> 2] = $1; - HEAP32[$0 + 5e3 >> 2] = 1213; - HEAP32[$0 + 4996 >> 2] = 16; - $1 = HEAP32[$0 + 5004 >> 2]; - HEAP32[$0 + 4992 >> 2] = 163; - HEAP32[$0 + 4988 >> 2] = 164; - $2 = emscripten__internal__TypeID_b2BodyDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 5e3 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12276 >> 2] = HEAP32[$0 + 4992 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 4992 >> 2]; - $7 = b2Vec2_20b2BodyDef_____20emscripten__internal__getContext_b2Vec2_20b2BodyDef_____28b2Vec2_20b2BodyDef____20const__29($0 + 4996 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12284 >> 2] = HEAP32[$0 + 4988 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 4988 >> 2], b2Vec2_20b2BodyDef_____20emscripten__internal__getContext_b2Vec2_20b2BodyDef_____28b2Vec2_20b2BodyDef____20const__29($0 + 4996 | 0) | 0); - HEAP32[$0 + 5104 >> 2] = $1; - HEAP32[$0 + 5100 >> 2] = 1159; - HEAP32[$0 + 5096 >> 2] = 24; - $1 = HEAP32[$0 + 5104 >> 2]; - HEAP32[$0 + 5092 >> 2] = 165; - HEAP32[$0 + 5088 >> 2] = 166; - $2 = emscripten__internal__TypeID_b2BodyDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 5100 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12292 >> 2] = HEAP32[$0 + 5092 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 5092 >> 2]; - $7 = float_20b2BodyDef_____20emscripten__internal__getContext_float_20b2BodyDef_____28float_20b2BodyDef____20const__29($0 + 5096 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12312 >> 2] = HEAP32[$0 + 5088 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 5088 >> 2], float_20b2BodyDef_____20emscripten__internal__getContext_float_20b2BodyDef_____28float_20b2BodyDef____20const__29($0 + 5096 | 0) | 0); - HEAP32[$0 + 5084 >> 2] = $1; - HEAP32[$0 + 5080 >> 2] = 7931; - HEAP32[$0 + 5076 >> 2] = 28; - $1 = HEAP32[$0 + 5084 >> 2]; - HEAP32[$0 + 5072 >> 2] = 165; - HEAP32[$0 + 5068 >> 2] = 166; - $2 = emscripten__internal__TypeID_b2BodyDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 5080 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12296 >> 2] = HEAP32[$0 + 5072 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 5072 >> 2]; - $7 = float_20b2BodyDef_____20emscripten__internal__getContext_float_20b2BodyDef_____28float_20b2BodyDef____20const__29($0 + 5076 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12316 >> 2] = HEAP32[$0 + 5068 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 5068 >> 2], float_20b2BodyDef_____20emscripten__internal__getContext_float_20b2BodyDef_____28float_20b2BodyDef____20const__29($0 + 5076 | 0) | 0); - HEAP32[$0 + 5064 >> 2] = $1; - HEAP32[$0 + 5060 >> 2] = 7880; - HEAP32[$0 + 5056 >> 2] = 32; - $1 = HEAP32[$0 + 5064 >> 2]; - HEAP32[$0 + 5052 >> 2] = 165; - HEAP32[$0 + 5048 >> 2] = 166; - $2 = emscripten__internal__TypeID_b2BodyDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 5060 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12300 >> 2] = HEAP32[$0 + 5052 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 5052 >> 2]; - $7 = float_20b2BodyDef_____20emscripten__internal__getContext_float_20b2BodyDef_____28float_20b2BodyDef____20const__29($0 + 5056 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12320 >> 2] = HEAP32[$0 + 5048 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 5048 >> 2], float_20b2BodyDef_____20emscripten__internal__getContext_float_20b2BodyDef_____28float_20b2BodyDef____20const__29($0 + 5056 | 0) | 0); - HEAP32[$0 + 5204 >> 2] = $1; - HEAP32[$0 + 5200 >> 2] = 6334; - HEAP32[$0 + 5196 >> 2] = 36; - $1 = HEAP32[$0 + 5204 >> 2]; - HEAP32[$0 + 5192 >> 2] = 167; - HEAP32[$0 + 5188 >> 2] = 168; - $2 = emscripten__internal__TypeID_b2BodyDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 5200 >> 2]; - $4 = emscripten__internal__TypeID_bool_2c_20void___get_28_29(); - HEAP32[$0 + 12328 >> 2] = HEAP32[$0 + 5192 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 5192 >> 2]; - $7 = bool_20b2BodyDef_____20emscripten__internal__getContext_bool_20b2BodyDef_____28bool_20b2BodyDef____20const__29($0 + 5196 | 0); - $8 = emscripten__internal__TypeID_bool_2c_20void___get_28_29(); - HEAP32[$0 + 12344 >> 2] = HEAP32[$0 + 5188 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 5188 >> 2], bool_20b2BodyDef_____20emscripten__internal__getContext_bool_20b2BodyDef_____28bool_20b2BodyDef____20const__29($0 + 5196 | 0) | 0); - HEAP32[$0 + 5184 >> 2] = $1; - HEAP32[$0 + 5180 >> 2] = 9936; - HEAP32[$0 + 5176 >> 2] = 37; - $1 = HEAP32[$0 + 5184 >> 2]; - HEAP32[$0 + 5172 >> 2] = 167; - HEAP32[$0 + 5168 >> 2] = 168; - $2 = emscripten__internal__TypeID_b2BodyDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 5180 >> 2]; - $4 = emscripten__internal__TypeID_bool_2c_20void___get_28_29(); - HEAP32[$0 + 12332 >> 2] = HEAP32[$0 + 5172 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 5172 >> 2]; - $7 = bool_20b2BodyDef_____20emscripten__internal__getContext_bool_20b2BodyDef_____28bool_20b2BodyDef____20const__29($0 + 5176 | 0); - $8 = emscripten__internal__TypeID_bool_2c_20void___get_28_29(); - HEAP32[$0 + 12348 >> 2] = HEAP32[$0 + 5168 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 5168 >> 2], bool_20b2BodyDef_____20emscripten__internal__getContext_bool_20b2BodyDef_____28bool_20b2BodyDef____20const__29($0 + 5176 | 0) | 0); - HEAP32[$0 + 5164 >> 2] = $1; - HEAP32[$0 + 5160 >> 2] = 6811; - HEAP32[$0 + 5156 >> 2] = 38; - $1 = HEAP32[$0 + 5164 >> 2]; - HEAP32[$0 + 5152 >> 2] = 167; - HEAP32[$0 + 5148 >> 2] = 168; - $2 = emscripten__internal__TypeID_b2BodyDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 5160 >> 2]; - $4 = emscripten__internal__TypeID_bool_2c_20void___get_28_29(); - HEAP32[$0 + 12336 >> 2] = HEAP32[$0 + 5152 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 5152 >> 2]; - $7 = bool_20b2BodyDef_____20emscripten__internal__getContext_bool_20b2BodyDef_____28bool_20b2BodyDef____20const__29($0 + 5156 | 0); - $8 = emscripten__internal__TypeID_bool_2c_20void___get_28_29(); - HEAP32[$0 + 12352 >> 2] = HEAP32[$0 + 5148 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 5148 >> 2], bool_20b2BodyDef_____20emscripten__internal__getContext_bool_20b2BodyDef_____28bool_20b2BodyDef____20const__29($0 + 5156 | 0) | 0); - HEAP32[$0 + 5144 >> 2] = $1; - HEAP32[$0 + 5140 >> 2] = 3154; - HEAP32[$0 + 5136 >> 2] = 39; - $1 = HEAP32[$0 + 5144 >> 2]; - HEAP32[$0 + 5132 >> 2] = 167; - HEAP32[$0 + 5128 >> 2] = 168; - $2 = emscripten__internal__TypeID_b2BodyDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 5140 >> 2]; - $4 = emscripten__internal__TypeID_bool_2c_20void___get_28_29(); - HEAP32[$0 + 12340 >> 2] = HEAP32[$0 + 5132 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 5132 >> 2]; - $7 = bool_20b2BodyDef_____20emscripten__internal__getContext_bool_20b2BodyDef_____28bool_20b2BodyDef____20const__29($0 + 5136 | 0); - $8 = emscripten__internal__TypeID_bool_2c_20void___get_28_29(); - HEAP32[$0 + 12356 >> 2] = HEAP32[$0 + 5128 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 5128 >> 2], bool_20b2BodyDef_____20emscripten__internal__getContext_bool_20b2BodyDef_____28bool_20b2BodyDef____20const__29($0 + 5136 | 0) | 0); - HEAP32[$0 + 5044 >> 2] = $1; - HEAP32[$0 + 5040 >> 2] = 9891; - HEAP32[$0 + 5036 >> 2] = 48; - HEAP32[$0 + 5032 >> 2] = 165; - HEAP32[$0 + 5028 >> 2] = 166; - $1 = emscripten__internal__TypeID_b2BodyDef_2c_20void___get_28_29(); - $2 = HEAP32[$0 + 5040 >> 2]; - $3 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12304 >> 2] = HEAP32[$0 + 5032 >> 2]; - $4 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $5 = HEAP32[$0 + 5032 >> 2]; - $6 = float_20b2BodyDef_____20emscripten__internal__getContext_float_20b2BodyDef_____28float_20b2BodyDef____20const__29($0 + 5036 | 0); - $7 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12324 >> 2] = HEAP32[$0 + 5028 >> 2]; - _embind_register_class_property($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 5028 >> 2], float_20b2BodyDef_____20emscripten__internal__getContext_float_20b2BodyDef_____28float_20b2BodyDef____20const__29($0 + 5036 | 0) | 0); - HEAP32[$0 + 5228 >> 2] = $0 + 2838; - HEAP32[$0 + 5224 >> 2] = 1759; - void_20emscripten__internal__NoBaseClass__verify_b2Body__28_29(); - HEAP32[$0 + 5220 >> 2] = 169; - wasm2js_i32$0 = $0, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getUpcaster_b2Body__28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 5216 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getDowncaster_b2Body__28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 5212 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 5208 >> 2] = 170; - $1 = emscripten__internal__TypeID_b2Body_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2Body__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2Body_20const__2c_20void___get_28_29(); - $4 = emscripten__internal__NoBaseClass__get_28_29(); - HEAP32[$0 + 12360 >> 2] = HEAP32[$0 + 5220 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 5220 >> 2]; - HEAP32[$0 + 11708 >> 2] = HEAP32[$0 + 5216 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $8 = HEAP32[$0 + 5216 >> 2]; - HEAP32[$0 + 11704 >> 2] = HEAP32[$0 + 5212 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $10 = HEAP32[$0 + 5212 >> 2]; - $11 = HEAP32[$0 + 5224 >> 2]; - HEAP32[$0 + 12364 >> 2] = HEAP32[$0 + 5208 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 5208 >> 2]); - HEAP32[$0 + 2832 >> 2] = 0; - HEAP32[$0 + 2828 >> 2] = 171; - $1 = HEAP32[$0 + 2832 >> 2]; - $2 = HEAP32[$0 + 2828 >> 2]; - HEAP32[$0 + 5232 >> 2] = $2; - HEAP32[$0 + 5236 >> 2] = $1; - $1 = HEAP32[$0 + 5232 >> 2]; - $2 = HEAP32[$0 + 5236 >> 2]; - HEAP32[$0 + 5260 >> 2] = $0 + 2838; - HEAP32[$0 + 5256 >> 2] = 7107; - HEAP32[$0 + 5252 >> 2] = $2; - HEAP32[$0 + 5248 >> 2] = $1; - $3 = HEAP32[$0 + 5260 >> 2]; - $4 = HEAP32[$0 + 5256 >> 2]; - $1 = HEAP32[$0 + 5248 >> 2]; - HEAP32[$0 + 5244 >> 2] = HEAP32[$0 + 5252 >> 2]; - HEAP32[$0 + 5240 >> 2] = $1; - $2 = HEAP32[$0 + 5244 >> 2]; - $1 = HEAP32[$0 + 5240 >> 2]; - HEAP32[$0 + 1200 >> 2] = $1; - HEAP32[$0 + 1204 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28b2Vec2_20const__2c_20float_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28b2Vec2_20const__2c_20float_29_29($4, $0 + 1200 | 0); - HEAP32[$0 + 2824 >> 2] = 0; - HEAP32[$0 + 2820 >> 2] = 172; - $1 = HEAP32[$0 + 2824 >> 2]; - $2 = HEAP32[$0 + 2820 >> 2]; - HEAP32[$0 + 5264 >> 2] = $2; - HEAP32[$0 + 5268 >> 2] = $1; - $1 = HEAP32[$0 + 5264 >> 2]; - $2 = HEAP32[$0 + 5268 >> 2]; - HEAP32[$0 + 5292 >> 2] = $3; - HEAP32[$0 + 5288 >> 2] = 7120; - HEAP32[$0 + 5284 >> 2] = $2; - HEAP32[$0 + 5280 >> 2] = $1; - $3 = HEAP32[$0 + 5292 >> 2]; - $4 = HEAP32[$0 + 5288 >> 2]; - $1 = HEAP32[$0 + 5280 >> 2]; - HEAP32[$0 + 5276 >> 2] = HEAP32[$0 + 5284 >> 2]; - HEAP32[$0 + 5272 >> 2] = $1; - $2 = HEAP32[$0 + 5276 >> 2]; - $1 = HEAP32[$0 + 5272 >> 2]; - HEAP32[$0 + 1192 >> 2] = $1; - HEAP32[$0 + 1196 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Transform_20const__20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20b2Transform_20const__20_28b2Body____29_28_29_20const_29($4, $0 + 1192 | 0); - HEAP32[$0 + 2816 >> 2] = 0; - HEAP32[$0 + 2812 >> 2] = 173; - $1 = HEAP32[$0 + 2816 >> 2]; - $2 = HEAP32[$0 + 2812 >> 2]; - HEAP32[$0 + 5392 >> 2] = $2; - HEAP32[$0 + 5396 >> 2] = $1; - $1 = HEAP32[$0 + 5392 >> 2]; - $2 = HEAP32[$0 + 5396 >> 2]; - HEAP32[$0 + 5420 >> 2] = $3; - HEAP32[$0 + 5416 >> 2] = 6610; - HEAP32[$0 + 5412 >> 2] = $2; - HEAP32[$0 + 5408 >> 2] = $1; - $3 = HEAP32[$0 + 5420 >> 2]; - $4 = HEAP32[$0 + 5416 >> 2]; - $1 = HEAP32[$0 + 5408 >> 2]; - HEAP32[$0 + 5404 >> 2] = HEAP32[$0 + 5412 >> 2]; - HEAP32[$0 + 5400 >> 2] = $1; - $2 = HEAP32[$0 + 5404 >> 2]; - $1 = HEAP32[$0 + 5400 >> 2]; - HEAP32[$0 + 1184 >> 2] = $1; - HEAP32[$0 + 1188 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20b2Vec2_20const__20_28b2Body____29_28_29_20const_29($4, $0 + 1184 | 0); - HEAP32[$0 + 2808 >> 2] = 0; - HEAP32[$0 + 2804 >> 2] = 174; - $1 = HEAP32[$0 + 2808 >> 2]; - $2 = HEAP32[$0 + 2804 >> 2]; - HEAP32[$0 + 5616 >> 2] = $2; - HEAP32[$0 + 5620 >> 2] = $1; - $1 = HEAP32[$0 + 5616 >> 2]; - $2 = HEAP32[$0 + 5620 >> 2]; - HEAP32[$0 + 5644 >> 2] = $3; - HEAP32[$0 + 5640 >> 2] = 9645; - HEAP32[$0 + 5636 >> 2] = $2; - HEAP32[$0 + 5632 >> 2] = $1; - $3 = HEAP32[$0 + 5644 >> 2]; - $4 = HEAP32[$0 + 5640 >> 2]; - $1 = HEAP32[$0 + 5632 >> 2]; - HEAP32[$0 + 5628 >> 2] = HEAP32[$0 + 5636 >> 2]; - HEAP32[$0 + 5624 >> 2] = $1; - $2 = HEAP32[$0 + 5628 >> 2]; - $1 = HEAP32[$0 + 5624 >> 2]; - HEAP32[$0 + 1176 >> 2] = $1; - HEAP32[$0 + 1180 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20float_20_28b2Body____29_28_29_20const_29($4, $0 + 1176 | 0); - HEAP32[$0 + 2800 >> 2] = 0; - HEAP32[$0 + 2796 >> 2] = 175; - $1 = HEAP32[$0 + 2800 >> 2]; - $2 = HEAP32[$0 + 2796 >> 2]; - HEAP32[$0 + 5360 >> 2] = $2; - HEAP32[$0 + 5364 >> 2] = $1; - $1 = HEAP32[$0 + 5360 >> 2]; - $2 = HEAP32[$0 + 5364 >> 2]; - HEAP32[$0 + 5388 >> 2] = $3; - HEAP32[$0 + 5384 >> 2] = 4105; - HEAP32[$0 + 5380 >> 2] = $2; - HEAP32[$0 + 5376 >> 2] = $1; - $3 = HEAP32[$0 + 5388 >> 2]; - $4 = HEAP32[$0 + 5384 >> 2]; - $1 = HEAP32[$0 + 5376 >> 2]; - HEAP32[$0 + 5372 >> 2] = HEAP32[$0 + 5380 >> 2]; - HEAP32[$0 + 5368 >> 2] = $1; - $2 = HEAP32[$0 + 5372 >> 2]; - $1 = HEAP32[$0 + 5368 >> 2]; - HEAP32[$0 + 1168 >> 2] = $1; - HEAP32[$0 + 1172 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20b2Vec2_20const__20_28b2Body____29_28_29_20const_29($4, $0 + 1168 | 0); - HEAP32[$0 + 2792 >> 2] = 0; - HEAP32[$0 + 2788 >> 2] = 176; - $1 = HEAP32[$0 + 2792 >> 2]; - $2 = HEAP32[$0 + 2788 >> 2]; - HEAP32[$0 + 5328 >> 2] = $2; - HEAP32[$0 + 5332 >> 2] = $1; - $1 = HEAP32[$0 + 5328 >> 2]; - $2 = HEAP32[$0 + 5332 >> 2]; - HEAP32[$0 + 5356 >> 2] = $3; - HEAP32[$0 + 5352 >> 2] = 4090; - HEAP32[$0 + 5348 >> 2] = $2; - HEAP32[$0 + 5344 >> 2] = $1; - $3 = HEAP32[$0 + 5356 >> 2]; - $4 = HEAP32[$0 + 5352 >> 2]; - $1 = HEAP32[$0 + 5344 >> 2]; - HEAP32[$0 + 5340 >> 2] = HEAP32[$0 + 5348 >> 2]; - HEAP32[$0 + 5336 >> 2] = $1; - $2 = HEAP32[$0 + 5340 >> 2]; - $1 = HEAP32[$0 + 5336 >> 2]; - HEAP32[$0 + 1160 >> 2] = $1; - HEAP32[$0 + 1164 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20b2Vec2_20const__20_28b2Body____29_28_29_20const_29($4, $0 + 1160 | 0); - HEAP32[$0 + 2784 >> 2] = 0; - HEAP32[$0 + 2780 >> 2] = 177; - $1 = HEAP32[$0 + 2784 >> 2]; - $2 = HEAP32[$0 + 2780 >> 2]; - HEAP32[$0 + 5648 >> 2] = $2; - HEAP32[$0 + 5652 >> 2] = $1; - $1 = HEAP32[$0 + 5648 >> 2]; - $2 = HEAP32[$0 + 5652 >> 2]; - HEAP32[$0 + 5676 >> 2] = $3; - HEAP32[$0 + 5672 >> 2] = 1228; - HEAP32[$0 + 5668 >> 2] = $2; - HEAP32[$0 + 5664 >> 2] = $1; - $3 = HEAP32[$0 + 5676 >> 2]; - $4 = HEAP32[$0 + 5672 >> 2]; - $1 = HEAP32[$0 + 5664 >> 2]; - HEAP32[$0 + 5660 >> 2] = HEAP32[$0 + 5668 >> 2]; - HEAP32[$0 + 5656 >> 2] = $1; - $2 = HEAP32[$0 + 5660 >> 2]; - $1 = HEAP32[$0 + 5656 >> 2]; - HEAP32[$0 + 1152 >> 2] = $1; - HEAP32[$0 + 1156 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28b2Vec2_20const__29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28b2Vec2_20const__29_29($4, $0 + 1152 | 0); - HEAP32[$0 + 2776 >> 2] = 0; - HEAP32[$0 + 2772 >> 2] = 178; - $1 = HEAP32[$0 + 2776 >> 2]; - $2 = HEAP32[$0 + 2772 >> 2]; - HEAP32[$0 + 5296 >> 2] = $2; - HEAP32[$0 + 5300 >> 2] = $1; - $1 = HEAP32[$0 + 5296 >> 2]; - $2 = HEAP32[$0 + 5300 >> 2]; - HEAP32[$0 + 5324 >> 2] = $3; - HEAP32[$0 + 5320 >> 2] = 1246; - HEAP32[$0 + 5316 >> 2] = $2; - HEAP32[$0 + 5312 >> 2] = $1; - $3 = HEAP32[$0 + 5324 >> 2]; - $4 = HEAP32[$0 + 5320 >> 2]; - $1 = HEAP32[$0 + 5312 >> 2]; - HEAP32[$0 + 5308 >> 2] = HEAP32[$0 + 5316 >> 2]; - HEAP32[$0 + 5304 >> 2] = $1; - $2 = HEAP32[$0 + 5308 >> 2]; - $1 = HEAP32[$0 + 5304 >> 2]; - HEAP32[$0 + 1144 >> 2] = $1; - HEAP32[$0 + 1148 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20b2Vec2_20const__20_28b2Body____29_28_29_20const_29($4, $0 + 1144 | 0); - HEAP32[$0 + 2768 >> 2] = 0; - HEAP32[$0 + 2764 >> 2] = 179; - $1 = HEAP32[$0 + 2768 >> 2]; - $2 = HEAP32[$0 + 2764 >> 2]; - HEAP32[$0 + 5776 >> 2] = $2; - HEAP32[$0 + 5780 >> 2] = $1; - $1 = HEAP32[$0 + 5776 >> 2]; - $2 = HEAP32[$0 + 5780 >> 2]; - HEAP32[$0 + 5804 >> 2] = $3; - HEAP32[$0 + 5800 >> 2] = 1175; - HEAP32[$0 + 5796 >> 2] = $2; - HEAP32[$0 + 5792 >> 2] = $1; - $3 = HEAP32[$0 + 5804 >> 2]; - $4 = HEAP32[$0 + 5800 >> 2]; - $1 = HEAP32[$0 + 5792 >> 2]; - HEAP32[$0 + 5788 >> 2] = HEAP32[$0 + 5796 >> 2]; - HEAP32[$0 + 5784 >> 2] = $1; - $2 = HEAP32[$0 + 5788 >> 2]; - $1 = HEAP32[$0 + 5784 >> 2]; - HEAP32[$0 + 1136 >> 2] = $1; - HEAP32[$0 + 1140 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28float_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28float_29_29($4, $0 + 1136 | 0); - HEAP32[$0 + 2760 >> 2] = 0; - HEAP32[$0 + 2756 >> 2] = 180; - $1 = HEAP32[$0 + 2760 >> 2]; - $2 = HEAP32[$0 + 2756 >> 2]; - HEAP32[$0 + 5584 >> 2] = $2; - HEAP32[$0 + 5588 >> 2] = $1; - $1 = HEAP32[$0 + 5584 >> 2]; - $2 = HEAP32[$0 + 5588 >> 2]; - HEAP32[$0 + 5612 >> 2] = $3; - HEAP32[$0 + 5608 >> 2] = 1194; - HEAP32[$0 + 5604 >> 2] = $2; - HEAP32[$0 + 5600 >> 2] = $1; - $3 = HEAP32[$0 + 5612 >> 2]; - $4 = HEAP32[$0 + 5608 >> 2]; - $1 = HEAP32[$0 + 5600 >> 2]; - HEAP32[$0 + 5596 >> 2] = HEAP32[$0 + 5604 >> 2]; - HEAP32[$0 + 5592 >> 2] = $1; - $2 = HEAP32[$0 + 5596 >> 2]; - $1 = HEAP32[$0 + 5592 >> 2]; - HEAP32[$0 + 1128 >> 2] = $1; - HEAP32[$0 + 1132 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20float_20_28b2Body____29_28_29_20const_29($4, $0 + 1128 | 0); - HEAP32[$0 + 2752 >> 2] = 0; - HEAP32[$0 + 2748 >> 2] = 181; - $1 = HEAP32[$0 + 2752 >> 2]; - $2 = HEAP32[$0 + 2748 >> 2]; - HEAP32[$0 + 5840 >> 2] = $2; - HEAP32[$0 + 5844 >> 2] = $1; - $1 = HEAP32[$0 + 5840 >> 2]; - $2 = HEAP32[$0 + 5844 >> 2]; - HEAP32[$0 + 5868 >> 2] = $3; - HEAP32[$0 + 5864 >> 2] = 10069; - HEAP32[$0 + 5860 >> 2] = $2; - HEAP32[$0 + 5856 >> 2] = $1; - $3 = HEAP32[$0 + 5868 >> 2]; - $4 = HEAP32[$0 + 5864 >> 2]; - $1 = HEAP32[$0 + 5856 >> 2]; - HEAP32[$0 + 5852 >> 2] = HEAP32[$0 + 5860 >> 2]; - HEAP32[$0 + 5848 >> 2] = $1; - $2 = HEAP32[$0 + 5852 >> 2]; - $1 = HEAP32[$0 + 5848 >> 2]; - HEAP32[$0 + 1120 >> 2] = $1; - HEAP32[$0 + 1124 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool_29_29($4, $0 + 1120 | 0); - HEAP32[$0 + 2744 >> 2] = 0; - HEAP32[$0 + 2740 >> 2] = 182; - $1 = HEAP32[$0 + 2744 >> 2]; - $2 = HEAP32[$0 + 2740 >> 2]; - HEAP32[$0 + 5904 >> 2] = $2; - HEAP32[$0 + 5908 >> 2] = $1; - $1 = HEAP32[$0 + 5904 >> 2]; - $2 = HEAP32[$0 + 5908 >> 2]; - HEAP32[$0 + 5932 >> 2] = $3; - HEAP32[$0 + 5928 >> 2] = 4071; - HEAP32[$0 + 5924 >> 2] = $2; - HEAP32[$0 + 5920 >> 2] = $1; - $3 = HEAP32[$0 + 5932 >> 2]; - $4 = HEAP32[$0 + 5928 >> 2]; - $1 = HEAP32[$0 + 5920 >> 2]; - HEAP32[$0 + 5916 >> 2] = HEAP32[$0 + 5924 >> 2]; - HEAP32[$0 + 5912 >> 2] = $1; - $2 = HEAP32[$0 + 5916 >> 2]; - $1 = HEAP32[$0 + 5912 >> 2]; - HEAP32[$0 + 1112 >> 2] = $1; - HEAP32[$0 + 1116 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28b2Vec2_20const__2c_20bool_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28b2Vec2_20const__2c_20bool_29_29($4, $0 + 1112 | 0); - HEAP32[$0 + 2736 >> 2] = 0; - HEAP32[$0 + 2732 >> 2] = 183; - $1 = HEAP32[$0 + 2736 >> 2]; - $2 = HEAP32[$0 + 2732 >> 2]; - HEAP32[$0 + 5968 >> 2] = $2; - HEAP32[$0 + 5972 >> 2] = $1; - $1 = HEAP32[$0 + 5968 >> 2]; - $2 = HEAP32[$0 + 5972 >> 2]; - HEAP32[$0 + 5996 >> 2] = $3; - HEAP32[$0 + 5992 >> 2] = 8920; - HEAP32[$0 + 5988 >> 2] = $2; - HEAP32[$0 + 5984 >> 2] = $1; - $3 = HEAP32[$0 + 5996 >> 2]; - $4 = HEAP32[$0 + 5992 >> 2]; - $1 = HEAP32[$0 + 5984 >> 2]; - HEAP32[$0 + 5980 >> 2] = HEAP32[$0 + 5988 >> 2]; - HEAP32[$0 + 5976 >> 2] = $1; - $2 = HEAP32[$0 + 5980 >> 2]; - $1 = HEAP32[$0 + 5976 >> 2]; - HEAP32[$0 + 1104 >> 2] = $1; - HEAP32[$0 + 1108 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28float_2c_20bool_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28float_2c_20bool_29_29($4, $0 + 1104 | 0); - HEAP32[$0 + 2728 >> 2] = 0; - HEAP32[$0 + 2724 >> 2] = 184; - $1 = HEAP32[$0 + 2728 >> 2]; - $2 = HEAP32[$0 + 2724 >> 2]; - HEAP32[$0 + 5808 >> 2] = $2; - HEAP32[$0 + 5812 >> 2] = $1; - $1 = HEAP32[$0 + 5808 >> 2]; - $2 = HEAP32[$0 + 5812 >> 2]; - HEAP32[$0 + 5836 >> 2] = $3; - HEAP32[$0 + 5832 >> 2] = 9283; - HEAP32[$0 + 5828 >> 2] = $2; - HEAP32[$0 + 5824 >> 2] = $1; - $3 = HEAP32[$0 + 5836 >> 2]; - $4 = HEAP32[$0 + 5832 >> 2]; - $1 = HEAP32[$0 + 5824 >> 2]; - HEAP32[$0 + 5820 >> 2] = HEAP32[$0 + 5828 >> 2]; - HEAP32[$0 + 5816 >> 2] = $1; - $2 = HEAP32[$0 + 5820 >> 2]; - $1 = HEAP32[$0 + 5816 >> 2]; - HEAP32[$0 + 1096 >> 2] = $1; - HEAP32[$0 + 1100 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool_29_29($4, $0 + 1096 | 0); - HEAP32[$0 + 2720 >> 2] = 0; - HEAP32[$0 + 2716 >> 2] = 185; - $1 = HEAP32[$0 + 2720 >> 2]; - $2 = HEAP32[$0 + 2716 >> 2]; - HEAP32[$0 + 5872 >> 2] = $2; - HEAP32[$0 + 5876 >> 2] = $1; - $1 = HEAP32[$0 + 5872 >> 2]; - $2 = HEAP32[$0 + 5876 >> 2]; - HEAP32[$0 + 5900 >> 2] = $3; - HEAP32[$0 + 5896 >> 2] = 4044; - HEAP32[$0 + 5892 >> 2] = $2; - HEAP32[$0 + 5888 >> 2] = $1; - $3 = HEAP32[$0 + 5900 >> 2]; - $4 = HEAP32[$0 + 5896 >> 2]; - $1 = HEAP32[$0 + 5888 >> 2]; - HEAP32[$0 + 5884 >> 2] = HEAP32[$0 + 5892 >> 2]; - HEAP32[$0 + 5880 >> 2] = $1; - $2 = HEAP32[$0 + 5884 >> 2]; - $1 = HEAP32[$0 + 5880 >> 2]; - HEAP32[$0 + 1088 >> 2] = $1; - HEAP32[$0 + 1092 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28b2Vec2_20const__2c_20bool_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28b2Vec2_20const__2c_20bool_29_29($4, $0 + 1088 | 0); - HEAP32[$0 + 2712 >> 2] = 0; - HEAP32[$0 + 2708 >> 2] = 186; - $1 = HEAP32[$0 + 2712 >> 2]; - $2 = HEAP32[$0 + 2708 >> 2]; - HEAP32[$0 + 5936 >> 2] = $2; - HEAP32[$0 + 5940 >> 2] = $1; - $1 = HEAP32[$0 + 5936 >> 2]; - $2 = HEAP32[$0 + 5940 >> 2]; - HEAP32[$0 + 5964 >> 2] = $3; - HEAP32[$0 + 5960 >> 2] = 9263; - HEAP32[$0 + 5956 >> 2] = $2; - HEAP32[$0 + 5952 >> 2] = $1; - $3 = HEAP32[$0 + 5964 >> 2]; - $4 = HEAP32[$0 + 5960 >> 2]; - $1 = HEAP32[$0 + 5952 >> 2]; - HEAP32[$0 + 5948 >> 2] = HEAP32[$0 + 5956 >> 2]; - HEAP32[$0 + 5944 >> 2] = $1; - $2 = HEAP32[$0 + 5948 >> 2]; - $1 = HEAP32[$0 + 5944 >> 2]; - HEAP32[$0 + 1080 >> 2] = $1; - HEAP32[$0 + 1084 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28float_2c_20bool_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28float_2c_20bool_29_29($4, $0 + 1080 | 0); - HEAP32[$0 + 2704 >> 2] = 0; - HEAP32[$0 + 2700 >> 2] = 187; - $1 = HEAP32[$0 + 2704 >> 2]; - $2 = HEAP32[$0 + 2700 >> 2]; - HEAP32[$0 + 5552 >> 2] = $2; - HEAP32[$0 + 5556 >> 2] = $1; - $1 = HEAP32[$0 + 5552 >> 2]; - $2 = HEAP32[$0 + 5556 >> 2]; - HEAP32[$0 + 5580 >> 2] = $3; - HEAP32[$0 + 5576 >> 2] = 3607; - HEAP32[$0 + 5572 >> 2] = $2; - HEAP32[$0 + 5568 >> 2] = $1; - $3 = HEAP32[$0 + 5580 >> 2]; - $4 = HEAP32[$0 + 5576 >> 2]; - $1 = HEAP32[$0 + 5568 >> 2]; - HEAP32[$0 + 5564 >> 2] = HEAP32[$0 + 5572 >> 2]; - HEAP32[$0 + 5560 >> 2] = $1; - $2 = HEAP32[$0 + 5564 >> 2]; - $1 = HEAP32[$0 + 5560 >> 2]; - HEAP32[$0 + 1072 >> 2] = $1; - HEAP32[$0 + 1076 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20float_20_28b2Body____29_28_29_20const_29($4, $0 + 1072 | 0); - HEAP32[$0 + 2696 >> 2] = 0; - HEAP32[$0 + 2692 >> 2] = 188; - $1 = HEAP32[$0 + 2696 >> 2]; - $2 = HEAP32[$0 + 2692 >> 2]; - HEAP32[$0 + 5520 >> 2] = $2; - HEAP32[$0 + 5524 >> 2] = $1; - $1 = HEAP32[$0 + 5520 >> 2]; - $2 = HEAP32[$0 + 5524 >> 2]; - HEAP32[$0 + 5548 >> 2] = $3; - HEAP32[$0 + 5544 >> 2] = 10756; - HEAP32[$0 + 5540 >> 2] = $2; - HEAP32[$0 + 5536 >> 2] = $1; - $3 = HEAP32[$0 + 5548 >> 2]; - $4 = HEAP32[$0 + 5544 >> 2]; - $1 = HEAP32[$0 + 5536 >> 2]; - HEAP32[$0 + 5532 >> 2] = HEAP32[$0 + 5540 >> 2]; - HEAP32[$0 + 5528 >> 2] = $1; - $2 = HEAP32[$0 + 5532 >> 2]; - $1 = HEAP32[$0 + 5528 >> 2]; - HEAP32[$0 + 1064 >> 2] = $1; - HEAP32[$0 + 1068 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20float_20_28b2Body____29_28_29_20const_29($4, $0 + 1064 | 0); - HEAP32[$0 + 2684 >> 2] = 0; - HEAP32[$0 + 2680 >> 2] = 189; - $1 = HEAP32[$0 + 2684 >> 2]; - $2 = HEAP32[$0 + 2680 >> 2]; - HEAP32[$0 + 6e3 >> 2] = $2; - HEAP32[$0 + 6004 >> 2] = $1; - $1 = HEAP32[$0 + 6e3 >> 2]; - $2 = HEAP32[$0 + 6004 >> 2]; - HEAP32[$0 + 6032 >> 2] = $3; - HEAP32[$0 + 6028 >> 2] = 10664; - HEAP32[$0 + 6024 >> 2] = $2; - HEAP32[$0 + 6020 >> 2] = $1; - $3 = HEAP32[$0 + 6032 >> 2]; - $4 = HEAP32[$0 + 6028 >> 2]; - $1 = HEAP32[$0 + 6020 >> 2]; - HEAP32[$0 + 6016 >> 2] = HEAP32[$0 + 6024 >> 2]; - HEAP32[$0 + 6012 >> 2] = $1; - $2 = HEAP32[$0 + 6016 >> 2]; - $1 = HEAP32[$0 + 6012 >> 2]; - HEAP32[$0 + 1056 >> 2] = $1; - HEAP32[$0 + 1060 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28b2MassData__29_20const___invoke_b2Body_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2Body____29_28b2MassData__29_20const_29($4, $0 + 1056 | 0); - $1 = emscripten__internal__remove_class_decltype_28_embind_init_b2_28_29__$_2__operator_28_29_29___type__20emscripten__optional_override_embind_init_b2_28_29__$_2__28embind_init_b2_28_29__$_2_20const__29($0 + 2679 | 0); - HEAP32[$0 + 6044 >> 2] = $3; - HEAP32[$0 + 6040 >> 2] = 10652; - HEAP32[$0 + 6036 >> 2] = $1; - $3 = HEAP32[$0 + 6044 >> 2]; - void_20emscripten__internal__RegisterClassMethod_void_20_28__29_28b2Body__2c_20b2MassData_20const__29___invoke_b2Body_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28b2Body__2c_20b2MassData_20const__29_29(HEAP32[$0 + 6040 >> 2], HEAP32[$0 + 6036 >> 2]); - HEAP32[$0 + 2672 >> 2] = 0; - HEAP32[$0 + 2668 >> 2] = 190; - $1 = HEAP32[$0 + 2672 >> 2]; - $2 = HEAP32[$0 + 2668 >> 2]; - HEAP32[$0 + 6080 >> 2] = $2; - HEAP32[$0 + 6084 >> 2] = $1; - $1 = HEAP32[$0 + 6080 >> 2]; - $2 = HEAP32[$0 + 6084 >> 2]; - HEAP32[$0 + 6108 >> 2] = $3; - HEAP32[$0 + 6104 >> 2] = 10638; - HEAP32[$0 + 6100 >> 2] = $2; - HEAP32[$0 + 6096 >> 2] = $1; - $3 = HEAP32[$0 + 6108 >> 2]; - $4 = HEAP32[$0 + 6104 >> 2]; - $1 = HEAP32[$0 + 6096 >> 2]; - HEAP32[$0 + 6092 >> 2] = HEAP32[$0 + 6100 >> 2]; - HEAP32[$0 + 6088 >> 2] = $1; - $2 = HEAP32[$0 + 6092 >> 2]; - $1 = HEAP32[$0 + 6088 >> 2]; - HEAP32[$0 + 1048 >> 2] = $1; - HEAP32[$0 + 1052 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28_29_29($4, $0 + 1048 | 0); - HEAP32[$0 + 2664 >> 2] = 0; - HEAP32[$0 + 2660 >> 2] = 191; - $1 = HEAP32[$0 + 2664 >> 2]; - $2 = HEAP32[$0 + 2660 >> 2]; - HEAP32[$0 + 6272 >> 2] = $2; - HEAP32[$0 + 6276 >> 2] = $1; - $1 = HEAP32[$0 + 6272 >> 2]; - $2 = HEAP32[$0 + 6276 >> 2]; - HEAP32[$0 + 6300 >> 2] = $3; - HEAP32[$0 + 6296 >> 2] = 2637; - HEAP32[$0 + 6292 >> 2] = $2; - HEAP32[$0 + 6288 >> 2] = $1; - $3 = HEAP32[$0 + 6300 >> 2]; - $4 = HEAP32[$0 + 6296 >> 2]; - $1 = HEAP32[$0 + 6288 >> 2]; - HEAP32[$0 + 6284 >> 2] = HEAP32[$0 + 6292 >> 2]; - HEAP32[$0 + 6280 >> 2] = $1; - $2 = HEAP32[$0 + 6284 >> 2]; - $1 = HEAP32[$0 + 6280 >> 2]; - HEAP32[$0 + 1040 >> 2] = $1; - HEAP32[$0 + 1044 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20_28b2Body____29_28b2Vec2_20const__29_20const___invoke_b2Body__28char_20const__2c_20b2Vec2_20_28b2Body____29_28b2Vec2_20const__29_20const_29($4, $0 + 1040 | 0); - HEAP32[$0 + 2656 >> 2] = 0; - HEAP32[$0 + 2652 >> 2] = 192; - $1 = HEAP32[$0 + 2656 >> 2]; - $2 = HEAP32[$0 + 2652 >> 2]; - HEAP32[$0 + 6240 >> 2] = $2; - HEAP32[$0 + 6244 >> 2] = $1; - $1 = HEAP32[$0 + 6240 >> 2]; - $2 = HEAP32[$0 + 6244 >> 2]; - HEAP32[$0 + 6268 >> 2] = $3; - HEAP32[$0 + 6264 >> 2] = 3859; - HEAP32[$0 + 6260 >> 2] = $2; - HEAP32[$0 + 6256 >> 2] = $1; - $3 = HEAP32[$0 + 6268 >> 2]; - $4 = HEAP32[$0 + 6264 >> 2]; - $1 = HEAP32[$0 + 6256 >> 2]; - HEAP32[$0 + 6252 >> 2] = HEAP32[$0 + 6260 >> 2]; - HEAP32[$0 + 6248 >> 2] = $1; - $2 = HEAP32[$0 + 6252 >> 2]; - $1 = HEAP32[$0 + 6248 >> 2]; - HEAP32[$0 + 1032 >> 2] = $1; - HEAP32[$0 + 1036 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20_28b2Body____29_28b2Vec2_20const__29_20const___invoke_b2Body__28char_20const__2c_20b2Vec2_20_28b2Body____29_28b2Vec2_20const__29_20const_29($4, $0 + 1032 | 0); - HEAP32[$0 + 2648 >> 2] = 0; - HEAP32[$0 + 2644 >> 2] = 193; - $1 = HEAP32[$0 + 2648 >> 2]; - $2 = HEAP32[$0 + 2644 >> 2]; - HEAP32[$0 + 6208 >> 2] = $2; - HEAP32[$0 + 6212 >> 2] = $1; - $1 = HEAP32[$0 + 6208 >> 2]; - $2 = HEAP32[$0 + 6212 >> 2]; - HEAP32[$0 + 6236 >> 2] = $3; - HEAP32[$0 + 6232 >> 2] = 2591; - HEAP32[$0 + 6228 >> 2] = $2; - HEAP32[$0 + 6224 >> 2] = $1; - $3 = HEAP32[$0 + 6236 >> 2]; - $4 = HEAP32[$0 + 6232 >> 2]; - $1 = HEAP32[$0 + 6224 >> 2]; - HEAP32[$0 + 6220 >> 2] = HEAP32[$0 + 6228 >> 2]; - HEAP32[$0 + 6216 >> 2] = $1; - $2 = HEAP32[$0 + 6220 >> 2]; - $1 = HEAP32[$0 + 6216 >> 2]; - HEAP32[$0 + 1024 >> 2] = $1; - HEAP32[$0 + 1028 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20_28b2Body____29_28b2Vec2_20const__29_20const___invoke_b2Body__28char_20const__2c_20b2Vec2_20_28b2Body____29_28b2Vec2_20const__29_20const_29($4, $0 + 1024 | 0); - HEAP32[$0 + 2640 >> 2] = 0; - HEAP32[$0 + 2636 >> 2] = 194; - $1 = HEAP32[$0 + 2640 >> 2]; - $2 = HEAP32[$0 + 2636 >> 2]; - HEAP32[$0 + 6176 >> 2] = $2; - HEAP32[$0 + 6180 >> 2] = $1; - $1 = HEAP32[$0 + 6176 >> 2]; - $2 = HEAP32[$0 + 6180 >> 2]; - HEAP32[$0 + 6204 >> 2] = $3; - HEAP32[$0 + 6200 >> 2] = 3844; - HEAP32[$0 + 6196 >> 2] = $2; - HEAP32[$0 + 6192 >> 2] = $1; - $3 = HEAP32[$0 + 6204 >> 2]; - $4 = HEAP32[$0 + 6200 >> 2]; - $1 = HEAP32[$0 + 6192 >> 2]; - HEAP32[$0 + 6188 >> 2] = HEAP32[$0 + 6196 >> 2]; - HEAP32[$0 + 6184 >> 2] = $1; - $2 = HEAP32[$0 + 6188 >> 2]; - $1 = HEAP32[$0 + 6184 >> 2]; - HEAP32[$0 + 1016 >> 2] = $1; - HEAP32[$0 + 1020 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20_28b2Body____29_28b2Vec2_20const__29_20const___invoke_b2Body__28char_20const__2c_20b2Vec2_20_28b2Body____29_28b2Vec2_20const__29_20const_29($4, $0 + 1016 | 0); - HEAP32[$0 + 2632 >> 2] = 0; - HEAP32[$0 + 2628 >> 2] = 195; - $1 = HEAP32[$0 + 2632 >> 2]; - $2 = HEAP32[$0 + 2628 >> 2]; - HEAP32[$0 + 6144 >> 2] = $2; - HEAP32[$0 + 6148 >> 2] = $1; - $1 = HEAP32[$0 + 6144 >> 2]; - $2 = HEAP32[$0 + 6148 >> 2]; - HEAP32[$0 + 6172 >> 2] = $3; - HEAP32[$0 + 6168 >> 2] = 2651; - HEAP32[$0 + 6164 >> 2] = $2; - HEAP32[$0 + 6160 >> 2] = $1; - $3 = HEAP32[$0 + 6172 >> 2]; - $4 = HEAP32[$0 + 6168 >> 2]; - $1 = HEAP32[$0 + 6160 >> 2]; - HEAP32[$0 + 6156 >> 2] = HEAP32[$0 + 6164 >> 2]; - HEAP32[$0 + 6152 >> 2] = $1; - $2 = HEAP32[$0 + 6156 >> 2]; - $1 = HEAP32[$0 + 6152 >> 2]; - HEAP32[$0 + 1008 >> 2] = $1; - HEAP32[$0 + 1012 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20_28b2Body____29_28b2Vec2_20const__29_20const___invoke_b2Body__28char_20const__2c_20b2Vec2_20_28b2Body____29_28b2Vec2_20const__29_20const_29($4, $0 + 1008 | 0); - HEAP32[$0 + 2624 >> 2] = 0; - HEAP32[$0 + 2620 >> 2] = 196; - $1 = HEAP32[$0 + 2624 >> 2]; - $2 = HEAP32[$0 + 2620 >> 2]; - HEAP32[$0 + 6112 >> 2] = $2; - HEAP32[$0 + 6116 >> 2] = $1; - $1 = HEAP32[$0 + 6112 >> 2]; - $2 = HEAP32[$0 + 6116 >> 2]; - HEAP32[$0 + 6140 >> 2] = $3; - HEAP32[$0 + 6136 >> 2] = 2605; - HEAP32[$0 + 6132 >> 2] = $2; - HEAP32[$0 + 6128 >> 2] = $1; - $3 = HEAP32[$0 + 6140 >> 2]; - $4 = HEAP32[$0 + 6136 >> 2]; - $1 = HEAP32[$0 + 6128 >> 2]; - HEAP32[$0 + 6124 >> 2] = HEAP32[$0 + 6132 >> 2]; - HEAP32[$0 + 6120 >> 2] = $1; - $2 = HEAP32[$0 + 6124 >> 2]; - $1 = HEAP32[$0 + 6120 >> 2]; - HEAP32[$0 + 1e3 >> 2] = $1; - HEAP32[$0 + 1004 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20_28b2Body____29_28b2Vec2_20const__29_20const___invoke_b2Body__28char_20const__2c_20b2Vec2_20_28b2Body____29_28b2Vec2_20const__29_20const_29($4, $0 + 1e3 | 0); - HEAP32[$0 + 2616 >> 2] = 0; - HEAP32[$0 + 2612 >> 2] = 197; - $1 = HEAP32[$0 + 2616 >> 2]; - $2 = HEAP32[$0 + 2612 >> 2]; - HEAP32[$0 + 5488 >> 2] = $2; - HEAP32[$0 + 5492 >> 2] = $1; - $1 = HEAP32[$0 + 5488 >> 2]; - $2 = HEAP32[$0 + 5492 >> 2]; - HEAP32[$0 + 5516 >> 2] = $3; - HEAP32[$0 + 5512 >> 2] = 7962; - HEAP32[$0 + 5508 >> 2] = $2; - HEAP32[$0 + 5504 >> 2] = $1; - $3 = HEAP32[$0 + 5516 >> 2]; - $4 = HEAP32[$0 + 5512 >> 2]; - $1 = HEAP32[$0 + 5504 >> 2]; - HEAP32[$0 + 5500 >> 2] = HEAP32[$0 + 5508 >> 2]; - HEAP32[$0 + 5496 >> 2] = $1; - $2 = HEAP32[$0 + 5500 >> 2]; - $1 = HEAP32[$0 + 5496 >> 2]; - HEAP32[$0 + 992 >> 2] = $1; - HEAP32[$0 + 996 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20float_20_28b2Body____29_28_29_20const_29($4, $0 + 992 | 0); - HEAP32[$0 + 2608 >> 2] = 0; - HEAP32[$0 + 2604 >> 2] = 198; - $1 = HEAP32[$0 + 2608 >> 2]; - $2 = HEAP32[$0 + 2604 >> 2]; - HEAP32[$0 + 5744 >> 2] = $2; - HEAP32[$0 + 5748 >> 2] = $1; - $1 = HEAP32[$0 + 5744 >> 2]; - $2 = HEAP32[$0 + 5748 >> 2]; - HEAP32[$0 + 5772 >> 2] = $3; - HEAP32[$0 + 5768 >> 2] = 7945; - HEAP32[$0 + 5764 >> 2] = $2; - HEAP32[$0 + 5760 >> 2] = $1; - $3 = HEAP32[$0 + 5772 >> 2]; - $4 = HEAP32[$0 + 5768 >> 2]; - $1 = HEAP32[$0 + 5760 >> 2]; - HEAP32[$0 + 5756 >> 2] = HEAP32[$0 + 5764 >> 2]; - HEAP32[$0 + 5752 >> 2] = $1; - $2 = HEAP32[$0 + 5756 >> 2]; - $1 = HEAP32[$0 + 5752 >> 2]; - HEAP32[$0 + 984 >> 2] = $1; - HEAP32[$0 + 988 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28float_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28float_29_29($4, $0 + 984 | 0); - HEAP32[$0 + 2600 >> 2] = 0; - HEAP32[$0 + 2596 >> 2] = 199; - $1 = HEAP32[$0 + 2600 >> 2]; - $2 = HEAP32[$0 + 2596 >> 2]; - HEAP32[$0 + 5456 >> 2] = $2; - HEAP32[$0 + 5460 >> 2] = $1; - $1 = HEAP32[$0 + 5456 >> 2]; - $2 = HEAP32[$0 + 5460 >> 2]; - HEAP32[$0 + 5484 >> 2] = $3; - HEAP32[$0 + 5480 >> 2] = 7913; - HEAP32[$0 + 5476 >> 2] = $2; - HEAP32[$0 + 5472 >> 2] = $1; - $3 = HEAP32[$0 + 5484 >> 2]; - $4 = HEAP32[$0 + 5480 >> 2]; - $1 = HEAP32[$0 + 5472 >> 2]; - HEAP32[$0 + 5468 >> 2] = HEAP32[$0 + 5476 >> 2]; - HEAP32[$0 + 5464 >> 2] = $1; - $2 = HEAP32[$0 + 5468 >> 2]; - $1 = HEAP32[$0 + 5464 >> 2]; - HEAP32[$0 + 976 >> 2] = $1; - HEAP32[$0 + 980 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20float_20_28b2Body____29_28_29_20const_29($4, $0 + 976 | 0); - HEAP32[$0 + 2592 >> 2] = 0; - HEAP32[$0 + 2588 >> 2] = 200; - $1 = HEAP32[$0 + 2592 >> 2]; - $2 = HEAP32[$0 + 2588 >> 2]; - HEAP32[$0 + 5712 >> 2] = $2; - HEAP32[$0 + 5716 >> 2] = $1; - $1 = HEAP32[$0 + 5712 >> 2]; - $2 = HEAP32[$0 + 5716 >> 2]; - HEAP32[$0 + 5740 >> 2] = $3; - HEAP32[$0 + 5736 >> 2] = 7895; - HEAP32[$0 + 5732 >> 2] = $2; - HEAP32[$0 + 5728 >> 2] = $1; - $3 = HEAP32[$0 + 5740 >> 2]; - $4 = HEAP32[$0 + 5736 >> 2]; - $1 = HEAP32[$0 + 5728 >> 2]; - HEAP32[$0 + 5724 >> 2] = HEAP32[$0 + 5732 >> 2]; - HEAP32[$0 + 5720 >> 2] = $1; - $2 = HEAP32[$0 + 5724 >> 2]; - $1 = HEAP32[$0 + 5720 >> 2]; - HEAP32[$0 + 968 >> 2] = $1; - HEAP32[$0 + 972 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28float_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28float_29_29($4, $0 + 968 | 0); - HEAP32[$0 + 2584 >> 2] = 0; - HEAP32[$0 + 2580 >> 2] = 201; - $1 = HEAP32[$0 + 2584 >> 2]; - $2 = HEAP32[$0 + 2580 >> 2]; - HEAP32[$0 + 5424 >> 2] = $2; - HEAP32[$0 + 5428 >> 2] = $1; - $1 = HEAP32[$0 + 5424 >> 2]; - $2 = HEAP32[$0 + 5428 >> 2]; - HEAP32[$0 + 5452 >> 2] = $3; - HEAP32[$0 + 5448 >> 2] = 9920; - HEAP32[$0 + 5444 >> 2] = $2; - HEAP32[$0 + 5440 >> 2] = $1; - $3 = HEAP32[$0 + 5452 >> 2]; - $4 = HEAP32[$0 + 5448 >> 2]; - $1 = HEAP32[$0 + 5440 >> 2]; - HEAP32[$0 + 5436 >> 2] = HEAP32[$0 + 5444 >> 2]; - HEAP32[$0 + 5432 >> 2] = $1; - $2 = HEAP32[$0 + 5436 >> 2]; - $1 = HEAP32[$0 + 5432 >> 2]; - HEAP32[$0 + 960 >> 2] = $1; - HEAP32[$0 + 964 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20float_20_28b2Body____29_28_29_20const_29($4, $0 + 960 | 0); - HEAP32[$0 + 2576 >> 2] = 0; - HEAP32[$0 + 2572 >> 2] = 202; - $1 = HEAP32[$0 + 2576 >> 2]; - $2 = HEAP32[$0 + 2572 >> 2]; - HEAP32[$0 + 5680 >> 2] = $2; - HEAP32[$0 + 5684 >> 2] = $1; - $1 = HEAP32[$0 + 5680 >> 2]; - $2 = HEAP32[$0 + 5684 >> 2]; - HEAP32[$0 + 5708 >> 2] = $3; - HEAP32[$0 + 5704 >> 2] = 9904; - HEAP32[$0 + 5700 >> 2] = $2; - HEAP32[$0 + 5696 >> 2] = $1; - $3 = HEAP32[$0 + 5708 >> 2]; - $4 = HEAP32[$0 + 5704 >> 2]; - $1 = HEAP32[$0 + 5696 >> 2]; - HEAP32[$0 + 5692 >> 2] = HEAP32[$0 + 5700 >> 2]; - HEAP32[$0 + 5688 >> 2] = $1; - $2 = HEAP32[$0 + 5692 >> 2]; - $1 = HEAP32[$0 + 5688 >> 2]; - HEAP32[$0 + 952 >> 2] = $1; - HEAP32[$0 + 956 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28float_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28float_29_29($4, $0 + 952 | 0); - HEAP32[$0 + 2568 >> 2] = 0; - HEAP32[$0 + 2564 >> 2] = 203; - $1 = HEAP32[$0 + 2568 >> 2]; - $2 = HEAP32[$0 + 2564 >> 2]; - HEAP32[$0 + 6304 >> 2] = $2; - HEAP32[$0 + 6308 >> 2] = $1; - $1 = HEAP32[$0 + 6304 >> 2]; - $2 = HEAP32[$0 + 6308 >> 2]; - HEAP32[$0 + 6332 >> 2] = $3; - HEAP32[$0 + 6328 >> 2] = 9500; - HEAP32[$0 + 6324 >> 2] = $2; - HEAP32[$0 + 6320 >> 2] = $1; - $3 = HEAP32[$0 + 6332 >> 2]; - $4 = HEAP32[$0 + 6328 >> 2]; - $1 = HEAP32[$0 + 6320 >> 2]; - HEAP32[$0 + 6316 >> 2] = HEAP32[$0 + 6324 >> 2]; - HEAP32[$0 + 6312 >> 2] = $1; - $2 = HEAP32[$0 + 6316 >> 2]; - $1 = HEAP32[$0 + 6312 >> 2]; - HEAP32[$0 + 944 >> 2] = $1; - HEAP32[$0 + 948 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28b2BodyType_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28b2BodyType_29_29($4, $0 + 944 | 0); - HEAP32[$0 + 2560 >> 2] = 0; - HEAP32[$0 + 2556 >> 2] = 204; - $1 = HEAP32[$0 + 2560 >> 2]; - $2 = HEAP32[$0 + 2556 >> 2]; - HEAP32[$0 + 6336 >> 2] = $2; - HEAP32[$0 + 6340 >> 2] = $1; - $1 = HEAP32[$0 + 6336 >> 2]; - $2 = HEAP32[$0 + 6340 >> 2]; - HEAP32[$0 + 6364 >> 2] = $3; - HEAP32[$0 + 6360 >> 2] = 9544; - HEAP32[$0 + 6356 >> 2] = $2; - HEAP32[$0 + 6352 >> 2] = $1; - $3 = HEAP32[$0 + 6364 >> 2]; - $4 = HEAP32[$0 + 6360 >> 2]; - $1 = HEAP32[$0 + 6352 >> 2]; - HEAP32[$0 + 6348 >> 2] = HEAP32[$0 + 6356 >> 2]; - HEAP32[$0 + 6344 >> 2] = $1; - $2 = HEAP32[$0 + 6348 >> 2]; - $1 = HEAP32[$0 + 6344 >> 2]; - HEAP32[$0 + 936 >> 2] = $1; - HEAP32[$0 + 940 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2BodyType_20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20b2BodyType_20_28b2Body____29_28_29_20const_29($4, $0 + 936 | 0); - HEAP32[$0 + 2552 >> 2] = 0; - HEAP32[$0 + 2548 >> 2] = 205; - $1 = HEAP32[$0 + 2552 >> 2]; - $2 = HEAP32[$0 + 2548 >> 2]; - HEAP32[$0 + 6496 >> 2] = $2; - HEAP32[$0 + 6500 >> 2] = $1; - $1 = HEAP32[$0 + 6496 >> 2]; - $2 = HEAP32[$0 + 6500 >> 2]; - HEAP32[$0 + 6524 >> 2] = $3; - HEAP32[$0 + 6520 >> 2] = 3161; - HEAP32[$0 + 6516 >> 2] = $2; - HEAP32[$0 + 6512 >> 2] = $1; - $3 = HEAP32[$0 + 6524 >> 2]; - $4 = HEAP32[$0 + 6520 >> 2]; - $1 = HEAP32[$0 + 6512 >> 2]; - HEAP32[$0 + 6508 >> 2] = HEAP32[$0 + 6516 >> 2]; - HEAP32[$0 + 6504 >> 2] = $1; - $2 = HEAP32[$0 + 6508 >> 2]; - $1 = HEAP32[$0 + 6504 >> 2]; - HEAP32[$0 + 928 >> 2] = $1; - HEAP32[$0 + 932 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28bool_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28bool_29_29($4, $0 + 928 | 0); - HEAP32[$0 + 2544 >> 2] = 0; - HEAP32[$0 + 2540 >> 2] = 206; - $1 = HEAP32[$0 + 2544 >> 2]; - $2 = HEAP32[$0 + 2540 >> 2]; - HEAP32[$0 + 6656 >> 2] = $2; - HEAP32[$0 + 6660 >> 2] = $1; - $1 = HEAP32[$0 + 6656 >> 2]; - $2 = HEAP32[$0 + 6660 >> 2]; - HEAP32[$0 + 6684 >> 2] = $3; - HEAP32[$0 + 6680 >> 2] = 3171; - HEAP32[$0 + 6676 >> 2] = $2; - HEAP32[$0 + 6672 >> 2] = $1; - $3 = HEAP32[$0 + 6684 >> 2]; - $4 = HEAP32[$0 + 6680 >> 2]; - $1 = HEAP32[$0 + 6672 >> 2]; - HEAP32[$0 + 6668 >> 2] = HEAP32[$0 + 6676 >> 2]; - HEAP32[$0 + 6664 >> 2] = $1; - $2 = HEAP32[$0 + 6668 >> 2]; - $1 = HEAP32[$0 + 6664 >> 2]; - HEAP32[$0 + 920 >> 2] = $1; - HEAP32[$0 + 924 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_bool_20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20bool_20_28b2Body____29_28_29_20const_29($4, $0 + 920 | 0); - HEAP32[$0 + 2536 >> 2] = 0; - HEAP32[$0 + 2532 >> 2] = 207; - $1 = HEAP32[$0 + 2536 >> 2]; - $2 = HEAP32[$0 + 2532 >> 2]; - HEAP32[$0 + 6464 >> 2] = $2; - HEAP32[$0 + 6468 >> 2] = $1; - $1 = HEAP32[$0 + 6464 >> 2]; - $2 = HEAP32[$0 + 6468 >> 2]; - HEAP32[$0 + 6492 >> 2] = $3; - HEAP32[$0 + 6488 >> 2] = 10354; - HEAP32[$0 + 6484 >> 2] = $2; - HEAP32[$0 + 6480 >> 2] = $1; - $3 = HEAP32[$0 + 6492 >> 2]; - $4 = HEAP32[$0 + 6488 >> 2]; - $1 = HEAP32[$0 + 6480 >> 2]; - HEAP32[$0 + 6476 >> 2] = HEAP32[$0 + 6484 >> 2]; - HEAP32[$0 + 6472 >> 2] = $1; - $2 = HEAP32[$0 + 6476 >> 2]; - $1 = HEAP32[$0 + 6472 >> 2]; - HEAP32[$0 + 912 >> 2] = $1; - HEAP32[$0 + 916 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28bool_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28bool_29_29($4, $0 + 912 | 0); - HEAP32[$0 + 2528 >> 2] = 0; - HEAP32[$0 + 2524 >> 2] = 208; - $1 = HEAP32[$0 + 2528 >> 2]; - $2 = HEAP32[$0 + 2524 >> 2]; - HEAP32[$0 + 6624 >> 2] = $2; - HEAP32[$0 + 6628 >> 2] = $1; - $1 = HEAP32[$0 + 6624 >> 2]; - $2 = HEAP32[$0 + 6628 >> 2]; - HEAP32[$0 + 6652 >> 2] = $3; - HEAP32[$0 + 6648 >> 2] = 10373; - HEAP32[$0 + 6644 >> 2] = $2; - HEAP32[$0 + 6640 >> 2] = $1; - $3 = HEAP32[$0 + 6652 >> 2]; - $4 = HEAP32[$0 + 6648 >> 2]; - $1 = HEAP32[$0 + 6640 >> 2]; - HEAP32[$0 + 6636 >> 2] = HEAP32[$0 + 6644 >> 2]; - HEAP32[$0 + 6632 >> 2] = $1; - $2 = HEAP32[$0 + 6636 >> 2]; - $1 = HEAP32[$0 + 6632 >> 2]; - HEAP32[$0 + 904 >> 2] = $1; - HEAP32[$0 + 908 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_bool_20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20bool_20_28b2Body____29_28_29_20const_29($4, $0 + 904 | 0); - HEAP32[$0 + 2520 >> 2] = 0; - HEAP32[$0 + 2516 >> 2] = 209; - $1 = HEAP32[$0 + 2520 >> 2]; - $2 = HEAP32[$0 + 2516 >> 2]; - HEAP32[$0 + 6432 >> 2] = $2; - HEAP32[$0 + 6436 >> 2] = $1; - $1 = HEAP32[$0 + 6432 >> 2]; - $2 = HEAP32[$0 + 6436 >> 2]; - HEAP32[$0 + 6460 >> 2] = $3; - HEAP32[$0 + 6456 >> 2] = 9942; - HEAP32[$0 + 6452 >> 2] = $2; - HEAP32[$0 + 6448 >> 2] = $1; - $3 = HEAP32[$0 + 6460 >> 2]; - $4 = HEAP32[$0 + 6456 >> 2]; - $1 = HEAP32[$0 + 6448 >> 2]; - HEAP32[$0 + 6444 >> 2] = HEAP32[$0 + 6452 >> 2]; - HEAP32[$0 + 6440 >> 2] = $1; - $2 = HEAP32[$0 + 6444 >> 2]; - $1 = HEAP32[$0 + 6440 >> 2]; - HEAP32[$0 + 896 >> 2] = $1; - HEAP32[$0 + 900 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28bool_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28bool_29_29($4, $0 + 896 | 0); - HEAP32[$0 + 2512 >> 2] = 0; - HEAP32[$0 + 2508 >> 2] = 210; - $1 = HEAP32[$0 + 2512 >> 2]; - $2 = HEAP32[$0 + 2508 >> 2]; - HEAP32[$0 + 6592 >> 2] = $2; - HEAP32[$0 + 6596 >> 2] = $1; - $1 = HEAP32[$0 + 6592 >> 2]; - $2 = HEAP32[$0 + 6596 >> 2]; - HEAP32[$0 + 6620 >> 2] = $3; - HEAP32[$0 + 6616 >> 2] = 9951; - HEAP32[$0 + 6612 >> 2] = $2; - HEAP32[$0 + 6608 >> 2] = $1; - $3 = HEAP32[$0 + 6620 >> 2]; - $4 = HEAP32[$0 + 6616 >> 2]; - $1 = HEAP32[$0 + 6608 >> 2]; - HEAP32[$0 + 6604 >> 2] = HEAP32[$0 + 6612 >> 2]; - HEAP32[$0 + 6600 >> 2] = $1; - $2 = HEAP32[$0 + 6604 >> 2]; - $1 = HEAP32[$0 + 6600 >> 2]; - HEAP32[$0 + 888 >> 2] = $1; - HEAP32[$0 + 892 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_bool_20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20bool_20_28b2Body____29_28_29_20const_29($4, $0 + 888 | 0); - HEAP32[$0 + 2504 >> 2] = 0; - HEAP32[$0 + 2500 >> 2] = 211; - $1 = HEAP32[$0 + 2504 >> 2]; - $2 = HEAP32[$0 + 2500 >> 2]; - HEAP32[$0 + 6400 >> 2] = $2; - HEAP32[$0 + 6404 >> 2] = $1; - $1 = HEAP32[$0 + 6400 >> 2]; - $2 = HEAP32[$0 + 6404 >> 2]; - HEAP32[$0 + 6428 >> 2] = $3; - HEAP32[$0 + 6424 >> 2] = 10470; - HEAP32[$0 + 6420 >> 2] = $2; - HEAP32[$0 + 6416 >> 2] = $1; - $3 = HEAP32[$0 + 6428 >> 2]; - $4 = HEAP32[$0 + 6424 >> 2]; - $1 = HEAP32[$0 + 6416 >> 2]; - HEAP32[$0 + 6412 >> 2] = HEAP32[$0 + 6420 >> 2]; - HEAP32[$0 + 6408 >> 2] = $1; - $2 = HEAP32[$0 + 6412 >> 2]; - $1 = HEAP32[$0 + 6408 >> 2]; - HEAP32[$0 + 880 >> 2] = $1; - HEAP32[$0 + 884 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28bool_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28bool_29_29($4, $0 + 880 | 0); - HEAP32[$0 + 2496 >> 2] = 0; - HEAP32[$0 + 2492 >> 2] = 212; - $1 = HEAP32[$0 + 2496 >> 2]; - $2 = HEAP32[$0 + 2492 >> 2]; - HEAP32[$0 + 6560 >> 2] = $2; - HEAP32[$0 + 6564 >> 2] = $1; - $1 = HEAP32[$0 + 6560 >> 2]; - $2 = HEAP32[$0 + 6564 >> 2]; - HEAP32[$0 + 6588 >> 2] = $3; - HEAP32[$0 + 6584 >> 2] = 10481; - HEAP32[$0 + 6580 >> 2] = $2; - HEAP32[$0 + 6576 >> 2] = $1; - $3 = HEAP32[$0 + 6588 >> 2]; - $4 = HEAP32[$0 + 6584 >> 2]; - $1 = HEAP32[$0 + 6576 >> 2]; - HEAP32[$0 + 6572 >> 2] = HEAP32[$0 + 6580 >> 2]; - HEAP32[$0 + 6568 >> 2] = $1; - $2 = HEAP32[$0 + 6572 >> 2]; - $1 = HEAP32[$0 + 6568 >> 2]; - HEAP32[$0 + 872 >> 2] = $1; - HEAP32[$0 + 876 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_bool_20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20bool_20_28b2Body____29_28_29_20const_29($4, $0 + 872 | 0); - HEAP32[$0 + 2488 >> 2] = 0; - HEAP32[$0 + 2484 >> 2] = 213; - $1 = HEAP32[$0 + 2488 >> 2]; - $2 = HEAP32[$0 + 2484 >> 2]; - HEAP32[$0 + 6368 >> 2] = $2; - HEAP32[$0 + 6372 >> 2] = $1; - $1 = HEAP32[$0 + 6368 >> 2]; - $2 = HEAP32[$0 + 6372 >> 2]; - HEAP32[$0 + 6396 >> 2] = $3; - HEAP32[$0 + 6392 >> 2] = 6825; - HEAP32[$0 + 6388 >> 2] = $2; - HEAP32[$0 + 6384 >> 2] = $1; - $3 = HEAP32[$0 + 6396 >> 2]; - $4 = HEAP32[$0 + 6392 >> 2]; - $1 = HEAP32[$0 + 6384 >> 2]; - HEAP32[$0 + 6380 >> 2] = HEAP32[$0 + 6388 >> 2]; - HEAP32[$0 + 6376 >> 2] = $1; - $2 = HEAP32[$0 + 6380 >> 2]; - $1 = HEAP32[$0 + 6376 >> 2]; - HEAP32[$0 + 864 >> 2] = $1; - HEAP32[$0 + 868 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28bool_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28bool_29_29($4, $0 + 864 | 0); - HEAP32[$0 + 2480 >> 2] = 0; - HEAP32[$0 + 2476 >> 2] = 214; - $1 = HEAP32[$0 + 2480 >> 2]; - $2 = HEAP32[$0 + 2476 >> 2]; - HEAP32[$0 + 6528 >> 2] = $2; - HEAP32[$0 + 6532 >> 2] = $1; - $1 = HEAP32[$0 + 6528 >> 2]; - $2 = HEAP32[$0 + 6532 >> 2]; - HEAP32[$0 + 6556 >> 2] = $3; - HEAP32[$0 + 6552 >> 2] = 6842; - HEAP32[$0 + 6548 >> 2] = $2; - HEAP32[$0 + 6544 >> 2] = $1; - $3 = HEAP32[$0 + 6556 >> 2]; - $4 = HEAP32[$0 + 6552 >> 2]; - $1 = HEAP32[$0 + 6544 >> 2]; - HEAP32[$0 + 6540 >> 2] = HEAP32[$0 + 6548 >> 2]; - HEAP32[$0 + 6536 >> 2] = $1; - $2 = HEAP32[$0 + 6540 >> 2]; - $1 = HEAP32[$0 + 6536 >> 2]; - HEAP32[$0 + 856 >> 2] = $1; - HEAP32[$0 + 860 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_bool_20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20bool_20_28b2Body____29_28_29_20const_29($4, $0 + 856 | 0); - $1 = emscripten__internal__remove_class_decltype_28_embind_init_b2_28_29__$_3__operator_28_29_29___type__20emscripten__optional_override_embind_init_b2_28_29__$_3__28embind_init_b2_28_29__$_3_20const__29($0 + 2475 | 0); - HEAP32[$0 + 6708 >> 2] = $3; - HEAP32[$0 + 6704 >> 2] = 2039; - HEAP32[$0 + 6700 >> 2] = $1; - $1 = HEAP32[$0 + 6708 >> 2]; - void_20emscripten__internal__RegisterClassMethod_unsigned_20int_20_28__29_28b2Body__29___invoke_b2Body_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28b2Body__29_29(HEAP32[$0 + 6704 >> 2], HEAP32[$0 + 6700 >> 2]); - $2 = emscripten__internal__remove_class_decltype_28_embind_init_b2_28_29__$_4__operator_28_29_29___type__20emscripten__optional_override_embind_init_b2_28_29__$_4__28embind_init_b2_28_29__$_4_20const__29($0 + 2473 | 0); - HEAP32[$0 + 6696 >> 2] = $1; - HEAP32[$0 + 6692 >> 2] = 2026; - HEAP32[$0 + 6688 >> 2] = $2; - $3 = HEAP32[$0 + 6696 >> 2]; - void_20emscripten__internal__RegisterClassMethod_unsigned_20int_20_28__29_28b2Body__29___invoke_b2Body_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28b2Body__29_29(HEAP32[$0 + 6692 >> 2], HEAP32[$0 + 6688 >> 2]); - HEAP32[$0 + 2464 >> 2] = 0; - HEAP32[$0 + 2460 >> 2] = 215; - $1 = HEAP32[$0 + 2464 >> 2]; - $2 = HEAP32[$0 + 2460 >> 2]; - HEAP32[$0 + 6712 >> 2] = $2; - HEAP32[$0 + 6716 >> 2] = $1; - $1 = HEAP32[$0 + 6712 >> 2]; - $2 = HEAP32[$0 + 6716 >> 2]; - HEAP32[$0 + 6744 >> 2] = $3; - HEAP32[$0 + 6740 >> 2] = 10273; - HEAP32[$0 + 6736 >> 2] = $2; - HEAP32[$0 + 6732 >> 2] = $1; - $3 = HEAP32[$0 + 6744 >> 2]; - $4 = HEAP32[$0 + 6740 >> 2]; - $1 = HEAP32[$0 + 6732 >> 2]; - HEAP32[$0 + 6728 >> 2] = HEAP32[$0 + 6736 >> 2]; - HEAP32[$0 + 6724 >> 2] = $1; - $2 = HEAP32[$0 + 6728 >> 2]; - $1 = HEAP32[$0 + 6724 >> 2]; - HEAP32[$0 + 848 >> 2] = $1; - HEAP32[$0 + 852 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2World__20_28b2Body____29_28_29___invoke_b2Body_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2World__20_28b2Body____29_28_29_29($4, $0 + 848 | 0); - HEAP32[$0 + 2456 >> 2] = 0; - HEAP32[$0 + 2452 >> 2] = 216; - $1 = HEAP32[$0 + 2456 >> 2]; - $2 = HEAP32[$0 + 2452 >> 2]; - HEAP32[$0 + 6048 >> 2] = $2; - HEAP32[$0 + 6052 >> 2] = $1; - $1 = HEAP32[$0 + 6048 >> 2]; - $2 = HEAP32[$0 + 6052 >> 2]; - HEAP32[$0 + 6076 >> 2] = $3; - HEAP32[$0 + 6072 >> 2] = 6324; - HEAP32[$0 + 6068 >> 2] = $2; - HEAP32[$0 + 6064 >> 2] = $1; - $3 = HEAP32[$0 + 6072 >> 2]; - $1 = HEAP32[$0 + 6064 >> 2]; - HEAP32[$0 + 6060 >> 2] = HEAP32[$0 + 6068 >> 2]; - HEAP32[$0 + 6056 >> 2] = $1; - $2 = HEAP32[$0 + 6060 >> 2]; - $1 = HEAP32[$0 + 6056 >> 2]; - HEAP32[$0 + 840 >> 2] = $1; - HEAP32[$0 + 844 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28_29_29($3, $0 + 840 | 0); - HEAP32[$0 + 6768 >> 2] = $0 + 2451; - HEAP32[$0 + 6764 >> 2] = 8154; - void_20emscripten__internal__NoBaseClass__verify_b2JointDef__28_29(); - HEAP32[$0 + 6760 >> 2] = 217; - wasm2js_i32$0 = $0, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getUpcaster_b2JointDef__28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 6756 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getDowncaster_b2JointDef__28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 6752 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 6748 >> 2] = 218; - $1 = emscripten__internal__TypeID_b2JointDef_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2JointDef__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2JointDef_20const__2c_20void___get_28_29(); - $4 = emscripten__internal__NoBaseClass__get_28_29(); - HEAP32[$0 + 12368 >> 2] = HEAP32[$0 + 6760 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 6760 >> 2]; - HEAP32[$0 + 11700 >> 2] = HEAP32[$0 + 6756 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $8 = HEAP32[$0 + 6756 >> 2]; - HEAP32[$0 + 11696 >> 2] = HEAP32[$0 + 6752 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $10 = HEAP32[$0 + 6752 >> 2]; - $11 = HEAP32[$0 + 6764 >> 2]; - HEAP32[$0 + 12372 >> 2] = HEAP32[$0 + 6748 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 6748 >> 2]); - HEAP32[$0 + 6772 >> 2] = $0 + 2451; - HEAP32[$0 + 12380 >> 2] = HEAP32[$0 + 6772 >> 2]; - HEAP32[$0 + 12376 >> 2] = 219; - $1 = HEAP32[$0 + 12380 >> 2]; - void_20emscripten__internal__RegisterClassConstructor_b2JointDef__20_28__29_28_29___invoke_b2JointDef__28b2JointDef__20_28__29_28_29_29(HEAP32[$0 + 12376 >> 2]); - HEAP32[$0 + 6792 >> 2] = $1; - HEAP32[$0 + 6788 >> 2] = 9486; - HEAP32[$0 + 6784 >> 2] = 0; - $1 = HEAP32[$0 + 6792 >> 2]; - HEAP32[$0 + 6780 >> 2] = 220; - HEAP32[$0 + 6776 >> 2] = 221; - $2 = emscripten__internal__TypeID_b2JointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 6788 >> 2]; - $4 = emscripten__internal__TypeID_b2JointType_2c_20void___get_28_29(); - HEAP32[$0 + 12384 >> 2] = HEAP32[$0 + 6780 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 6780 >> 2]; - $7 = b2JointType_20b2JointDef_____20emscripten__internal__getContext_b2JointType_20b2JointDef_____28b2JointType_20b2JointDef____20const__29($0 + 6784 | 0); - $8 = emscripten__internal__TypeID_b2JointType_2c_20void___get_28_29(); - HEAP32[$0 + 12388 >> 2] = HEAP32[$0 + 6776 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 6776 >> 2], b2JointType_20b2JointDef_____20emscripten__internal__getContext_b2JointType_20b2JointDef_____28b2JointType_20b2JointDef____20const__29($0 + 6784 | 0) | 0); - $2 = emscripten__internal__remove_class_decltype_28_embind_init_b2_28_29__$_5__operator_28_29_29___type__20emscripten__optional_override_embind_init_b2_28_29__$_5__28embind_init_b2_28_29__$_5_20const__29($0 + 2450 | 0); - HEAP32[$0 + 6816 >> 2] = $1; - HEAP32[$0 + 6812 >> 2] = 11382; - HEAP32[$0 + 6808 >> 2] = $2; - $1 = HEAP32[$0 + 6816 >> 2]; - void_20emscripten__internal__RegisterClassMethod_void_20_28__29_28b2JointDef__2c_20b2Body__29___invoke_b2JointDef_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28b2JointDef__2c_20b2Body__29_29(HEAP32[$0 + 6812 >> 2], HEAP32[$0 + 6808 >> 2]); - $2 = emscripten__internal__remove_class_decltype_28_embind_init_b2_28_29__$_6__operator_28_29_29___type__20emscripten__optional_override_embind_init_b2_28_29__$_6__28embind_init_b2_28_29__$_6_20const__29($0 + 2448 | 0); - HEAP32[$0 + 6840 >> 2] = $1; - HEAP32[$0 + 6836 >> 2] = 11391; - HEAP32[$0 + 6832 >> 2] = $2; - $1 = HEAP32[$0 + 6840 >> 2]; - void_20emscripten__internal__RegisterClassMethod_b2Body__20_28__29_28b2JointDef__29___invoke_b2JointDef_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2Body__20_28__29_28b2JointDef__29_29(HEAP32[$0 + 6836 >> 2], HEAP32[$0 + 6832 >> 2]); - $2 = emscripten__internal__remove_class_decltype_28_embind_init_b2_28_29__$_7__operator_28_29_29___type__20emscripten__optional_override_embind_init_b2_28_29__$_7__28embind_init_b2_28_29__$_7_20const__29($0 + 2446 | 0); - HEAP32[$0 + 6804 >> 2] = $1; - HEAP32[$0 + 6800 >> 2] = 11269; - HEAP32[$0 + 6796 >> 2] = $2; - $1 = HEAP32[$0 + 6804 >> 2]; - void_20emscripten__internal__RegisterClassMethod_void_20_28__29_28b2JointDef__2c_20b2Body__29___invoke_b2JointDef_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28b2JointDef__2c_20b2Body__29_29(HEAP32[$0 + 6800 >> 2], HEAP32[$0 + 6796 >> 2]); - $2 = emscripten__internal__remove_class_decltype_28_embind_init_b2_28_29__$_8__operator_28_29_29___type__20emscripten__optional_override_embind_init_b2_28_29__$_8__28embind_init_b2_28_29__$_8_20const__29($0 + 2444 | 0); - HEAP32[$0 + 6828 >> 2] = $1; - HEAP32[$0 + 6824 >> 2] = 11278; - HEAP32[$0 + 6820 >> 2] = $2; - $1 = HEAP32[$0 + 6828 >> 2]; - void_20emscripten__internal__RegisterClassMethod_b2Body__20_28__29_28b2JointDef__29___invoke_b2JointDef_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2Body__20_28__29_28b2JointDef__29_29(HEAP32[$0 + 6824 >> 2], HEAP32[$0 + 6820 >> 2]); - HEAP32[$0 + 6860 >> 2] = $1; - HEAP32[$0 + 6856 >> 2] = 10411; - HEAP32[$0 + 6852 >> 2] = 16; - HEAP32[$0 + 6848 >> 2] = 222; - HEAP32[$0 + 6844 >> 2] = 223; - $1 = emscripten__internal__TypeID_b2JointDef_2c_20void___get_28_29(); - $2 = HEAP32[$0 + 6856 >> 2]; - $3 = emscripten__internal__TypeID_bool_2c_20void___get_28_29(); - HEAP32[$0 + 12392 >> 2] = HEAP32[$0 + 6848 >> 2]; - $4 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $5 = HEAP32[$0 + 6848 >> 2]; - $6 = bool_20b2JointDef_____20emscripten__internal__getContext_bool_20b2JointDef_____28bool_20b2JointDef____20const__29($0 + 6852 | 0); - $7 = emscripten__internal__TypeID_bool_2c_20void___get_28_29(); - HEAP32[$0 + 12396 >> 2] = HEAP32[$0 + 6844 >> 2]; - _embind_register_class_property($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 6844 >> 2], bool_20b2JointDef_____20emscripten__internal__getContext_bool_20b2JointDef_____28bool_20b2JointDef____20const__29($0 + 6852 | 0) | 0); - HEAP32[$0 + 6884 >> 2] = $0 + 2442; - HEAP32[$0 + 6880 >> 2] = 2968; - void_20emscripten__internal__NoBaseClass__verify_b2Joint__28_29(); - HEAP32[$0 + 6876 >> 2] = 224; - wasm2js_i32$0 = $0, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getUpcaster_b2Joint__28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 6872 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getDowncaster_b2Joint__28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 6868 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 6864 >> 2] = 225; - $1 = emscripten__internal__TypeID_b2Joint_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2Joint__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2Joint_20const__2c_20void___get_28_29(); - $4 = emscripten__internal__NoBaseClass__get_28_29(); - HEAP32[$0 + 12400 >> 2] = HEAP32[$0 + 6876 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 6876 >> 2]; - HEAP32[$0 + 11692 >> 2] = HEAP32[$0 + 6872 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $8 = HEAP32[$0 + 6872 >> 2]; - HEAP32[$0 + 11688 >> 2] = HEAP32[$0 + 6868 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $10 = HEAP32[$0 + 6868 >> 2]; - $11 = HEAP32[$0 + 6880 >> 2]; - HEAP32[$0 + 12404 >> 2] = HEAP32[$0 + 6864 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 6864 >> 2]); - HEAP32[$0 + 2436 >> 2] = 0; - HEAP32[$0 + 2432 >> 2] = 226; - $1 = HEAP32[$0 + 2436 >> 2]; - $2 = HEAP32[$0 + 2432 >> 2]; - HEAP32[$0 + 6888 >> 2] = $2; - HEAP32[$0 + 6892 >> 2] = $1; - $1 = HEAP32[$0 + 6888 >> 2]; - $2 = HEAP32[$0 + 6892 >> 2]; - HEAP32[$0 + 6916 >> 2] = $0 + 2442; - HEAP32[$0 + 6912 >> 2] = 9544; - HEAP32[$0 + 6908 >> 2] = $2; - HEAP32[$0 + 6904 >> 2] = $1; - $3 = HEAP32[$0 + 6916 >> 2]; - $4 = HEAP32[$0 + 6912 >> 2]; - $1 = HEAP32[$0 + 6904 >> 2]; - HEAP32[$0 + 6900 >> 2] = HEAP32[$0 + 6908 >> 2]; - HEAP32[$0 + 6896 >> 2] = $1; - $2 = HEAP32[$0 + 6900 >> 2]; - $1 = HEAP32[$0 + 6896 >> 2]; - HEAP32[$0 + 832 >> 2] = $1; - HEAP32[$0 + 836 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2JointType_20_28b2Joint____29_28_29_20const___invoke_b2Joint__28char_20const__2c_20b2JointType_20_28b2Joint____29_28_29_20const_29($4, $0 + 832 | 0); - HEAP32[$0 + 2424 >> 2] = 0; - HEAP32[$0 + 2420 >> 2] = 227; - $1 = HEAP32[$0 + 2424 >> 2]; - $2 = HEAP32[$0 + 2420 >> 2]; - HEAP32[$0 + 6952 >> 2] = $2; - HEAP32[$0 + 6956 >> 2] = $1; - $1 = HEAP32[$0 + 6952 >> 2]; - $2 = HEAP32[$0 + 6956 >> 2]; - HEAP32[$0 + 6980 >> 2] = $3; - HEAP32[$0 + 6976 >> 2] = 11391; - HEAP32[$0 + 6972 >> 2] = $2; - HEAP32[$0 + 6968 >> 2] = $1; - $3 = HEAP32[$0 + 6980 >> 2]; - $4 = HEAP32[$0 + 6976 >> 2]; - $1 = HEAP32[$0 + 6968 >> 2]; - HEAP32[$0 + 6964 >> 2] = HEAP32[$0 + 6972 >> 2]; - HEAP32[$0 + 6960 >> 2] = $1; - $2 = HEAP32[$0 + 6964 >> 2]; - $1 = HEAP32[$0 + 6960 >> 2]; - HEAP32[$0 + 824 >> 2] = $1; - HEAP32[$0 + 828 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Body__20_28b2Joint____29_28_29___invoke_b2Joint_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2Body__20_28b2Joint____29_28_29_29($4, $0 + 824 | 0); - HEAP32[$0 + 2412 >> 2] = 0; - HEAP32[$0 + 2408 >> 2] = 228; - $1 = HEAP32[$0 + 2412 >> 2]; - $2 = HEAP32[$0 + 2408 >> 2]; - HEAP32[$0 + 6920 >> 2] = $2; - HEAP32[$0 + 6924 >> 2] = $1; - $1 = HEAP32[$0 + 6920 >> 2]; - $2 = HEAP32[$0 + 6924 >> 2]; - HEAP32[$0 + 6948 >> 2] = $3; - HEAP32[$0 + 6944 >> 2] = 11278; - HEAP32[$0 + 6940 >> 2] = $2; - HEAP32[$0 + 6936 >> 2] = $1; - $3 = HEAP32[$0 + 6948 >> 2]; - $4 = HEAP32[$0 + 6944 >> 2]; - $1 = HEAP32[$0 + 6936 >> 2]; - HEAP32[$0 + 6932 >> 2] = HEAP32[$0 + 6940 >> 2]; - HEAP32[$0 + 6928 >> 2] = $1; - $2 = HEAP32[$0 + 6932 >> 2]; - $1 = HEAP32[$0 + 6928 >> 2]; - HEAP32[$0 + 816 >> 2] = $1; - HEAP32[$0 + 820 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Body__20_28b2Joint____29_28_29___invoke_b2Joint_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2Body__20_28b2Joint____29_28_29_29($4, $0 + 816 | 0); - HEAP32[$0 + 2400 >> 2] = 1; - HEAP32[$0 + 2396 >> 2] = 0; - $1 = HEAP32[$0 + 2400 >> 2]; - $2 = HEAP32[$0 + 2396 >> 2]; - HEAP32[$0 + 7016 >> 2] = $2; - HEAP32[$0 + 7020 >> 2] = $1; - $1 = HEAP32[$0 + 7016 >> 2]; - $2 = HEAP32[$0 + 7020 >> 2]; - HEAP32[$0 + 7044 >> 2] = $3; - HEAP32[$0 + 7040 >> 2] = 11425; - HEAP32[$0 + 7036 >> 2] = $2; - HEAP32[$0 + 7032 >> 2] = $1; - $3 = HEAP32[$0 + 7044 >> 2]; - $4 = HEAP32[$0 + 7040 >> 2]; - $1 = HEAP32[$0 + 7032 >> 2]; - HEAP32[$0 + 7028 >> 2] = HEAP32[$0 + 7036 >> 2]; - HEAP32[$0 + 7024 >> 2] = $1; - $2 = HEAP32[$0 + 7028 >> 2]; - $1 = HEAP32[$0 + 7024 >> 2]; - HEAP32[$0 + 808 >> 2] = $1; - HEAP32[$0 + 812 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20_28b2Joint____29_28_29_20const___invoke_b2Joint_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2Vec2_20_28b2Joint____29_28_29_20const_29($4, $0 + 808 | 0); - HEAP32[$0 + 2388 >> 2] = 1; - HEAP32[$0 + 2384 >> 2] = 4; - $1 = HEAP32[$0 + 2388 >> 2]; - $2 = HEAP32[$0 + 2384 >> 2]; - HEAP32[$0 + 6984 >> 2] = $2; - HEAP32[$0 + 6988 >> 2] = $1; - $1 = HEAP32[$0 + 6984 >> 2]; - $2 = HEAP32[$0 + 6988 >> 2]; - HEAP32[$0 + 7012 >> 2] = $3; - HEAP32[$0 + 7008 >> 2] = 11287; - HEAP32[$0 + 7004 >> 2] = $2; - HEAP32[$0 + 7e3 >> 2] = $1; - $3 = HEAP32[$0 + 7012 >> 2]; - $4 = HEAP32[$0 + 7008 >> 2]; - $1 = HEAP32[$0 + 7e3 >> 2]; - HEAP32[$0 + 6996 >> 2] = HEAP32[$0 + 7004 >> 2]; - HEAP32[$0 + 6992 >> 2] = $1; - $2 = HEAP32[$0 + 6996 >> 2]; - $1 = HEAP32[$0 + 6992 >> 2]; - HEAP32[$0 + 800 >> 2] = $1; - HEAP32[$0 + 804 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20_28b2Joint____29_28_29_20const___invoke_b2Joint_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2Vec2_20_28b2Joint____29_28_29_20const_29($4, $0 + 800 | 0); - HEAP32[$0 + 2380 >> 2] = 1; - HEAP32[$0 + 2376 >> 2] = 8; - $1 = HEAP32[$0 + 2380 >> 2]; - $2 = HEAP32[$0 + 2376 >> 2]; - HEAP32[$0 + 7048 >> 2] = $2; - HEAP32[$0 + 7052 >> 2] = $1; - $1 = HEAP32[$0 + 7048 >> 2]; - $2 = HEAP32[$0 + 7052 >> 2]; - HEAP32[$0 + 7076 >> 2] = $3; - HEAP32[$0 + 7072 >> 2] = 10175; - HEAP32[$0 + 7068 >> 2] = $2; - HEAP32[$0 + 7064 >> 2] = $1; - $3 = HEAP32[$0 + 7076 >> 2]; - $4 = HEAP32[$0 + 7072 >> 2]; - $1 = HEAP32[$0 + 7064 >> 2]; - HEAP32[$0 + 7060 >> 2] = HEAP32[$0 + 7068 >> 2]; - HEAP32[$0 + 7056 >> 2] = $1; - $2 = HEAP32[$0 + 7060 >> 2]; - $1 = HEAP32[$0 + 7056 >> 2]; - HEAP32[$0 + 792 >> 2] = $1; - HEAP32[$0 + 796 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20_28b2Joint____29_28float_29_20const___invoke_b2Joint__28char_20const__2c_20b2Vec2_20_28b2Joint____29_28float_29_20const_29($4, $0 + 792 | 0); - HEAP32[$0 + 2372 >> 2] = 1; - HEAP32[$0 + 2368 >> 2] = 12; - $1 = HEAP32[$0 + 2372 >> 2]; - $2 = HEAP32[$0 + 2368 >> 2]; - HEAP32[$0 + 7080 >> 2] = $2; - HEAP32[$0 + 7084 >> 2] = $1; - $1 = HEAP32[$0 + 7080 >> 2]; - $2 = HEAP32[$0 + 7084 >> 2]; - HEAP32[$0 + 7108 >> 2] = $3; - HEAP32[$0 + 7104 >> 2] = 9034; - HEAP32[$0 + 7100 >> 2] = $2; - HEAP32[$0 + 7096 >> 2] = $1; - $3 = HEAP32[$0 + 7108 >> 2]; - $4 = HEAP32[$0 + 7104 >> 2]; - $1 = HEAP32[$0 + 7096 >> 2]; - HEAP32[$0 + 7092 >> 2] = HEAP32[$0 + 7100 >> 2]; - HEAP32[$0 + 7088 >> 2] = $1; - $2 = HEAP32[$0 + 7092 >> 2]; - $1 = HEAP32[$0 + 7088 >> 2]; - HEAP32[$0 + 784 >> 2] = $1; - HEAP32[$0 + 788 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2Joint____29_28float_29_20const___invoke_b2Joint__28char_20const__2c_20float_20_28b2Joint____29_28float_29_20const_29($4, $0 + 784 | 0); - HEAP32[$0 + 2364 >> 2] = 0; - HEAP32[$0 + 2360 >> 2] = 229; - $1 = HEAP32[$0 + 2364 >> 2]; - $2 = HEAP32[$0 + 2360 >> 2]; - HEAP32[$0 + 7112 >> 2] = $2; - HEAP32[$0 + 7116 >> 2] = $1; - $1 = HEAP32[$0 + 7112 >> 2]; - $2 = HEAP32[$0 + 7116 >> 2]; - HEAP32[$0 + 7140 >> 2] = $3; - HEAP32[$0 + 7136 >> 2] = 10428; - HEAP32[$0 + 7132 >> 2] = $2; - HEAP32[$0 + 7128 >> 2] = $1; - $3 = HEAP32[$0 + 7140 >> 2]; - $4 = HEAP32[$0 + 7136 >> 2]; - $1 = HEAP32[$0 + 7128 >> 2]; - HEAP32[$0 + 7124 >> 2] = HEAP32[$0 + 7132 >> 2]; - HEAP32[$0 + 7120 >> 2] = $1; - $2 = HEAP32[$0 + 7124 >> 2]; - $1 = HEAP32[$0 + 7120 >> 2]; - HEAP32[$0 + 776 >> 2] = $1; - HEAP32[$0 + 780 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_bool_20_28b2Joint____29_28_29_20const___invoke_b2Joint__28char_20const__2c_20bool_20_28b2Joint____29_28_29_20const_29($4, $0 + 776 | 0); - HEAP32[$0 + 2356 >> 2] = 1; - HEAP32[$0 + 2352 >> 2] = 16; - $1 = HEAP32[$0 + 2356 >> 2]; - $2 = HEAP32[$0 + 2352 >> 2]; - HEAP32[$0 + 7144 >> 2] = $2; - HEAP32[$0 + 7148 >> 2] = $1; - $1 = HEAP32[$0 + 7144 >> 2]; - $2 = HEAP32[$0 + 7148 >> 2]; - HEAP32[$0 + 7172 >> 2] = $3; - HEAP32[$0 + 7168 >> 2] = 6324; - HEAP32[$0 + 7164 >> 2] = $2; - HEAP32[$0 + 7160 >> 2] = $1; - $3 = HEAP32[$0 + 7168 >> 2]; - $1 = HEAP32[$0 + 7160 >> 2]; - HEAP32[$0 + 7156 >> 2] = HEAP32[$0 + 7164 >> 2]; - HEAP32[$0 + 7152 >> 2] = $1; - $2 = HEAP32[$0 + 7156 >> 2]; - $1 = HEAP32[$0 + 7152 >> 2]; - HEAP32[$0 + 768 >> 2] = $1; - HEAP32[$0 + 772 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2Joint____29_28_29___invoke_b2Joint__28char_20const__2c_20void_20_28b2Joint____29_28_29_29($3, $0 + 768 | 0); - HEAP32[$0 + 7196 >> 2] = $0 + 2351; - HEAP32[$0 + 7192 >> 2] = 8115; - void_20emscripten__base_b2JointDef___verify_b2DistanceJointDef__28_29(); - HEAP32[$0 + 7188 >> 2] = 230; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2JointDef__20_28_emscripten__base_b2JointDef___getUpcaster_b2DistanceJointDef__28_29_29_28b2DistanceJointDef__29(), - HEAP32[wasm2js_i32$0 + 7184 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2DistanceJointDef__20_28_emscripten__base_b2JointDef___getDowncaster_b2DistanceJointDef__28_29_29_28b2JointDef__29(), - HEAP32[wasm2js_i32$0 + 7180 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 7176 >> 2] = 231; - $1 = emscripten__internal__TypeID_b2DistanceJointDef_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2DistanceJointDef__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2DistanceJointDef_20const__2c_20void___get_28_29(); - $4 = emscripten__base_b2JointDef___get_28_29(); - HEAP32[$0 + 12408 >> 2] = HEAP32[$0 + 7188 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 7188 >> 2]; - HEAP32[$0 + 12412 >> 2] = HEAP32[$0 + 7184 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $8 = HEAP32[$0 + 7184 >> 2]; - HEAP32[$0 + 12416 >> 2] = HEAP32[$0 + 7180 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $10 = HEAP32[$0 + 7180 >> 2]; - $11 = HEAP32[$0 + 7192 >> 2]; - HEAP32[$0 + 12420 >> 2] = HEAP32[$0 + 7176 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 7176 >> 2]); - HEAP32[$0 + 7200 >> 2] = $0 + 2351; - HEAP32[$0 + 12428 >> 2] = HEAP32[$0 + 7200 >> 2]; - HEAP32[$0 + 12424 >> 2] = 232; - $1 = HEAP32[$0 + 12428 >> 2]; - void_20emscripten__internal__RegisterClassConstructor_b2DistanceJointDef__20_28__29_28_29___invoke_b2DistanceJointDef__28b2DistanceJointDef__20_28__29_28_29_29(HEAP32[$0 + 12424 >> 2]); - HEAP32[$0 + 7240 >> 2] = $1; - HEAP32[$0 + 7236 >> 2] = 11436; - HEAP32[$0 + 7232 >> 2] = 20; - $1 = HEAP32[$0 + 7240 >> 2]; - HEAP32[$0 + 7228 >> 2] = 233; - HEAP32[$0 + 7224 >> 2] = 234; - $2 = emscripten__internal__TypeID_b2DistanceJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 7236 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12432 >> 2] = HEAP32[$0 + 7228 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 7228 >> 2]; - $7 = b2Vec2_20b2DistanceJointDef_____20emscripten__internal__getContext_b2Vec2_20b2DistanceJointDef_____28b2Vec2_20b2DistanceJointDef____20const__29($0 + 7232 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12440 >> 2] = HEAP32[$0 + 7224 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 7224 >> 2], b2Vec2_20b2DistanceJointDef_____20emscripten__internal__getContext_b2Vec2_20b2DistanceJointDef_____28b2Vec2_20b2DistanceJointDef____20const__29($0 + 7232 | 0) | 0); - HEAP32[$0 + 7220 >> 2] = $1; - HEAP32[$0 + 7216 >> 2] = 11298; - HEAP32[$0 + 7212 >> 2] = 28; - $1 = HEAP32[$0 + 7220 >> 2]; - HEAP32[$0 + 7208 >> 2] = 233; - HEAP32[$0 + 7204 >> 2] = 234; - $2 = emscripten__internal__TypeID_b2DistanceJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 7216 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12436 >> 2] = HEAP32[$0 + 7208 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 7208 >> 2]; - $7 = b2Vec2_20b2DistanceJointDef_____20emscripten__internal__getContext_b2Vec2_20b2DistanceJointDef_____28b2Vec2_20b2DistanceJointDef____20const__29($0 + 7212 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12444 >> 2] = HEAP32[$0 + 7204 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 7204 >> 2], b2Vec2_20b2DistanceJointDef_____20emscripten__internal__getContext_b2Vec2_20b2DistanceJointDef_____28b2Vec2_20b2DistanceJointDef____20const__29($0 + 7212 | 0) | 0); - HEAP32[$0 + 7300 >> 2] = $1; - HEAP32[$0 + 7296 >> 2] = 7218; - HEAP32[$0 + 7292 >> 2] = 36; - $1 = HEAP32[$0 + 7300 >> 2]; - HEAP32[$0 + 7288 >> 2] = 235; - HEAP32[$0 + 7284 >> 2] = 236; - $2 = emscripten__internal__TypeID_b2DistanceJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 7296 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12448 >> 2] = HEAP32[$0 + 7288 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 7288 >> 2]; - $7 = float_20b2DistanceJointDef_____20emscripten__internal__getContext_float_20b2DistanceJointDef_____28float_20b2DistanceJointDef____20const__29($0 + 7292 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12460 >> 2] = HEAP32[$0 + 7284 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 7284 >> 2], float_20b2DistanceJointDef_____20emscripten__internal__getContext_float_20b2DistanceJointDef_____28float_20b2DistanceJointDef____20const__29($0 + 7292 | 0) | 0); - HEAP32[$0 + 7280 >> 2] = $1; - HEAP32[$0 + 7276 >> 2] = 1024; - HEAP32[$0 + 7272 >> 2] = 40; - $1 = HEAP32[$0 + 7280 >> 2]; - HEAP32[$0 + 7268 >> 2] = 235; - HEAP32[$0 + 7264 >> 2] = 236; - $2 = emscripten__internal__TypeID_b2DistanceJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 7276 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12452 >> 2] = HEAP32[$0 + 7268 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 7268 >> 2]; - $7 = float_20b2DistanceJointDef_____20emscripten__internal__getContext_float_20b2DistanceJointDef_____28float_20b2DistanceJointDef____20const__29($0 + 7272 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12464 >> 2] = HEAP32[$0 + 7264 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 7264 >> 2], float_20b2DistanceJointDef_____20emscripten__internal__getContext_float_20b2DistanceJointDef_____28float_20b2DistanceJointDef____20const__29($0 + 7272 | 0) | 0); - HEAP32[$0 + 7260 >> 2] = $1; - HEAP32[$0 + 7256 >> 2] = 6366; - HEAP32[$0 + 7252 >> 2] = 44; - HEAP32[$0 + 7248 >> 2] = 235; - HEAP32[$0 + 7244 >> 2] = 236; - $1 = emscripten__internal__TypeID_b2DistanceJointDef_2c_20void___get_28_29(); - $2 = HEAP32[$0 + 7256 >> 2]; - $3 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12456 >> 2] = HEAP32[$0 + 7248 >> 2]; - $4 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $5 = HEAP32[$0 + 7248 >> 2]; - $6 = float_20b2DistanceJointDef_____20emscripten__internal__getContext_float_20b2DistanceJointDef_____28float_20b2DistanceJointDef____20const__29($0 + 7252 | 0); - $7 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12468 >> 2] = HEAP32[$0 + 7244 >> 2]; - _embind_register_class_property($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 7244 >> 2], float_20b2DistanceJointDef_____20emscripten__internal__getContext_float_20b2DistanceJointDef_____28float_20b2DistanceJointDef____20const__29($0 + 7252 | 0) | 0); - HEAP32[$0 + 7324 >> 2] = $0 + 2350; - HEAP32[$0 + 7320 >> 2] = 2811; - void_20emscripten__base_b2Joint___verify_b2DistanceJoint__28_29(); - HEAP32[$0 + 7316 >> 2] = 237; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2Joint__20_28_emscripten__base_b2Joint___getUpcaster_b2DistanceJoint__28_29_29_28b2DistanceJoint__29(), - HEAP32[wasm2js_i32$0 + 7312 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2DistanceJoint__20_28_emscripten__base_b2Joint___getDowncaster_b2DistanceJoint__28_29_29_28b2Joint__29(), - HEAP32[wasm2js_i32$0 + 7308 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 7304 >> 2] = 238; - $1 = emscripten__internal__TypeID_b2DistanceJoint_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2DistanceJoint__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2DistanceJoint_20const__2c_20void___get_28_29(); - $4 = emscripten__base_b2Joint___get_28_29(); - HEAP32[$0 + 12472 >> 2] = HEAP32[$0 + 7316 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 7316 >> 2]; - HEAP32[$0 + 12476 >> 2] = HEAP32[$0 + 7312 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $8 = HEAP32[$0 + 7312 >> 2]; - HEAP32[$0 + 12480 >> 2] = HEAP32[$0 + 7308 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $10 = HEAP32[$0 + 7308 >> 2]; - $11 = HEAP32[$0 + 7320 >> 2]; - HEAP32[$0 + 12484 >> 2] = HEAP32[$0 + 7304 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 7304 >> 2]); - HEAP32[$0 + 2344 >> 2] = 0; - HEAP32[$0 + 2340 >> 2] = 239; - $1 = HEAP32[$0 + 2344 >> 2]; - $2 = HEAP32[$0 + 2340 >> 2]; - HEAP32[$0 + 7360 >> 2] = $2; - HEAP32[$0 + 7364 >> 2] = $1; - $1 = HEAP32[$0 + 7360 >> 2]; - $2 = HEAP32[$0 + 7364 >> 2]; - HEAP32[$0 + 7388 >> 2] = $0 + 2350; - HEAP32[$0 + 7384 >> 2] = 11449; - HEAP32[$0 + 7380 >> 2] = $2; - HEAP32[$0 + 7376 >> 2] = $1; - $3 = HEAP32[$0 + 7388 >> 2]; - $4 = HEAP32[$0 + 7384 >> 2]; - $1 = HEAP32[$0 + 7376 >> 2]; - HEAP32[$0 + 7372 >> 2] = HEAP32[$0 + 7380 >> 2]; - HEAP32[$0 + 7368 >> 2] = $1; - $2 = HEAP32[$0 + 7372 >> 2]; - $1 = HEAP32[$0 + 7368 >> 2]; - HEAP32[$0 + 760 >> 2] = $1; - HEAP32[$0 + 764 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2DistanceJoint____29_28_29_20const___invoke_b2DistanceJoint__28char_20const__2c_20b2Vec2_20const__20_28b2DistanceJoint____29_28_29_20const_29($4, $0 + 760 | 0); - HEAP32[$0 + 2336 >> 2] = 0; - HEAP32[$0 + 2332 >> 2] = 240; - $1 = HEAP32[$0 + 2336 >> 2]; - $2 = HEAP32[$0 + 2332 >> 2]; - HEAP32[$0 + 7328 >> 2] = $2; - HEAP32[$0 + 7332 >> 2] = $1; - $1 = HEAP32[$0 + 7328 >> 2]; - $2 = HEAP32[$0 + 7332 >> 2]; - HEAP32[$0 + 7356 >> 2] = $3; - HEAP32[$0 + 7352 >> 2] = 11311; - HEAP32[$0 + 7348 >> 2] = $2; - HEAP32[$0 + 7344 >> 2] = $1; - $3 = HEAP32[$0 + 7356 >> 2]; - $4 = HEAP32[$0 + 7352 >> 2]; - $1 = HEAP32[$0 + 7344 >> 2]; - HEAP32[$0 + 7340 >> 2] = HEAP32[$0 + 7348 >> 2]; - HEAP32[$0 + 7336 >> 2] = $1; - $2 = HEAP32[$0 + 7340 >> 2]; - $1 = HEAP32[$0 + 7336 >> 2]; - HEAP32[$0 + 752 >> 2] = $1; - HEAP32[$0 + 756 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2DistanceJoint____29_28_29_20const___invoke_b2DistanceJoint__28char_20const__2c_20b2Vec2_20const__20_28b2DistanceJoint____29_28_29_20const_29($4, $0 + 752 | 0); - HEAP32[$0 + 2328 >> 2] = 0; - HEAP32[$0 + 2324 >> 2] = 241; - $1 = HEAP32[$0 + 2328 >> 2]; - $2 = HEAP32[$0 + 2324 >> 2]; - HEAP32[$0 + 7456 >> 2] = $2; - HEAP32[$0 + 7460 >> 2] = $1; - $1 = HEAP32[$0 + 7456 >> 2]; - $2 = HEAP32[$0 + 7460 >> 2]; - HEAP32[$0 + 7484 >> 2] = $3; - HEAP32[$0 + 7480 >> 2] = 7261; - HEAP32[$0 + 7476 >> 2] = $2; - HEAP32[$0 + 7472 >> 2] = $1; - $3 = HEAP32[$0 + 7484 >> 2]; - $4 = HEAP32[$0 + 7480 >> 2]; - $1 = HEAP32[$0 + 7472 >> 2]; - HEAP32[$0 + 7468 >> 2] = HEAP32[$0 + 7476 >> 2]; - HEAP32[$0 + 7464 >> 2] = $1; - $2 = HEAP32[$0 + 7468 >> 2]; - $1 = HEAP32[$0 + 7464 >> 2]; - HEAP32[$0 + 744 >> 2] = $1; - HEAP32[$0 + 748 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2DistanceJoint____29_28float_29___invoke_b2DistanceJoint__28char_20const__2c_20void_20_28b2DistanceJoint____29_28float_29_29($4, $0 + 744 | 0); - HEAP32[$0 + 2320 >> 2] = 0; - HEAP32[$0 + 2316 >> 2] = 242; - $1 = HEAP32[$0 + 2320 >> 2]; - $2 = HEAP32[$0 + 2316 >> 2]; - HEAP32[$0 + 7552 >> 2] = $2; - HEAP32[$0 + 7556 >> 2] = $1; - $1 = HEAP32[$0 + 7552 >> 2]; - $2 = HEAP32[$0 + 7556 >> 2]; - HEAP32[$0 + 7580 >> 2] = $3; - HEAP32[$0 + 7576 >> 2] = 7271; - HEAP32[$0 + 7572 >> 2] = $2; - HEAP32[$0 + 7568 >> 2] = $1; - $3 = HEAP32[$0 + 7580 >> 2]; - $4 = HEAP32[$0 + 7576 >> 2]; - $1 = HEAP32[$0 + 7568 >> 2]; - HEAP32[$0 + 7564 >> 2] = HEAP32[$0 + 7572 >> 2]; - HEAP32[$0 + 7560 >> 2] = $1; - $2 = HEAP32[$0 + 7564 >> 2]; - $1 = HEAP32[$0 + 7560 >> 2]; - HEAP32[$0 + 736 >> 2] = $1; - HEAP32[$0 + 740 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2DistanceJoint____29_28_29_20const___invoke_b2DistanceJoint__28char_20const__2c_20float_20_28b2DistanceJoint____29_28_29_20const_29($4, $0 + 736 | 0); - HEAP32[$0 + 2312 >> 2] = 0; - HEAP32[$0 + 2308 >> 2] = 243; - $1 = HEAP32[$0 + 2312 >> 2]; - $2 = HEAP32[$0 + 2308 >> 2]; - HEAP32[$0 + 7424 >> 2] = $2; - HEAP32[$0 + 7428 >> 2] = $1; - $1 = HEAP32[$0 + 7424 >> 2]; - $2 = HEAP32[$0 + 7428 >> 2]; - HEAP32[$0 + 7452 >> 2] = $3; - HEAP32[$0 + 7448 >> 2] = 1764; - HEAP32[$0 + 7444 >> 2] = $2; - HEAP32[$0 + 7440 >> 2] = $1; - $3 = HEAP32[$0 + 7452 >> 2]; - $4 = HEAP32[$0 + 7448 >> 2]; - $1 = HEAP32[$0 + 7440 >> 2]; - HEAP32[$0 + 7436 >> 2] = HEAP32[$0 + 7444 >> 2]; - HEAP32[$0 + 7432 >> 2] = $1; - $2 = HEAP32[$0 + 7436 >> 2]; - $1 = HEAP32[$0 + 7432 >> 2]; - HEAP32[$0 + 728 >> 2] = $1; - HEAP32[$0 + 732 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2DistanceJoint____29_28float_29___invoke_b2DistanceJoint__28char_20const__2c_20void_20_28b2DistanceJoint____29_28float_29_29($4, $0 + 728 | 0); - HEAP32[$0 + 2304 >> 2] = 0; - HEAP32[$0 + 2300 >> 2] = 244; - $1 = HEAP32[$0 + 2304 >> 2]; - $2 = HEAP32[$0 + 2300 >> 2]; - HEAP32[$0 + 7520 >> 2] = $2; - HEAP32[$0 + 7524 >> 2] = $1; - $1 = HEAP32[$0 + 7520 >> 2]; - $2 = HEAP32[$0 + 7524 >> 2]; - HEAP32[$0 + 7548 >> 2] = $3; - HEAP32[$0 + 7544 >> 2] = 1777; - HEAP32[$0 + 7540 >> 2] = $2; - HEAP32[$0 + 7536 >> 2] = $1; - $3 = HEAP32[$0 + 7548 >> 2]; - $4 = HEAP32[$0 + 7544 >> 2]; - $1 = HEAP32[$0 + 7536 >> 2]; - HEAP32[$0 + 7532 >> 2] = HEAP32[$0 + 7540 >> 2]; - HEAP32[$0 + 7528 >> 2] = $1; - $2 = HEAP32[$0 + 7532 >> 2]; - $1 = HEAP32[$0 + 7528 >> 2]; - HEAP32[$0 + 720 >> 2] = $1; - HEAP32[$0 + 724 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2DistanceJoint____29_28_29_20const___invoke_b2DistanceJoint__28char_20const__2c_20float_20_28b2DistanceJoint____29_28_29_20const_29($4, $0 + 720 | 0); - HEAP32[$0 + 2296 >> 2] = 0; - HEAP32[$0 + 2292 >> 2] = 245; - $1 = HEAP32[$0 + 2296 >> 2]; - $2 = HEAP32[$0 + 2292 >> 2]; - HEAP32[$0 + 7392 >> 2] = $2; - HEAP32[$0 + 7396 >> 2] = $1; - $1 = HEAP32[$0 + 7392 >> 2]; - $2 = HEAP32[$0 + 7396 >> 2]; - HEAP32[$0 + 7420 >> 2] = $3; - HEAP32[$0 + 7416 >> 2] = 6379; - HEAP32[$0 + 7412 >> 2] = $2; - HEAP32[$0 + 7408 >> 2] = $1; - $3 = HEAP32[$0 + 7420 >> 2]; - $4 = HEAP32[$0 + 7416 >> 2]; - $1 = HEAP32[$0 + 7408 >> 2]; - HEAP32[$0 + 7404 >> 2] = HEAP32[$0 + 7412 >> 2]; - HEAP32[$0 + 7400 >> 2] = $1; - $2 = HEAP32[$0 + 7404 >> 2]; - $1 = HEAP32[$0 + 7400 >> 2]; - HEAP32[$0 + 712 >> 2] = $1; - HEAP32[$0 + 716 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2DistanceJoint____29_28float_29___invoke_b2DistanceJoint__28char_20const__2c_20void_20_28b2DistanceJoint____29_28float_29_29($4, $0 + 712 | 0); - HEAP32[$0 + 2288 >> 2] = 0; - HEAP32[$0 + 2284 >> 2] = 246; - $1 = HEAP32[$0 + 2288 >> 2]; - $2 = HEAP32[$0 + 2284 >> 2]; - HEAP32[$0 + 7488 >> 2] = $2; - HEAP32[$0 + 7492 >> 2] = $1; - $1 = HEAP32[$0 + 7488 >> 2]; - $2 = HEAP32[$0 + 7492 >> 2]; - HEAP32[$0 + 7516 >> 2] = $3; - HEAP32[$0 + 7512 >> 2] = 6395; - HEAP32[$0 + 7508 >> 2] = $2; - HEAP32[$0 + 7504 >> 2] = $1; - $3 = HEAP32[$0 + 7516 >> 2]; - $4 = HEAP32[$0 + 7512 >> 2]; - $1 = HEAP32[$0 + 7504 >> 2]; - HEAP32[$0 + 7500 >> 2] = HEAP32[$0 + 7508 >> 2]; - HEAP32[$0 + 7496 >> 2] = $1; - $2 = HEAP32[$0 + 7500 >> 2]; - $1 = HEAP32[$0 + 7496 >> 2]; - HEAP32[$0 + 704 >> 2] = $1; - HEAP32[$0 + 708 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2DistanceJoint____29_28_29_20const___invoke_b2DistanceJoint__28char_20const__2c_20float_20_28b2DistanceJoint____29_28_29_20const_29($4, $0 + 704 | 0); - HEAP32[$0 + 2280 >> 2] = 1; - HEAP32[$0 + 2276 >> 2] = 16; - $1 = HEAP32[$0 + 2280 >> 2]; - $2 = HEAP32[$0 + 2276 >> 2]; - HEAP32[$0 + 7584 >> 2] = $2; - HEAP32[$0 + 7588 >> 2] = $1; - $1 = HEAP32[$0 + 7584 >> 2]; - $2 = HEAP32[$0 + 7588 >> 2]; - HEAP32[$0 + 7612 >> 2] = $3; - HEAP32[$0 + 7608 >> 2] = 6324; - HEAP32[$0 + 7604 >> 2] = $2; - HEAP32[$0 + 7600 >> 2] = $1; - $3 = HEAP32[$0 + 7608 >> 2]; - $1 = HEAP32[$0 + 7600 >> 2]; - HEAP32[$0 + 7596 >> 2] = HEAP32[$0 + 7604 >> 2]; - HEAP32[$0 + 7592 >> 2] = $1; - $2 = HEAP32[$0 + 7596 >> 2]; - $1 = HEAP32[$0 + 7592 >> 2]; - HEAP32[$0 + 696 >> 2] = $1; - HEAP32[$0 + 700 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2DistanceJoint____29_28_29___invoke_b2DistanceJoint__28char_20const__2c_20void_20_28b2DistanceJoint____29_28_29_29($3, $0 + 696 | 0); - HEAP32[$0 + 7636 >> 2] = $0 + 2275; - HEAP32[$0 + 7632 >> 2] = 8043; - void_20emscripten__base_b2JointDef___verify_b2MotorJointDef__28_29(); - HEAP32[$0 + 7628 >> 2] = 247; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2JointDef__20_28_emscripten__base_b2JointDef___getUpcaster_b2MotorJointDef__28_29_29_28b2MotorJointDef__29(), - HEAP32[wasm2js_i32$0 + 7624 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2MotorJointDef__20_28_emscripten__base_b2JointDef___getDowncaster_b2MotorJointDef__28_29_29_28b2JointDef__29(), - HEAP32[wasm2js_i32$0 + 7620 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 7616 >> 2] = 248; - $1 = emscripten__internal__TypeID_b2MotorJointDef_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2MotorJointDef__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2MotorJointDef_20const__2c_20void___get_28_29(); - $4 = emscripten__base_b2JointDef___get_28_29(); - HEAP32[$0 + 12488 >> 2] = HEAP32[$0 + 7628 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 7628 >> 2]; - HEAP32[$0 + 12492 >> 2] = HEAP32[$0 + 7624 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $8 = HEAP32[$0 + 7624 >> 2]; - HEAP32[$0 + 12496 >> 2] = HEAP32[$0 + 7620 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $10 = HEAP32[$0 + 7620 >> 2]; - $11 = HEAP32[$0 + 7632 >> 2]; - HEAP32[$0 + 12500 >> 2] = HEAP32[$0 + 7616 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 7616 >> 2]); - HEAP32[$0 + 7640 >> 2] = $0 + 2275; - HEAP32[$0 + 12508 >> 2] = HEAP32[$0 + 7640 >> 2]; - HEAP32[$0 + 12504 >> 2] = 249; - $1 = HEAP32[$0 + 12508 >> 2]; - void_20emscripten__internal__RegisterClassConstructor_b2MotorJointDef__20_28__29_28_29___invoke_b2MotorJointDef__28b2MotorJointDef__20_28__29_28_29_29(HEAP32[$0 + 12504 >> 2]); - HEAP32[$0 + 7660 >> 2] = $1; - HEAP32[$0 + 7656 >> 2] = 3109; - HEAP32[$0 + 7652 >> 2] = 20; - $1 = HEAP32[$0 + 7660 >> 2]; - HEAP32[$0 + 7648 >> 2] = 250; - HEAP32[$0 + 7644 >> 2] = 251; - $2 = emscripten__internal__TypeID_b2MotorJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 7656 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12512 >> 2] = HEAP32[$0 + 7648 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 7648 >> 2]; - $7 = b2Vec2_20b2MotorJointDef_____20emscripten__internal__getContext_b2Vec2_20b2MotorJointDef_____28b2Vec2_20b2MotorJointDef____20const__29($0 + 7652 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12516 >> 2] = HEAP32[$0 + 7644 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 7644 >> 2], b2Vec2_20b2MotorJointDef_____20emscripten__internal__getContext_b2Vec2_20b2MotorJointDef_____28b2Vec2_20b2MotorJointDef____20const__29($0 + 7652 | 0) | 0); - HEAP32[$0 + 7740 >> 2] = $1; - HEAP32[$0 + 7736 >> 2] = 3061; - HEAP32[$0 + 7732 >> 2] = 28; - $1 = HEAP32[$0 + 7740 >> 2]; - HEAP32[$0 + 7728 >> 2] = 252; - HEAP32[$0 + 7724 >> 2] = 253; - $2 = emscripten__internal__TypeID_b2MotorJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 7736 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12520 >> 2] = HEAP32[$0 + 7728 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 7728 >> 2]; - $7 = float_20b2MotorJointDef_____20emscripten__internal__getContext_float_20b2MotorJointDef_____28float_20b2MotorJointDef____20const__29($0 + 7732 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12536 >> 2] = HEAP32[$0 + 7724 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 7724 >> 2], float_20b2MotorJointDef_____20emscripten__internal__getContext_float_20b2MotorJointDef_____28float_20b2MotorJointDef____20const__29($0 + 7732 | 0) | 0); - HEAP32[$0 + 7720 >> 2] = $1; - HEAP32[$0 + 7716 >> 2] = 10080; - HEAP32[$0 + 7712 >> 2] = 32; - $1 = HEAP32[$0 + 7720 >> 2]; - HEAP32[$0 + 7708 >> 2] = 252; - HEAP32[$0 + 7704 >> 2] = 253; - $2 = emscripten__internal__TypeID_b2MotorJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 7716 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12524 >> 2] = HEAP32[$0 + 7708 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 7708 >> 2]; - $7 = float_20b2MotorJointDef_____20emscripten__internal__getContext_float_20b2MotorJointDef_____28float_20b2MotorJointDef____20const__29($0 + 7712 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12540 >> 2] = HEAP32[$0 + 7704 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 7704 >> 2], float_20b2MotorJointDef_____20emscripten__internal__getContext_float_20b2MotorJointDef_____28float_20b2MotorJointDef____20const__29($0 + 7712 | 0) | 0); - HEAP32[$0 + 7700 >> 2] = $1; - HEAP32[$0 + 7696 >> 2] = 8932; - HEAP32[$0 + 7692 >> 2] = 36; - $1 = HEAP32[$0 + 7700 >> 2]; - HEAP32[$0 + 7688 >> 2] = 252; - HEAP32[$0 + 7684 >> 2] = 253; - $2 = emscripten__internal__TypeID_b2MotorJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 7696 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12528 >> 2] = HEAP32[$0 + 7688 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 7688 >> 2]; - $7 = float_20b2MotorJointDef_____20emscripten__internal__getContext_float_20b2MotorJointDef_____28float_20b2MotorJointDef____20const__29($0 + 7692 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12544 >> 2] = HEAP32[$0 + 7684 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 7684 >> 2], float_20b2MotorJointDef_____20emscripten__internal__getContext_float_20b2MotorJointDef_____28float_20b2MotorJointDef____20const__29($0 + 7692 | 0) | 0); - HEAP32[$0 + 7680 >> 2] = $1; - HEAP32[$0 + 7676 >> 2] = 3897; - HEAP32[$0 + 7672 >> 2] = 40; - HEAP32[$0 + 7668 >> 2] = 252; - HEAP32[$0 + 7664 >> 2] = 253; - $1 = emscripten__internal__TypeID_b2MotorJointDef_2c_20void___get_28_29(); - $2 = HEAP32[$0 + 7676 >> 2]; - $3 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12532 >> 2] = HEAP32[$0 + 7668 >> 2]; - $4 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $5 = HEAP32[$0 + 7668 >> 2]; - $6 = float_20b2MotorJointDef_____20emscripten__internal__getContext_float_20b2MotorJointDef_____28float_20b2MotorJointDef____20const__29($0 + 7672 | 0); - $7 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12548 >> 2] = HEAP32[$0 + 7664 >> 2]; - _embind_register_class_property($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 7664 >> 2], float_20b2MotorJointDef_____20emscripten__internal__getContext_float_20b2MotorJointDef_____28float_20b2MotorJointDef____20const__29($0 + 7672 | 0) | 0); - HEAP32[$0 + 7764 >> 2] = $0 + 2274; - HEAP32[$0 + 7760 >> 2] = 2728; - void_20emscripten__base_b2Joint___verify_b2MotorJoint__28_29(); - HEAP32[$0 + 7756 >> 2] = 254; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2Joint__20_28_emscripten__base_b2Joint___getUpcaster_b2MotorJoint__28_29_29_28b2MotorJoint__29(), - HEAP32[wasm2js_i32$0 + 7752 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2MotorJoint__20_28_emscripten__base_b2Joint___getDowncaster_b2MotorJoint__28_29_29_28b2Joint__29(), - HEAP32[wasm2js_i32$0 + 7748 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 7744 >> 2] = 255; - $1 = emscripten__internal__TypeID_b2MotorJoint_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2MotorJoint__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2MotorJoint_20const__2c_20void___get_28_29(); - $4 = emscripten__base_b2Joint___get_28_29(); - HEAP32[$0 + 12552 >> 2] = HEAP32[$0 + 7756 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 7756 >> 2]; - HEAP32[$0 + 12556 >> 2] = HEAP32[$0 + 7752 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $8 = HEAP32[$0 + 7752 >> 2]; - HEAP32[$0 + 12560 >> 2] = HEAP32[$0 + 7748 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $10 = HEAP32[$0 + 7748 >> 2]; - $11 = HEAP32[$0 + 7760 >> 2]; - HEAP32[$0 + 12564 >> 2] = HEAP32[$0 + 7744 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 7744 >> 2]); - HEAP32[$0 + 2268 >> 2] = 0; - HEAP32[$0 + 2264 >> 2] = 256; - $1 = HEAP32[$0 + 2268 >> 2]; - $2 = HEAP32[$0 + 2264 >> 2]; - HEAP32[$0 + 7768 >> 2] = $2; - HEAP32[$0 + 7772 >> 2] = $1; - $1 = HEAP32[$0 + 7768 >> 2]; - $2 = HEAP32[$0 + 7772 >> 2]; - HEAP32[$0 + 7796 >> 2] = $0 + 2274; - HEAP32[$0 + 7792 >> 2] = 3122; - HEAP32[$0 + 7788 >> 2] = $2; - HEAP32[$0 + 7784 >> 2] = $1; - $3 = HEAP32[$0 + 7796 >> 2]; - $4 = HEAP32[$0 + 7792 >> 2]; - $1 = HEAP32[$0 + 7784 >> 2]; - HEAP32[$0 + 7780 >> 2] = HEAP32[$0 + 7788 >> 2]; - HEAP32[$0 + 7776 >> 2] = $1; - $2 = HEAP32[$0 + 7780 >> 2]; - $1 = HEAP32[$0 + 7776 >> 2]; - HEAP32[$0 + 688 >> 2] = $1; - HEAP32[$0 + 692 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2MotorJoint____29_28b2Vec2_20const__29___invoke_b2MotorJoint__28char_20const__2c_20void_20_28b2MotorJoint____29_28b2Vec2_20const__29_29($4, $0 + 688 | 0); - HEAP32[$0 + 2260 >> 2] = 0; - HEAP32[$0 + 2256 >> 2] = 257; - $1 = HEAP32[$0 + 2260 >> 2]; - $2 = HEAP32[$0 + 2256 >> 2]; - HEAP32[$0 + 7800 >> 2] = $2; - HEAP32[$0 + 7804 >> 2] = $1; - $1 = HEAP32[$0 + 7800 >> 2]; - $2 = HEAP32[$0 + 7804 >> 2]; - HEAP32[$0 + 7828 >> 2] = $3; - HEAP32[$0 + 7824 >> 2] = 3138; - HEAP32[$0 + 7820 >> 2] = $2; - HEAP32[$0 + 7816 >> 2] = $1; - $3 = HEAP32[$0 + 7828 >> 2]; - $4 = HEAP32[$0 + 7824 >> 2]; - $1 = HEAP32[$0 + 7816 >> 2]; - HEAP32[$0 + 7812 >> 2] = HEAP32[$0 + 7820 >> 2]; - HEAP32[$0 + 7808 >> 2] = $1; - $2 = HEAP32[$0 + 7812 >> 2]; - $1 = HEAP32[$0 + 7808 >> 2]; - HEAP32[$0 + 680 >> 2] = $1; - HEAP32[$0 + 684 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2MotorJoint____29_28_29_20const___invoke_b2MotorJoint__28char_20const__2c_20b2Vec2_20const__20_28b2MotorJoint____29_28_29_20const_29($4, $0 + 680 | 0); - HEAP32[$0 + 2252 >> 2] = 0; - HEAP32[$0 + 2248 >> 2] = 258; - $1 = HEAP32[$0 + 2252 >> 2]; - $2 = HEAP32[$0 + 2248 >> 2]; - HEAP32[$0 + 7928 >> 2] = $2; - HEAP32[$0 + 7932 >> 2] = $1; - $1 = HEAP32[$0 + 7928 >> 2]; - $2 = HEAP32[$0 + 7932 >> 2]; - HEAP32[$0 + 7956 >> 2] = $3; - HEAP32[$0 + 7952 >> 2] = 3075; - HEAP32[$0 + 7948 >> 2] = $2; - HEAP32[$0 + 7944 >> 2] = $1; - $3 = HEAP32[$0 + 7956 >> 2]; - $4 = HEAP32[$0 + 7952 >> 2]; - $1 = HEAP32[$0 + 7944 >> 2]; - HEAP32[$0 + 7940 >> 2] = HEAP32[$0 + 7948 >> 2]; - HEAP32[$0 + 7936 >> 2] = $1; - $2 = HEAP32[$0 + 7940 >> 2]; - $1 = HEAP32[$0 + 7936 >> 2]; - HEAP32[$0 + 672 >> 2] = $1; - HEAP32[$0 + 676 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2MotorJoint____29_28float_29___invoke_b2MotorJoint__28char_20const__2c_20void_20_28b2MotorJoint____29_28float_29_29($4, $0 + 672 | 0); - HEAP32[$0 + 2244 >> 2] = 0; - HEAP32[$0 + 2240 >> 2] = 259; - $1 = HEAP32[$0 + 2244 >> 2]; - $2 = HEAP32[$0 + 2240 >> 2]; - HEAP32[$0 + 8056 >> 2] = $2; - HEAP32[$0 + 8060 >> 2] = $1; - $1 = HEAP32[$0 + 8056 >> 2]; - $2 = HEAP32[$0 + 8060 >> 2]; - HEAP32[$0 + 8084 >> 2] = $3; - HEAP32[$0 + 8080 >> 2] = 3092; - HEAP32[$0 + 8076 >> 2] = $2; - HEAP32[$0 + 8072 >> 2] = $1; - $3 = HEAP32[$0 + 8084 >> 2]; - $4 = HEAP32[$0 + 8080 >> 2]; - $1 = HEAP32[$0 + 8072 >> 2]; - HEAP32[$0 + 8068 >> 2] = HEAP32[$0 + 8076 >> 2]; - HEAP32[$0 + 8064 >> 2] = $1; - $2 = HEAP32[$0 + 8068 >> 2]; - $1 = HEAP32[$0 + 8064 >> 2]; - HEAP32[$0 + 664 >> 2] = $1; - HEAP32[$0 + 668 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2MotorJoint____29_28_29_20const___invoke_b2MotorJoint__28char_20const__2c_20float_20_28b2MotorJoint____29_28_29_20const_29($4, $0 + 664 | 0); - HEAP32[$0 + 2236 >> 2] = 0; - HEAP32[$0 + 2232 >> 2] = 260; - $1 = HEAP32[$0 + 2236 >> 2]; - $2 = HEAP32[$0 + 2232 >> 2]; - HEAP32[$0 + 7896 >> 2] = $2; - HEAP32[$0 + 7900 >> 2] = $1; - $1 = HEAP32[$0 + 7896 >> 2]; - $2 = HEAP32[$0 + 7900 >> 2]; - HEAP32[$0 + 7924 >> 2] = $3; - HEAP32[$0 + 7920 >> 2] = 10089; - HEAP32[$0 + 7916 >> 2] = $2; - HEAP32[$0 + 7912 >> 2] = $1; - $3 = HEAP32[$0 + 7924 >> 2]; - $4 = HEAP32[$0 + 7920 >> 2]; - $1 = HEAP32[$0 + 7912 >> 2]; - HEAP32[$0 + 7908 >> 2] = HEAP32[$0 + 7916 >> 2]; - HEAP32[$0 + 7904 >> 2] = $1; - $2 = HEAP32[$0 + 7908 >> 2]; - $1 = HEAP32[$0 + 7904 >> 2]; - HEAP32[$0 + 656 >> 2] = $1; - HEAP32[$0 + 660 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2MotorJoint____29_28float_29___invoke_b2MotorJoint__28char_20const__2c_20void_20_28b2MotorJoint____29_28float_29_29($4, $0 + 656 | 0); - HEAP32[$0 + 2228 >> 2] = 0; - HEAP32[$0 + 2224 >> 2] = 261; - $1 = HEAP32[$0 + 2228 >> 2]; - $2 = HEAP32[$0 + 2224 >> 2]; - HEAP32[$0 + 8024 >> 2] = $2; - HEAP32[$0 + 8028 >> 2] = $1; - $1 = HEAP32[$0 + 8024 >> 2]; - $2 = HEAP32[$0 + 8028 >> 2]; - HEAP32[$0 + 8052 >> 2] = $3; - HEAP32[$0 + 8048 >> 2] = 10101; - HEAP32[$0 + 8044 >> 2] = $2; - HEAP32[$0 + 8040 >> 2] = $1; - $3 = HEAP32[$0 + 8052 >> 2]; - $4 = HEAP32[$0 + 8048 >> 2]; - $1 = HEAP32[$0 + 8040 >> 2]; - HEAP32[$0 + 8036 >> 2] = HEAP32[$0 + 8044 >> 2]; - HEAP32[$0 + 8032 >> 2] = $1; - $2 = HEAP32[$0 + 8036 >> 2]; - $1 = HEAP32[$0 + 8032 >> 2]; - HEAP32[$0 + 648 >> 2] = $1; - HEAP32[$0 + 652 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2MotorJoint____29_28_29_20const___invoke_b2MotorJoint__28char_20const__2c_20float_20_28b2MotorJoint____29_28_29_20const_29($4, $0 + 648 | 0); - HEAP32[$0 + 2220 >> 2] = 0; - HEAP32[$0 + 2216 >> 2] = 262; - $1 = HEAP32[$0 + 2220 >> 2]; - $2 = HEAP32[$0 + 2216 >> 2]; - HEAP32[$0 + 7864 >> 2] = $2; - HEAP32[$0 + 7868 >> 2] = $1; - $1 = HEAP32[$0 + 7864 >> 2]; - $2 = HEAP32[$0 + 7868 >> 2]; - HEAP32[$0 + 7892 >> 2] = $3; - HEAP32[$0 + 7888 >> 2] = 8942; - HEAP32[$0 + 7884 >> 2] = $2; - HEAP32[$0 + 7880 >> 2] = $1; - $3 = HEAP32[$0 + 7892 >> 2]; - $4 = HEAP32[$0 + 7888 >> 2]; - $1 = HEAP32[$0 + 7880 >> 2]; - HEAP32[$0 + 7876 >> 2] = HEAP32[$0 + 7884 >> 2]; - HEAP32[$0 + 7872 >> 2] = $1; - $2 = HEAP32[$0 + 7876 >> 2]; - $1 = HEAP32[$0 + 7872 >> 2]; - HEAP32[$0 + 640 >> 2] = $1; - HEAP32[$0 + 644 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2MotorJoint____29_28float_29___invoke_b2MotorJoint__28char_20const__2c_20void_20_28b2MotorJoint____29_28float_29_29($4, $0 + 640 | 0); - HEAP32[$0 + 2212 >> 2] = 0; - HEAP32[$0 + 2208 >> 2] = 263; - $1 = HEAP32[$0 + 2212 >> 2]; - $2 = HEAP32[$0 + 2208 >> 2]; - HEAP32[$0 + 7992 >> 2] = $2; - HEAP32[$0 + 7996 >> 2] = $1; - $1 = HEAP32[$0 + 7992 >> 2]; - $2 = HEAP32[$0 + 7996 >> 2]; - HEAP32[$0 + 8020 >> 2] = $3; - HEAP32[$0 + 8016 >> 2] = 8955; - HEAP32[$0 + 8012 >> 2] = $2; - HEAP32[$0 + 8008 >> 2] = $1; - $3 = HEAP32[$0 + 8020 >> 2]; - $4 = HEAP32[$0 + 8016 >> 2]; - $1 = HEAP32[$0 + 8008 >> 2]; - HEAP32[$0 + 8004 >> 2] = HEAP32[$0 + 8012 >> 2]; - HEAP32[$0 + 8e3 >> 2] = $1; - $2 = HEAP32[$0 + 8004 >> 2]; - $1 = HEAP32[$0 + 8e3 >> 2]; - HEAP32[$0 + 632 >> 2] = $1; - HEAP32[$0 + 636 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2MotorJoint____29_28_29_20const___invoke_b2MotorJoint__28char_20const__2c_20float_20_28b2MotorJoint____29_28_29_20const_29($4, $0 + 632 | 0); - HEAP32[$0 + 2204 >> 2] = 0; - HEAP32[$0 + 2200 >> 2] = 264; - $1 = HEAP32[$0 + 2204 >> 2]; - $2 = HEAP32[$0 + 2200 >> 2]; - HEAP32[$0 + 7832 >> 2] = $2; - HEAP32[$0 + 7836 >> 2] = $1; - $1 = HEAP32[$0 + 7832 >> 2]; - $2 = HEAP32[$0 + 7836 >> 2]; - HEAP32[$0 + 7860 >> 2] = $3; - HEAP32[$0 + 7856 >> 2] = 3914; - HEAP32[$0 + 7852 >> 2] = $2; - HEAP32[$0 + 7848 >> 2] = $1; - $3 = HEAP32[$0 + 7860 >> 2]; - $4 = HEAP32[$0 + 7856 >> 2]; - $1 = HEAP32[$0 + 7848 >> 2]; - HEAP32[$0 + 7844 >> 2] = HEAP32[$0 + 7852 >> 2]; - HEAP32[$0 + 7840 >> 2] = $1; - $2 = HEAP32[$0 + 7844 >> 2]; - $1 = HEAP32[$0 + 7840 >> 2]; - HEAP32[$0 + 624 >> 2] = $1; - HEAP32[$0 + 628 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2MotorJoint____29_28float_29___invoke_b2MotorJoint__28char_20const__2c_20void_20_28b2MotorJoint____29_28float_29_29($4, $0 + 624 | 0); - HEAP32[$0 + 2196 >> 2] = 0; - HEAP32[$0 + 2192 >> 2] = 265; - $1 = HEAP32[$0 + 2196 >> 2]; - $2 = HEAP32[$0 + 2192 >> 2]; - HEAP32[$0 + 7960 >> 2] = $2; - HEAP32[$0 + 7964 >> 2] = $1; - $1 = HEAP32[$0 + 7960 >> 2]; - $2 = HEAP32[$0 + 7964 >> 2]; - HEAP32[$0 + 7988 >> 2] = $3; - HEAP32[$0 + 7984 >> 2] = 3934; - HEAP32[$0 + 7980 >> 2] = $2; - HEAP32[$0 + 7976 >> 2] = $1; - $3 = HEAP32[$0 + 7988 >> 2]; - $4 = HEAP32[$0 + 7984 >> 2]; - $1 = HEAP32[$0 + 7976 >> 2]; - HEAP32[$0 + 7972 >> 2] = HEAP32[$0 + 7980 >> 2]; - HEAP32[$0 + 7968 >> 2] = $1; - $2 = HEAP32[$0 + 7972 >> 2]; - $1 = HEAP32[$0 + 7968 >> 2]; - HEAP32[$0 + 616 >> 2] = $1; - HEAP32[$0 + 620 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2MotorJoint____29_28_29_20const___invoke_b2MotorJoint__28char_20const__2c_20float_20_28b2MotorJoint____29_28_29_20const_29($4, $0 + 616 | 0); - HEAP32[$0 + 2188 >> 2] = 1; - HEAP32[$0 + 2184 >> 2] = 16; - $1 = HEAP32[$0 + 2188 >> 2]; - $2 = HEAP32[$0 + 2184 >> 2]; - HEAP32[$0 + 8088 >> 2] = $2; - HEAP32[$0 + 8092 >> 2] = $1; - $1 = HEAP32[$0 + 8088 >> 2]; - $2 = HEAP32[$0 + 8092 >> 2]; - HEAP32[$0 + 8120 >> 2] = $3; - HEAP32[$0 + 8116 >> 2] = 6324; - HEAP32[$0 + 8112 >> 2] = $2; - HEAP32[$0 + 8108 >> 2] = $1; - $3 = HEAP32[$0 + 8116 >> 2]; - $1 = HEAP32[$0 + 8108 >> 2]; - HEAP32[$0 + 8104 >> 2] = HEAP32[$0 + 8112 >> 2]; - HEAP32[$0 + 8100 >> 2] = $1; - $2 = HEAP32[$0 + 8104 >> 2]; - $1 = HEAP32[$0 + 8100 >> 2]; - HEAP32[$0 + 608 >> 2] = $1; - HEAP32[$0 + 612 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2MotorJoint____29_28_29___invoke_b2MotorJoint__28char_20const__2c_20void_20_28b2MotorJoint____29_28_29_29($3, $0 + 608 | 0); - HEAP32[$0 + 8144 >> 2] = $0 + 2183; - HEAP32[$0 + 8140 >> 2] = 8088; - void_20emscripten__base_b2JointDef___verify_b2MouseJointDef__28_29(); - HEAP32[$0 + 8136 >> 2] = 266; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2JointDef__20_28_emscripten__base_b2JointDef___getUpcaster_b2MouseJointDef__28_29_29_28b2MouseJointDef__29(), - HEAP32[wasm2js_i32$0 + 8132 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2MouseJointDef__20_28_emscripten__base_b2JointDef___getDowncaster_b2MouseJointDef__28_29_29_28b2JointDef__29(), - HEAP32[wasm2js_i32$0 + 8128 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 8124 >> 2] = 267; - $1 = emscripten__internal__TypeID_b2MouseJointDef_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2MouseJointDef__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2MouseJointDef_20const__2c_20void___get_28_29(); - $4 = emscripten__base_b2JointDef___get_28_29(); - HEAP32[$0 + 12568 >> 2] = HEAP32[$0 + 8136 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 8136 >> 2]; - HEAP32[$0 + 12572 >> 2] = HEAP32[$0 + 8132 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $8 = HEAP32[$0 + 8132 >> 2]; - HEAP32[$0 + 12576 >> 2] = HEAP32[$0 + 8128 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $10 = HEAP32[$0 + 8128 >> 2]; - $11 = HEAP32[$0 + 8140 >> 2]; - HEAP32[$0 + 12580 >> 2] = HEAP32[$0 + 8124 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 8124 >> 2]); - HEAP32[$0 + 8148 >> 2] = $0 + 2183; - HEAP32[$0 + 12588 >> 2] = HEAP32[$0 + 8148 >> 2]; - HEAP32[$0 + 12584 >> 2] = 268; - $1 = HEAP32[$0 + 12588 >> 2]; - void_20emscripten__internal__RegisterClassConstructor_b2MouseJointDef__20_28__29_28_29___invoke_b2MouseJointDef__28b2MouseJointDef__20_28__29_28_29_29(HEAP32[$0 + 12584 >> 2]); - HEAP32[$0 + 8168 >> 2] = $1; - HEAP32[$0 + 8164 >> 2] = 3180; - HEAP32[$0 + 8160 >> 2] = 20; - $1 = HEAP32[$0 + 8168 >> 2]; - HEAP32[$0 + 8156 >> 2] = 269; - HEAP32[$0 + 8152 >> 2] = 270; - $2 = emscripten__internal__TypeID_b2MouseJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 8164 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12592 >> 2] = HEAP32[$0 + 8156 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 8156 >> 2]; - $7 = b2Vec2_20b2MouseJointDef_____20emscripten__internal__getContext_b2Vec2_20b2MouseJointDef_____28b2Vec2_20b2MouseJointDef____20const__29($0 + 8160 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12596 >> 2] = HEAP32[$0 + 8152 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 8152 >> 2], b2Vec2_20b2MouseJointDef_____20emscripten__internal__getContext_b2Vec2_20b2MouseJointDef_____28b2Vec2_20b2MouseJointDef____20const__29($0 + 8160 | 0) | 0); - HEAP32[$0 + 8228 >> 2] = $1; - HEAP32[$0 + 8224 >> 2] = 10080; - HEAP32[$0 + 8220 >> 2] = 28; - $1 = HEAP32[$0 + 8228 >> 2]; - HEAP32[$0 + 8216 >> 2] = 271; - HEAP32[$0 + 8212 >> 2] = 272; - $2 = emscripten__internal__TypeID_b2MouseJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 8224 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12600 >> 2] = HEAP32[$0 + 8216 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 8216 >> 2]; - $7 = float_20b2MouseJointDef_____20emscripten__internal__getContext_float_20b2MouseJointDef_____28float_20b2MouseJointDef____20const__29($0 + 8220 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12612 >> 2] = HEAP32[$0 + 8212 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 8212 >> 2], float_20b2MouseJointDef_____20emscripten__internal__getContext_float_20b2MouseJointDef_____28float_20b2MouseJointDef____20const__29($0 + 8220 | 0) | 0); - HEAP32[$0 + 8208 >> 2] = $1; - HEAP32[$0 + 8204 >> 2] = 1024; - HEAP32[$0 + 8200 >> 2] = 32; - $1 = HEAP32[$0 + 8208 >> 2]; - HEAP32[$0 + 8196 >> 2] = 271; - HEAP32[$0 + 8192 >> 2] = 272; - $2 = emscripten__internal__TypeID_b2MouseJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 8204 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12604 >> 2] = HEAP32[$0 + 8196 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 8196 >> 2]; - $7 = float_20b2MouseJointDef_____20emscripten__internal__getContext_float_20b2MouseJointDef_____28float_20b2MouseJointDef____20const__29($0 + 8200 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12616 >> 2] = HEAP32[$0 + 8192 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 8192 >> 2], float_20b2MouseJointDef_____20emscripten__internal__getContext_float_20b2MouseJointDef_____28float_20b2MouseJointDef____20const__29($0 + 8200 | 0) | 0); - HEAP32[$0 + 8188 >> 2] = $1; - HEAP32[$0 + 8184 >> 2] = 6366; - HEAP32[$0 + 8180 >> 2] = 36; - HEAP32[$0 + 8176 >> 2] = 271; - HEAP32[$0 + 8172 >> 2] = 272; - $1 = emscripten__internal__TypeID_b2MouseJointDef_2c_20void___get_28_29(); - $2 = HEAP32[$0 + 8184 >> 2]; - $3 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12608 >> 2] = HEAP32[$0 + 8176 >> 2]; - $4 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $5 = HEAP32[$0 + 8176 >> 2]; - $6 = float_20b2MouseJointDef_____20emscripten__internal__getContext_float_20b2MouseJointDef_____28float_20b2MouseJointDef____20const__29($0 + 8180 | 0); - $7 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12620 >> 2] = HEAP32[$0 + 8172 >> 2]; - _embind_register_class_property($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 8172 >> 2], float_20b2MouseJointDef_____20emscripten__internal__getContext_float_20b2MouseJointDef_____28float_20b2MouseJointDef____20const__29($0 + 8180 | 0) | 0); - HEAP32[$0 + 8252 >> 2] = $0 + 2182; - HEAP32[$0 + 8248 >> 2] = 2790; - void_20emscripten__base_b2Joint___verify_b2MouseJoint__28_29(); - HEAP32[$0 + 8244 >> 2] = 273; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2Joint__20_28_emscripten__base_b2Joint___getUpcaster_b2MouseJoint__28_29_29_28b2MouseJoint__29(), - HEAP32[wasm2js_i32$0 + 8240 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2MouseJoint__20_28_emscripten__base_b2Joint___getDowncaster_b2MouseJoint__28_29_29_28b2Joint__29(), - HEAP32[wasm2js_i32$0 + 8236 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 8232 >> 2] = 274; - $1 = emscripten__internal__TypeID_b2MouseJoint_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2MouseJoint__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2MouseJoint_20const__2c_20void___get_28_29(); - $4 = emscripten__base_b2Joint___get_28_29(); - HEAP32[$0 + 12624 >> 2] = HEAP32[$0 + 8244 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 8244 >> 2]; - HEAP32[$0 + 12628 >> 2] = HEAP32[$0 + 8240 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $8 = HEAP32[$0 + 8240 >> 2]; - HEAP32[$0 + 12632 >> 2] = HEAP32[$0 + 8236 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $10 = HEAP32[$0 + 8236 >> 2]; - $11 = HEAP32[$0 + 8248 >> 2]; - HEAP32[$0 + 12636 >> 2] = HEAP32[$0 + 8232 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 8232 >> 2]); - HEAP32[$0 + 2176 >> 2] = 0; - HEAP32[$0 + 2172 >> 2] = 275; - $1 = HEAP32[$0 + 2176 >> 2]; - $2 = HEAP32[$0 + 2172 >> 2]; - HEAP32[$0 + 8256 >> 2] = $2; - HEAP32[$0 + 8260 >> 2] = $1; - $1 = HEAP32[$0 + 8256 >> 2]; - $2 = HEAP32[$0 + 8260 >> 2]; - HEAP32[$0 + 8284 >> 2] = $0 + 2182; - HEAP32[$0 + 8280 >> 2] = 3187; - HEAP32[$0 + 8276 >> 2] = $2; - HEAP32[$0 + 8272 >> 2] = $1; - $3 = HEAP32[$0 + 8284 >> 2]; - $4 = HEAP32[$0 + 8280 >> 2]; - $1 = HEAP32[$0 + 8272 >> 2]; - HEAP32[$0 + 8268 >> 2] = HEAP32[$0 + 8276 >> 2]; - HEAP32[$0 + 8264 >> 2] = $1; - $2 = HEAP32[$0 + 8268 >> 2]; - $1 = HEAP32[$0 + 8264 >> 2]; - HEAP32[$0 + 600 >> 2] = $1; - HEAP32[$0 + 604 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2MouseJoint____29_28b2Vec2_20const__29___invoke_b2MouseJoint__28char_20const__2c_20void_20_28b2MouseJoint____29_28b2Vec2_20const__29_29($4, $0 + 600 | 0); - HEAP32[$0 + 2168 >> 2] = 0; - HEAP32[$0 + 2164 >> 2] = 276; - $1 = HEAP32[$0 + 2168 >> 2]; - $2 = HEAP32[$0 + 2164 >> 2]; - HEAP32[$0 + 8288 >> 2] = $2; - HEAP32[$0 + 8292 >> 2] = $1; - $1 = HEAP32[$0 + 8288 >> 2]; - $2 = HEAP32[$0 + 8292 >> 2]; - HEAP32[$0 + 8316 >> 2] = $3; - HEAP32[$0 + 8312 >> 2] = 3197; - HEAP32[$0 + 8308 >> 2] = $2; - HEAP32[$0 + 8304 >> 2] = $1; - $3 = HEAP32[$0 + 8316 >> 2]; - $4 = HEAP32[$0 + 8312 >> 2]; - $1 = HEAP32[$0 + 8304 >> 2]; - HEAP32[$0 + 8300 >> 2] = HEAP32[$0 + 8308 >> 2]; - HEAP32[$0 + 8296 >> 2] = $1; - $2 = HEAP32[$0 + 8300 >> 2]; - $1 = HEAP32[$0 + 8296 >> 2]; - HEAP32[$0 + 592 >> 2] = $1; - HEAP32[$0 + 596 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2MouseJoint____29_28_29_20const___invoke_b2MouseJoint__28char_20const__2c_20b2Vec2_20const__20_28b2MouseJoint____29_28_29_20const_29($4, $0 + 592 | 0); - HEAP32[$0 + 2160 >> 2] = 0; - HEAP32[$0 + 2156 >> 2] = 277; - $1 = HEAP32[$0 + 2160 >> 2]; - $2 = HEAP32[$0 + 2156 >> 2]; - HEAP32[$0 + 8384 >> 2] = $2; - HEAP32[$0 + 8388 >> 2] = $1; - $1 = HEAP32[$0 + 8384 >> 2]; - $2 = HEAP32[$0 + 8388 >> 2]; - HEAP32[$0 + 8412 >> 2] = $3; - HEAP32[$0 + 8408 >> 2] = 10089; - HEAP32[$0 + 8404 >> 2] = $2; - HEAP32[$0 + 8400 >> 2] = $1; - $3 = HEAP32[$0 + 8412 >> 2]; - $4 = HEAP32[$0 + 8408 >> 2]; - $1 = HEAP32[$0 + 8400 >> 2]; - HEAP32[$0 + 8396 >> 2] = HEAP32[$0 + 8404 >> 2]; - HEAP32[$0 + 8392 >> 2] = $1; - $2 = HEAP32[$0 + 8396 >> 2]; - $1 = HEAP32[$0 + 8392 >> 2]; - HEAP32[$0 + 584 >> 2] = $1; - HEAP32[$0 + 588 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2MouseJoint____29_28float_29___invoke_b2MouseJoint__28char_20const__2c_20void_20_28b2MouseJoint____29_28float_29_29($4, $0 + 584 | 0); - HEAP32[$0 + 2152 >> 2] = 0; - HEAP32[$0 + 2148 >> 2] = 278; - $1 = HEAP32[$0 + 2152 >> 2]; - $2 = HEAP32[$0 + 2148 >> 2]; - HEAP32[$0 + 8480 >> 2] = $2; - HEAP32[$0 + 8484 >> 2] = $1; - $1 = HEAP32[$0 + 8480 >> 2]; - $2 = HEAP32[$0 + 8484 >> 2]; - HEAP32[$0 + 8508 >> 2] = $3; - HEAP32[$0 + 8504 >> 2] = 10101; - HEAP32[$0 + 8500 >> 2] = $2; - HEAP32[$0 + 8496 >> 2] = $1; - $3 = HEAP32[$0 + 8508 >> 2]; - $4 = HEAP32[$0 + 8504 >> 2]; - $1 = HEAP32[$0 + 8496 >> 2]; - HEAP32[$0 + 8492 >> 2] = HEAP32[$0 + 8500 >> 2]; - HEAP32[$0 + 8488 >> 2] = $1; - $2 = HEAP32[$0 + 8492 >> 2]; - $1 = HEAP32[$0 + 8488 >> 2]; - HEAP32[$0 + 576 >> 2] = $1; - HEAP32[$0 + 580 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2MouseJoint____29_28_29_20const___invoke_b2MouseJoint__28char_20const__2c_20float_20_28b2MouseJoint____29_28_29_20const_29($4, $0 + 576 | 0); - HEAP32[$0 + 2144 >> 2] = 0; - HEAP32[$0 + 2140 >> 2] = 279; - $1 = HEAP32[$0 + 2144 >> 2]; - $2 = HEAP32[$0 + 2140 >> 2]; - HEAP32[$0 + 8352 >> 2] = $2; - HEAP32[$0 + 8356 >> 2] = $1; - $1 = HEAP32[$0 + 8352 >> 2]; - $2 = HEAP32[$0 + 8356 >> 2]; - HEAP32[$0 + 8380 >> 2] = $3; - HEAP32[$0 + 8376 >> 2] = 1764; - HEAP32[$0 + 8372 >> 2] = $2; - HEAP32[$0 + 8368 >> 2] = $1; - $3 = HEAP32[$0 + 8380 >> 2]; - $4 = HEAP32[$0 + 8376 >> 2]; - $1 = HEAP32[$0 + 8368 >> 2]; - HEAP32[$0 + 8364 >> 2] = HEAP32[$0 + 8372 >> 2]; - HEAP32[$0 + 8360 >> 2] = $1; - $2 = HEAP32[$0 + 8364 >> 2]; - $1 = HEAP32[$0 + 8360 >> 2]; - HEAP32[$0 + 568 >> 2] = $1; - HEAP32[$0 + 572 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2MouseJoint____29_28float_29___invoke_b2MouseJoint__28char_20const__2c_20void_20_28b2MouseJoint____29_28float_29_29($4, $0 + 568 | 0); - HEAP32[$0 + 2136 >> 2] = 0; - HEAP32[$0 + 2132 >> 2] = 280; - $1 = HEAP32[$0 + 2136 >> 2]; - $2 = HEAP32[$0 + 2132 >> 2]; - HEAP32[$0 + 8448 >> 2] = $2; - HEAP32[$0 + 8452 >> 2] = $1; - $1 = HEAP32[$0 + 8448 >> 2]; - $2 = HEAP32[$0 + 8452 >> 2]; - HEAP32[$0 + 8476 >> 2] = $3; - HEAP32[$0 + 8472 >> 2] = 1777; - HEAP32[$0 + 8468 >> 2] = $2; - HEAP32[$0 + 8464 >> 2] = $1; - $3 = HEAP32[$0 + 8476 >> 2]; - $4 = HEAP32[$0 + 8472 >> 2]; - $1 = HEAP32[$0 + 8464 >> 2]; - HEAP32[$0 + 8460 >> 2] = HEAP32[$0 + 8468 >> 2]; - HEAP32[$0 + 8456 >> 2] = $1; - $2 = HEAP32[$0 + 8460 >> 2]; - $1 = HEAP32[$0 + 8456 >> 2]; - HEAP32[$0 + 560 >> 2] = $1; - HEAP32[$0 + 564 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2MouseJoint____29_28_29_20const___invoke_b2MouseJoint__28char_20const__2c_20float_20_28b2MouseJoint____29_28_29_20const_29($4, $0 + 560 | 0); - HEAP32[$0 + 2128 >> 2] = 0; - HEAP32[$0 + 2124 >> 2] = 281; - $1 = HEAP32[$0 + 2128 >> 2]; - $2 = HEAP32[$0 + 2124 >> 2]; - HEAP32[$0 + 8320 >> 2] = $2; - HEAP32[$0 + 8324 >> 2] = $1; - $1 = HEAP32[$0 + 8320 >> 2]; - $2 = HEAP32[$0 + 8324 >> 2]; - HEAP32[$0 + 8348 >> 2] = $3; - HEAP32[$0 + 8344 >> 2] = 6379; - HEAP32[$0 + 8340 >> 2] = $2; - HEAP32[$0 + 8336 >> 2] = $1; - $3 = HEAP32[$0 + 8348 >> 2]; - $4 = HEAP32[$0 + 8344 >> 2]; - $1 = HEAP32[$0 + 8336 >> 2]; - HEAP32[$0 + 8332 >> 2] = HEAP32[$0 + 8340 >> 2]; - HEAP32[$0 + 8328 >> 2] = $1; - $2 = HEAP32[$0 + 8332 >> 2]; - $1 = HEAP32[$0 + 8328 >> 2]; - HEAP32[$0 + 552 >> 2] = $1; - HEAP32[$0 + 556 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2MouseJoint____29_28float_29___invoke_b2MouseJoint__28char_20const__2c_20void_20_28b2MouseJoint____29_28float_29_29($4, $0 + 552 | 0); - HEAP32[$0 + 2120 >> 2] = 0; - HEAP32[$0 + 2116 >> 2] = 282; - $1 = HEAP32[$0 + 2120 >> 2]; - $2 = HEAP32[$0 + 2116 >> 2]; - HEAP32[$0 + 8416 >> 2] = $2; - HEAP32[$0 + 8420 >> 2] = $1; - $1 = HEAP32[$0 + 8416 >> 2]; - $2 = HEAP32[$0 + 8420 >> 2]; - HEAP32[$0 + 8444 >> 2] = $3; - HEAP32[$0 + 8440 >> 2] = 6395; - HEAP32[$0 + 8436 >> 2] = $2; - HEAP32[$0 + 8432 >> 2] = $1; - $3 = HEAP32[$0 + 8444 >> 2]; - $4 = HEAP32[$0 + 8440 >> 2]; - $1 = HEAP32[$0 + 8432 >> 2]; - HEAP32[$0 + 8428 >> 2] = HEAP32[$0 + 8436 >> 2]; - HEAP32[$0 + 8424 >> 2] = $1; - $2 = HEAP32[$0 + 8428 >> 2]; - $1 = HEAP32[$0 + 8424 >> 2]; - HEAP32[$0 + 544 >> 2] = $1; - HEAP32[$0 + 548 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2MouseJoint____29_28_29_20const___invoke_b2MouseJoint__28char_20const__2c_20float_20_28b2MouseJoint____29_28_29_20const_29($4, $0 + 544 | 0); - HEAP32[$0 + 2112 >> 2] = 1; - HEAP32[$0 + 2108 >> 2] = 16; - $1 = HEAP32[$0 + 2112 >> 2]; - $2 = HEAP32[$0 + 2108 >> 2]; - HEAP32[$0 + 8512 >> 2] = $2; - HEAP32[$0 + 8516 >> 2] = $1; - $1 = HEAP32[$0 + 8512 >> 2]; - $2 = HEAP32[$0 + 8516 >> 2]; - HEAP32[$0 + 8544 >> 2] = $3; - HEAP32[$0 + 8540 >> 2] = 6324; - HEAP32[$0 + 8536 >> 2] = $2; - HEAP32[$0 + 8532 >> 2] = $1; - $3 = HEAP32[$0 + 8540 >> 2]; - $1 = HEAP32[$0 + 8532 >> 2]; - HEAP32[$0 + 8528 >> 2] = HEAP32[$0 + 8536 >> 2]; - HEAP32[$0 + 8524 >> 2] = $1; - $2 = HEAP32[$0 + 8528 >> 2]; - $1 = HEAP32[$0 + 8524 >> 2]; - HEAP32[$0 + 536 >> 2] = $1; - HEAP32[$0 + 540 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2MouseJoint____29_28_29___invoke_b2MouseJoint__28char_20const__2c_20void_20_28b2MouseJoint____29_28_29_29($3, $0 + 536 | 0); - HEAP32[$0 + 8568 >> 2] = $0 + 2107; - HEAP32[$0 + 8564 >> 2] = 8145; - void_20emscripten__base_b2JointDef___verify_b2PrismaticJointDef__28_29(); - HEAP32[$0 + 8560 >> 2] = 283; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2JointDef__20_28_emscripten__base_b2JointDef___getUpcaster_b2PrismaticJointDef__28_29_29_28b2PrismaticJointDef__29(), - HEAP32[wasm2js_i32$0 + 8556 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2PrismaticJointDef__20_28_emscripten__base_b2JointDef___getDowncaster_b2PrismaticJointDef__28_29_29_28b2JointDef__29(), - HEAP32[wasm2js_i32$0 + 8552 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 8548 >> 2] = 284; - $1 = emscripten__internal__TypeID_b2PrismaticJointDef_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2PrismaticJointDef__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2PrismaticJointDef_20const__2c_20void___get_28_29(); - $4 = emscripten__base_b2JointDef___get_28_29(); - HEAP32[$0 + 12640 >> 2] = HEAP32[$0 + 8560 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 8560 >> 2]; - HEAP32[$0 + 12644 >> 2] = HEAP32[$0 + 8556 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $8 = HEAP32[$0 + 8556 >> 2]; - HEAP32[$0 + 12648 >> 2] = HEAP32[$0 + 8552 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $10 = HEAP32[$0 + 8552 >> 2]; - $11 = HEAP32[$0 + 8564 >> 2]; - HEAP32[$0 + 12652 >> 2] = HEAP32[$0 + 8548 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 8548 >> 2]); - HEAP32[$0 + 8572 >> 2] = $0 + 2107; - HEAP32[$0 + 12660 >> 2] = HEAP32[$0 + 8572 >> 2]; - HEAP32[$0 + 12656 >> 2] = 285; - $1 = HEAP32[$0 + 12660 >> 2]; - void_20emscripten__internal__RegisterClassConstructor_b2PrismaticJointDef__20_28__29_28_29___invoke_b2PrismaticJointDef__28b2PrismaticJointDef__20_28__29_28_29_29(HEAP32[$0 + 12656 >> 2]); - HEAP32[$0 + 8632 >> 2] = $1; - HEAP32[$0 + 8628 >> 2] = 11436; - HEAP32[$0 + 8624 >> 2] = 20; - $1 = HEAP32[$0 + 8632 >> 2]; - HEAP32[$0 + 8620 >> 2] = 286; - HEAP32[$0 + 8616 >> 2] = 287; - $2 = emscripten__internal__TypeID_b2PrismaticJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 8628 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12664 >> 2] = HEAP32[$0 + 8620 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 8620 >> 2]; - $7 = b2Vec2_20b2PrismaticJointDef_____20emscripten__internal__getContext_b2Vec2_20b2PrismaticJointDef_____28b2Vec2_20b2PrismaticJointDef____20const__29($0 + 8624 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12676 >> 2] = HEAP32[$0 + 8616 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 8616 >> 2], b2Vec2_20b2PrismaticJointDef_____20emscripten__internal__getContext_b2Vec2_20b2PrismaticJointDef_____28b2Vec2_20b2PrismaticJointDef____20const__29($0 + 8624 | 0) | 0); - HEAP32[$0 + 8612 >> 2] = $1; - HEAP32[$0 + 8608 >> 2] = 11298; - HEAP32[$0 + 8604 >> 2] = 28; - $1 = HEAP32[$0 + 8612 >> 2]; - HEAP32[$0 + 8600 >> 2] = 286; - HEAP32[$0 + 8596 >> 2] = 287; - $2 = emscripten__internal__TypeID_b2PrismaticJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 8608 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12668 >> 2] = HEAP32[$0 + 8600 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 8600 >> 2]; - $7 = b2Vec2_20b2PrismaticJointDef_____20emscripten__internal__getContext_b2Vec2_20b2PrismaticJointDef_____28b2Vec2_20b2PrismaticJointDef____20const__29($0 + 8604 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12680 >> 2] = HEAP32[$0 + 8596 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 8596 >> 2], b2Vec2_20b2PrismaticJointDef_____20emscripten__internal__getContext_b2Vec2_20b2PrismaticJointDef_____28b2Vec2_20b2PrismaticJointDef____20const__29($0 + 8604 | 0) | 0); - HEAP32[$0 + 8592 >> 2] = $1; - HEAP32[$0 + 8588 >> 2] = 11400; - HEAP32[$0 + 8584 >> 2] = 36; - $1 = HEAP32[$0 + 8592 >> 2]; - HEAP32[$0 + 8580 >> 2] = 286; - HEAP32[$0 + 8576 >> 2] = 287; - $2 = emscripten__internal__TypeID_b2PrismaticJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 8588 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12672 >> 2] = HEAP32[$0 + 8580 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 8580 >> 2]; - $7 = b2Vec2_20b2PrismaticJointDef_____20emscripten__internal__getContext_b2Vec2_20b2PrismaticJointDef_____28b2Vec2_20b2PrismaticJointDef____20const__29($0 + 8584 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12684 >> 2] = HEAP32[$0 + 8576 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 8576 >> 2], b2Vec2_20b2PrismaticJointDef_____20emscripten__internal__getContext_b2Vec2_20b2PrismaticJointDef_____28b2Vec2_20b2PrismaticJointDef____20const__29($0 + 8584 | 0) | 0); - HEAP32[$0 + 8732 >> 2] = $1; - HEAP32[$0 + 8728 >> 2] = 9676; - HEAP32[$0 + 8724 >> 2] = 44; - $1 = HEAP32[$0 + 8732 >> 2]; - HEAP32[$0 + 8720 >> 2] = 288; - HEAP32[$0 + 8716 >> 2] = 289; - $2 = emscripten__internal__TypeID_b2PrismaticJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 8728 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12688 >> 2] = HEAP32[$0 + 8720 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 8720 >> 2]; - $7 = float_20b2PrismaticJointDef_____20emscripten__internal__getContext_float_20b2PrismaticJointDef_____28float_20b2PrismaticJointDef____20const__29($0 + 8724 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12708 >> 2] = HEAP32[$0 + 8716 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 8716 >> 2], float_20b2PrismaticJointDef_____20emscripten__internal__getContext_float_20b2PrismaticJointDef_____28float_20b2PrismaticJointDef____20const__29($0 + 8724 | 0) | 0); - HEAP32[$0 + 8772 >> 2] = $1; - HEAP32[$0 + 8768 >> 2] = 3037; - HEAP32[$0 + 8764 >> 2] = 48; - $1 = HEAP32[$0 + 8772 >> 2]; - HEAP32[$0 + 8760 >> 2] = 290; - HEAP32[$0 + 8756 >> 2] = 291; - $2 = emscripten__internal__TypeID_b2PrismaticJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 8768 >> 2]; - $4 = emscripten__internal__TypeID_bool_2c_20void___get_28_29(); - HEAP32[$0 + 12728 >> 2] = HEAP32[$0 + 8760 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 8760 >> 2]; - $7 = bool_20b2PrismaticJointDef_____20emscripten__internal__getContext_bool_20b2PrismaticJointDef_____28bool_20b2PrismaticJointDef____20const__29($0 + 8764 | 0); - $8 = emscripten__internal__TypeID_bool_2c_20void___get_28_29(); - HEAP32[$0 + 12736 >> 2] = HEAP32[$0 + 8756 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 8756 >> 2], bool_20b2PrismaticJointDef_____20emscripten__internal__getContext_bool_20b2PrismaticJointDef_____28bool_20b2PrismaticJointDef____20const__29($0 + 8764 | 0) | 0); - HEAP32[$0 + 8712 >> 2] = $1; - HEAP32[$0 + 8708 >> 2] = 6896; - HEAP32[$0 + 8704 >> 2] = 52; - $1 = HEAP32[$0 + 8712 >> 2]; - HEAP32[$0 + 8700 >> 2] = 288; - HEAP32[$0 + 8696 >> 2] = 289; - $2 = emscripten__internal__TypeID_b2PrismaticJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 8708 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12692 >> 2] = HEAP32[$0 + 8700 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 8700 >> 2]; - $7 = float_20b2PrismaticJointDef_____20emscripten__internal__getContext_float_20b2PrismaticJointDef_____28float_20b2PrismaticJointDef____20const__29($0 + 8704 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12712 >> 2] = HEAP32[$0 + 8696 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 8696 >> 2], float_20b2PrismaticJointDef_____20emscripten__internal__getContext_float_20b2PrismaticJointDef_____28float_20b2PrismaticJointDef____20const__29($0 + 8704 | 0) | 0); - HEAP32[$0 + 8692 >> 2] = $1; - HEAP32[$0 + 8688 >> 2] = 6913; - HEAP32[$0 + 8684 >> 2] = 56; - $1 = HEAP32[$0 + 8692 >> 2]; - HEAP32[$0 + 8680 >> 2] = 288; - HEAP32[$0 + 8676 >> 2] = 289; - $2 = emscripten__internal__TypeID_b2PrismaticJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 8688 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12696 >> 2] = HEAP32[$0 + 8680 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 8680 >> 2]; - $7 = float_20b2PrismaticJointDef_____20emscripten__internal__getContext_float_20b2PrismaticJointDef_____28float_20b2PrismaticJointDef____20const__29($0 + 8684 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12716 >> 2] = HEAP32[$0 + 8676 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 8676 >> 2], float_20b2PrismaticJointDef_____20emscripten__internal__getContext_float_20b2PrismaticJointDef_____28float_20b2PrismaticJointDef____20const__29($0 + 8684 | 0) | 0); - HEAP32[$0 + 8752 >> 2] = $1; - HEAP32[$0 + 8748 >> 2] = 3813; - HEAP32[$0 + 8744 >> 2] = 60; - $1 = HEAP32[$0 + 8752 >> 2]; - HEAP32[$0 + 8740 >> 2] = 290; - HEAP32[$0 + 8736 >> 2] = 291; - $2 = emscripten__internal__TypeID_b2PrismaticJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 8748 >> 2]; - $4 = emscripten__internal__TypeID_bool_2c_20void___get_28_29(); - HEAP32[$0 + 12732 >> 2] = HEAP32[$0 + 8740 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 8740 >> 2]; - $7 = bool_20b2PrismaticJointDef_____20emscripten__internal__getContext_bool_20b2PrismaticJointDef_____28bool_20b2PrismaticJointDef____20const__29($0 + 8744 | 0); - $8 = emscripten__internal__TypeID_bool_2c_20void___get_28_29(); - HEAP32[$0 + 12740 >> 2] = HEAP32[$0 + 8736 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 8736 >> 2], bool_20b2PrismaticJointDef_____20emscripten__internal__getContext_bool_20b2PrismaticJointDef_____28bool_20b2PrismaticJointDef____20const__29($0 + 8744 | 0) | 0); - HEAP32[$0 + 8672 >> 2] = $1; - HEAP32[$0 + 8668 >> 2] = 10566; - HEAP32[$0 + 8664 >> 2] = 68; - $1 = HEAP32[$0 + 8672 >> 2]; - HEAP32[$0 + 8660 >> 2] = 288; - HEAP32[$0 + 8656 >> 2] = 289; - $2 = emscripten__internal__TypeID_b2PrismaticJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 8668 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12700 >> 2] = HEAP32[$0 + 8660 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 8660 >> 2]; - $7 = float_20b2PrismaticJointDef_____20emscripten__internal__getContext_float_20b2PrismaticJointDef_____28float_20b2PrismaticJointDef____20const__29($0 + 8664 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12720 >> 2] = HEAP32[$0 + 8656 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 8656 >> 2], float_20b2PrismaticJointDef_____20emscripten__internal__getContext_float_20b2PrismaticJointDef_____28float_20b2PrismaticJointDef____20const__29($0 + 8664 | 0) | 0); - HEAP32[$0 + 8652 >> 2] = $1; - HEAP32[$0 + 8648 >> 2] = 10113; - HEAP32[$0 + 8644 >> 2] = 64; - HEAP32[$0 + 8640 >> 2] = 288; - HEAP32[$0 + 8636 >> 2] = 289; - $1 = emscripten__internal__TypeID_b2PrismaticJointDef_2c_20void___get_28_29(); - $2 = HEAP32[$0 + 8648 >> 2]; - $3 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12704 >> 2] = HEAP32[$0 + 8640 >> 2]; - $4 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $5 = HEAP32[$0 + 8640 >> 2]; - $6 = float_20b2PrismaticJointDef_____20emscripten__internal__getContext_float_20b2PrismaticJointDef_____28float_20b2PrismaticJointDef____20const__29($0 + 8644 | 0); - $7 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12724 >> 2] = HEAP32[$0 + 8636 >> 2]; - _embind_register_class_property($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 8636 >> 2], float_20b2PrismaticJointDef_____20emscripten__internal__getContext_float_20b2PrismaticJointDef_____28float_20b2PrismaticJointDef____20const__29($0 + 8644 | 0) | 0); - HEAP32[$0 + 8796 >> 2] = $0 + 2106; - HEAP32[$0 + 8792 >> 2] = 2951; - void_20emscripten__base_b2Joint___verify_b2PrismaticJoint__28_29(); - HEAP32[$0 + 8788 >> 2] = 292; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2Joint__20_28_emscripten__base_b2Joint___getUpcaster_b2PrismaticJoint__28_29_29_28b2PrismaticJoint__29(), - HEAP32[wasm2js_i32$0 + 8784 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2PrismaticJoint__20_28_emscripten__base_b2Joint___getDowncaster_b2PrismaticJoint__28_29_29_28b2Joint__29(), - HEAP32[wasm2js_i32$0 + 8780 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 8776 >> 2] = 293; - $1 = emscripten__internal__TypeID_b2PrismaticJoint_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2PrismaticJoint__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const__2c_20void___get_28_29(); - $4 = emscripten__base_b2Joint___get_28_29(); - HEAP32[$0 + 12744 >> 2] = HEAP32[$0 + 8788 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 8788 >> 2]; - HEAP32[$0 + 12748 >> 2] = HEAP32[$0 + 8784 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $8 = HEAP32[$0 + 8784 >> 2]; - HEAP32[$0 + 12752 >> 2] = HEAP32[$0 + 8780 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $10 = HEAP32[$0 + 8780 >> 2]; - $11 = HEAP32[$0 + 8792 >> 2]; - HEAP32[$0 + 12756 >> 2] = HEAP32[$0 + 8776 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 8776 >> 2]); - HEAP32[$0 + 2100 >> 2] = 0; - HEAP32[$0 + 2096 >> 2] = 294; - $1 = HEAP32[$0 + 2100 >> 2]; - $2 = HEAP32[$0 + 2096 >> 2]; - HEAP32[$0 + 8864 >> 2] = $2; - HEAP32[$0 + 8868 >> 2] = $1; - $1 = HEAP32[$0 + 8864 >> 2]; - $2 = HEAP32[$0 + 8868 >> 2]; - HEAP32[$0 + 8892 >> 2] = $0 + 2106; - HEAP32[$0 + 8888 >> 2] = 11449; - HEAP32[$0 + 8884 >> 2] = $2; - HEAP32[$0 + 8880 >> 2] = $1; - $3 = HEAP32[$0 + 8892 >> 2]; - $4 = HEAP32[$0 + 8888 >> 2]; - $1 = HEAP32[$0 + 8880 >> 2]; - HEAP32[$0 + 8876 >> 2] = HEAP32[$0 + 8884 >> 2]; - HEAP32[$0 + 8872 >> 2] = $1; - $2 = HEAP32[$0 + 8876 >> 2]; - $1 = HEAP32[$0 + 8872 >> 2]; - HEAP32[$0 + 528 >> 2] = $1; - HEAP32[$0 + 532 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2PrismaticJoint____29_28_29_20const___invoke_b2PrismaticJoint__28char_20const__2c_20b2Vec2_20const__20_28b2PrismaticJoint____29_28_29_20const_29($4, $0 + 528 | 0); - HEAP32[$0 + 2092 >> 2] = 0; - HEAP32[$0 + 2088 >> 2] = 295; - $1 = HEAP32[$0 + 2092 >> 2]; - $2 = HEAP32[$0 + 2088 >> 2]; - HEAP32[$0 + 8832 >> 2] = $2; - HEAP32[$0 + 8836 >> 2] = $1; - $1 = HEAP32[$0 + 8832 >> 2]; - $2 = HEAP32[$0 + 8836 >> 2]; - HEAP32[$0 + 8860 >> 2] = $3; - HEAP32[$0 + 8856 >> 2] = 11311; - HEAP32[$0 + 8852 >> 2] = $2; - HEAP32[$0 + 8848 >> 2] = $1; - $3 = HEAP32[$0 + 8860 >> 2]; - $4 = HEAP32[$0 + 8856 >> 2]; - $1 = HEAP32[$0 + 8848 >> 2]; - HEAP32[$0 + 8844 >> 2] = HEAP32[$0 + 8852 >> 2]; - HEAP32[$0 + 8840 >> 2] = $1; - $2 = HEAP32[$0 + 8844 >> 2]; - $1 = HEAP32[$0 + 8840 >> 2]; - HEAP32[$0 + 520 >> 2] = $1; - HEAP32[$0 + 524 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2PrismaticJoint____29_28_29_20const___invoke_b2PrismaticJoint__28char_20const__2c_20b2Vec2_20const__20_28b2PrismaticJoint____29_28_29_20const_29($4, $0 + 520 | 0); - HEAP32[$0 + 2084 >> 2] = 0; - HEAP32[$0 + 2080 >> 2] = 296; - $1 = HEAP32[$0 + 2084 >> 2]; - $2 = HEAP32[$0 + 2080 >> 2]; - HEAP32[$0 + 8800 >> 2] = $2; - HEAP32[$0 + 8804 >> 2] = $1; - $1 = HEAP32[$0 + 8800 >> 2]; - $2 = HEAP32[$0 + 8804 >> 2]; - HEAP32[$0 + 8828 >> 2] = $3; - HEAP32[$0 + 8824 >> 2] = 11411; - HEAP32[$0 + 8820 >> 2] = $2; - HEAP32[$0 + 8816 >> 2] = $1; - $3 = HEAP32[$0 + 8828 >> 2]; - $4 = HEAP32[$0 + 8824 >> 2]; - $1 = HEAP32[$0 + 8816 >> 2]; - HEAP32[$0 + 8812 >> 2] = HEAP32[$0 + 8820 >> 2]; - HEAP32[$0 + 8808 >> 2] = $1; - $2 = HEAP32[$0 + 8812 >> 2]; - $1 = HEAP32[$0 + 8808 >> 2]; - HEAP32[$0 + 512 >> 2] = $1; - HEAP32[$0 + 516 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2PrismaticJoint____29_28_29_20const___invoke_b2PrismaticJoint__28char_20const__2c_20b2Vec2_20const__20_28b2PrismaticJoint____29_28_29_20const_29($4, $0 + 512 | 0); - HEAP32[$0 + 2076 >> 2] = 0; - HEAP32[$0 + 2072 >> 2] = 297; - $1 = HEAP32[$0 + 2076 >> 2]; - $2 = HEAP32[$0 + 2072 >> 2]; - HEAP32[$0 + 9088 >> 2] = $2; - HEAP32[$0 + 9092 >> 2] = $1; - $1 = HEAP32[$0 + 9088 >> 2]; - $2 = HEAP32[$0 + 9092 >> 2]; - HEAP32[$0 + 9116 >> 2] = $3; - HEAP32[$0 + 9112 >> 2] = 9691; - HEAP32[$0 + 9108 >> 2] = $2; - HEAP32[$0 + 9104 >> 2] = $1; - $3 = HEAP32[$0 + 9116 >> 2]; - $4 = HEAP32[$0 + 9112 >> 2]; - $1 = HEAP32[$0 + 9104 >> 2]; - HEAP32[$0 + 9100 >> 2] = HEAP32[$0 + 9108 >> 2]; - HEAP32[$0 + 9096 >> 2] = $1; - $2 = HEAP32[$0 + 9100 >> 2]; - $1 = HEAP32[$0 + 9096 >> 2]; - HEAP32[$0 + 504 >> 2] = $1; - HEAP32[$0 + 508 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2PrismaticJoint____29_28_29_20const___invoke_b2PrismaticJoint__28char_20const__2c_20float_20_28b2PrismaticJoint____29_28_29_20const_29($4, $0 + 504 | 0); - HEAP32[$0 + 2068 >> 2] = 0; - HEAP32[$0 + 2064 >> 2] = 298; - $1 = HEAP32[$0 + 2068 >> 2]; - $2 = HEAP32[$0 + 2064 >> 2]; - HEAP32[$0 + 9056 >> 2] = $2; - HEAP32[$0 + 9060 >> 2] = $1; - $1 = HEAP32[$0 + 9056 >> 2]; - $2 = HEAP32[$0 + 9060 >> 2]; - HEAP32[$0 + 9084 >> 2] = $3; - HEAP32[$0 + 9080 >> 2] = 6876; - HEAP32[$0 + 9076 >> 2] = $2; - HEAP32[$0 + 9072 >> 2] = $1; - $3 = HEAP32[$0 + 9084 >> 2]; - $4 = HEAP32[$0 + 9080 >> 2]; - $1 = HEAP32[$0 + 9072 >> 2]; - HEAP32[$0 + 9068 >> 2] = HEAP32[$0 + 9076 >> 2]; - HEAP32[$0 + 9064 >> 2] = $1; - $2 = HEAP32[$0 + 9068 >> 2]; - $1 = HEAP32[$0 + 9064 >> 2]; - HEAP32[$0 + 496 >> 2] = $1; - HEAP32[$0 + 500 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2PrismaticJoint____29_28_29_20const___invoke_b2PrismaticJoint__28char_20const__2c_20float_20_28b2PrismaticJoint____29_28_29_20const_29($4, $0 + 496 | 0); - HEAP32[$0 + 2060 >> 2] = 0; - HEAP32[$0 + 2056 >> 2] = 299; - $1 = HEAP32[$0 + 2060 >> 2]; - $2 = HEAP32[$0 + 2056 >> 2]; - HEAP32[$0 + 9024 >> 2] = $2; - HEAP32[$0 + 9028 >> 2] = $1; - $1 = HEAP32[$0 + 9024 >> 2]; - $2 = HEAP32[$0 + 9028 >> 2]; - HEAP32[$0 + 9052 >> 2] = $3; - HEAP32[$0 + 9048 >> 2] = 10506; - HEAP32[$0 + 9044 >> 2] = $2; - HEAP32[$0 + 9040 >> 2] = $1; - $3 = HEAP32[$0 + 9052 >> 2]; - $4 = HEAP32[$0 + 9048 >> 2]; - $1 = HEAP32[$0 + 9040 >> 2]; - HEAP32[$0 + 9036 >> 2] = HEAP32[$0 + 9044 >> 2]; - HEAP32[$0 + 9032 >> 2] = $1; - $2 = HEAP32[$0 + 9036 >> 2]; - $1 = HEAP32[$0 + 9032 >> 2]; - HEAP32[$0 + 488 >> 2] = $1; - HEAP32[$0 + 492 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2PrismaticJoint____29_28_29_20const___invoke_b2PrismaticJoint__28char_20const__2c_20float_20_28b2PrismaticJoint____29_28_29_20const_29($4, $0 + 488 | 0); - HEAP32[$0 + 2052 >> 2] = 0; - HEAP32[$0 + 2048 >> 2] = 300; - $1 = HEAP32[$0 + 2052 >> 2]; - $2 = HEAP32[$0 + 2048 >> 2]; - HEAP32[$0 + 9152 >> 2] = $2; - HEAP32[$0 + 9156 >> 2] = $1; - $1 = HEAP32[$0 + 9152 >> 2]; - $2 = HEAP32[$0 + 9156 >> 2]; - HEAP32[$0 + 9180 >> 2] = $3; - HEAP32[$0 + 9176 >> 2] = 10448; - HEAP32[$0 + 9172 >> 2] = $2; - HEAP32[$0 + 9168 >> 2] = $1; - $3 = HEAP32[$0 + 9180 >> 2]; - $4 = HEAP32[$0 + 9176 >> 2]; - $1 = HEAP32[$0 + 9168 >> 2]; - HEAP32[$0 + 9164 >> 2] = HEAP32[$0 + 9172 >> 2]; - HEAP32[$0 + 9160 >> 2] = $1; - $2 = HEAP32[$0 + 9164 >> 2]; - $1 = HEAP32[$0 + 9160 >> 2]; - HEAP32[$0 + 480 >> 2] = $1; - HEAP32[$0 + 484 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_bool_20_28b2PrismaticJoint____29_28_29_20const___invoke_b2PrismaticJoint__28char_20const__2c_20bool_20_28b2PrismaticJoint____29_28_29_20const_29($4, $0 + 480 | 0); - HEAP32[$0 + 2044 >> 2] = 0; - HEAP32[$0 + 2040 >> 2] = 301; - $1 = HEAP32[$0 + 2044 >> 2]; - $2 = HEAP32[$0 + 2040 >> 2]; - HEAP32[$0 + 9216 >> 2] = $2; - HEAP32[$0 + 9220 >> 2] = $1; - $1 = HEAP32[$0 + 9216 >> 2]; - $2 = HEAP32[$0 + 9220 >> 2]; - HEAP32[$0 + 9244 >> 2] = $3; - HEAP32[$0 + 9240 >> 2] = 3049; - HEAP32[$0 + 9236 >> 2] = $2; - HEAP32[$0 + 9232 >> 2] = $1; - $3 = HEAP32[$0 + 9244 >> 2]; - $4 = HEAP32[$0 + 9240 >> 2]; - $1 = HEAP32[$0 + 9232 >> 2]; - HEAP32[$0 + 9228 >> 2] = HEAP32[$0 + 9236 >> 2]; - HEAP32[$0 + 9224 >> 2] = $1; - $2 = HEAP32[$0 + 9228 >> 2]; - $1 = HEAP32[$0 + 9224 >> 2]; - HEAP32[$0 + 472 >> 2] = $1; - HEAP32[$0 + 476 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2PrismaticJoint____29_28bool_29___invoke_b2PrismaticJoint__28char_20const__2c_20void_20_28b2PrismaticJoint____29_28bool_29_29($4, $0 + 472 | 0); - HEAP32[$0 + 2036 >> 2] = 0; - HEAP32[$0 + 2032 >> 2] = 302; - $1 = HEAP32[$0 + 2036 >> 2]; - $2 = HEAP32[$0 + 2032 >> 2]; - HEAP32[$0 + 8992 >> 2] = $2; - HEAP32[$0 + 8996 >> 2] = $1; - $1 = HEAP32[$0 + 8992 >> 2]; - $2 = HEAP32[$0 + 8996 >> 2]; - HEAP32[$0 + 9020 >> 2] = $3; - HEAP32[$0 + 9016 >> 2] = 3009; - HEAP32[$0 + 9012 >> 2] = $2; - HEAP32[$0 + 9008 >> 2] = $1; - $3 = HEAP32[$0 + 9020 >> 2]; - $4 = HEAP32[$0 + 9016 >> 2]; - $1 = HEAP32[$0 + 9008 >> 2]; - HEAP32[$0 + 9004 >> 2] = HEAP32[$0 + 9012 >> 2]; - HEAP32[$0 + 9e3 >> 2] = $1; - $2 = HEAP32[$0 + 9004 >> 2]; - $1 = HEAP32[$0 + 9e3 >> 2]; - HEAP32[$0 + 464 >> 2] = $1; - HEAP32[$0 + 468 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2PrismaticJoint____29_28_29_20const___invoke_b2PrismaticJoint__28char_20const__2c_20float_20_28b2PrismaticJoint____29_28_29_20const_29($4, $0 + 464 | 0); - HEAP32[$0 + 2028 >> 2] = 0; - HEAP32[$0 + 2024 >> 2] = 303; - $1 = HEAP32[$0 + 2028 >> 2]; - $2 = HEAP32[$0 + 2024 >> 2]; - HEAP32[$0 + 8960 >> 2] = $2; - HEAP32[$0 + 8964 >> 2] = $1; - $1 = HEAP32[$0 + 8960 >> 2]; - $2 = HEAP32[$0 + 8964 >> 2]; - HEAP32[$0 + 8988 >> 2] = $3; - HEAP32[$0 + 8984 >> 2] = 3023; - HEAP32[$0 + 8980 >> 2] = $2; - HEAP32[$0 + 8976 >> 2] = $1; - $3 = HEAP32[$0 + 8988 >> 2]; - $4 = HEAP32[$0 + 8984 >> 2]; - $1 = HEAP32[$0 + 8976 >> 2]; - HEAP32[$0 + 8972 >> 2] = HEAP32[$0 + 8980 >> 2]; - HEAP32[$0 + 8968 >> 2] = $1; - $2 = HEAP32[$0 + 8972 >> 2]; - $1 = HEAP32[$0 + 8968 >> 2]; - HEAP32[$0 + 456 >> 2] = $1; - HEAP32[$0 + 460 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2PrismaticJoint____29_28_29_20const___invoke_b2PrismaticJoint__28char_20const__2c_20float_20_28b2PrismaticJoint____29_28_29_20const_29($4, $0 + 456 | 0); - HEAP32[$0 + 2020 >> 2] = 0; - HEAP32[$0 + 2016 >> 2] = 304; - $1 = HEAP32[$0 + 2020 >> 2]; - $2 = HEAP32[$0 + 2016 >> 2]; - HEAP32[$0 + 9248 >> 2] = $2; - HEAP32[$0 + 9252 >> 2] = $1; - $1 = HEAP32[$0 + 9248 >> 2]; - $2 = HEAP32[$0 + 9252 >> 2]; - HEAP32[$0 + 9276 >> 2] = $3; - HEAP32[$0 + 9272 >> 2] = 3570; - HEAP32[$0 + 9268 >> 2] = $2; - HEAP32[$0 + 9264 >> 2] = $1; - $3 = HEAP32[$0 + 9276 >> 2]; - $4 = HEAP32[$0 + 9272 >> 2]; - $1 = HEAP32[$0 + 9264 >> 2]; - HEAP32[$0 + 9260 >> 2] = HEAP32[$0 + 9268 >> 2]; - HEAP32[$0 + 9256 >> 2] = $1; - $2 = HEAP32[$0 + 9260 >> 2]; - $1 = HEAP32[$0 + 9256 >> 2]; - HEAP32[$0 + 448 >> 2] = $1; - HEAP32[$0 + 452 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2PrismaticJoint____29_28float_2c_20float_29___invoke_b2PrismaticJoint__28char_20const__2c_20void_20_28b2PrismaticJoint____29_28float_2c_20float_29_29($4, $0 + 448 | 0); - HEAP32[$0 + 2012 >> 2] = 0; - HEAP32[$0 + 2008 >> 2] = 305; - $1 = HEAP32[$0 + 2012 >> 2]; - $2 = HEAP32[$0 + 2008 >> 2]; - HEAP32[$0 + 9120 >> 2] = $2; - HEAP32[$0 + 9124 >> 2] = $1; - $1 = HEAP32[$0 + 9120 >> 2]; - $2 = HEAP32[$0 + 9124 >> 2]; - HEAP32[$0 + 9148 >> 2] = $3; - HEAP32[$0 + 9144 >> 2] = 10491; - HEAP32[$0 + 9140 >> 2] = $2; - HEAP32[$0 + 9136 >> 2] = $1; - $3 = HEAP32[$0 + 9148 >> 2]; - $4 = HEAP32[$0 + 9144 >> 2]; - $1 = HEAP32[$0 + 9136 >> 2]; - HEAP32[$0 + 9132 >> 2] = HEAP32[$0 + 9140 >> 2]; - HEAP32[$0 + 9128 >> 2] = $1; - $2 = HEAP32[$0 + 9132 >> 2]; - $1 = HEAP32[$0 + 9128 >> 2]; - HEAP32[$0 + 440 >> 2] = $1; - HEAP32[$0 + 444 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_bool_20_28b2PrismaticJoint____29_28_29_20const___invoke_b2PrismaticJoint__28char_20const__2c_20bool_20_28b2PrismaticJoint____29_28_29_20const_29($4, $0 + 440 | 0); - HEAP32[$0 + 2004 >> 2] = 0; - HEAP32[$0 + 2e3 >> 2] = 306; - $1 = HEAP32[$0 + 2004 >> 2]; - $2 = HEAP32[$0 + 2e3 >> 2]; - HEAP32[$0 + 9184 >> 2] = $2; - HEAP32[$0 + 9188 >> 2] = $1; - $1 = HEAP32[$0 + 9184 >> 2]; - $2 = HEAP32[$0 + 9188 >> 2]; - HEAP32[$0 + 9212 >> 2] = $3; - HEAP32[$0 + 9208 >> 2] = 3825; - HEAP32[$0 + 9204 >> 2] = $2; - HEAP32[$0 + 9200 >> 2] = $1; - $3 = HEAP32[$0 + 9212 >> 2]; - $4 = HEAP32[$0 + 9208 >> 2]; - $1 = HEAP32[$0 + 9200 >> 2]; - HEAP32[$0 + 9196 >> 2] = HEAP32[$0 + 9204 >> 2]; - HEAP32[$0 + 9192 >> 2] = $1; - $2 = HEAP32[$0 + 9196 >> 2]; - $1 = HEAP32[$0 + 9192 >> 2]; - HEAP32[$0 + 432 >> 2] = $1; - HEAP32[$0 + 436 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2PrismaticJoint____29_28bool_29___invoke_b2PrismaticJoint__28char_20const__2c_20void_20_28b2PrismaticJoint____29_28bool_29_29($4, $0 + 432 | 0); - HEAP32[$0 + 1996 >> 2] = 0; - HEAP32[$0 + 1992 >> 2] = 307; - $1 = HEAP32[$0 + 1996 >> 2]; - $2 = HEAP32[$0 + 1992 >> 2]; - HEAP32[$0 + 9312 >> 2] = $2; - HEAP32[$0 + 9316 >> 2] = $1; - $1 = HEAP32[$0 + 9312 >> 2]; - $2 = HEAP32[$0 + 9316 >> 2]; - HEAP32[$0 + 9340 >> 2] = $3; - HEAP32[$0 + 9336 >> 2] = 10577; - HEAP32[$0 + 9332 >> 2] = $2; - HEAP32[$0 + 9328 >> 2] = $1; - $3 = HEAP32[$0 + 9340 >> 2]; - $4 = HEAP32[$0 + 9336 >> 2]; - $1 = HEAP32[$0 + 9328 >> 2]; - HEAP32[$0 + 9324 >> 2] = HEAP32[$0 + 9332 >> 2]; - HEAP32[$0 + 9320 >> 2] = $1; - $2 = HEAP32[$0 + 9324 >> 2]; - $1 = HEAP32[$0 + 9320 >> 2]; - HEAP32[$0 + 424 >> 2] = $1; - HEAP32[$0 + 428 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2PrismaticJoint____29_28float_29___invoke_b2PrismaticJoint__28char_20const__2c_20void_20_28b2PrismaticJoint____29_28float_29_29($4, $0 + 424 | 0); - HEAP32[$0 + 1988 >> 2] = 0; - HEAP32[$0 + 1984 >> 2] = 308; - $1 = HEAP32[$0 + 1988 >> 2]; - $2 = HEAP32[$0 + 1984 >> 2]; - HEAP32[$0 + 8928 >> 2] = $2; - HEAP32[$0 + 8932 >> 2] = $1; - $1 = HEAP32[$0 + 8928 >> 2]; - $2 = HEAP32[$0 + 8932 >> 2]; - HEAP32[$0 + 8956 >> 2] = $3; - HEAP32[$0 + 8952 >> 2] = 10591; - HEAP32[$0 + 8948 >> 2] = $2; - HEAP32[$0 + 8944 >> 2] = $1; - $3 = HEAP32[$0 + 8956 >> 2]; - $4 = HEAP32[$0 + 8952 >> 2]; - $1 = HEAP32[$0 + 8944 >> 2]; - HEAP32[$0 + 8940 >> 2] = HEAP32[$0 + 8948 >> 2]; - HEAP32[$0 + 8936 >> 2] = $1; - $2 = HEAP32[$0 + 8940 >> 2]; - $1 = HEAP32[$0 + 8936 >> 2]; - HEAP32[$0 + 416 >> 2] = $1; - HEAP32[$0 + 420 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2PrismaticJoint____29_28_29_20const___invoke_b2PrismaticJoint__28char_20const__2c_20float_20_28b2PrismaticJoint____29_28_29_20const_29($4, $0 + 416 | 0); - HEAP32[$0 + 1980 >> 2] = 0; - HEAP32[$0 + 1976 >> 2] = 309; - $1 = HEAP32[$0 + 1980 >> 2]; - $2 = HEAP32[$0 + 1976 >> 2]; - HEAP32[$0 + 9280 >> 2] = $2; - HEAP32[$0 + 9284 >> 2] = $1; - $1 = HEAP32[$0 + 9280 >> 2]; - $2 = HEAP32[$0 + 9284 >> 2]; - HEAP32[$0 + 9308 >> 2] = $3; - HEAP32[$0 + 9304 >> 2] = 10127; - HEAP32[$0 + 9300 >> 2] = $2; - HEAP32[$0 + 9296 >> 2] = $1; - $3 = HEAP32[$0 + 9308 >> 2]; - $4 = HEAP32[$0 + 9304 >> 2]; - $1 = HEAP32[$0 + 9296 >> 2]; - HEAP32[$0 + 9292 >> 2] = HEAP32[$0 + 9300 >> 2]; - HEAP32[$0 + 9288 >> 2] = $1; - $2 = HEAP32[$0 + 9292 >> 2]; - $1 = HEAP32[$0 + 9288 >> 2]; - HEAP32[$0 + 408 >> 2] = $1; - HEAP32[$0 + 412 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2PrismaticJoint____29_28float_29___invoke_b2PrismaticJoint__28char_20const__2c_20void_20_28b2PrismaticJoint____29_28float_29_29($4, $0 + 408 | 0); - HEAP32[$0 + 1972 >> 2] = 0; - HEAP32[$0 + 1968 >> 2] = 310; - $1 = HEAP32[$0 + 1972 >> 2]; - $2 = HEAP32[$0 + 1968 >> 2]; - HEAP32[$0 + 8896 >> 2] = $2; - HEAP32[$0 + 8900 >> 2] = $1; - $1 = HEAP32[$0 + 8896 >> 2]; - $2 = HEAP32[$0 + 8900 >> 2]; - HEAP32[$0 + 8924 >> 2] = $3; - HEAP32[$0 + 8920 >> 2] = 10144; - HEAP32[$0 + 8916 >> 2] = $2; - HEAP32[$0 + 8912 >> 2] = $1; - $3 = HEAP32[$0 + 8924 >> 2]; - $4 = HEAP32[$0 + 8920 >> 2]; - $1 = HEAP32[$0 + 8912 >> 2]; - HEAP32[$0 + 8908 >> 2] = HEAP32[$0 + 8916 >> 2]; - HEAP32[$0 + 8904 >> 2] = $1; - $2 = HEAP32[$0 + 8908 >> 2]; - $1 = HEAP32[$0 + 8904 >> 2]; - HEAP32[$0 + 400 >> 2] = $1; - HEAP32[$0 + 404 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2PrismaticJoint____29_28_29_20const___invoke_b2PrismaticJoint__28char_20const__2c_20float_20_28b2PrismaticJoint____29_28_29_20const_29($4, $0 + 400 | 0); - HEAP32[$0 + 1964 >> 2] = 0; - HEAP32[$0 + 1960 >> 2] = 311; - $1 = HEAP32[$0 + 1964 >> 2]; - $2 = HEAP32[$0 + 1960 >> 2]; - HEAP32[$0 + 9344 >> 2] = $2; - HEAP32[$0 + 9348 >> 2] = $1; - $1 = HEAP32[$0 + 9344 >> 2]; - $2 = HEAP32[$0 + 9348 >> 2]; - HEAP32[$0 + 9372 >> 2] = $3; - HEAP32[$0 + 9368 >> 2] = 10161; - HEAP32[$0 + 9364 >> 2] = $2; - HEAP32[$0 + 9360 >> 2] = $1; - $3 = HEAP32[$0 + 9372 >> 2]; - $4 = HEAP32[$0 + 9368 >> 2]; - $1 = HEAP32[$0 + 9360 >> 2]; - HEAP32[$0 + 9356 >> 2] = HEAP32[$0 + 9364 >> 2]; - HEAP32[$0 + 9352 >> 2] = $1; - $2 = HEAP32[$0 + 9356 >> 2]; - $1 = HEAP32[$0 + 9352 >> 2]; - HEAP32[$0 + 392 >> 2] = $1; - HEAP32[$0 + 396 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2PrismaticJoint____29_28float_29_20const___invoke_b2PrismaticJoint__28char_20const__2c_20float_20_28b2PrismaticJoint____29_28float_29_20const_29($4, $0 + 392 | 0); - HEAP32[$0 + 1956 >> 2] = 1; - HEAP32[$0 + 1952 >> 2] = 16; - $1 = HEAP32[$0 + 1956 >> 2]; - $2 = HEAP32[$0 + 1952 >> 2]; - HEAP32[$0 + 9376 >> 2] = $2; - HEAP32[$0 + 9380 >> 2] = $1; - $1 = HEAP32[$0 + 9376 >> 2]; - $2 = HEAP32[$0 + 9380 >> 2]; - HEAP32[$0 + 9404 >> 2] = $3; - HEAP32[$0 + 9400 >> 2] = 6324; - HEAP32[$0 + 9396 >> 2] = $2; - HEAP32[$0 + 9392 >> 2] = $1; - $3 = HEAP32[$0 + 9400 >> 2]; - $1 = HEAP32[$0 + 9392 >> 2]; - HEAP32[$0 + 9388 >> 2] = HEAP32[$0 + 9396 >> 2]; - HEAP32[$0 + 9384 >> 2] = $1; - $2 = HEAP32[$0 + 9388 >> 2]; - $1 = HEAP32[$0 + 9384 >> 2]; - HEAP32[$0 + 384 >> 2] = $1; - HEAP32[$0 + 388 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2PrismaticJoint____29_28_29___invoke_b2PrismaticJoint__28char_20const__2c_20void_20_28b2PrismaticJoint____29_28_29_29($3, $0 + 384 | 0); - HEAP32[$0 + 9428 >> 2] = $0 + 1951; - HEAP32[$0 + 9424 >> 2] = 8071; - void_20emscripten__base_b2JointDef___verify_b2RevoluteJointDef__28_29(); - HEAP32[$0 + 9420 >> 2] = 312; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2JointDef__20_28_emscripten__base_b2JointDef___getUpcaster_b2RevoluteJointDef__28_29_29_28b2RevoluteJointDef__29(), - HEAP32[wasm2js_i32$0 + 9416 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2RevoluteJointDef__20_28_emscripten__base_b2JointDef___getDowncaster_b2RevoluteJointDef__28_29_29_28b2JointDef__29(), - HEAP32[wasm2js_i32$0 + 9412 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 9408 >> 2] = 313; - $1 = emscripten__internal__TypeID_b2RevoluteJointDef_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RevoluteJointDef__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RevoluteJointDef_20const__2c_20void___get_28_29(); - $4 = emscripten__base_b2JointDef___get_28_29(); - HEAP32[$0 + 12760 >> 2] = HEAP32[$0 + 9420 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 9420 >> 2]; - HEAP32[$0 + 12764 >> 2] = HEAP32[$0 + 9416 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $8 = HEAP32[$0 + 9416 >> 2]; - HEAP32[$0 + 12768 >> 2] = HEAP32[$0 + 9412 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $10 = HEAP32[$0 + 9412 >> 2]; - $11 = HEAP32[$0 + 9424 >> 2]; - HEAP32[$0 + 12772 >> 2] = HEAP32[$0 + 9408 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 9408 >> 2]); - HEAP32[$0 + 9432 >> 2] = $0 + 1951; - HEAP32[$0 + 12780 >> 2] = HEAP32[$0 + 9432 >> 2]; - HEAP32[$0 + 12776 >> 2] = 314; - $1 = HEAP32[$0 + 12780 >> 2]; - void_20emscripten__internal__RegisterClassConstructor_b2RevoluteJointDef__20_28__29_28_29___invoke_b2RevoluteJointDef__28b2RevoluteJointDef__20_28__29_28_29_29(HEAP32[$0 + 12776 >> 2]); - HEAP32[$0 + 9472 >> 2] = $1; - HEAP32[$0 + 9468 >> 2] = 11436; - HEAP32[$0 + 9464 >> 2] = 20; - $1 = HEAP32[$0 + 9472 >> 2]; - HEAP32[$0 + 9460 >> 2] = 315; - HEAP32[$0 + 9456 >> 2] = 316; - $2 = emscripten__internal__TypeID_b2RevoluteJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 9468 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12784 >> 2] = HEAP32[$0 + 9460 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 9460 >> 2]; - $7 = b2Vec2_20b2RevoluteJointDef_____20emscripten__internal__getContext_b2Vec2_20b2RevoluteJointDef_____28b2Vec2_20b2RevoluteJointDef____20const__29($0 + 9464 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12792 >> 2] = HEAP32[$0 + 9456 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 9456 >> 2], b2Vec2_20b2RevoluteJointDef_____20emscripten__internal__getContext_b2Vec2_20b2RevoluteJointDef_____28b2Vec2_20b2RevoluteJointDef____20const__29($0 + 9464 | 0) | 0); - HEAP32[$0 + 9452 >> 2] = $1; - HEAP32[$0 + 9448 >> 2] = 11298; - HEAP32[$0 + 9444 >> 2] = 28; - $1 = HEAP32[$0 + 9452 >> 2]; - HEAP32[$0 + 9440 >> 2] = 315; - HEAP32[$0 + 9436 >> 2] = 316; - $2 = emscripten__internal__TypeID_b2RevoluteJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 9448 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12788 >> 2] = HEAP32[$0 + 9440 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 9440 >> 2]; - $7 = b2Vec2_20b2RevoluteJointDef_____20emscripten__internal__getContext_b2Vec2_20b2RevoluteJointDef_____28b2Vec2_20b2RevoluteJointDef____20const__29($0 + 9444 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12796 >> 2] = HEAP32[$0 + 9436 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 9436 >> 2], b2Vec2_20b2RevoluteJointDef_____20emscripten__internal__getContext_b2Vec2_20b2RevoluteJointDef_____28b2Vec2_20b2RevoluteJointDef____20const__29($0 + 9444 | 0) | 0); - HEAP32[$0 + 9572 >> 2] = $1; - HEAP32[$0 + 9568 >> 2] = 9676; - HEAP32[$0 + 9564 >> 2] = 36; - $1 = HEAP32[$0 + 9572 >> 2]; - HEAP32[$0 + 9560 >> 2] = 317; - HEAP32[$0 + 9556 >> 2] = 318; - $2 = emscripten__internal__TypeID_b2RevoluteJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 9568 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12800 >> 2] = HEAP32[$0 + 9560 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 9560 >> 2]; - $7 = float_20b2RevoluteJointDef_____20emscripten__internal__getContext_float_20b2RevoluteJointDef_____28float_20b2RevoluteJointDef____20const__29($0 + 9564 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12820 >> 2] = HEAP32[$0 + 9556 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 9556 >> 2], float_20b2RevoluteJointDef_____20emscripten__internal__getContext_float_20b2RevoluteJointDef_____28float_20b2RevoluteJointDef____20const__29($0 + 9564 | 0) | 0); - HEAP32[$0 + 9612 >> 2] = $1; - HEAP32[$0 + 9608 >> 2] = 3037; - HEAP32[$0 + 9604 >> 2] = 40; - $1 = HEAP32[$0 + 9612 >> 2]; - HEAP32[$0 + 9600 >> 2] = 319; - HEAP32[$0 + 9596 >> 2] = 320; - $2 = emscripten__internal__TypeID_b2RevoluteJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 9608 >> 2]; - $4 = emscripten__internal__TypeID_bool_2c_20void___get_28_29(); - HEAP32[$0 + 12840 >> 2] = HEAP32[$0 + 9600 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 9600 >> 2]; - $7 = bool_20b2RevoluteJointDef_____20emscripten__internal__getContext_bool_20b2RevoluteJointDef_____28bool_20b2RevoluteJointDef____20const__29($0 + 9604 | 0); - $8 = emscripten__internal__TypeID_bool_2c_20void___get_28_29(); - HEAP32[$0 + 12848 >> 2] = HEAP32[$0 + 9596 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 9596 >> 2], bool_20b2RevoluteJointDef_____20emscripten__internal__getContext_bool_20b2RevoluteJointDef_____28bool_20b2RevoluteJointDef____20const__29($0 + 9604 | 0) | 0); - HEAP32[$0 + 9552 >> 2] = $1; - HEAP32[$0 + 9548 >> 2] = 9654; - HEAP32[$0 + 9544 >> 2] = 44; - $1 = HEAP32[$0 + 9552 >> 2]; - HEAP32[$0 + 9540 >> 2] = 317; - HEAP32[$0 + 9536 >> 2] = 318; - $2 = emscripten__internal__TypeID_b2RevoluteJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 9548 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12804 >> 2] = HEAP32[$0 + 9540 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 9540 >> 2]; - $7 = float_20b2RevoluteJointDef_____20emscripten__internal__getContext_float_20b2RevoluteJointDef_____28float_20b2RevoluteJointDef____20const__29($0 + 9544 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12824 >> 2] = HEAP32[$0 + 9536 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 9536 >> 2], float_20b2RevoluteJointDef_____20emscripten__internal__getContext_float_20b2RevoluteJointDef_____28float_20b2RevoluteJointDef____20const__29($0 + 9544 | 0) | 0); - HEAP32[$0 + 9532 >> 2] = $1; - HEAP32[$0 + 9528 >> 2] = 9665; - HEAP32[$0 + 9524 >> 2] = 48; - $1 = HEAP32[$0 + 9532 >> 2]; - HEAP32[$0 + 9520 >> 2] = 317; - HEAP32[$0 + 9516 >> 2] = 318; - $2 = emscripten__internal__TypeID_b2RevoluteJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 9528 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12808 >> 2] = HEAP32[$0 + 9520 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 9520 >> 2]; - $7 = float_20b2RevoluteJointDef_____20emscripten__internal__getContext_float_20b2RevoluteJointDef_____28float_20b2RevoluteJointDef____20const__29($0 + 9524 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12828 >> 2] = HEAP32[$0 + 9516 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 9516 >> 2], float_20b2RevoluteJointDef_____20emscripten__internal__getContext_float_20b2RevoluteJointDef_____28float_20b2RevoluteJointDef____20const__29($0 + 9524 | 0) | 0); - HEAP32[$0 + 9592 >> 2] = $1; - HEAP32[$0 + 9588 >> 2] = 3813; - HEAP32[$0 + 9584 >> 2] = 52; - $1 = HEAP32[$0 + 9592 >> 2]; - HEAP32[$0 + 9580 >> 2] = 319; - HEAP32[$0 + 9576 >> 2] = 320; - $2 = emscripten__internal__TypeID_b2RevoluteJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 9588 >> 2]; - $4 = emscripten__internal__TypeID_bool_2c_20void___get_28_29(); - HEAP32[$0 + 12844 >> 2] = HEAP32[$0 + 9580 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 9580 >> 2]; - $7 = bool_20b2RevoluteJointDef_____20emscripten__internal__getContext_bool_20b2RevoluteJointDef_____28bool_20b2RevoluteJointDef____20const__29($0 + 9584 | 0); - $8 = emscripten__internal__TypeID_bool_2c_20void___get_28_29(); - HEAP32[$0 + 12852 >> 2] = HEAP32[$0 + 9576 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 9576 >> 2], bool_20b2RevoluteJointDef_____20emscripten__internal__getContext_bool_20b2RevoluteJointDef_____28bool_20b2RevoluteJointDef____20const__29($0 + 9584 | 0) | 0); - HEAP32[$0 + 9512 >> 2] = $1; - HEAP32[$0 + 9508 >> 2] = 10566; - HEAP32[$0 + 9504 >> 2] = 56; - $1 = HEAP32[$0 + 9512 >> 2]; - HEAP32[$0 + 9500 >> 2] = 317; - HEAP32[$0 + 9496 >> 2] = 318; - $2 = emscripten__internal__TypeID_b2RevoluteJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 9508 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12812 >> 2] = HEAP32[$0 + 9500 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 9500 >> 2]; - $7 = float_20b2RevoluteJointDef_____20emscripten__internal__getContext_float_20b2RevoluteJointDef_____28float_20b2RevoluteJointDef____20const__29($0 + 9504 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12832 >> 2] = HEAP32[$0 + 9496 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 9496 >> 2], float_20b2RevoluteJointDef_____20emscripten__internal__getContext_float_20b2RevoluteJointDef_____28float_20b2RevoluteJointDef____20const__29($0 + 9504 | 0) | 0); - HEAP32[$0 + 9492 >> 2] = $1; - HEAP32[$0 + 9488 >> 2] = 8968; - HEAP32[$0 + 9484 >> 2] = 60; - HEAP32[$0 + 9480 >> 2] = 317; - HEAP32[$0 + 9476 >> 2] = 318; - $1 = emscripten__internal__TypeID_b2RevoluteJointDef_2c_20void___get_28_29(); - $2 = HEAP32[$0 + 9488 >> 2]; - $3 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12816 >> 2] = HEAP32[$0 + 9480 >> 2]; - $4 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $5 = HEAP32[$0 + 9480 >> 2]; - $6 = float_20b2RevoluteJointDef_____20emscripten__internal__getContext_float_20b2RevoluteJointDef_____28float_20b2RevoluteJointDef____20const__29($0 + 9484 | 0); - $7 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12836 >> 2] = HEAP32[$0 + 9476 >> 2]; - _embind_register_class_property($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 9476 >> 2], float_20b2RevoluteJointDef_____20emscripten__internal__getContext_float_20b2RevoluteJointDef_____28float_20b2RevoluteJointDef____20const__29($0 + 9484 | 0) | 0); - HEAP32[$0 + 9636 >> 2] = $0 + 1950; - HEAP32[$0 + 9632 >> 2] = 2762; - void_20emscripten__base_b2Joint___verify_b2RevoluteJoint__28_29(); - HEAP32[$0 + 9628 >> 2] = 321; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2Joint__20_28_emscripten__base_b2Joint___getUpcaster_b2RevoluteJoint__28_29_29_28b2RevoluteJoint__29(), - HEAP32[wasm2js_i32$0 + 9624 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2RevoluteJoint__20_28_emscripten__base_b2Joint___getDowncaster_b2RevoluteJoint__28_29_29_28b2Joint__29(), - HEAP32[wasm2js_i32$0 + 9620 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 9616 >> 2] = 322; - $1 = emscripten__internal__TypeID_b2RevoluteJoint_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RevoluteJoint__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const__2c_20void___get_28_29(); - $4 = emscripten__base_b2Joint___get_28_29(); - HEAP32[$0 + 12856 >> 2] = HEAP32[$0 + 9628 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 9628 >> 2]; - HEAP32[$0 + 12860 >> 2] = HEAP32[$0 + 9624 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $8 = HEAP32[$0 + 9624 >> 2]; - HEAP32[$0 + 12864 >> 2] = HEAP32[$0 + 9620 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $10 = HEAP32[$0 + 9620 >> 2]; - $11 = HEAP32[$0 + 9632 >> 2]; - HEAP32[$0 + 12868 >> 2] = HEAP32[$0 + 9616 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 9616 >> 2]); - HEAP32[$0 + 1944 >> 2] = 0; - HEAP32[$0 + 1940 >> 2] = 323; - $1 = HEAP32[$0 + 1944 >> 2]; - $2 = HEAP32[$0 + 1940 >> 2]; - HEAP32[$0 + 9672 >> 2] = $2; - HEAP32[$0 + 9676 >> 2] = $1; - $1 = HEAP32[$0 + 9672 >> 2]; - $2 = HEAP32[$0 + 9676 >> 2]; - HEAP32[$0 + 9700 >> 2] = $0 + 1950; - HEAP32[$0 + 9696 >> 2] = 11449; - HEAP32[$0 + 9692 >> 2] = $2; - HEAP32[$0 + 9688 >> 2] = $1; - $3 = HEAP32[$0 + 9700 >> 2]; - $4 = HEAP32[$0 + 9696 >> 2]; - $1 = HEAP32[$0 + 9688 >> 2]; - HEAP32[$0 + 9684 >> 2] = HEAP32[$0 + 9692 >> 2]; - HEAP32[$0 + 9680 >> 2] = $1; - $2 = HEAP32[$0 + 9684 >> 2]; - $1 = HEAP32[$0 + 9680 >> 2]; - HEAP32[$0 + 376 >> 2] = $1; - HEAP32[$0 + 380 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2RevoluteJoint____29_28_29_20const___invoke_b2RevoluteJoint__28char_20const__2c_20b2Vec2_20const__20_28b2RevoluteJoint____29_28_29_20const_29($4, $0 + 376 | 0); - HEAP32[$0 + 1936 >> 2] = 0; - HEAP32[$0 + 1932 >> 2] = 324; - $1 = HEAP32[$0 + 1936 >> 2]; - $2 = HEAP32[$0 + 1932 >> 2]; - HEAP32[$0 + 9640 >> 2] = $2; - HEAP32[$0 + 9644 >> 2] = $1; - $1 = HEAP32[$0 + 9640 >> 2]; - $2 = HEAP32[$0 + 9644 >> 2]; - HEAP32[$0 + 9668 >> 2] = $3; - HEAP32[$0 + 9664 >> 2] = 11311; - HEAP32[$0 + 9660 >> 2] = $2; - HEAP32[$0 + 9656 >> 2] = $1; - $3 = HEAP32[$0 + 9668 >> 2]; - $4 = HEAP32[$0 + 9664 >> 2]; - $1 = HEAP32[$0 + 9656 >> 2]; - HEAP32[$0 + 9652 >> 2] = HEAP32[$0 + 9660 >> 2]; - HEAP32[$0 + 9648 >> 2] = $1; - $2 = HEAP32[$0 + 9652 >> 2]; - $1 = HEAP32[$0 + 9648 >> 2]; - HEAP32[$0 + 368 >> 2] = $1; - HEAP32[$0 + 372 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2RevoluteJoint____29_28_29_20const___invoke_b2RevoluteJoint__28char_20const__2c_20b2Vec2_20const__20_28b2RevoluteJoint____29_28_29_20const_29($4, $0 + 368 | 0); - HEAP32[$0 + 1928 >> 2] = 0; - HEAP32[$0 + 1924 >> 2] = 325; - $1 = HEAP32[$0 + 1928 >> 2]; - $2 = HEAP32[$0 + 1924 >> 2]; - HEAP32[$0 + 9896 >> 2] = $2; - HEAP32[$0 + 9900 >> 2] = $1; - $1 = HEAP32[$0 + 9896 >> 2]; - $2 = HEAP32[$0 + 9900 >> 2]; - HEAP32[$0 + 9924 >> 2] = $3; - HEAP32[$0 + 9920 >> 2] = 9691; - HEAP32[$0 + 9916 >> 2] = $2; - HEAP32[$0 + 9912 >> 2] = $1; - $3 = HEAP32[$0 + 9924 >> 2]; - $4 = HEAP32[$0 + 9920 >> 2]; - $1 = HEAP32[$0 + 9912 >> 2]; - HEAP32[$0 + 9908 >> 2] = HEAP32[$0 + 9916 >> 2]; - HEAP32[$0 + 9904 >> 2] = $1; - $2 = HEAP32[$0 + 9908 >> 2]; - $1 = HEAP32[$0 + 9904 >> 2]; - HEAP32[$0 + 360 >> 2] = $1; - HEAP32[$0 + 364 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2RevoluteJoint____29_28_29_20const___invoke_b2RevoluteJoint__28char_20const__2c_20float_20_28b2RevoluteJoint____29_28_29_20const_29($4, $0 + 360 | 0); - HEAP32[$0 + 1920 >> 2] = 0; - HEAP32[$0 + 1916 >> 2] = 326; - $1 = HEAP32[$0 + 1920 >> 2]; - $2 = HEAP32[$0 + 1916 >> 2]; - HEAP32[$0 + 9864 >> 2] = $2; - HEAP32[$0 + 9868 >> 2] = $1; - $1 = HEAP32[$0 + 9864 >> 2]; - $2 = HEAP32[$0 + 9868 >> 2]; - HEAP32[$0 + 9892 >> 2] = $3; - HEAP32[$0 + 9888 >> 2] = 9631; - HEAP32[$0 + 9884 >> 2] = $2; - HEAP32[$0 + 9880 >> 2] = $1; - $3 = HEAP32[$0 + 9892 >> 2]; - $4 = HEAP32[$0 + 9888 >> 2]; - $1 = HEAP32[$0 + 9880 >> 2]; - HEAP32[$0 + 9876 >> 2] = HEAP32[$0 + 9884 >> 2]; - HEAP32[$0 + 9872 >> 2] = $1; - $2 = HEAP32[$0 + 9876 >> 2]; - $1 = HEAP32[$0 + 9872 >> 2]; - HEAP32[$0 + 352 >> 2] = $1; - HEAP32[$0 + 356 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2RevoluteJoint____29_28_29_20const___invoke_b2RevoluteJoint__28char_20const__2c_20float_20_28b2RevoluteJoint____29_28_29_20const_29($4, $0 + 352 | 0); - HEAP32[$0 + 1912 >> 2] = 0; - HEAP32[$0 + 1908 >> 2] = 327; - $1 = HEAP32[$0 + 1912 >> 2]; - $2 = HEAP32[$0 + 1908 >> 2]; - HEAP32[$0 + 9832 >> 2] = $2; - HEAP32[$0 + 9836 >> 2] = $1; - $1 = HEAP32[$0 + 9832 >> 2]; - $2 = HEAP32[$0 + 9836 >> 2]; - HEAP32[$0 + 9860 >> 2] = $3; - HEAP32[$0 + 9856 >> 2] = 10506; - HEAP32[$0 + 9852 >> 2] = $2; - HEAP32[$0 + 9848 >> 2] = $1; - $3 = HEAP32[$0 + 9860 >> 2]; - $4 = HEAP32[$0 + 9856 >> 2]; - $1 = HEAP32[$0 + 9848 >> 2]; - HEAP32[$0 + 9844 >> 2] = HEAP32[$0 + 9852 >> 2]; - HEAP32[$0 + 9840 >> 2] = $1; - $2 = HEAP32[$0 + 9844 >> 2]; - $1 = HEAP32[$0 + 9840 >> 2]; - HEAP32[$0 + 344 >> 2] = $1; - HEAP32[$0 + 348 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2RevoluteJoint____29_28_29_20const___invoke_b2RevoluteJoint__28char_20const__2c_20float_20_28b2RevoluteJoint____29_28_29_20const_29($4, $0 + 344 | 0); - HEAP32[$0 + 1904 >> 2] = 0; - HEAP32[$0 + 1900 >> 2] = 328; - $1 = HEAP32[$0 + 1904 >> 2]; - $2 = HEAP32[$0 + 1900 >> 2]; - HEAP32[$0 + 9960 >> 2] = $2; - HEAP32[$0 + 9964 >> 2] = $1; - $1 = HEAP32[$0 + 9960 >> 2]; - $2 = HEAP32[$0 + 9964 >> 2]; - HEAP32[$0 + 9988 >> 2] = $3; - HEAP32[$0 + 9984 >> 2] = 10448; - HEAP32[$0 + 9980 >> 2] = $2; - HEAP32[$0 + 9976 >> 2] = $1; - $3 = HEAP32[$0 + 9988 >> 2]; - $4 = HEAP32[$0 + 9984 >> 2]; - $1 = HEAP32[$0 + 9976 >> 2]; - HEAP32[$0 + 9972 >> 2] = HEAP32[$0 + 9980 >> 2]; - HEAP32[$0 + 9968 >> 2] = $1; - $2 = HEAP32[$0 + 9972 >> 2]; - $1 = HEAP32[$0 + 9968 >> 2]; - HEAP32[$0 + 336 >> 2] = $1; - HEAP32[$0 + 340 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_bool_20_28b2RevoluteJoint____29_28_29_20const___invoke_b2RevoluteJoint__28char_20const__2c_20bool_20_28b2RevoluteJoint____29_28_29_20const_29($4, $0 + 336 | 0); - HEAP32[$0 + 1896 >> 2] = 0; - HEAP32[$0 + 1892 >> 2] = 329; - $1 = HEAP32[$0 + 1896 >> 2]; - $2 = HEAP32[$0 + 1892 >> 2]; - HEAP32[$0 + 10024 >> 2] = $2; - HEAP32[$0 + 10028 >> 2] = $1; - $1 = HEAP32[$0 + 10024 >> 2]; - $2 = HEAP32[$0 + 10028 >> 2]; - HEAP32[$0 + 10052 >> 2] = $3; - HEAP32[$0 + 10048 >> 2] = 3049; - HEAP32[$0 + 10044 >> 2] = $2; - HEAP32[$0 + 10040 >> 2] = $1; - $3 = HEAP32[$0 + 10052 >> 2]; - $4 = HEAP32[$0 + 10048 >> 2]; - $1 = HEAP32[$0 + 10040 >> 2]; - HEAP32[$0 + 10036 >> 2] = HEAP32[$0 + 10044 >> 2]; - HEAP32[$0 + 10032 >> 2] = $1; - $2 = HEAP32[$0 + 10036 >> 2]; - $1 = HEAP32[$0 + 10032 >> 2]; - HEAP32[$0 + 328 >> 2] = $1; - HEAP32[$0 + 332 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2RevoluteJoint____29_28bool_29___invoke_b2RevoluteJoint__28char_20const__2c_20void_20_28b2RevoluteJoint____29_28bool_29_29($4, $0 + 328 | 0); - HEAP32[$0 + 1888 >> 2] = 0; - HEAP32[$0 + 1884 >> 2] = 330; - $1 = HEAP32[$0 + 1888 >> 2]; - $2 = HEAP32[$0 + 1884 >> 2]; - HEAP32[$0 + 9800 >> 2] = $2; - HEAP32[$0 + 9804 >> 2] = $1; - $1 = HEAP32[$0 + 9800 >> 2]; - $2 = HEAP32[$0 + 9804 >> 2]; - HEAP32[$0 + 9828 >> 2] = $3; - HEAP32[$0 + 9824 >> 2] = 3009; - HEAP32[$0 + 9820 >> 2] = $2; - HEAP32[$0 + 9816 >> 2] = $1; - $3 = HEAP32[$0 + 9828 >> 2]; - $4 = HEAP32[$0 + 9824 >> 2]; - $1 = HEAP32[$0 + 9816 >> 2]; - HEAP32[$0 + 9812 >> 2] = HEAP32[$0 + 9820 >> 2]; - HEAP32[$0 + 9808 >> 2] = $1; - $2 = HEAP32[$0 + 9812 >> 2]; - $1 = HEAP32[$0 + 9808 >> 2]; - HEAP32[$0 + 320 >> 2] = $1; - HEAP32[$0 + 324 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2RevoluteJoint____29_28_29_20const___invoke_b2RevoluteJoint__28char_20const__2c_20float_20_28b2RevoluteJoint____29_28_29_20const_29($4, $0 + 320 | 0); - HEAP32[$0 + 1880 >> 2] = 0; - HEAP32[$0 + 1876 >> 2] = 331; - $1 = HEAP32[$0 + 1880 >> 2]; - $2 = HEAP32[$0 + 1876 >> 2]; - HEAP32[$0 + 9768 >> 2] = $2; - HEAP32[$0 + 9772 >> 2] = $1; - $1 = HEAP32[$0 + 9768 >> 2]; - $2 = HEAP32[$0 + 9772 >> 2]; - HEAP32[$0 + 9796 >> 2] = $3; - HEAP32[$0 + 9792 >> 2] = 3023; - HEAP32[$0 + 9788 >> 2] = $2; - HEAP32[$0 + 9784 >> 2] = $1; - $3 = HEAP32[$0 + 9796 >> 2]; - $4 = HEAP32[$0 + 9792 >> 2]; - $1 = HEAP32[$0 + 9784 >> 2]; - HEAP32[$0 + 9780 >> 2] = HEAP32[$0 + 9788 >> 2]; - HEAP32[$0 + 9776 >> 2] = $1; - $2 = HEAP32[$0 + 9780 >> 2]; - $1 = HEAP32[$0 + 9776 >> 2]; - HEAP32[$0 + 312 >> 2] = $1; - HEAP32[$0 + 316 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2RevoluteJoint____29_28_29_20const___invoke_b2RevoluteJoint__28char_20const__2c_20float_20_28b2RevoluteJoint____29_28_29_20const_29($4, $0 + 312 | 0); - HEAP32[$0 + 1872 >> 2] = 0; - HEAP32[$0 + 1868 >> 2] = 332; - $1 = HEAP32[$0 + 1872 >> 2]; - $2 = HEAP32[$0 + 1868 >> 2]; - HEAP32[$0 + 10056 >> 2] = $2; - HEAP32[$0 + 10060 >> 2] = $1; - $1 = HEAP32[$0 + 10056 >> 2]; - $2 = HEAP32[$0 + 10060 >> 2]; - HEAP32[$0 + 10084 >> 2] = $3; - HEAP32[$0 + 10080 >> 2] = 3570; - HEAP32[$0 + 10076 >> 2] = $2; - HEAP32[$0 + 10072 >> 2] = $1; - $3 = HEAP32[$0 + 10084 >> 2]; - $4 = HEAP32[$0 + 10080 >> 2]; - $1 = HEAP32[$0 + 10072 >> 2]; - HEAP32[$0 + 10068 >> 2] = HEAP32[$0 + 10076 >> 2]; - HEAP32[$0 + 10064 >> 2] = $1; - $2 = HEAP32[$0 + 10068 >> 2]; - $1 = HEAP32[$0 + 10064 >> 2]; - HEAP32[$0 + 304 >> 2] = $1; - HEAP32[$0 + 308 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2RevoluteJoint____29_28float_2c_20float_29___invoke_b2RevoluteJoint__28char_20const__2c_20void_20_28b2RevoluteJoint____29_28float_2c_20float_29_29($4, $0 + 304 | 0); - HEAP32[$0 + 1864 >> 2] = 0; - HEAP32[$0 + 1860 >> 2] = 333; - $1 = HEAP32[$0 + 1864 >> 2]; - $2 = HEAP32[$0 + 1860 >> 2]; - HEAP32[$0 + 9928 >> 2] = $2; - HEAP32[$0 + 9932 >> 2] = $1; - $1 = HEAP32[$0 + 9928 >> 2]; - $2 = HEAP32[$0 + 9932 >> 2]; - HEAP32[$0 + 9956 >> 2] = $3; - HEAP32[$0 + 9952 >> 2] = 10491; - HEAP32[$0 + 9948 >> 2] = $2; - HEAP32[$0 + 9944 >> 2] = $1; - $3 = HEAP32[$0 + 9956 >> 2]; - $4 = HEAP32[$0 + 9952 >> 2]; - $1 = HEAP32[$0 + 9944 >> 2]; - HEAP32[$0 + 9940 >> 2] = HEAP32[$0 + 9948 >> 2]; - HEAP32[$0 + 9936 >> 2] = $1; - $2 = HEAP32[$0 + 9940 >> 2]; - $1 = HEAP32[$0 + 9936 >> 2]; - HEAP32[$0 + 296 >> 2] = $1; - HEAP32[$0 + 300 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_bool_20_28b2RevoluteJoint____29_28_29_20const___invoke_b2RevoluteJoint__28char_20const__2c_20bool_20_28b2RevoluteJoint____29_28_29_20const_29($4, $0 + 296 | 0); - HEAP32[$0 + 1856 >> 2] = 0; - HEAP32[$0 + 1852 >> 2] = 334; - $1 = HEAP32[$0 + 1856 >> 2]; - $2 = HEAP32[$0 + 1852 >> 2]; - HEAP32[$0 + 9992 >> 2] = $2; - HEAP32[$0 + 9996 >> 2] = $1; - $1 = HEAP32[$0 + 9992 >> 2]; - $2 = HEAP32[$0 + 9996 >> 2]; - HEAP32[$0 + 10020 >> 2] = $3; - HEAP32[$0 + 10016 >> 2] = 3825; - HEAP32[$0 + 10012 >> 2] = $2; - HEAP32[$0 + 10008 >> 2] = $1; - $3 = HEAP32[$0 + 10020 >> 2]; - $4 = HEAP32[$0 + 10016 >> 2]; - $1 = HEAP32[$0 + 10008 >> 2]; - HEAP32[$0 + 10004 >> 2] = HEAP32[$0 + 10012 >> 2]; - HEAP32[$0 + 1e4 >> 2] = $1; - $2 = HEAP32[$0 + 10004 >> 2]; - $1 = HEAP32[$0 + 1e4 >> 2]; - HEAP32[$0 + 288 >> 2] = $1; - HEAP32[$0 + 292 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2RevoluteJoint____29_28bool_29___invoke_b2RevoluteJoint__28char_20const__2c_20void_20_28b2RevoluteJoint____29_28bool_29_29($4, $0 + 288 | 0); - HEAP32[$0 + 1848 >> 2] = 0; - HEAP32[$0 + 1844 >> 2] = 335; - $1 = HEAP32[$0 + 1848 >> 2]; - $2 = HEAP32[$0 + 1844 >> 2]; - HEAP32[$0 + 10120 >> 2] = $2; - HEAP32[$0 + 10124 >> 2] = $1; - $1 = HEAP32[$0 + 10120 >> 2]; - $2 = HEAP32[$0 + 10124 >> 2]; - HEAP32[$0 + 10148 >> 2] = $3; - HEAP32[$0 + 10144 >> 2] = 10577; - HEAP32[$0 + 10140 >> 2] = $2; - HEAP32[$0 + 10136 >> 2] = $1; - $3 = HEAP32[$0 + 10148 >> 2]; - $4 = HEAP32[$0 + 10144 >> 2]; - $1 = HEAP32[$0 + 10136 >> 2]; - HEAP32[$0 + 10132 >> 2] = HEAP32[$0 + 10140 >> 2]; - HEAP32[$0 + 10128 >> 2] = $1; - $2 = HEAP32[$0 + 10132 >> 2]; - $1 = HEAP32[$0 + 10128 >> 2]; - HEAP32[$0 + 280 >> 2] = $1; - HEAP32[$0 + 284 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2RevoluteJoint____29_28float_29___invoke_b2RevoluteJoint__28char_20const__2c_20void_20_28b2RevoluteJoint____29_28float_29_29($4, $0 + 280 | 0); - HEAP32[$0 + 1840 >> 2] = 0; - HEAP32[$0 + 1836 >> 2] = 336; - $1 = HEAP32[$0 + 1840 >> 2]; - $2 = HEAP32[$0 + 1836 >> 2]; - HEAP32[$0 + 9736 >> 2] = $2; - HEAP32[$0 + 9740 >> 2] = $1; - $1 = HEAP32[$0 + 9736 >> 2]; - $2 = HEAP32[$0 + 9740 >> 2]; - HEAP32[$0 + 9764 >> 2] = $3; - HEAP32[$0 + 9760 >> 2] = 10591; - HEAP32[$0 + 9756 >> 2] = $2; - HEAP32[$0 + 9752 >> 2] = $1; - $3 = HEAP32[$0 + 9764 >> 2]; - $4 = HEAP32[$0 + 9760 >> 2]; - $1 = HEAP32[$0 + 9752 >> 2]; - HEAP32[$0 + 9748 >> 2] = HEAP32[$0 + 9756 >> 2]; - HEAP32[$0 + 9744 >> 2] = $1; - $2 = HEAP32[$0 + 9748 >> 2]; - $1 = HEAP32[$0 + 9744 >> 2]; - HEAP32[$0 + 272 >> 2] = $1; - HEAP32[$0 + 276 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2RevoluteJoint____29_28_29_20const___invoke_b2RevoluteJoint__28char_20const__2c_20float_20_28b2RevoluteJoint____29_28_29_20const_29($4, $0 + 272 | 0); - HEAP32[$0 + 1832 >> 2] = 0; - HEAP32[$0 + 1828 >> 2] = 337; - $1 = HEAP32[$0 + 1832 >> 2]; - $2 = HEAP32[$0 + 1828 >> 2]; - HEAP32[$0 + 10088 >> 2] = $2; - HEAP32[$0 + 10092 >> 2] = $1; - $1 = HEAP32[$0 + 10088 >> 2]; - $2 = HEAP32[$0 + 10092 >> 2]; - HEAP32[$0 + 10116 >> 2] = $3; - HEAP32[$0 + 10112 >> 2] = 8983; - HEAP32[$0 + 10108 >> 2] = $2; - HEAP32[$0 + 10104 >> 2] = $1; - $3 = HEAP32[$0 + 10116 >> 2]; - $4 = HEAP32[$0 + 10112 >> 2]; - $1 = HEAP32[$0 + 10104 >> 2]; - HEAP32[$0 + 10100 >> 2] = HEAP32[$0 + 10108 >> 2]; - HEAP32[$0 + 10096 >> 2] = $1; - $2 = HEAP32[$0 + 10100 >> 2]; - $1 = HEAP32[$0 + 10096 >> 2]; - HEAP32[$0 + 264 >> 2] = $1; - HEAP32[$0 + 268 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2RevoluteJoint____29_28float_29___invoke_b2RevoluteJoint__28char_20const__2c_20void_20_28b2RevoluteJoint____29_28float_29_29($4, $0 + 264 | 0); - HEAP32[$0 + 1824 >> 2] = 0; - HEAP32[$0 + 1820 >> 2] = 338; - $1 = HEAP32[$0 + 1824 >> 2]; - $2 = HEAP32[$0 + 1820 >> 2]; - HEAP32[$0 + 9704 >> 2] = $2; - HEAP32[$0 + 9708 >> 2] = $1; - $1 = HEAP32[$0 + 9704 >> 2]; - $2 = HEAP32[$0 + 9708 >> 2]; - HEAP32[$0 + 9732 >> 2] = $3; - HEAP32[$0 + 9728 >> 2] = 9001; - HEAP32[$0 + 9724 >> 2] = $2; - HEAP32[$0 + 9720 >> 2] = $1; - $3 = HEAP32[$0 + 9732 >> 2]; - $4 = HEAP32[$0 + 9728 >> 2]; - $1 = HEAP32[$0 + 9720 >> 2]; - HEAP32[$0 + 9716 >> 2] = HEAP32[$0 + 9724 >> 2]; - HEAP32[$0 + 9712 >> 2] = $1; - $2 = HEAP32[$0 + 9716 >> 2]; - $1 = HEAP32[$0 + 9712 >> 2]; - HEAP32[$0 + 256 >> 2] = $1; - HEAP32[$0 + 260 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2RevoluteJoint____29_28_29_20const___invoke_b2RevoluteJoint__28char_20const__2c_20float_20_28b2RevoluteJoint____29_28_29_20const_29($4, $0 + 256 | 0); - HEAP32[$0 + 1816 >> 2] = 0; - HEAP32[$0 + 1812 >> 2] = 339; - $1 = HEAP32[$0 + 1816 >> 2]; - $2 = HEAP32[$0 + 1812 >> 2]; - HEAP32[$0 + 10152 >> 2] = $2; - HEAP32[$0 + 10156 >> 2] = $1; - $1 = HEAP32[$0 + 10152 >> 2]; - $2 = HEAP32[$0 + 10156 >> 2]; - HEAP32[$0 + 10180 >> 2] = $3; - HEAP32[$0 + 10176 >> 2] = 9019; - HEAP32[$0 + 10172 >> 2] = $2; - HEAP32[$0 + 10168 >> 2] = $1; - $3 = HEAP32[$0 + 10180 >> 2]; - $4 = HEAP32[$0 + 10176 >> 2]; - $1 = HEAP32[$0 + 10168 >> 2]; - HEAP32[$0 + 10164 >> 2] = HEAP32[$0 + 10172 >> 2]; - HEAP32[$0 + 10160 >> 2] = $1; - $2 = HEAP32[$0 + 10164 >> 2]; - $1 = HEAP32[$0 + 10160 >> 2]; - HEAP32[$0 + 248 >> 2] = $1; - HEAP32[$0 + 252 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2RevoluteJoint____29_28float_29_20const___invoke_b2RevoluteJoint__28char_20const__2c_20float_20_28b2RevoluteJoint____29_28float_29_20const_29($4, $0 + 248 | 0); - HEAP32[$0 + 1808 >> 2] = 1; - HEAP32[$0 + 1804 >> 2] = 16; - $1 = HEAP32[$0 + 1808 >> 2]; - $2 = HEAP32[$0 + 1804 >> 2]; - HEAP32[$0 + 10184 >> 2] = $2; - HEAP32[$0 + 10188 >> 2] = $1; - $1 = HEAP32[$0 + 10184 >> 2]; - $2 = HEAP32[$0 + 10188 >> 2]; - HEAP32[$0 + 10212 >> 2] = $3; - HEAP32[$0 + 10208 >> 2] = 6324; - HEAP32[$0 + 10204 >> 2] = $2; - HEAP32[$0 + 10200 >> 2] = $1; - $3 = HEAP32[$0 + 10208 >> 2]; - $1 = HEAP32[$0 + 10200 >> 2]; - HEAP32[$0 + 10196 >> 2] = HEAP32[$0 + 10204 >> 2]; - HEAP32[$0 + 10192 >> 2] = $1; - $2 = HEAP32[$0 + 10196 >> 2]; - $1 = HEAP32[$0 + 10192 >> 2]; - HEAP32[$0 + 240 >> 2] = $1; - HEAP32[$0 + 244 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2RevoluteJoint____29_28_29___invoke_b2RevoluteJoint__28char_20const__2c_20void_20_28b2RevoluteJoint____29_28_29_29($3, $0 + 240 | 0); - HEAP32[$0 + 10236 >> 2] = $0 + 1803; - HEAP32[$0 + 10232 >> 2] = 8102; - void_20emscripten__base_b2JointDef___verify_b2RopeJointDef__28_29(); - HEAP32[$0 + 10228 >> 2] = 340; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2JointDef__20_28_emscripten__base_b2JointDef___getUpcaster_b2RopeJointDef__28_29_29_28b2RopeJointDef__29(), - HEAP32[wasm2js_i32$0 + 10224 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2RopeJointDef__20_28_emscripten__base_b2JointDef___getDowncaster_b2RopeJointDef__28_29_29_28b2JointDef__29(), - HEAP32[wasm2js_i32$0 + 10220 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 10216 >> 2] = 341; - $1 = emscripten__internal__TypeID_b2RopeJointDef_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RopeJointDef__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RopeJointDef_20const__2c_20void___get_28_29(); - $4 = emscripten__base_b2JointDef___get_28_29(); - HEAP32[$0 + 12872 >> 2] = HEAP32[$0 + 10228 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 10228 >> 2]; - HEAP32[$0 + 12876 >> 2] = HEAP32[$0 + 10224 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $8 = HEAP32[$0 + 10224 >> 2]; - HEAP32[$0 + 12880 >> 2] = HEAP32[$0 + 10220 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $10 = HEAP32[$0 + 10220 >> 2]; - $11 = HEAP32[$0 + 10232 >> 2]; - HEAP32[$0 + 12884 >> 2] = HEAP32[$0 + 10216 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 10216 >> 2]); - HEAP32[$0 + 10240 >> 2] = $0 + 1803; - HEAP32[$0 + 12892 >> 2] = HEAP32[$0 + 10240 >> 2]; - HEAP32[$0 + 12888 >> 2] = 342; - $1 = HEAP32[$0 + 12892 >> 2]; - void_20emscripten__internal__RegisterClassConstructor_b2RopeJointDef__20_28__29_28_29___invoke_b2RopeJointDef__28b2RopeJointDef__20_28__29_28_29_29(HEAP32[$0 + 12888 >> 2]); - HEAP32[$0 + 10280 >> 2] = $1; - HEAP32[$0 + 10276 >> 2] = 11436; - HEAP32[$0 + 10272 >> 2] = 20; - $1 = HEAP32[$0 + 10280 >> 2]; - HEAP32[$0 + 10268 >> 2] = 343; - HEAP32[$0 + 10264 >> 2] = 344; - $2 = emscripten__internal__TypeID_b2RopeJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 10276 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12896 >> 2] = HEAP32[$0 + 10268 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 10268 >> 2]; - $7 = b2Vec2_20b2RopeJointDef_____20emscripten__internal__getContext_b2Vec2_20b2RopeJointDef_____28b2Vec2_20b2RopeJointDef____20const__29($0 + 10272 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12904 >> 2] = HEAP32[$0 + 10264 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 10264 >> 2], b2Vec2_20b2RopeJointDef_____20emscripten__internal__getContext_b2Vec2_20b2RopeJointDef_____28b2Vec2_20b2RopeJointDef____20const__29($0 + 10272 | 0) | 0); - HEAP32[$0 + 10260 >> 2] = $1; - HEAP32[$0 + 10256 >> 2] = 11298; - HEAP32[$0 + 10252 >> 2] = 28; - $1 = HEAP32[$0 + 10260 >> 2]; - HEAP32[$0 + 10248 >> 2] = 343; - HEAP32[$0 + 10244 >> 2] = 344; - $2 = emscripten__internal__TypeID_b2RopeJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 10256 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12900 >> 2] = HEAP32[$0 + 10248 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 10248 >> 2]; - $7 = b2Vec2_20b2RopeJointDef_____20emscripten__internal__getContext_b2Vec2_20b2RopeJointDef_____28b2Vec2_20b2RopeJointDef____20const__29($0 + 10252 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12908 >> 2] = HEAP32[$0 + 10244 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 10244 >> 2], b2Vec2_20b2RopeJointDef_____20emscripten__internal__getContext_b2Vec2_20b2RopeJointDef_____28b2Vec2_20b2RopeJointDef____20const__29($0 + 10252 | 0) | 0); - HEAP32[$0 + 10300 >> 2] = $1; - HEAP32[$0 + 10296 >> 2] = 7225; - HEAP32[$0 + 10292 >> 2] = 36; - HEAP32[$0 + 10288 >> 2] = 345; - HEAP32[$0 + 10284 >> 2] = 346; - $1 = emscripten__internal__TypeID_b2RopeJointDef_2c_20void___get_28_29(); - $2 = HEAP32[$0 + 10296 >> 2]; - $3 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12912 >> 2] = HEAP32[$0 + 10288 >> 2]; - $4 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $5 = HEAP32[$0 + 10288 >> 2]; - $6 = float_20b2RopeJointDef_____20emscripten__internal__getContext_float_20b2RopeJointDef_____28float_20b2RopeJointDef____20const__29($0 + 10292 | 0); - $7 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12916 >> 2] = HEAP32[$0 + 10284 >> 2]; - _embind_register_class_property($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 10284 >> 2], float_20b2RopeJointDef_____20emscripten__internal__getContext_float_20b2RopeJointDef_____28float_20b2RopeJointDef____20const__29($0 + 10292 | 0) | 0); - HEAP32[$0 + 10324 >> 2] = $0 + 1802; - HEAP32[$0 + 10320 >> 2] = 2801; - void_20emscripten__base_b2Joint___verify_b2RopeJoint__28_29(); - HEAP32[$0 + 10316 >> 2] = 347; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2Joint__20_28_emscripten__base_b2Joint___getUpcaster_b2RopeJoint__28_29_29_28b2RopeJoint__29(), - HEAP32[wasm2js_i32$0 + 10312 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2RopeJoint__20_28_emscripten__base_b2Joint___getDowncaster_b2RopeJoint__28_29_29_28b2Joint__29(), - HEAP32[wasm2js_i32$0 + 10308 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 10304 >> 2] = 348; - $1 = emscripten__internal__TypeID_b2RopeJoint_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RopeJoint__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RopeJoint_20const__2c_20void___get_28_29(); - $4 = emscripten__base_b2Joint___get_28_29(); - HEAP32[$0 + 12920 >> 2] = HEAP32[$0 + 10316 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 10316 >> 2]; - HEAP32[$0 + 12924 >> 2] = HEAP32[$0 + 10312 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $8 = HEAP32[$0 + 10312 >> 2]; - HEAP32[$0 + 12928 >> 2] = HEAP32[$0 + 10308 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $10 = HEAP32[$0 + 10308 >> 2]; - $11 = HEAP32[$0 + 10320 >> 2]; - HEAP32[$0 + 12932 >> 2] = HEAP32[$0 + 10304 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 10304 >> 2]); - HEAP32[$0 + 1796 >> 2] = 0; - HEAP32[$0 + 1792 >> 2] = 349; - $1 = HEAP32[$0 + 1796 >> 2]; - $2 = HEAP32[$0 + 1792 >> 2]; - HEAP32[$0 + 10360 >> 2] = $2; - HEAP32[$0 + 10364 >> 2] = $1; - $1 = HEAP32[$0 + 10360 >> 2]; - $2 = HEAP32[$0 + 10364 >> 2]; - HEAP32[$0 + 10388 >> 2] = $0 + 1802; - HEAP32[$0 + 10384 >> 2] = 11449; - HEAP32[$0 + 10380 >> 2] = $2; - HEAP32[$0 + 10376 >> 2] = $1; - $3 = HEAP32[$0 + 10388 >> 2]; - $4 = HEAP32[$0 + 10384 >> 2]; - $1 = HEAP32[$0 + 10376 >> 2]; - HEAP32[$0 + 10372 >> 2] = HEAP32[$0 + 10380 >> 2]; - HEAP32[$0 + 10368 >> 2] = $1; - $2 = HEAP32[$0 + 10372 >> 2]; - $1 = HEAP32[$0 + 10368 >> 2]; - HEAP32[$0 + 232 >> 2] = $1; - HEAP32[$0 + 236 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2RopeJoint____29_28_29_20const___invoke_b2RopeJoint__28char_20const__2c_20b2Vec2_20const__20_28b2RopeJoint____29_28_29_20const_29($4, $0 + 232 | 0); - HEAP32[$0 + 1788 >> 2] = 0; - HEAP32[$0 + 1784 >> 2] = 350; - $1 = HEAP32[$0 + 1788 >> 2]; - $2 = HEAP32[$0 + 1784 >> 2]; - HEAP32[$0 + 10328 >> 2] = $2; - HEAP32[$0 + 10332 >> 2] = $1; - $1 = HEAP32[$0 + 10328 >> 2]; - $2 = HEAP32[$0 + 10332 >> 2]; - HEAP32[$0 + 10356 >> 2] = $3; - HEAP32[$0 + 10352 >> 2] = 11311; - HEAP32[$0 + 10348 >> 2] = $2; - HEAP32[$0 + 10344 >> 2] = $1; - $3 = HEAP32[$0 + 10356 >> 2]; - $4 = HEAP32[$0 + 10352 >> 2]; - $1 = HEAP32[$0 + 10344 >> 2]; - HEAP32[$0 + 10340 >> 2] = HEAP32[$0 + 10348 >> 2]; - HEAP32[$0 + 10336 >> 2] = $1; - $2 = HEAP32[$0 + 10340 >> 2]; - $1 = HEAP32[$0 + 10336 >> 2]; - HEAP32[$0 + 224 >> 2] = $1; - HEAP32[$0 + 228 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2RopeJoint____29_28_29_20const___invoke_b2RopeJoint__28char_20const__2c_20b2Vec2_20const__20_28b2RopeJoint____29_28_29_20const_29($4, $0 + 224 | 0); - HEAP32[$0 + 1780 >> 2] = 1; - HEAP32[$0 + 1776 >> 2] = 8; - $1 = HEAP32[$0 + 1780 >> 2]; - $2 = HEAP32[$0 + 1776 >> 2]; - HEAP32[$0 + 10392 >> 2] = $2; - HEAP32[$0 + 10396 >> 2] = $1; - $1 = HEAP32[$0 + 10392 >> 2]; - $2 = HEAP32[$0 + 10396 >> 2]; - HEAP32[$0 + 10420 >> 2] = $3; - HEAP32[$0 + 10416 >> 2] = 10175; - HEAP32[$0 + 10412 >> 2] = $2; - HEAP32[$0 + 10408 >> 2] = $1; - $3 = HEAP32[$0 + 10420 >> 2]; - $4 = HEAP32[$0 + 10416 >> 2]; - $1 = HEAP32[$0 + 10408 >> 2]; - HEAP32[$0 + 10404 >> 2] = HEAP32[$0 + 10412 >> 2]; - HEAP32[$0 + 10400 >> 2] = $1; - $2 = HEAP32[$0 + 10404 >> 2]; - $1 = HEAP32[$0 + 10400 >> 2]; - HEAP32[$0 + 216 >> 2] = $1; - HEAP32[$0 + 220 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20_28b2RopeJoint____29_28float_29_20const___invoke_b2RopeJoint__28char_20const__2c_20b2Vec2_20_28b2RopeJoint____29_28float_29_20const_29($4, $0 + 216 | 0); - HEAP32[$0 + 1772 >> 2] = 1; - HEAP32[$0 + 1768 >> 2] = 12; - $1 = HEAP32[$0 + 1772 >> 2]; - $2 = HEAP32[$0 + 1768 >> 2]; - HEAP32[$0 + 10424 >> 2] = $2; - HEAP32[$0 + 10428 >> 2] = $1; - $1 = HEAP32[$0 + 10424 >> 2]; - $2 = HEAP32[$0 + 10428 >> 2]; - HEAP32[$0 + 10452 >> 2] = $3; - HEAP32[$0 + 10448 >> 2] = 9034; - HEAP32[$0 + 10444 >> 2] = $2; - HEAP32[$0 + 10440 >> 2] = $1; - $3 = HEAP32[$0 + 10452 >> 2]; - $4 = HEAP32[$0 + 10448 >> 2]; - $1 = HEAP32[$0 + 10440 >> 2]; - HEAP32[$0 + 10436 >> 2] = HEAP32[$0 + 10444 >> 2]; - HEAP32[$0 + 10432 >> 2] = $1; - $2 = HEAP32[$0 + 10436 >> 2]; - $1 = HEAP32[$0 + 10432 >> 2]; - HEAP32[$0 + 208 >> 2] = $1; - HEAP32[$0 + 212 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2RopeJoint____29_28float_29_20const___invoke_b2RopeJoint__28char_20const__2c_20float_20_28b2RopeJoint____29_28float_29_20const_29($4, $0 + 208 | 0); - HEAP32[$0 + 1764 >> 2] = 0; - HEAP32[$0 + 1760 >> 2] = 351; - $1 = HEAP32[$0 + 1764 >> 2]; - $2 = HEAP32[$0 + 1760 >> 2]; - HEAP32[$0 + 10456 >> 2] = $2; - HEAP32[$0 + 10460 >> 2] = $1; - $1 = HEAP32[$0 + 10456 >> 2]; - $2 = HEAP32[$0 + 10460 >> 2]; - HEAP32[$0 + 10484 >> 2] = $3; - HEAP32[$0 + 10480 >> 2] = 7235; - HEAP32[$0 + 10476 >> 2] = $2; - HEAP32[$0 + 10472 >> 2] = $1; - $3 = HEAP32[$0 + 10484 >> 2]; - $4 = HEAP32[$0 + 10480 >> 2]; - $1 = HEAP32[$0 + 10472 >> 2]; - HEAP32[$0 + 10468 >> 2] = HEAP32[$0 + 10476 >> 2]; - HEAP32[$0 + 10464 >> 2] = $1; - $2 = HEAP32[$0 + 10468 >> 2]; - $1 = HEAP32[$0 + 10464 >> 2]; - HEAP32[$0 + 200 >> 2] = $1; - HEAP32[$0 + 204 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2RopeJoint____29_28float_29___invoke_b2RopeJoint__28char_20const__2c_20void_20_28b2RopeJoint____29_28float_29_29($4, $0 + 200 | 0); - HEAP32[$0 + 1756 >> 2] = 0; - HEAP32[$0 + 1752 >> 2] = 352; - $1 = HEAP32[$0 + 1756 >> 2]; - $2 = HEAP32[$0 + 1752 >> 2]; - HEAP32[$0 + 10488 >> 2] = $2; - HEAP32[$0 + 10492 >> 2] = $1; - $1 = HEAP32[$0 + 10488 >> 2]; - $2 = HEAP32[$0 + 10492 >> 2]; - HEAP32[$0 + 10516 >> 2] = $3; - HEAP32[$0 + 10512 >> 2] = 7248; - HEAP32[$0 + 10508 >> 2] = $2; - HEAP32[$0 + 10504 >> 2] = $1; - $3 = HEAP32[$0 + 10516 >> 2]; - $4 = HEAP32[$0 + 10512 >> 2]; - $1 = HEAP32[$0 + 10504 >> 2]; - HEAP32[$0 + 10500 >> 2] = HEAP32[$0 + 10508 >> 2]; - HEAP32[$0 + 10496 >> 2] = $1; - $2 = HEAP32[$0 + 10500 >> 2]; - $1 = HEAP32[$0 + 10496 >> 2]; - HEAP32[$0 + 192 >> 2] = $1; - HEAP32[$0 + 196 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2RopeJoint____29_28_29_20const___invoke_b2RopeJoint__28char_20const__2c_20float_20_28b2RopeJoint____29_28_29_20const_29($4, $0 + 192 | 0); - HEAP32[$0 + 1748 >> 2] = 1; - HEAP32[$0 + 1744 >> 2] = 16; - $1 = HEAP32[$0 + 1748 >> 2]; - $2 = HEAP32[$0 + 1744 >> 2]; - HEAP32[$0 + 10520 >> 2] = $2; - HEAP32[$0 + 10524 >> 2] = $1; - $1 = HEAP32[$0 + 10520 >> 2]; - $2 = HEAP32[$0 + 10524 >> 2]; - HEAP32[$0 + 10548 >> 2] = $3; - HEAP32[$0 + 10544 >> 2] = 6324; - HEAP32[$0 + 10540 >> 2] = $2; - HEAP32[$0 + 10536 >> 2] = $1; - $3 = HEAP32[$0 + 10544 >> 2]; - $1 = HEAP32[$0 + 10536 >> 2]; - HEAP32[$0 + 10532 >> 2] = HEAP32[$0 + 10540 >> 2]; - HEAP32[$0 + 10528 >> 2] = $1; - $2 = HEAP32[$0 + 10532 >> 2]; - $1 = HEAP32[$0 + 10528 >> 2]; - HEAP32[$0 + 184 >> 2] = $1; - HEAP32[$0 + 188 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2RopeJoint____29_28_29___invoke_b2RopeJoint__28char_20const__2c_20void_20_28b2RopeJoint____29_28_29_29($3, $0 + 184 | 0); - HEAP32[$0 + 10572 >> 2] = $0 + 1743; - HEAP32[$0 + 10568 >> 2] = 8132; - void_20emscripten__base_b2JointDef___verify_b2WeldJointDef__28_29(); - HEAP32[$0 + 10564 >> 2] = 353; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2JointDef__20_28_emscripten__base_b2JointDef___getUpcaster_b2WeldJointDef__28_29_29_28b2WeldJointDef__29(), - HEAP32[wasm2js_i32$0 + 10560 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2WeldJointDef__20_28_emscripten__base_b2JointDef___getDowncaster_b2WeldJointDef__28_29_29_28b2JointDef__29(), - HEAP32[wasm2js_i32$0 + 10556 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 10552 >> 2] = 354; - $1 = emscripten__internal__TypeID_b2WeldJointDef_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2WeldJointDef__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2WeldJointDef_20const__2c_20void___get_28_29(); - $4 = emscripten__base_b2JointDef___get_28_29(); - HEAP32[$0 + 12936 >> 2] = HEAP32[$0 + 10564 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 10564 >> 2]; - HEAP32[$0 + 12940 >> 2] = HEAP32[$0 + 10560 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $8 = HEAP32[$0 + 10560 >> 2]; - HEAP32[$0 + 12944 >> 2] = HEAP32[$0 + 10556 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $10 = HEAP32[$0 + 10556 >> 2]; - $11 = HEAP32[$0 + 10568 >> 2]; - HEAP32[$0 + 12948 >> 2] = HEAP32[$0 + 10552 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 10552 >> 2]); - HEAP32[$0 + 10576 >> 2] = $0 + 1743; - HEAP32[$0 + 12956 >> 2] = HEAP32[$0 + 10576 >> 2]; - HEAP32[$0 + 12952 >> 2] = 355; - $1 = HEAP32[$0 + 12956 >> 2]; - void_20emscripten__internal__RegisterClassConstructor_b2WeldJointDef__20_28__29_28_29___invoke_b2WeldJointDef__28b2WeldJointDef__20_28__29_28_29_29(HEAP32[$0 + 12952 >> 2]); - HEAP32[$0 + 10616 >> 2] = $1; - HEAP32[$0 + 10612 >> 2] = 11436; - HEAP32[$0 + 10608 >> 2] = 20; - $1 = HEAP32[$0 + 10616 >> 2]; - HEAP32[$0 + 10604 >> 2] = 356; - HEAP32[$0 + 10600 >> 2] = 357; - $2 = emscripten__internal__TypeID_b2WeldJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 10612 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12960 >> 2] = HEAP32[$0 + 10604 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 10604 >> 2]; - $7 = b2Vec2_20b2WeldJointDef_____20emscripten__internal__getContext_b2Vec2_20b2WeldJointDef_____28b2Vec2_20b2WeldJointDef____20const__29($0 + 10608 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12968 >> 2] = HEAP32[$0 + 10600 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 10600 >> 2], b2Vec2_20b2WeldJointDef_____20emscripten__internal__getContext_b2Vec2_20b2WeldJointDef_____28b2Vec2_20b2WeldJointDef____20const__29($0 + 10608 | 0) | 0); - HEAP32[$0 + 10596 >> 2] = $1; - HEAP32[$0 + 10592 >> 2] = 11298; - HEAP32[$0 + 10588 >> 2] = 28; - $1 = HEAP32[$0 + 10596 >> 2]; - HEAP32[$0 + 10584 >> 2] = 356; - HEAP32[$0 + 10580 >> 2] = 357; - $2 = emscripten__internal__TypeID_b2WeldJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 10592 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12964 >> 2] = HEAP32[$0 + 10584 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 10584 >> 2]; - $7 = b2Vec2_20b2WeldJointDef_____20emscripten__internal__getContext_b2Vec2_20b2WeldJointDef_____28b2Vec2_20b2WeldJointDef____20const__29($0 + 10588 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 12972 >> 2] = HEAP32[$0 + 10580 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 10580 >> 2], b2Vec2_20b2WeldJointDef_____20emscripten__internal__getContext_b2Vec2_20b2WeldJointDef_____28b2Vec2_20b2WeldJointDef____20const__29($0 + 10588 | 0) | 0); - HEAP32[$0 + 10676 >> 2] = $1; - HEAP32[$0 + 10672 >> 2] = 9676; - HEAP32[$0 + 10668 >> 2] = 36; - $1 = HEAP32[$0 + 10676 >> 2]; - HEAP32[$0 + 10664 >> 2] = 358; - HEAP32[$0 + 10660 >> 2] = 359; - $2 = emscripten__internal__TypeID_b2WeldJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 10672 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12976 >> 2] = HEAP32[$0 + 10664 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 10664 >> 2]; - $7 = float_20b2WeldJointDef_____20emscripten__internal__getContext_float_20b2WeldJointDef_____28float_20b2WeldJointDef____20const__29($0 + 10668 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12988 >> 2] = HEAP32[$0 + 10660 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 10660 >> 2], float_20b2WeldJointDef_____20emscripten__internal__getContext_float_20b2WeldJointDef_____28float_20b2WeldJointDef____20const__29($0 + 10668 | 0) | 0); - HEAP32[$0 + 10656 >> 2] = $1; - HEAP32[$0 + 10652 >> 2] = 1024; - HEAP32[$0 + 10648 >> 2] = 40; - $1 = HEAP32[$0 + 10656 >> 2]; - HEAP32[$0 + 10644 >> 2] = 358; - HEAP32[$0 + 10640 >> 2] = 359; - $2 = emscripten__internal__TypeID_b2WeldJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 10652 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12980 >> 2] = HEAP32[$0 + 10644 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 10644 >> 2]; - $7 = float_20b2WeldJointDef_____20emscripten__internal__getContext_float_20b2WeldJointDef_____28float_20b2WeldJointDef____20const__29($0 + 10648 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12992 >> 2] = HEAP32[$0 + 10640 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 10640 >> 2], float_20b2WeldJointDef_____20emscripten__internal__getContext_float_20b2WeldJointDef_____28float_20b2WeldJointDef____20const__29($0 + 10648 | 0) | 0); - HEAP32[$0 + 10636 >> 2] = $1; - HEAP32[$0 + 10632 >> 2] = 6366; - HEAP32[$0 + 10628 >> 2] = 44; - HEAP32[$0 + 10624 >> 2] = 358; - HEAP32[$0 + 10620 >> 2] = 359; - $1 = emscripten__internal__TypeID_b2WeldJointDef_2c_20void___get_28_29(); - $2 = HEAP32[$0 + 10632 >> 2]; - $3 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12984 >> 2] = HEAP32[$0 + 10624 >> 2]; - $4 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $5 = HEAP32[$0 + 10624 >> 2]; - $6 = float_20b2WeldJointDef_____20emscripten__internal__getContext_float_20b2WeldJointDef_____28float_20b2WeldJointDef____20const__29($0 + 10628 | 0); - $7 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 12996 >> 2] = HEAP32[$0 + 10620 >> 2]; - _embind_register_class_property($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 10620 >> 2], float_20b2WeldJointDef_____20emscripten__internal__getContext_float_20b2WeldJointDef_____28float_20b2WeldJointDef____20const__29($0 + 10628 | 0) | 0); - HEAP32[$0 + 10700 >> 2] = $0 + 1742; - HEAP32[$0 + 10696 >> 2] = 2825; - void_20emscripten__base_b2Joint___verify_b2WeldJoint__28_29(); - HEAP32[$0 + 10692 >> 2] = 360; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2Joint__20_28_emscripten__base_b2Joint___getUpcaster_b2WeldJoint__28_29_29_28b2WeldJoint__29(), - HEAP32[wasm2js_i32$0 + 10688 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2WeldJoint__20_28_emscripten__base_b2Joint___getDowncaster_b2WeldJoint__28_29_29_28b2Joint__29(), - HEAP32[wasm2js_i32$0 + 10684 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 10680 >> 2] = 361; - $1 = emscripten__internal__TypeID_b2WeldJoint_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2WeldJoint__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2WeldJoint_20const__2c_20void___get_28_29(); - $4 = emscripten__base_b2Joint___get_28_29(); - HEAP32[$0 + 13e3 >> 2] = HEAP32[$0 + 10692 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 10692 >> 2]; - HEAP32[$0 + 13004 >> 2] = HEAP32[$0 + 10688 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $8 = HEAP32[$0 + 10688 >> 2]; - HEAP32[$0 + 13008 >> 2] = HEAP32[$0 + 10684 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $10 = HEAP32[$0 + 10684 >> 2]; - $11 = HEAP32[$0 + 10696 >> 2]; - HEAP32[$0 + 13012 >> 2] = HEAP32[$0 + 10680 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 10680 >> 2]); - HEAP32[$0 + 1736 >> 2] = 0; - HEAP32[$0 + 1732 >> 2] = 362; - $1 = HEAP32[$0 + 1736 >> 2]; - $2 = HEAP32[$0 + 1732 >> 2]; - HEAP32[$0 + 10736 >> 2] = $2; - HEAP32[$0 + 10740 >> 2] = $1; - $1 = HEAP32[$0 + 10736 >> 2]; - $2 = HEAP32[$0 + 10740 >> 2]; - HEAP32[$0 + 10764 >> 2] = $0 + 1742; - HEAP32[$0 + 10760 >> 2] = 11449; - HEAP32[$0 + 10756 >> 2] = $2; - HEAP32[$0 + 10752 >> 2] = $1; - $3 = HEAP32[$0 + 10764 >> 2]; - $4 = HEAP32[$0 + 10760 >> 2]; - $1 = HEAP32[$0 + 10752 >> 2]; - HEAP32[$0 + 10748 >> 2] = HEAP32[$0 + 10756 >> 2]; - HEAP32[$0 + 10744 >> 2] = $1; - $2 = HEAP32[$0 + 10748 >> 2]; - $1 = HEAP32[$0 + 10744 >> 2]; - HEAP32[$0 + 176 >> 2] = $1; - HEAP32[$0 + 180 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2WeldJoint____29_28_29_20const___invoke_b2WeldJoint__28char_20const__2c_20b2Vec2_20const__20_28b2WeldJoint____29_28_29_20const_29($4, $0 + 176 | 0); - HEAP32[$0 + 1728 >> 2] = 0; - HEAP32[$0 + 1724 >> 2] = 363; - $1 = HEAP32[$0 + 1728 >> 2]; - $2 = HEAP32[$0 + 1724 >> 2]; - HEAP32[$0 + 10704 >> 2] = $2; - HEAP32[$0 + 10708 >> 2] = $1; - $1 = HEAP32[$0 + 10704 >> 2]; - $2 = HEAP32[$0 + 10708 >> 2]; - HEAP32[$0 + 10732 >> 2] = $3; - HEAP32[$0 + 10728 >> 2] = 11311; - HEAP32[$0 + 10724 >> 2] = $2; - HEAP32[$0 + 10720 >> 2] = $1; - $3 = HEAP32[$0 + 10732 >> 2]; - $4 = HEAP32[$0 + 10728 >> 2]; - $1 = HEAP32[$0 + 10720 >> 2]; - HEAP32[$0 + 10716 >> 2] = HEAP32[$0 + 10724 >> 2]; - HEAP32[$0 + 10712 >> 2] = $1; - $2 = HEAP32[$0 + 10716 >> 2]; - $1 = HEAP32[$0 + 10712 >> 2]; - HEAP32[$0 + 168 >> 2] = $1; - HEAP32[$0 + 172 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2WeldJoint____29_28_29_20const___invoke_b2WeldJoint__28char_20const__2c_20b2Vec2_20const__20_28b2WeldJoint____29_28_29_20const_29($4, $0 + 168 | 0); - HEAP32[$0 + 1720 >> 2] = 0; - HEAP32[$0 + 1716 >> 2] = 364; - $1 = HEAP32[$0 + 1720 >> 2]; - $2 = HEAP32[$0 + 1716 >> 2]; - HEAP32[$0 + 10832 >> 2] = $2; - HEAP32[$0 + 10836 >> 2] = $1; - $1 = HEAP32[$0 + 10832 >> 2]; - $2 = HEAP32[$0 + 10836 >> 2]; - HEAP32[$0 + 10860 >> 2] = $3; - HEAP32[$0 + 10856 >> 2] = 9691; - HEAP32[$0 + 10852 >> 2] = $2; - HEAP32[$0 + 10848 >> 2] = $1; - $3 = HEAP32[$0 + 10860 >> 2]; - $4 = HEAP32[$0 + 10856 >> 2]; - $1 = HEAP32[$0 + 10848 >> 2]; - HEAP32[$0 + 10844 >> 2] = HEAP32[$0 + 10852 >> 2]; - HEAP32[$0 + 10840 >> 2] = $1; - $2 = HEAP32[$0 + 10844 >> 2]; - $1 = HEAP32[$0 + 10840 >> 2]; - HEAP32[$0 + 160 >> 2] = $1; - HEAP32[$0 + 164 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2WeldJoint____29_28_29_20const___invoke_b2WeldJoint__28char_20const__2c_20float_20_28b2WeldJoint____29_28_29_20const_29($4, $0 + 160 | 0); - HEAP32[$0 + 1712 >> 2] = 0; - HEAP32[$0 + 1708 >> 2] = 365; - $1 = HEAP32[$0 + 1712 >> 2]; - $2 = HEAP32[$0 + 1708 >> 2]; - HEAP32[$0 + 10896 >> 2] = $2; - HEAP32[$0 + 10900 >> 2] = $1; - $1 = HEAP32[$0 + 10896 >> 2]; - $2 = HEAP32[$0 + 10900 >> 2]; - HEAP32[$0 + 10924 >> 2] = $3; - HEAP32[$0 + 10920 >> 2] = 1764; - HEAP32[$0 + 10916 >> 2] = $2; - HEAP32[$0 + 10912 >> 2] = $1; - $3 = HEAP32[$0 + 10924 >> 2]; - $4 = HEAP32[$0 + 10920 >> 2]; - $1 = HEAP32[$0 + 10912 >> 2]; - HEAP32[$0 + 10908 >> 2] = HEAP32[$0 + 10916 >> 2]; - HEAP32[$0 + 10904 >> 2] = $1; - $2 = HEAP32[$0 + 10908 >> 2]; - $1 = HEAP32[$0 + 10904 >> 2]; - HEAP32[$0 + 152 >> 2] = $1; - HEAP32[$0 + 156 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2WeldJoint____29_28float_29___invoke_b2WeldJoint__28char_20const__2c_20void_20_28b2WeldJoint____29_28float_29_29($4, $0 + 152 | 0); - HEAP32[$0 + 1704 >> 2] = 0; - HEAP32[$0 + 1700 >> 2] = 366; - $1 = HEAP32[$0 + 1704 >> 2]; - $2 = HEAP32[$0 + 1700 >> 2]; - HEAP32[$0 + 10800 >> 2] = $2; - HEAP32[$0 + 10804 >> 2] = $1; - $1 = HEAP32[$0 + 10800 >> 2]; - $2 = HEAP32[$0 + 10804 >> 2]; - HEAP32[$0 + 10828 >> 2] = $3; - HEAP32[$0 + 10824 >> 2] = 1777; - HEAP32[$0 + 10820 >> 2] = $2; - HEAP32[$0 + 10816 >> 2] = $1; - $3 = HEAP32[$0 + 10828 >> 2]; - $4 = HEAP32[$0 + 10824 >> 2]; - $1 = HEAP32[$0 + 10816 >> 2]; - HEAP32[$0 + 10812 >> 2] = HEAP32[$0 + 10820 >> 2]; - HEAP32[$0 + 10808 >> 2] = $1; - $2 = HEAP32[$0 + 10812 >> 2]; - $1 = HEAP32[$0 + 10808 >> 2]; - HEAP32[$0 + 144 >> 2] = $1; - HEAP32[$0 + 148 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2WeldJoint____29_28_29_20const___invoke_b2WeldJoint__28char_20const__2c_20float_20_28b2WeldJoint____29_28_29_20const_29($4, $0 + 144 | 0); - HEAP32[$0 + 1696 >> 2] = 0; - HEAP32[$0 + 1692 >> 2] = 367; - $1 = HEAP32[$0 + 1696 >> 2]; - $2 = HEAP32[$0 + 1692 >> 2]; - HEAP32[$0 + 10864 >> 2] = $2; - HEAP32[$0 + 10868 >> 2] = $1; - $1 = HEAP32[$0 + 10864 >> 2]; - $2 = HEAP32[$0 + 10868 >> 2]; - HEAP32[$0 + 10892 >> 2] = $3; - HEAP32[$0 + 10888 >> 2] = 6379; - HEAP32[$0 + 10884 >> 2] = $2; - HEAP32[$0 + 10880 >> 2] = $1; - $3 = HEAP32[$0 + 10892 >> 2]; - $4 = HEAP32[$0 + 10888 >> 2]; - $1 = HEAP32[$0 + 10880 >> 2]; - HEAP32[$0 + 10876 >> 2] = HEAP32[$0 + 10884 >> 2]; - HEAP32[$0 + 10872 >> 2] = $1; - $2 = HEAP32[$0 + 10876 >> 2]; - $1 = HEAP32[$0 + 10872 >> 2]; - HEAP32[$0 + 136 >> 2] = $1; - HEAP32[$0 + 140 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2WeldJoint____29_28float_29___invoke_b2WeldJoint__28char_20const__2c_20void_20_28b2WeldJoint____29_28float_29_29($4, $0 + 136 | 0); - HEAP32[$0 + 1688 >> 2] = 0; - HEAP32[$0 + 1684 >> 2] = 368; - $1 = HEAP32[$0 + 1688 >> 2]; - $2 = HEAP32[$0 + 1684 >> 2]; - HEAP32[$0 + 10768 >> 2] = $2; - HEAP32[$0 + 10772 >> 2] = $1; - $1 = HEAP32[$0 + 10768 >> 2]; - $2 = HEAP32[$0 + 10772 >> 2]; - HEAP32[$0 + 10796 >> 2] = $3; - HEAP32[$0 + 10792 >> 2] = 6395; - HEAP32[$0 + 10788 >> 2] = $2; - HEAP32[$0 + 10784 >> 2] = $1; - $3 = HEAP32[$0 + 10796 >> 2]; - $4 = HEAP32[$0 + 10792 >> 2]; - $1 = HEAP32[$0 + 10784 >> 2]; - HEAP32[$0 + 10780 >> 2] = HEAP32[$0 + 10788 >> 2]; - HEAP32[$0 + 10776 >> 2] = $1; - $2 = HEAP32[$0 + 10780 >> 2]; - $1 = HEAP32[$0 + 10776 >> 2]; - HEAP32[$0 + 128 >> 2] = $1; - HEAP32[$0 + 132 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2WeldJoint____29_28_29_20const___invoke_b2WeldJoint__28char_20const__2c_20float_20_28b2WeldJoint____29_28_29_20const_29($4, $0 + 128 | 0); - HEAP32[$0 + 1680 >> 2] = 1; - HEAP32[$0 + 1676 >> 2] = 16; - $1 = HEAP32[$0 + 1680 >> 2]; - $2 = HEAP32[$0 + 1676 >> 2]; - HEAP32[$0 + 10928 >> 2] = $2; - HEAP32[$0 + 10932 >> 2] = $1; - $1 = HEAP32[$0 + 10928 >> 2]; - $2 = HEAP32[$0 + 10932 >> 2]; - HEAP32[$0 + 10960 >> 2] = $3; - HEAP32[$0 + 10956 >> 2] = 6324; - HEAP32[$0 + 10952 >> 2] = $2; - HEAP32[$0 + 10948 >> 2] = $1; - $3 = HEAP32[$0 + 10956 >> 2]; - $1 = HEAP32[$0 + 10948 >> 2]; - HEAP32[$0 + 10944 >> 2] = HEAP32[$0 + 10952 >> 2]; - HEAP32[$0 + 10940 >> 2] = $1; - $2 = HEAP32[$0 + 10944 >> 2]; - $1 = HEAP32[$0 + 10940 >> 2]; - HEAP32[$0 + 120 >> 2] = $1; - HEAP32[$0 + 124 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2WeldJoint____29_28_29___invoke_b2WeldJoint__28char_20const__2c_20void_20_28b2WeldJoint____29_28_29_29($3, $0 + 120 | 0); - HEAP32[$0 + 10984 >> 2] = $0 + 1675; - HEAP32[$0 + 10980 >> 2] = 8057; - void_20emscripten__base_b2JointDef___verify_b2WheelJointDef__28_29(); - HEAP32[$0 + 10976 >> 2] = 369; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2JointDef__20_28_emscripten__base_b2JointDef___getUpcaster_b2WheelJointDef__28_29_29_28b2WheelJointDef__29(), - HEAP32[wasm2js_i32$0 + 10972 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2WheelJointDef__20_28_emscripten__base_b2JointDef___getDowncaster_b2WheelJointDef__28_29_29_28b2JointDef__29(), - HEAP32[wasm2js_i32$0 + 10968 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 10964 >> 2] = 370; - $1 = emscripten__internal__TypeID_b2WheelJointDef_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2WheelJointDef__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2WheelJointDef_20const__2c_20void___get_28_29(); - $4 = emscripten__base_b2JointDef___get_28_29(); - HEAP32[$0 + 13016 >> 2] = HEAP32[$0 + 10976 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 10976 >> 2]; - HEAP32[$0 + 13020 >> 2] = HEAP32[$0 + 10972 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $8 = HEAP32[$0 + 10972 >> 2]; - HEAP32[$0 + 13024 >> 2] = HEAP32[$0 + 10968 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $10 = HEAP32[$0 + 10968 >> 2]; - $11 = HEAP32[$0 + 10980 >> 2]; - HEAP32[$0 + 13028 >> 2] = HEAP32[$0 + 10964 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 10964 >> 2]); - HEAP32[$0 + 10988 >> 2] = $0 + 1675; - HEAP32[$0 + 13036 >> 2] = HEAP32[$0 + 10988 >> 2]; - HEAP32[$0 + 13032 >> 2] = 371; - $1 = HEAP32[$0 + 13036 >> 2]; - void_20emscripten__internal__RegisterClassConstructor_b2WheelJointDef__20_28__29_28_29___invoke_b2WheelJointDef__28b2WheelJointDef__20_28__29_28_29_29(HEAP32[$0 + 13032 >> 2]); - HEAP32[$0 + 11048 >> 2] = $1; - HEAP32[$0 + 11044 >> 2] = 11436; - HEAP32[$0 + 11040 >> 2] = 20; - $1 = HEAP32[$0 + 11048 >> 2]; - HEAP32[$0 + 11036 >> 2] = 372; - HEAP32[$0 + 11032 >> 2] = 373; - $2 = emscripten__internal__TypeID_b2WheelJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 11044 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 13040 >> 2] = HEAP32[$0 + 11036 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 11036 >> 2]; - $7 = b2Vec2_20b2WheelJointDef_____20emscripten__internal__getContext_b2Vec2_20b2WheelJointDef_____28b2Vec2_20b2WheelJointDef____20const__29($0 + 11040 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 13052 >> 2] = HEAP32[$0 + 11032 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 11032 >> 2], b2Vec2_20b2WheelJointDef_____20emscripten__internal__getContext_b2Vec2_20b2WheelJointDef_____28b2Vec2_20b2WheelJointDef____20const__29($0 + 11040 | 0) | 0); - HEAP32[$0 + 11028 >> 2] = $1; - HEAP32[$0 + 11024 >> 2] = 11298; - HEAP32[$0 + 11020 >> 2] = 28; - $1 = HEAP32[$0 + 11028 >> 2]; - HEAP32[$0 + 11016 >> 2] = 372; - HEAP32[$0 + 11012 >> 2] = 373; - $2 = emscripten__internal__TypeID_b2WheelJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 11024 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 13044 >> 2] = HEAP32[$0 + 11016 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 11016 >> 2]; - $7 = b2Vec2_20b2WheelJointDef_____20emscripten__internal__getContext_b2Vec2_20b2WheelJointDef_____28b2Vec2_20b2WheelJointDef____20const__29($0 + 11020 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 13056 >> 2] = HEAP32[$0 + 11012 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 11012 >> 2], b2Vec2_20b2WheelJointDef_____20emscripten__internal__getContext_b2Vec2_20b2WheelJointDef_____28b2Vec2_20b2WheelJointDef____20const__29($0 + 11020 | 0) | 0); - HEAP32[$0 + 11008 >> 2] = $1; - HEAP32[$0 + 11004 >> 2] = 11400; - HEAP32[$0 + 11e3 >> 2] = 36; - $1 = HEAP32[$0 + 11008 >> 2]; - HEAP32[$0 + 10996 >> 2] = 372; - HEAP32[$0 + 10992 >> 2] = 373; - $2 = emscripten__internal__TypeID_b2WheelJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 11004 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 13048 >> 2] = HEAP32[$0 + 10996 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 10996 >> 2]; - $7 = b2Vec2_20b2WheelJointDef_____20emscripten__internal__getContext_b2Vec2_20b2WheelJointDef_____28b2Vec2_20b2WheelJointDef____20const__29($0 + 11e3 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$0 + 13060 >> 2] = HEAP32[$0 + 10992 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 10992 >> 2], b2Vec2_20b2WheelJointDef_____20emscripten__internal__getContext_b2Vec2_20b2WheelJointDef_____28b2Vec2_20b2WheelJointDef____20const__29($0 + 11e3 | 0) | 0); - HEAP32[$0 + 11068 >> 2] = $1; - HEAP32[$0 + 11064 >> 2] = 3813; - HEAP32[$0 + 11060 >> 2] = 44; - $1 = HEAP32[$0 + 11068 >> 2]; - HEAP32[$0 + 11056 >> 2] = 374; - HEAP32[$0 + 11052 >> 2] = 375; - $2 = emscripten__internal__TypeID_b2WheelJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 11064 >> 2]; - $4 = emscripten__internal__TypeID_bool_2c_20void___get_28_29(); - HEAP32[$0 + 13064 >> 2] = HEAP32[$0 + 11056 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 11056 >> 2]; - $7 = bool_20b2WheelJointDef_____20emscripten__internal__getContext_bool_20b2WheelJointDef_____28bool_20b2WheelJointDef____20const__29($0 + 11060 | 0); - $8 = emscripten__internal__TypeID_bool_2c_20void___get_28_29(); - HEAP32[$0 + 13068 >> 2] = HEAP32[$0 + 11052 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$0 + 11052 >> 2], bool_20b2WheelJointDef_____20emscripten__internal__getContext_bool_20b2WheelJointDef_____28bool_20b2WheelJointDef____20const__29($0 + 11060 | 0) | 0); - HEAP32[$0 + 11148 >> 2] = $1; - HEAP32[$0 + 11144 >> 2] = 8968; - HEAP32[$0 + 11140 >> 2] = 48; - $1 = HEAP32[$0 + 11148 >> 2]; - HEAP32[$0 + 11136 >> 2] = 376; - HEAP32[$0 + 11132 >> 2] = 377; - $2 = emscripten__internal__TypeID_b2WheelJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 11144 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 13072 >> 2] = HEAP32[$0 + 11136 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 11136 >> 2]; - $7 = float_20b2WheelJointDef_____20emscripten__internal__getContext_float_20b2WheelJointDef_____28float_20b2WheelJointDef____20const__29($0 + 11140 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 13088 >> 2] = HEAP32[$0 + 11132 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 11132 >> 2], float_20b2WheelJointDef_____20emscripten__internal__getContext_float_20b2WheelJointDef_____28float_20b2WheelJointDef____20const__29($0 + 11140 | 0) | 0); - HEAP32[$0 + 11128 >> 2] = $1; - HEAP32[$0 + 11124 >> 2] = 10566; - HEAP32[$0 + 11120 >> 2] = 52; - $1 = HEAP32[$0 + 11128 >> 2]; - HEAP32[$0 + 11116 >> 2] = 376; - HEAP32[$0 + 11112 >> 2] = 377; - $2 = emscripten__internal__TypeID_b2WheelJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 11124 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 13076 >> 2] = HEAP32[$0 + 11116 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 11116 >> 2]; - $7 = float_20b2WheelJointDef_____20emscripten__internal__getContext_float_20b2WheelJointDef_____28float_20b2WheelJointDef____20const__29($0 + 11120 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 13092 >> 2] = HEAP32[$0 + 11112 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 11112 >> 2], float_20b2WheelJointDef_____20emscripten__internal__getContext_float_20b2WheelJointDef_____28float_20b2WheelJointDef____20const__29($0 + 11120 | 0) | 0); - HEAP32[$0 + 11108 >> 2] = $1; - HEAP32[$0 + 11104 >> 2] = 1024; - HEAP32[$0 + 11100 >> 2] = 56; - $1 = HEAP32[$0 + 11108 >> 2]; - HEAP32[$0 + 11096 >> 2] = 376; - HEAP32[$0 + 11092 >> 2] = 377; - $2 = emscripten__internal__TypeID_b2WheelJointDef_2c_20void___get_28_29(); - $3 = HEAP32[$0 + 11104 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 13080 >> 2] = HEAP32[$0 + 11096 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$0 + 11096 >> 2]; - $7 = float_20b2WheelJointDef_____20emscripten__internal__getContext_float_20b2WheelJointDef_____28float_20b2WheelJointDef____20const__29($0 + 11100 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 13096 >> 2] = HEAP32[$0 + 11092 >> 2]; - _embind_register_class_property($2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 11092 >> 2], float_20b2WheelJointDef_____20emscripten__internal__getContext_float_20b2WheelJointDef_____28float_20b2WheelJointDef____20const__29($0 + 11100 | 0) | 0); - HEAP32[$0 + 11088 >> 2] = $1; - HEAP32[$0 + 11084 >> 2] = 6366; - HEAP32[$0 + 11080 >> 2] = 60; - HEAP32[$0 + 11076 >> 2] = 376; - HEAP32[$0 + 11072 >> 2] = 377; - $1 = emscripten__internal__TypeID_b2WheelJointDef_2c_20void___get_28_29(); - $2 = HEAP32[$0 + 11084 >> 2]; - $3 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 13084 >> 2] = HEAP32[$0 + 11076 >> 2]; - $4 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $5 = HEAP32[$0 + 11076 >> 2]; - $6 = float_20b2WheelJointDef_____20emscripten__internal__getContext_float_20b2WheelJointDef_____28float_20b2WheelJointDef____20const__29($0 + 11080 | 0); - $7 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$0 + 13100 >> 2] = HEAP32[$0 + 11072 >> 2]; - _embind_register_class_property($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$0 + 11072 >> 2], float_20b2WheelJointDef_____20emscripten__internal__getContext_float_20b2WheelJointDef_____28float_20b2WheelJointDef____20const__29($0 + 11080 | 0) | 0); - HEAP32[$0 + 11172 >> 2] = $0 + 1674; - HEAP32[$0 + 11168 >> 2] = 2751; - void_20emscripten__base_b2Joint___verify_b2WheelJoint__28_29(); - HEAP32[$0 + 11164 >> 2] = 378; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2Joint__20_28_emscripten__base_b2Joint___getUpcaster_b2WheelJoint__28_29_29_28b2WheelJoint__29(), - HEAP32[wasm2js_i32$0 + 11160 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2WheelJoint__20_28_emscripten__base_b2Joint___getDowncaster_b2WheelJoint__28_29_29_28b2Joint__29(), - HEAP32[wasm2js_i32$0 + 11156 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 11152 >> 2] = 379; - $1 = emscripten__internal__TypeID_b2WheelJoint_2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2WheelJoint__2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2WheelJoint_20const__2c_20void___get_28_29(); - $4 = emscripten__base_b2Joint___get_28_29(); - HEAP32[$0 + 13104 >> 2] = HEAP32[$0 + 11164 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$0 + 11164 >> 2]; - HEAP32[$0 + 13108 >> 2] = HEAP32[$0 + 11160 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $8 = HEAP32[$0 + 11160 >> 2]; - HEAP32[$0 + 13112 >> 2] = HEAP32[$0 + 11156 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $10 = HEAP32[$0 + 11156 >> 2]; - $11 = HEAP32[$0 + 11168 >> 2]; - HEAP32[$0 + 13116 >> 2] = HEAP32[$0 + 11152 >> 2]; - _embind_register_class($1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$0 + 11152 >> 2]); - HEAP32[$0 + 1668 >> 2] = 0; - HEAP32[$0 + 1664 >> 2] = 380; - $1 = HEAP32[$0 + 1668 >> 2]; - $2 = HEAP32[$0 + 1664 >> 2]; - HEAP32[$0 + 11240 >> 2] = $2; - HEAP32[$0 + 11244 >> 2] = $1; - $1 = HEAP32[$0 + 11240 >> 2]; - $2 = HEAP32[$0 + 11244 >> 2]; - HEAP32[$0 + 11268 >> 2] = $0 + 1674; - HEAP32[$0 + 11264 >> 2] = 11449; - HEAP32[$0 + 11260 >> 2] = $2; - HEAP32[$0 + 11256 >> 2] = $1; - $3 = HEAP32[$0 + 11268 >> 2]; - $4 = HEAP32[$0 + 11264 >> 2]; - $1 = HEAP32[$0 + 11256 >> 2]; - HEAP32[$0 + 11252 >> 2] = HEAP32[$0 + 11260 >> 2]; - HEAP32[$0 + 11248 >> 2] = $1; - $2 = HEAP32[$0 + 11252 >> 2]; - $1 = HEAP32[$0 + 11248 >> 2]; - HEAP32[$0 + 112 >> 2] = $1; - HEAP32[$0 + 116 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2WheelJoint____29_28_29_20const___invoke_b2WheelJoint__28char_20const__2c_20b2Vec2_20const__20_28b2WheelJoint____29_28_29_20const_29($4, $0 + 112 | 0); - HEAP32[$0 + 1660 >> 2] = 0; - HEAP32[$0 + 1656 >> 2] = 381; - $1 = HEAP32[$0 + 1660 >> 2]; - $2 = HEAP32[$0 + 1656 >> 2]; - HEAP32[$0 + 11208 >> 2] = $2; - HEAP32[$0 + 11212 >> 2] = $1; - $1 = HEAP32[$0 + 11208 >> 2]; - $2 = HEAP32[$0 + 11212 >> 2]; - HEAP32[$0 + 11236 >> 2] = $3; - HEAP32[$0 + 11232 >> 2] = 11311; - HEAP32[$0 + 11228 >> 2] = $2; - HEAP32[$0 + 11224 >> 2] = $1; - $3 = HEAP32[$0 + 11236 >> 2]; - $4 = HEAP32[$0 + 11232 >> 2]; - $1 = HEAP32[$0 + 11224 >> 2]; - HEAP32[$0 + 11220 >> 2] = HEAP32[$0 + 11228 >> 2]; - HEAP32[$0 + 11216 >> 2] = $1; - $2 = HEAP32[$0 + 11220 >> 2]; - $1 = HEAP32[$0 + 11216 >> 2]; - HEAP32[$0 + 104 >> 2] = $1; - HEAP32[$0 + 108 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2WheelJoint____29_28_29_20const___invoke_b2WheelJoint__28char_20const__2c_20b2Vec2_20const__20_28b2WheelJoint____29_28_29_20const_29($4, $0 + 104 | 0); - HEAP32[$0 + 1652 >> 2] = 0; - HEAP32[$0 + 1648 >> 2] = 382; - $1 = HEAP32[$0 + 1652 >> 2]; - $2 = HEAP32[$0 + 1648 >> 2]; - HEAP32[$0 + 11176 >> 2] = $2; - HEAP32[$0 + 11180 >> 2] = $1; - $1 = HEAP32[$0 + 11176 >> 2]; - $2 = HEAP32[$0 + 11180 >> 2]; - HEAP32[$0 + 11204 >> 2] = $3; - HEAP32[$0 + 11200 >> 2] = 11411; - HEAP32[$0 + 11196 >> 2] = $2; - HEAP32[$0 + 11192 >> 2] = $1; - $3 = HEAP32[$0 + 11204 >> 2]; - $4 = HEAP32[$0 + 11200 >> 2]; - $1 = HEAP32[$0 + 11192 >> 2]; - HEAP32[$0 + 11188 >> 2] = HEAP32[$0 + 11196 >> 2]; - HEAP32[$0 + 11184 >> 2] = $1; - $2 = HEAP32[$0 + 11188 >> 2]; - $1 = HEAP32[$0 + 11184 >> 2]; - HEAP32[$0 + 96 >> 2] = $1; - HEAP32[$0 + 100 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2WheelJoint____29_28_29_20const___invoke_b2WheelJoint__28char_20const__2c_20b2Vec2_20const__20_28b2WheelJoint____29_28_29_20const_29($4, $0 + 96 | 0); - HEAP32[$0 + 1644 >> 2] = 0; - HEAP32[$0 + 1640 >> 2] = 383; - $1 = HEAP32[$0 + 1644 >> 2]; - $2 = HEAP32[$0 + 1640 >> 2]; - HEAP32[$0 + 11400 >> 2] = $2; - HEAP32[$0 + 11404 >> 2] = $1; - $1 = HEAP32[$0 + 11400 >> 2]; - $2 = HEAP32[$0 + 11404 >> 2]; - HEAP32[$0 + 11428 >> 2] = $3; - HEAP32[$0 + 11424 >> 2] = 6876; - HEAP32[$0 + 11420 >> 2] = $2; - HEAP32[$0 + 11416 >> 2] = $1; - $3 = HEAP32[$0 + 11428 >> 2]; - $4 = HEAP32[$0 + 11424 >> 2]; - $1 = HEAP32[$0 + 11416 >> 2]; - HEAP32[$0 + 11412 >> 2] = HEAP32[$0 + 11420 >> 2]; - HEAP32[$0 + 11408 >> 2] = $1; - $2 = HEAP32[$0 + 11412 >> 2]; - $1 = HEAP32[$0 + 11408 >> 2]; - HEAP32[$0 + 88 >> 2] = $1; - HEAP32[$0 + 92 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2WheelJoint____29_28_29_20const___invoke_b2WheelJoint__28char_20const__2c_20float_20_28b2WheelJoint____29_28_29_20const_29($4, $0 + 88 | 0); - HEAP32[$0 + 1636 >> 2] = 0; - HEAP32[$0 + 1632 >> 2] = 384; - $1 = HEAP32[$0 + 1636 >> 2]; - $2 = HEAP32[$0 + 1632 >> 2]; - HEAP32[$0 + 11432 >> 2] = $2; - HEAP32[$0 + 11436 >> 2] = $1; - $1 = HEAP32[$0 + 11432 >> 2]; - $2 = HEAP32[$0 + 11436 >> 2]; - HEAP32[$0 + 11460 >> 2] = $3; - HEAP32[$0 + 11456 >> 2] = 10491; - HEAP32[$0 + 11452 >> 2] = $2; - HEAP32[$0 + 11448 >> 2] = $1; - $3 = HEAP32[$0 + 11460 >> 2]; - $4 = HEAP32[$0 + 11456 >> 2]; - $1 = HEAP32[$0 + 11448 >> 2]; - HEAP32[$0 + 11444 >> 2] = HEAP32[$0 + 11452 >> 2]; - HEAP32[$0 + 11440 >> 2] = $1; - $2 = HEAP32[$0 + 11444 >> 2]; - $1 = HEAP32[$0 + 11440 >> 2]; - HEAP32[$0 + 80 >> 2] = $1; - HEAP32[$0 + 84 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_bool_20_28b2WheelJoint____29_28_29_20const___invoke_b2WheelJoint__28char_20const__2c_20bool_20_28b2WheelJoint____29_28_29_20const_29($4, $0 + 80 | 0); - HEAP32[$0 + 1628 >> 2] = 0; - HEAP32[$0 + 1624 >> 2] = 385; - $1 = HEAP32[$0 + 1628 >> 2]; - $2 = HEAP32[$0 + 1624 >> 2]; - HEAP32[$0 + 11464 >> 2] = $2; - HEAP32[$0 + 11468 >> 2] = $1; - $1 = HEAP32[$0 + 11464 >> 2]; - $2 = HEAP32[$0 + 11468 >> 2]; - HEAP32[$0 + 11492 >> 2] = $3; - HEAP32[$0 + 11488 >> 2] = 3825; - HEAP32[$0 + 11484 >> 2] = $2; - HEAP32[$0 + 11480 >> 2] = $1; - $3 = HEAP32[$0 + 11492 >> 2]; - $4 = HEAP32[$0 + 11488 >> 2]; - $1 = HEAP32[$0 + 11480 >> 2]; - HEAP32[$0 + 11476 >> 2] = HEAP32[$0 + 11484 >> 2]; - HEAP32[$0 + 11472 >> 2] = $1; - $2 = HEAP32[$0 + 11476 >> 2]; - $1 = HEAP32[$0 + 11472 >> 2]; - HEAP32[$0 + 72 >> 2] = $1; - HEAP32[$0 + 76 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2WheelJoint____29_28bool_29___invoke_b2WheelJoint__28char_20const__2c_20void_20_28b2WheelJoint____29_28bool_29_29($4, $0 + 72 | 0); - HEAP32[$0 + 1620 >> 2] = 0; - HEAP32[$0 + 1616 >> 2] = 386; - $1 = HEAP32[$0 + 1620 >> 2]; - $2 = HEAP32[$0 + 1616 >> 2]; - HEAP32[$0 + 11592 >> 2] = $2; - HEAP32[$0 + 11596 >> 2] = $1; - $1 = HEAP32[$0 + 11592 >> 2]; - $2 = HEAP32[$0 + 11596 >> 2]; - HEAP32[$0 + 11620 >> 2] = $3; - HEAP32[$0 + 11616 >> 2] = 10577; - HEAP32[$0 + 11612 >> 2] = $2; - HEAP32[$0 + 11608 >> 2] = $1; - $3 = HEAP32[$0 + 11620 >> 2]; - $4 = HEAP32[$0 + 11616 >> 2]; - $1 = HEAP32[$0 + 11608 >> 2]; - HEAP32[$0 + 11604 >> 2] = HEAP32[$0 + 11612 >> 2]; - HEAP32[$0 + 11600 >> 2] = $1; - $2 = HEAP32[$0 + 11604 >> 2]; - $1 = HEAP32[$0 + 11600 >> 2]; - HEAP32[$0 + 64 >> 2] = $1; - HEAP32[$0 + 68 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2WheelJoint____29_28float_29___invoke_b2WheelJoint__28char_20const__2c_20void_20_28b2WheelJoint____29_28float_29_29($4, $0 - -64 | 0); - HEAP32[$0 + 1612 >> 2] = 0; - HEAP32[$0 + 1608 >> 2] = 387; - $1 = HEAP32[$0 + 1612 >> 2]; - $2 = HEAP32[$0 + 1608 >> 2]; - HEAP32[$0 + 11368 >> 2] = $2; - HEAP32[$0 + 11372 >> 2] = $1; - $1 = HEAP32[$0 + 11368 >> 2]; - $2 = HEAP32[$0 + 11372 >> 2]; - HEAP32[$0 + 11396 >> 2] = $3; - HEAP32[$0 + 11392 >> 2] = 10591; - HEAP32[$0 + 11388 >> 2] = $2; - HEAP32[$0 + 11384 >> 2] = $1; - $3 = HEAP32[$0 + 11396 >> 2]; - $4 = HEAP32[$0 + 11392 >> 2]; - $1 = HEAP32[$0 + 11384 >> 2]; - HEAP32[$0 + 11380 >> 2] = HEAP32[$0 + 11388 >> 2]; - HEAP32[$0 + 11376 >> 2] = $1; - $2 = HEAP32[$0 + 11380 >> 2]; - $1 = HEAP32[$0 + 11376 >> 2]; - HEAP32[$0 + 56 >> 2] = $1; - HEAP32[$0 + 60 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2WheelJoint____29_28_29_20const___invoke_b2WheelJoint__28char_20const__2c_20float_20_28b2WheelJoint____29_28_29_20const_29($4, $0 + 56 | 0); - HEAP32[$0 + 1604 >> 2] = 0; - HEAP32[$0 + 1600 >> 2] = 388; - $1 = HEAP32[$0 + 1604 >> 2]; - $2 = HEAP32[$0 + 1600 >> 2]; - HEAP32[$0 + 11560 >> 2] = $2; - HEAP32[$0 + 11564 >> 2] = $1; - $1 = HEAP32[$0 + 11560 >> 2]; - $2 = HEAP32[$0 + 11564 >> 2]; - HEAP32[$0 + 11588 >> 2] = $3; - HEAP32[$0 + 11584 >> 2] = 8983; - HEAP32[$0 + 11580 >> 2] = $2; - HEAP32[$0 + 11576 >> 2] = $1; - $3 = HEAP32[$0 + 11588 >> 2]; - $4 = HEAP32[$0 + 11584 >> 2]; - $1 = HEAP32[$0 + 11576 >> 2]; - HEAP32[$0 + 11572 >> 2] = HEAP32[$0 + 11580 >> 2]; - HEAP32[$0 + 11568 >> 2] = $1; - $2 = HEAP32[$0 + 11572 >> 2]; - $1 = HEAP32[$0 + 11568 >> 2]; - HEAP32[$0 + 48 >> 2] = $1; - HEAP32[$0 + 52 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2WheelJoint____29_28float_29___invoke_b2WheelJoint__28char_20const__2c_20void_20_28b2WheelJoint____29_28float_29_29($4, $0 + 48 | 0); - HEAP32[$0 + 1596 >> 2] = 0; - HEAP32[$0 + 1592 >> 2] = 389; - $1 = HEAP32[$0 + 1596 >> 2]; - $2 = HEAP32[$0 + 1592 >> 2]; - HEAP32[$0 + 11336 >> 2] = $2; - HEAP32[$0 + 11340 >> 2] = $1; - $1 = HEAP32[$0 + 11336 >> 2]; - $2 = HEAP32[$0 + 11340 >> 2]; - HEAP32[$0 + 11364 >> 2] = $3; - HEAP32[$0 + 11360 >> 2] = 9001; - HEAP32[$0 + 11356 >> 2] = $2; - HEAP32[$0 + 11352 >> 2] = $1; - $3 = HEAP32[$0 + 11364 >> 2]; - $4 = HEAP32[$0 + 11360 >> 2]; - $1 = HEAP32[$0 + 11352 >> 2]; - HEAP32[$0 + 11348 >> 2] = HEAP32[$0 + 11356 >> 2]; - HEAP32[$0 + 11344 >> 2] = $1; - $2 = HEAP32[$0 + 11348 >> 2]; - $1 = HEAP32[$0 + 11344 >> 2]; - HEAP32[$0 + 40 >> 2] = $1; - HEAP32[$0 + 44 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2WheelJoint____29_28_29_20const___invoke_b2WheelJoint__28char_20const__2c_20float_20_28b2WheelJoint____29_28_29_20const_29($4, $0 + 40 | 0); - HEAP32[$0 + 1588 >> 2] = 0; - HEAP32[$0 + 1584 >> 2] = 390; - $1 = HEAP32[$0 + 1588 >> 2]; - $2 = HEAP32[$0 + 1584 >> 2]; - HEAP32[$0 + 11624 >> 2] = $2; - HEAP32[$0 + 11628 >> 2] = $1; - $1 = HEAP32[$0 + 11624 >> 2]; - $2 = HEAP32[$0 + 11628 >> 2]; - HEAP32[$0 + 11652 >> 2] = $3; - HEAP32[$0 + 11648 >> 2] = 9019; - HEAP32[$0 + 11644 >> 2] = $2; - HEAP32[$0 + 11640 >> 2] = $1; - $3 = HEAP32[$0 + 11652 >> 2]; - $4 = HEAP32[$0 + 11648 >> 2]; - $1 = HEAP32[$0 + 11640 >> 2]; - HEAP32[$0 + 11636 >> 2] = HEAP32[$0 + 11644 >> 2]; - HEAP32[$0 + 11632 >> 2] = $1; - $2 = HEAP32[$0 + 11636 >> 2]; - $1 = HEAP32[$0 + 11632 >> 2]; - HEAP32[$0 + 32 >> 2] = $1; - HEAP32[$0 + 36 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2WheelJoint____29_28float_29_20const___invoke_b2WheelJoint__28char_20const__2c_20float_20_28b2WheelJoint____29_28float_29_20const_29($4, $0 + 32 | 0); - HEAP32[$0 + 1580 >> 2] = 0; - HEAP32[$0 + 1576 >> 2] = 391; - $1 = HEAP32[$0 + 1580 >> 2]; - $2 = HEAP32[$0 + 1576 >> 2]; - HEAP32[$0 + 11528 >> 2] = $2; - HEAP32[$0 + 11532 >> 2] = $1; - $1 = HEAP32[$0 + 11528 >> 2]; - $2 = HEAP32[$0 + 11532 >> 2]; - HEAP32[$0 + 11556 >> 2] = $3; - HEAP32[$0 + 11552 >> 2] = 1036; - HEAP32[$0 + 11548 >> 2] = $2; - HEAP32[$0 + 11544 >> 2] = $1; - $3 = HEAP32[$0 + 11556 >> 2]; - $4 = HEAP32[$0 + 11552 >> 2]; - $1 = HEAP32[$0 + 11544 >> 2]; - HEAP32[$0 + 11540 >> 2] = HEAP32[$0 + 11548 >> 2]; - HEAP32[$0 + 11536 >> 2] = $1; - $2 = HEAP32[$0 + 11540 >> 2]; - $1 = HEAP32[$0 + 11536 >> 2]; - HEAP32[$0 + 24 >> 2] = $1; - HEAP32[$0 + 28 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2WheelJoint____29_28float_29___invoke_b2WheelJoint__28char_20const__2c_20void_20_28b2WheelJoint____29_28float_29_29($4, $0 + 24 | 0); - HEAP32[$0 + 1572 >> 2] = 0; - HEAP32[$0 + 1568 >> 2] = 392; - $1 = HEAP32[$0 + 1572 >> 2]; - $2 = HEAP32[$0 + 1568 >> 2]; - HEAP32[$0 + 11304 >> 2] = $2; - HEAP32[$0 + 11308 >> 2] = $1; - $1 = HEAP32[$0 + 11304 >> 2]; - $2 = HEAP32[$0 + 11308 >> 2]; - HEAP32[$0 + 11332 >> 2] = $3; - HEAP32[$0 + 11328 >> 2] = 1057; - HEAP32[$0 + 11324 >> 2] = $2; - HEAP32[$0 + 11320 >> 2] = $1; - $3 = HEAP32[$0 + 11332 >> 2]; - $4 = HEAP32[$0 + 11328 >> 2]; - $1 = HEAP32[$0 + 11320 >> 2]; - HEAP32[$0 + 11316 >> 2] = HEAP32[$0 + 11324 >> 2]; - HEAP32[$0 + 11312 >> 2] = $1; - $2 = HEAP32[$0 + 11316 >> 2]; - $1 = HEAP32[$0 + 11312 >> 2]; - HEAP32[$0 + 16 >> 2] = $1; - HEAP32[$0 + 20 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2WheelJoint____29_28_29_20const___invoke_b2WheelJoint__28char_20const__2c_20float_20_28b2WheelJoint____29_28_29_20const_29($4, $0 + 16 | 0); - HEAP32[$0 + 1564 >> 2] = 0; - HEAP32[$0 + 1560 >> 2] = 393; - $1 = HEAP32[$0 + 1564 >> 2]; - $2 = HEAP32[$0 + 1560 >> 2]; - HEAP32[$0 + 11496 >> 2] = $2; - HEAP32[$0 + 11500 >> 2] = $1; - $1 = HEAP32[$0 + 11496 >> 2]; - $2 = HEAP32[$0 + 11500 >> 2]; - HEAP32[$0 + 11524 >> 2] = $3; - HEAP32[$0 + 11520 >> 2] = 6411; - HEAP32[$0 + 11516 >> 2] = $2; - HEAP32[$0 + 11512 >> 2] = $1; - $3 = HEAP32[$0 + 11524 >> 2]; - $4 = HEAP32[$0 + 11520 >> 2]; - $1 = HEAP32[$0 + 11512 >> 2]; - HEAP32[$0 + 11508 >> 2] = HEAP32[$0 + 11516 >> 2]; - HEAP32[$0 + 11504 >> 2] = $1; - $2 = HEAP32[$0 + 11508 >> 2]; - $1 = HEAP32[$0 + 11504 >> 2]; - HEAP32[$0 + 8 >> 2] = $1; - HEAP32[$0 + 12 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2WheelJoint____29_28float_29___invoke_b2WheelJoint__28char_20const__2c_20void_20_28b2WheelJoint____29_28float_29_29($4, $0 + 8 | 0); - HEAP32[$0 + 1556 >> 2] = 0; - HEAP32[$0 + 1552 >> 2] = 394; - $1 = HEAP32[$0 + 1556 >> 2]; - $2 = HEAP32[$0 + 1552 >> 2]; - HEAP32[$0 + 11272 >> 2] = $2; - HEAP32[$0 + 11276 >> 2] = $1; - $1 = HEAP32[$0 + 11272 >> 2]; - $2 = HEAP32[$0 + 11276 >> 2]; - HEAP32[$0 + 11300 >> 2] = $3; - HEAP32[$0 + 11296 >> 2] = 6433; - HEAP32[$0 + 11292 >> 2] = $2; - HEAP32[$0 + 11288 >> 2] = $1; - $3 = HEAP32[$0 + 11300 >> 2]; - $4 = HEAP32[$0 + 11296 >> 2]; - $1 = HEAP32[$0 + 11288 >> 2]; - HEAP32[$0 + 11284 >> 2] = HEAP32[$0 + 11292 >> 2]; - HEAP32[$0 + 11280 >> 2] = $1; - $2 = HEAP32[$0 + 11284 >> 2]; - $1 = HEAP32[$0 + 11280 >> 2]; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_float_20_28b2WheelJoint____29_28_29_20const___invoke_b2WheelJoint__28char_20const__2c_20float_20_28b2WheelJoint____29_28_29_20const_29($4, $0); - HEAP32[$0 + 1548 >> 2] = 1; - HEAP32[$0 + 1544 >> 2] = 16; - $1 = HEAP32[$0 + 1548 >> 2]; - $2 = HEAP32[$0 + 1544 >> 2]; - HEAP32[$0 + 11656 >> 2] = $2; - HEAP32[$0 + 11660 >> 2] = $1; - $1 = HEAP32[$0 + 11656 >> 2]; - $2 = HEAP32[$0 + 11660 >> 2]; - HEAP32[$0 + 11684 >> 2] = $3; - HEAP32[$0 + 11680 >> 2] = 6324; - HEAP32[$0 + 11676 >> 2] = $2; - HEAP32[$0 + 11672 >> 2] = $1; - $3 = HEAP32[$0 + 11680 >> 2]; - $1 = HEAP32[$0 + 11672 >> 2]; - HEAP32[$0 + 11668 >> 2] = HEAP32[$0 + 11676 >> 2]; - HEAP32[$0 + 11664 >> 2] = $1; - $2 = HEAP32[$0 + 11668 >> 2]; - $1 = HEAP32[$0 + 11664 >> 2]; - HEAP32[$0 + 1536 >> 2] = $1; - HEAP32[$0 + 1540 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28b2WheelJoint____29_28_29___invoke_b2WheelJoint__28char_20const__2c_20void_20_28b2WheelJoint____29_28_29_29($3, $0 + 1536 | 0); - __stack_pointer = $0 + 13120 | 0; -} - -function dlmalloc($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $11 = __stack_pointer - 16 | 0; - __stack_pointer = $11; - label$1: { - label$2: { - label$3: { - label$4: { - label$5: { - label$6: { - label$7: { - label$8: { - label$9: { - label$10: { - label$11: { - label$12: { - label$13: { - label$14: { - if ($0 >>> 0 <= 244) { - $6 = HEAP32[7886]; - $5 = $0 >>> 0 < 11 ? 16 : $0 + 11 & -8; - $1 = $5 >>> 3 | 0; - $0 = $6 >>> $1 | 0; - if ($0 & 3) { - $2 = (($0 ^ -1) & 1) + $1 | 0; - $1 = $2 << 3; - $0 = $1 + 31584 | 0; - $1 = HEAP32[$1 + 31592 >> 2]; - $5 = HEAP32[$1 + 8 >> 2]; - label$17: { - if (($0 | 0) == ($5 | 0)) { - wasm2js_i32$0 = 31544, wasm2js_i32$1 = __wasm_rotl_i32(-2, $2) & $6, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - break label$17; - } - HEAP32[$5 + 12 >> 2] = $0; - HEAP32[$0 + 8 >> 2] = $5; - } - $0 = $1 + 8 | 0; - $2 = $2 << 3; - HEAP32[$1 + 4 >> 2] = $2 | 3; - $1 = $1 + $2 | 0; - HEAP32[$1 + 4 >> 2] = HEAP32[$1 + 4 >> 2] | 1; - break label$1; - } - $8 = HEAP32[7888]; - if ($8 >>> 0 >= $5 >>> 0) { - break label$14; - } - if ($0) { - $2 = $0 << $1; - $0 = 2 << $1; - $0 = $2 & ($0 | 0 - $0); - $1 = __wasm_ctz_i32($0 & 0 - $0); - $0 = $1 << 3; - $2 = $0 + 31584 | 0; - $0 = HEAP32[$0 + 31592 >> 2]; - $3 = HEAP32[$0 + 8 >> 2]; - label$20: { - if (($2 | 0) == ($3 | 0)) { - $6 = __wasm_rotl_i32(-2, $1) & $6; - HEAP32[7886] = $6; - break label$20; - } - HEAP32[$3 + 12 >> 2] = $2; - HEAP32[$2 + 8 >> 2] = $3; - } - HEAP32[$0 + 4 >> 2] = $5 | 3; - $3 = $0 + $5 | 0; - $1 = $1 << 3; - $2 = $1 - $5 | 0; - HEAP32[$3 + 4 >> 2] = $2 | 1; - HEAP32[$0 + $1 >> 2] = $2; - if ($8) { - $5 = ($8 & -8) + 31584 | 0; - $1 = HEAP32[7891]; - $4 = 1 << ($8 >>> 3); - label$23: { - if (!($6 & $4)) { - HEAP32[7886] = $4 | $6; - $4 = $5; - break label$23; - } - $4 = HEAP32[$5 + 8 >> 2]; - } - HEAP32[$5 + 8 >> 2] = $1; - HEAP32[$4 + 12 >> 2] = $1; - HEAP32[$1 + 12 >> 2] = $5; - HEAP32[$1 + 8 >> 2] = $4; - } - $0 = $0 + 8 | 0; - HEAP32[7891] = $3; - HEAP32[7888] = $2; - break label$1; - } - $9 = HEAP32[7887]; - if (!$9) { - break label$14; - } - $3 = HEAP32[(__wasm_ctz_i32(0 - $9 & $9) << 2) + 31848 >> 2]; - $1 = (HEAP32[$3 + 4 >> 2] & -8) - $5 | 0; - $2 = $3; - while (1) { - label$26: { - $0 = HEAP32[$2 + 16 >> 2]; - if (!$0) { - $0 = HEAP32[$2 + 20 >> 2]; - if (!$0) { - break label$26; - } - } - $2 = (HEAP32[$0 + 4 >> 2] & -8) - $5 | 0; - $4 = $2; - $2 = $1 >>> 0 > $2 >>> 0; - $1 = $2 ? $4 : $1; - $3 = $2 ? $0 : $3; - $2 = $0; - continue; - } - break; - } - $10 = HEAP32[$3 + 24 >> 2]; - $4 = HEAP32[$3 + 12 >> 2]; - if (($4 | 0) != ($3 | 0)) { - $0 = HEAP32[$3 + 8 >> 2]; - HEAP32[$0 + 12 >> 2] = $4; - HEAP32[$4 + 8 >> 2] = $0; - break label$2; - } - $2 = $3 + 20 | 0; - $0 = HEAP32[$2 >> 2]; - if (!$0) { - $0 = HEAP32[$3 + 16 >> 2]; - if (!$0) { - break label$13; - } - $2 = $3 + 16 | 0; - } - while (1) { - $7 = $2; - $4 = $0; - $2 = $0 + 20 | 0; - $0 = HEAP32[$2 >> 2]; - if ($0) { - continue; - } - $2 = $4 + 16 | 0; - $0 = HEAP32[$4 + 16 >> 2]; - if ($0) { - continue; - } - break; - } - HEAP32[$7 >> 2] = 0; - break label$2; - } - $5 = -1; - if ($0 >>> 0 > 4294967231) { - break label$14; - } - $0 = $0 + 11 | 0; - $5 = $0 & -8; - $8 = HEAP32[7887]; - if (!$8) { - break label$14; - } - $1 = 0 - $5 | 0; - $7 = 0; - label$34: { - if ($5 >>> 0 < 256) { - break label$34; - } - $7 = 31; - if ($5 >>> 0 > 16777215) { - break label$34; - } - $0 = Math_clz32($0 >>> 8 | 0); - $7 = (($5 >>> 38 - $0 & 1) - ($0 << 1) | 0) + 62 | 0; - } - $2 = HEAP32[($7 << 2) + 31848 >> 2]; - label$31: { - label$32: { - label$33: { - if (!$2) { - $0 = 0; - break label$33; - } - $0 = 0; - $3 = $5 << (($7 | 0) != 31 ? 25 - ($7 >>> 1 | 0) | 0 : 0); - while (1) { - label$37: { - $6 = (HEAP32[$2 + 4 >> 2] & -8) - $5 | 0; - if ($6 >>> 0 >= $1 >>> 0) { - break label$37; - } - $4 = $2; - $1 = $6; - if ($1) { - break label$37; - } - $1 = 0; - $0 = $2; - break label$32; - } - $6 = HEAP32[$2 + 20 >> 2]; - $2 = HEAP32[(($3 >>> 29 & 4) + $2 | 0) + 16 >> 2]; - $0 = $6 ? ($6 | 0) == ($2 | 0) ? $0 : $6 : $0; - $3 = $3 << 1; - if ($2) { - continue; - } - break; - } - } - if (!($0 | $4)) { - $4 = 0; - $0 = 2 << $7; - $0 = ($0 | 0 - $0) & $8; - if (!$0) { - break label$14; - } - $0 = HEAP32[(__wasm_ctz_i32(0 - $0 & $0) << 2) + 31848 >> 2]; - } - if (!$0) { - break label$31; - } - } - while (1) { - $6 = (HEAP32[$0 + 4 >> 2] & -8) - $5 | 0; - $3 = $6 >>> 0 < $1 >>> 0; - $1 = $3 ? $6 : $1; - $4 = $3 ? $0 : $4; - $2 = HEAP32[$0 + 16 >> 2]; - if (!$2) { - $2 = HEAP32[$0 + 20 >> 2]; - } - $0 = $2; - if ($0) { - continue; - } - break; - } - } - if (!$4 | HEAP32[7888] - $5 >>> 0 <= $1 >>> 0) { - break label$14; - } - $7 = HEAP32[$4 + 24 >> 2]; - $3 = HEAP32[$4 + 12 >> 2]; - if (($4 | 0) != ($3 | 0)) { - $0 = HEAP32[$4 + 8 >> 2]; - HEAP32[$0 + 12 >> 2] = $3; - HEAP32[$3 + 8 >> 2] = $0; - break label$3; - } - $2 = $4 + 20 | 0; - $0 = HEAP32[$2 >> 2]; - if (!$0) { - $0 = HEAP32[$4 + 16 >> 2]; - if (!$0) { - break label$12; - } - $2 = $4 + 16 | 0; - } - while (1) { - $6 = $2; - $3 = $0; - $2 = $0 + 20 | 0; - $0 = HEAP32[$2 >> 2]; - if ($0) { - continue; - } - $2 = $3 + 16 | 0; - $0 = HEAP32[$3 + 16 >> 2]; - if ($0) { - continue; - } - break; - } - HEAP32[$6 >> 2] = 0; - break label$3; - } - $0 = HEAP32[7888]; - if ($5 >>> 0 <= $0 >>> 0) { - $1 = HEAP32[7891]; - $2 = $0 - $5 | 0; - label$45: { - if ($2 >>> 0 >= 16) { - $3 = $1 + $5 | 0; - HEAP32[$3 + 4 >> 2] = $2 | 1; - HEAP32[$0 + $1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $5 | 3; - break label$45; - } - HEAP32[$1 + 4 >> 2] = $0 | 3; - $0 = $0 + $1 | 0; - HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] | 1; - $3 = 0; - $2 = 0; - } - HEAP32[7888] = $2; - HEAP32[7891] = $3; - $0 = $1 + 8 | 0; - break label$1; - } - $3 = HEAP32[7889]; - if ($5 >>> 0 < $3 >>> 0) { - $1 = $3 - $5 | 0; - HEAP32[7889] = $1; - $0 = HEAP32[7892]; - $2 = $5 + $0 | 0; - HEAP32[7892] = $2; - HEAP32[$2 + 4 >> 2] = $1 | 1; - HEAP32[$0 + 4 >> 2] = $5 | 3; - $0 = $0 + 8 | 0; - break label$1; - } - $0 = 0; - $8 = $5 + 47 | 0; - if (HEAP32[8004]) { - $1 = HEAP32[8006]; - } else { - HEAP32[8007] = -1; - HEAP32[8008] = -1; - HEAP32[8005] = 4096; - HEAP32[8006] = 4096; - HEAP32[8004] = $11 + 12 & -16 ^ 1431655768; - HEAP32[8009] = 0; - HEAP32[7997] = 0; - $1 = 4096; - } - $6 = $8 + $1 | 0; - $7 = 0 - $1 | 0; - $4 = $6 & $7; - if ($5 >>> 0 >= $4 >>> 0) { - break label$1; - } - $1 = HEAP32[7996]; - if ($1) { - $2 = HEAP32[7994]; - $9 = $4 + $2 | 0; - if ($1 >>> 0 < $9 >>> 0 | $2 >>> 0 >= $9 >>> 0) { - break label$1; - } - } - label$51: { - if (!(HEAPU8[31988] & 4)) { - label$53: { - label$54: { - label$55: { - label$56: { - $1 = HEAP32[7892]; - if ($1) { - $0 = 31992; - while (1) { - $2 = HEAP32[$0 >> 2]; - if ($2 >>> 0 <= $1 >>> 0 & HEAP32[$0 + 4 >> 2] + $2 >>> 0 > $1 >>> 0) { - break label$56; - } - $0 = HEAP32[$0 + 8 >> 2]; - if ($0) { - continue; - } - break; - } - } - $3 = sbrk(0); - if (($3 | 0) == -1) { - break label$53; - } - $6 = $4; - $0 = HEAP32[8005]; - $1 = $0 - 1 | 0; - if ($3 & $1) { - $6 = ($4 - $3 | 0) + ($1 + $3 & 0 - $0) | 0; - } - if ($5 >>> 0 >= $6 >>> 0) { - break label$53; - } - $0 = HEAP32[7996]; - if ($0) { - $1 = HEAP32[7994]; - $2 = $6 + $1 | 0; - if ($0 >>> 0 < $2 >>> 0 | $1 >>> 0 >= $2 >>> 0) { - break label$53; - } - } - $0 = sbrk($6); - if (($3 | 0) != ($0 | 0)) { - break label$55; - } - break label$51; - } - $6 = $6 - $3 & $7; - $3 = sbrk($6); - if (($3 | 0) == (HEAP32[$0 >> 2] + HEAP32[$0 + 4 >> 2] | 0)) { - break label$54; - } - $0 = $3; - } - if (($0 | 0) == -1) { - break label$53; - } - if ($5 + 48 >>> 0 <= $6 >>> 0) { - $3 = $0; - break label$51; - } - $1 = HEAP32[8006]; - $1 = $1 + ($8 - $6 | 0) & 0 - $1; - if ((sbrk($1) | 0) == -1) { - break label$53; - } - $6 = $1 + $6 | 0; - $3 = $0; - break label$51; - } - if (($3 | 0) != -1) { - break label$51; - } - } - HEAP32[7997] = HEAP32[7997] | 4; - } - $3 = sbrk($4); - $0 = sbrk(0); - if (($3 | 0) == -1 | ($0 | 0) == -1 | $0 >>> 0 <= $3 >>> 0) { - break label$9; - } - $6 = $0 - $3 | 0; - if ($6 >>> 0 <= $5 + 40 >>> 0) { - break label$9; - } - } - $0 = HEAP32[7994] + $6 | 0; - HEAP32[7994] = $0; - if (HEAPU32[7995] < $0 >>> 0) { - HEAP32[7995] = $0; - } - label$64: { - $1 = HEAP32[7892]; - if ($1) { - $0 = 31992; - while (1) { - $2 = HEAP32[$0 >> 2]; - $4 = HEAP32[$0 + 4 >> 2]; - if (($2 + $4 | 0) == ($3 | 0)) { - break label$64; - } - $0 = HEAP32[$0 + 8 >> 2]; - if ($0) { - continue; - } - break; - } - break label$11; - } - $0 = HEAP32[7890]; - if (!($0 >>> 0 <= $3 >>> 0 ? $0 : 0)) { - HEAP32[7890] = $3; - } - $0 = 0; - HEAP32[7999] = $6; - HEAP32[7998] = $3; - HEAP32[7894] = -1; - HEAP32[7895] = HEAP32[8004]; - HEAP32[8001] = 0; - while (1) { - $1 = $0 << 3; - $2 = $1 + 31584 | 0; - HEAP32[$1 + 31592 >> 2] = $2; - HEAP32[$1 + 31596 >> 2] = $2; - $0 = $0 + 1 | 0; - if (($0 | 0) != 32) { - continue; - } - break; - } - $0 = $6 - 40 | 0; - $1 = $3 + 8 & 7 ? -8 - $3 & 7 : 0; - $2 = $0 - $1 | 0; - HEAP32[7889] = $2; - $1 = $1 + $3 | 0; - HEAP32[7892] = $1; - HEAP32[$1 + 4 >> 2] = $2 | 1; - HEAP32[($0 + $3 | 0) + 4 >> 2] = 40; - HEAP32[7893] = HEAP32[8008]; - break label$10; - } - if (HEAP32[$0 + 12 >> 2] & 8 | ($1 >>> 0 < $2 >>> 0 | $1 >>> 0 >= $3 >>> 0)) { - break label$11; - } - HEAP32[$0 + 4 >> 2] = $4 + $6; - $0 = $1 + 8 & 7 ? -8 - $1 & 7 : 0; - $2 = $1 + $0 | 0; - HEAP32[7892] = $2; - $3 = HEAP32[7889] + $6 | 0; - $0 = $3 - $0 | 0; - HEAP32[7889] = $0; - HEAP32[$2 + 4 >> 2] = $0 | 1; - HEAP32[($1 + $3 | 0) + 4 >> 2] = 40; - HEAP32[7893] = HEAP32[8008]; - break label$10; - } - $4 = 0; - break label$2; - } - $3 = 0; - break label$3; - } - $4 = HEAP32[7890]; - if ($4 >>> 0 > $3 >>> 0) { - HEAP32[7890] = $3; - } - $2 = $3 + $6 | 0; - $0 = 31992; - label$70: { - label$71: { - label$72: { - while (1) { - if (HEAP32[$0 >> 2] != ($2 | 0)) { - $0 = HEAP32[$0 + 8 >> 2]; - if ($0) { - continue; - } - break label$72; - } - break; - } - if (!(HEAPU8[$0 + 12 | 0] & 8)) { - break label$71; - } - } - $0 = 31992; - while (1) { - $2 = HEAP32[$0 >> 2]; - if ($2 >>> 0 <= $1 >>> 0) { - $2 = HEAP32[$0 + 4 >> 2] + $2 | 0; - if ($2 >>> 0 > $1 >>> 0) { - break label$70; - } - } - $0 = HEAP32[$0 + 8 >> 2]; - continue; - } - } - HEAP32[$0 >> 2] = $3; - HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] + $6; - $7 = ($3 + 8 & 7 ? -8 - $3 & 7 : 0) + $3 | 0; - HEAP32[$7 + 4 >> 2] = $5 | 3; - $6 = ($2 + 8 & 7 ? -8 - $2 & 7 : 0) + $2 | 0; - $5 = $5 + $7 | 0; - $0 = $6 - $5 | 0; - if (($1 | 0) == ($6 | 0)) { - HEAP32[7892] = $5; - $0 = HEAP32[7889] + $0 | 0; - HEAP32[7889] = $0; - HEAP32[$5 + 4 >> 2] = $0 | 1; - break label$4; - } - if (HEAP32[7891] == ($6 | 0)) { - HEAP32[7891] = $5; - $0 = HEAP32[7888] + $0 | 0; - HEAP32[7888] = $0; - HEAP32[$5 + 4 >> 2] = $0 | 1; - HEAP32[$0 + $5 >> 2] = $0; - break label$4; - } - $1 = HEAP32[$6 + 4 >> 2]; - if (($1 & 3) != 1) { - break label$5; - } - $8 = $1 & -8; - if ($1 >>> 0 <= 255) { - $4 = $1 >>> 3 | 0; - $1 = HEAP32[$6 + 12 >> 2]; - $2 = HEAP32[$6 + 8 >> 2]; - if (($1 | 0) == ($2 | 0)) { - wasm2js_i32$0 = 31544, wasm2js_i32$1 = HEAP32[7886] & __wasm_rotl_i32(-2, $4), HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - break label$6; - } - HEAP32[$2 + 12 >> 2] = $1; - HEAP32[$1 + 8 >> 2] = $2; - break label$6; - } - $9 = HEAP32[$6 + 24 >> 2]; - $3 = HEAP32[$6 + 12 >> 2]; - if (($6 | 0) != ($3 | 0)) { - $1 = HEAP32[$6 + 8 >> 2]; - HEAP32[$1 + 12 >> 2] = $3; - HEAP32[$3 + 8 >> 2] = $1; - break label$7; - } - $2 = $6 + 20 | 0; - $1 = HEAP32[$2 >> 2]; - if (!$1) { - $1 = HEAP32[$6 + 16 >> 2]; - if (!$1) { - break label$8; - } - $2 = $6 + 16 | 0; - } - while (1) { - $4 = $2; - $3 = $1; - $2 = $1 + 20 | 0; - $1 = HEAP32[$2 >> 2]; - if ($1) { - continue; - } - $2 = $3 + 16 | 0; - $1 = HEAP32[$3 + 16 >> 2]; - if ($1) { - continue; - } - break; - } - HEAP32[$4 >> 2] = 0; - break label$7; - } - $0 = $6 - 40 | 0; - $4 = $3 + 8 & 7 ? -8 - $3 & 7 : 0; - $7 = $0 - $4 | 0; - HEAP32[7889] = $7; - $4 = $3 + $4 | 0; - HEAP32[7892] = $4; - HEAP32[$4 + 4 >> 2] = $7 | 1; - HEAP32[($0 + $3 | 0) + 4 >> 2] = 40; - HEAP32[7893] = HEAP32[8008]; - $0 = (($2 - 39 & 7 ? 39 - $2 & 7 : 0) + $2 | 0) - 47 | 0; - $4 = $1 + 16 >>> 0 > $0 >>> 0 ? $1 : $0; - HEAP32[$4 + 4 >> 2] = 27; - $0 = HEAP32[8001]; - $7 = HEAP32[8e3]; - HEAP32[$4 + 16 >> 2] = $7; - HEAP32[$4 + 20 >> 2] = $0; - $7 = HEAP32[7999]; - $0 = HEAP32[7998]; - HEAP32[$4 + 8 >> 2] = $0; - HEAP32[$4 + 12 >> 2] = $7; - HEAP32[8e3] = $4 + 8; - HEAP32[7999] = $6; - HEAP32[7998] = $3; - HEAP32[8001] = 0; - $0 = $4 + 24 | 0; - while (1) { - HEAP32[$0 + 4 >> 2] = 7; - $3 = $0 + 8 | 0; - $0 = $0 + 4 | 0; - if ($3 >>> 0 < $2 >>> 0) { - continue; - } - break; - } - if (($1 | 0) == ($4 | 0)) { - break label$10; - } - HEAP32[$4 + 4 >> 2] = HEAP32[$4 + 4 >> 2] & -2; - $3 = $4 - $1 | 0; - HEAP32[$1 + 4 >> 2] = $3 | 1; - HEAP32[$4 >> 2] = $3; - if ($3 >>> 0 <= 255) { - $0 = ($3 & -8) + 31584 | 0; - $3 = 1 << ($3 >>> 3); - $2 = HEAP32[7886]; - label$86: { - if (!($3 & $2)) { - HEAP32[7886] = $3 | $2; - $2 = $0; - break label$86; - } - $2 = HEAP32[$0 + 8 >> 2]; - } - HEAP32[$0 + 8 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = $1; - HEAP32[$1 + 12 >> 2] = $0; - HEAP32[$1 + 8 >> 2] = $2; - break label$10; - } - $0 = 31; - if ($3 >>> 0 <= 16777215) { - $0 = Math_clz32($3 >>> 8 | 0); - $0 = (($3 >>> 38 - $0 & 1) - ($0 << 1) | 0) + 62 | 0; - } - HEAP32[$1 + 28 >> 2] = $0; - HEAP32[$1 + 16 >> 2] = 0; - HEAP32[$1 + 20 >> 2] = 0; - $2 = ($0 << 2) + 31848 | 0; - label$89: { - $4 = HEAP32[7887]; - $6 = 1 << $0; - label$90: { - if (!($4 & $6)) { - HEAP32[7887] = $4 | $6; - HEAP32[$2 >> 2] = $1; - break label$90; - } - $0 = $3 << (($0 | 0) != 31 ? 25 - ($0 >>> 1 | 0) | 0 : 0); - $4 = HEAP32[$2 >> 2]; - while (1) { - $2 = $4; - if ((HEAP32[$2 + 4 >> 2] & -8) == ($3 | 0)) { - break label$89; - } - $4 = $0 >>> 29 | 0; - $0 = $0 << 1; - $7 = ($4 & 4) + $2 | 0; - $6 = $7 + 16 | 0; - $4 = HEAP32[$6 >> 2]; - if ($4) { - continue; - } - break; - } - HEAP32[$7 + 16 >> 2] = $1; - } - HEAP32[$1 + 24 >> 2] = $2; - HEAP32[$1 + 12 >> 2] = $1; - HEAP32[$1 + 8 >> 2] = $1; - break label$10; - } - $0 = HEAP32[$2 + 8 >> 2]; - HEAP32[$0 + 12 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = $1; - HEAP32[$1 + 24 >> 2] = 0; - HEAP32[$1 + 12 >> 2] = $2; - HEAP32[$1 + 8 >> 2] = $0; - } - $0 = HEAP32[7889]; - if ($5 >>> 0 >= $0 >>> 0) { - break label$9; - } - $1 = $0 - $5 | 0; - HEAP32[7889] = $1; - $0 = HEAP32[7892]; - $2 = $5 + $0 | 0; - HEAP32[7892] = $2; - HEAP32[$2 + 4 >> 2] = $1 | 1; - HEAP32[$0 + 4 >> 2] = $5 | 3; - $0 = $0 + 8 | 0; - break label$1; - } - wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 48, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - $0 = 0; - break label$1; - } - $3 = 0; - } - if (!$9) { - break label$6; - } - $2 = HEAP32[$6 + 28 >> 2]; - $1 = ($2 << 2) + 31848 | 0; - label$93: { - if (HEAP32[$1 >> 2] == ($6 | 0)) { - HEAP32[$1 >> 2] = $3; - if ($3) { - break label$93; - } - wasm2js_i32$0 = 31548, wasm2js_i32$1 = HEAP32[7887] & __wasm_rotl_i32(-2, $2), HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - break label$6; - } - HEAP32[(HEAP32[$9 + 16 >> 2] == ($6 | 0) ? 16 : 20) + $9 >> 2] = $3; - if (!$3) { - break label$6; - } - } - HEAP32[$3 + 24 >> 2] = $9; - $1 = HEAP32[$6 + 16 >> 2]; - if ($1) { - HEAP32[$3 + 16 >> 2] = $1; - HEAP32[$1 + 24 >> 2] = $3; - } - $1 = HEAP32[$6 + 20 >> 2]; - if (!$1) { - break label$6; - } - HEAP32[$3 + 20 >> 2] = $1; - HEAP32[$1 + 24 >> 2] = $3; - } - $0 = $0 + $8 | 0; - $6 = $6 + $8 | 0; - $1 = HEAP32[$6 + 4 >> 2]; - } - HEAP32[$6 + 4 >> 2] = $1 & -2; - HEAP32[$5 + 4 >> 2] = $0 | 1; - HEAP32[$0 + $5 >> 2] = $0; - if ($0 >>> 0 <= 255) { - $1 = ($0 & -8) + 31584 | 0; - $0 = 1 << ($0 >>> 3); - $2 = HEAP32[7886]; - label$97: { - if (!($0 & $2)) { - HEAP32[7886] = $0 | $2; - $0 = $1; - break label$97; - } - $0 = HEAP32[$1 + 8 >> 2]; - } - HEAP32[$1 + 8 >> 2] = $5; - HEAP32[$0 + 12 >> 2] = $5; - HEAP32[$5 + 12 >> 2] = $1; - HEAP32[$5 + 8 >> 2] = $0; - break label$4; - } - $1 = 31; - if ($0 >>> 0 <= 16777215) { - $1 = Math_clz32($0 >>> 8 | 0); - $1 = (($0 >>> 38 - $1 & 1) - ($1 << 1) | 0) + 62 | 0; - } - HEAP32[$5 + 28 >> 2] = $1; - HEAP32[$5 + 16 >> 2] = 0; - HEAP32[$5 + 20 >> 2] = 0; - $2 = ($1 << 2) + 31848 | 0; - label$100: { - $3 = HEAP32[7887]; - $4 = 1 << $1; - label$101: { - if (!($3 & $4)) { - HEAP32[7887] = $3 | $4; - HEAP32[$2 >> 2] = $5; - break label$101; - } - $1 = $0 << (($1 | 0) != 31 ? 25 - ($1 >>> 1 | 0) | 0 : 0); - $3 = HEAP32[$2 >> 2]; - while (1) { - $2 = $3; - if ((HEAP32[$3 + 4 >> 2] & -8) == ($0 | 0)) { - break label$100; - } - $3 = $1 >>> 29 | 0; - $1 = $1 << 1; - $6 = ($3 & 4) + $2 | 0; - $4 = $6 + 16 | 0; - $3 = HEAP32[$4 >> 2]; - if ($3) { - continue; - } - break; - } - HEAP32[$6 + 16 >> 2] = $5; - } - HEAP32[$5 + 24 >> 2] = $2; - HEAP32[$5 + 12 >> 2] = $5; - HEAP32[$5 + 8 >> 2] = $5; - break label$4; - } - $0 = HEAP32[$2 + 8 >> 2]; - HEAP32[$0 + 12 >> 2] = $5; - HEAP32[$2 + 8 >> 2] = $5; - HEAP32[$5 + 24 >> 2] = 0; - HEAP32[$5 + 12 >> 2] = $2; - HEAP32[$5 + 8 >> 2] = $0; - } - $0 = $7 + 8 | 0; - break label$1; - } - label$104: { - if (!$7) { - break label$104; - } - $2 = HEAP32[$4 + 28 >> 2]; - $0 = ($2 << 2) + 31848 | 0; - label$105: { - if (HEAP32[$0 >> 2] == ($4 | 0)) { - HEAP32[$0 >> 2] = $3; - if ($3) { - break label$105; - } - $8 = __wasm_rotl_i32(-2, $2) & $8; - HEAP32[7887] = $8; - break label$104; - } - HEAP32[(HEAP32[$7 + 16 >> 2] == ($4 | 0) ? 16 : 20) + $7 >> 2] = $3; - if (!$3) { - break label$104; - } - } - HEAP32[$3 + 24 >> 2] = $7; - $0 = HEAP32[$4 + 16 >> 2]; - if ($0) { - HEAP32[$3 + 16 >> 2] = $0; - HEAP32[$0 + 24 >> 2] = $3; - } - $0 = HEAP32[$4 + 20 >> 2]; - if (!$0) { - break label$104; - } - HEAP32[$3 + 20 >> 2] = $0; - HEAP32[$0 + 24 >> 2] = $3; - } - label$108: { - if ($1 >>> 0 <= 15) { - $0 = $1 + $5 | 0; - HEAP32[$4 + 4 >> 2] = $0 | 3; - $0 = $0 + $4 | 0; - HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] | 1; - break label$108; - } - HEAP32[$4 + 4 >> 2] = $5 | 3; - $3 = $5 + $4 | 0; - HEAP32[$3 + 4 >> 2] = $1 | 1; - HEAP32[$1 + $3 >> 2] = $1; - if ($1 >>> 0 <= 255) { - $0 = ($1 & -8) + 31584 | 0; - $1 = 1 << ($1 >>> 3); - $2 = HEAP32[7886]; - label$111: { - if (!($1 & $2)) { - HEAP32[7886] = $1 | $2; - $1 = $0; - break label$111; - } - $1 = HEAP32[$0 + 8 >> 2]; - } - HEAP32[$0 + 8 >> 2] = $3; - HEAP32[$1 + 12 >> 2] = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - break label$108; - } - $0 = 31; - if ($1 >>> 0 <= 16777215) { - $0 = Math_clz32($1 >>> 8 | 0); - $0 = (($1 >>> 38 - $0 & 1) - ($0 << 1) | 0) + 62 | 0; - } - HEAP32[$3 + 28 >> 2] = $0; - HEAP32[$3 + 16 >> 2] = 0; - HEAP32[$3 + 20 >> 2] = 0; - $2 = ($0 << 2) + 31848 | 0; - label$114: { - $5 = 1 << $0; - label$115: { - if (!($8 & $5)) { - HEAP32[7887] = $5 | $8; - HEAP32[$2 >> 2] = $3; - break label$115; - } - $0 = $1 << (($0 | 0) != 31 ? 25 - ($0 >>> 1 | 0) | 0 : 0); - $5 = HEAP32[$2 >> 2]; - while (1) { - $2 = $5; - if ((HEAP32[$2 + 4 >> 2] & -8) == ($1 | 0)) { - break label$114; - } - $5 = $0 >>> 29 | 0; - $0 = $0 << 1; - $7 = ($5 & 4) + $2 | 0; - $6 = $7 + 16 | 0; - $5 = HEAP32[$6 >> 2]; - if ($5) { - continue; - } - break; - } - HEAP32[$7 + 16 >> 2] = $3; - } - HEAP32[$3 + 24 >> 2] = $2; - HEAP32[$3 + 12 >> 2] = $3; - HEAP32[$3 + 8 >> 2] = $3; - break label$108; - } - $0 = HEAP32[$2 + 8 >> 2]; - HEAP32[$0 + 12 >> 2] = $3; - HEAP32[$2 + 8 >> 2] = $3; - HEAP32[$3 + 24 >> 2] = 0; - HEAP32[$3 + 12 >> 2] = $2; - HEAP32[$3 + 8 >> 2] = $0; - } - $0 = $4 + 8 | 0; - break label$1; - } - label$118: { - if (!$10) { - break label$118; - } - $2 = HEAP32[$3 + 28 >> 2]; - $0 = ($2 << 2) + 31848 | 0; - label$119: { - if (HEAP32[$0 >> 2] == ($3 | 0)) { - HEAP32[$0 >> 2] = $4; - if ($4) { - break label$119; - } - wasm2js_i32$0 = 31548, wasm2js_i32$1 = __wasm_rotl_i32(-2, $2) & $9, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - break label$118; - } - HEAP32[(HEAP32[$10 + 16 >> 2] == ($3 | 0) ? 16 : 20) + $10 >> 2] = $4; - if (!$4) { - break label$118; - } - } - HEAP32[$4 + 24 >> 2] = $10; - $0 = HEAP32[$3 + 16 >> 2]; - if ($0) { - HEAP32[$4 + 16 >> 2] = $0; - HEAP32[$0 + 24 >> 2] = $4; - } - $0 = HEAP32[$3 + 20 >> 2]; - if (!$0) { - break label$118; - } - HEAP32[$4 + 20 >> 2] = $0; - HEAP32[$0 + 24 >> 2] = $4; - } - label$122: { - if ($1 >>> 0 <= 15) { - $0 = $1 + $5 | 0; - HEAP32[$3 + 4 >> 2] = $0 | 3; - $0 = $0 + $3 | 0; - HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] | 1; - break label$122; - } - HEAP32[$3 + 4 >> 2] = $5 | 3; - $2 = $3 + $5 | 0; - HEAP32[$2 + 4 >> 2] = $1 | 1; - HEAP32[$1 + $2 >> 2] = $1; - if ($8) { - $5 = ($8 & -8) + 31584 | 0; - $0 = HEAP32[7891]; - $4 = 1 << ($8 >>> 3); - label$125: { - if (!($6 & $4)) { - HEAP32[7886] = $4 | $6; - $4 = $5; - break label$125; - } - $4 = HEAP32[$5 + 8 >> 2]; - } - HEAP32[$5 + 8 >> 2] = $0; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$0 + 12 >> 2] = $5; - HEAP32[$0 + 8 >> 2] = $4; - } - HEAP32[7891] = $2; - HEAP32[7888] = $1; - } - $0 = $3 + 8 | 0; - } - __stack_pointer = $11 + 16 | 0; - return $0 | 0; -} - -function b2EPCollider__Collide_28b2Manifold__2c_20b2EdgeShape_20const__2c_20b2Transform_20const__2c_20b2PolygonShape_20const__2c_20b2Transform_20const__29($0, $1, $2, $3, $4, $5) { - var $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0), wasm2js_i32$1 = 0; - $6 = __stack_pointer - 640 | 0; - __stack_pointer = $6; - HEAP32[$6 + 636 >> 2] = $0; - HEAP32[$6 + 632 >> 2] = $1; - HEAP32[$6 + 628 >> 2] = $2; - HEAP32[$6 + 624 >> 2] = $3; - HEAP32[$6 + 620 >> 2] = $4; - HEAP32[$6 + 616 >> 2] = $5; - $2 = HEAP32[$6 + 636 >> 2]; - b2MulT_28b2Transform_20const__2c_20b2Transform_20const__29($6 + 600 | 0, HEAP32[$6 + 624 >> 2], HEAP32[$6 + 616 >> 2]); - $1 = HEAP32[$6 + 604 >> 2]; - $0 = HEAP32[$6 + 600 >> 2]; - HEAP32[$2 + 132 >> 2] = $0; - HEAP32[$2 + 136 >> 2] = $1; - $0 = HEAP32[$6 + 612 >> 2]; - $1 = HEAP32[$6 + 608 >> 2]; - HEAP32[$2 + 140 >> 2] = $1; - HEAP32[$2 + 144 >> 2] = $0; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($6 + 592 | 0, $2 + 132 | 0, HEAP32[$6 + 620 >> 2] + 12 | 0); - $1 = HEAP32[$6 + 596 >> 2]; - $0 = HEAP32[$6 + 592 >> 2]; - HEAP32[$2 + 148 >> 2] = $0; - HEAP32[$2 + 152 >> 2] = $1; - $3 = HEAP32[$6 + 628 >> 2]; - $1 = HEAP32[$3 + 28 >> 2]; - $0 = HEAP32[$3 + 32 >> 2]; - HEAP32[$2 + 156 >> 2] = $1; - HEAP32[$2 + 160 >> 2] = $0; - $3 = HEAP32[$6 + 628 >> 2]; - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$3 + 16 >> 2]; - HEAP32[$2 + 164 >> 2] = $0; - HEAP32[$2 + 168 >> 2] = $1; - $3 = HEAP32[$6 + 628 >> 2]; - $1 = HEAP32[$3 + 20 >> 2]; - $0 = HEAP32[$3 + 24 >> 2]; - HEAP32[$2 + 172 >> 2] = $1; - HEAP32[$2 + 176 >> 2] = $0; - $3 = HEAP32[$6 + 628 >> 2]; - $0 = HEAP32[$3 + 36 >> 2]; - $1 = HEAP32[$3 + 40 >> 2]; - HEAP32[$2 + 180 >> 2] = $0; - HEAP32[$2 + 184 >> 2] = $1; - HEAP8[$6 + 591 | 0] = HEAP8[HEAP32[$6 + 628 >> 2] + 44 | 0] & 1; - HEAP8[$6 + 590 | 0] = HEAP8[HEAP32[$6 + 628 >> 2] + 45 | 0] & 1; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 580 | 0, $2 + 172 | 0, $2 + 164 | 0); - b2Vec2__Normalize_28_29($6 + 580 | 0); - b2Vec2__Set_28float_2c_20float_29($2 + 196 | 0, HEAPF32[$6 + 584 >> 2], Math_fround(-HEAPF32[$6 + 580 >> 2])); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 568 | 0, $2 + 148 | 0, $2 + 164 | 0); - wasm2js_i32$0 = $6, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 196 | 0, $6 + 568 | 0), - HEAPF32[wasm2js_i32$0 + 576 >> 2] = wasm2js_f32$0; - HEAPF32[$6 + 564 >> 2] = 0; - HEAPF32[$6 + 560 >> 2] = 0; - HEAP8[$6 + 559 | 0] = 0; - HEAP8[$6 + 558 | 0] = 0; - if (HEAP8[$6 + 591 | 0] & 1) { - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 548 | 0, $2 + 164 | 0, $2 + 156 | 0); - b2Vec2__Normalize_28_29($6 + 548 | 0); - b2Vec2__Set_28float_2c_20float_29($2 + 188 | 0, HEAPF32[$6 + 552 >> 2], Math_fround(-HEAPF32[$6 + 548 >> 2])); - wasm2js_i32$0 = $6, wasm2js_i32$1 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 548 | 0, $6 + 580 | 0) >= Math_fround(0), - HEAP8[wasm2js_i32$0 + 559 | 0] = wasm2js_i32$1; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 540 | 0, $2 + 148 | 0, $2 + 156 | 0); - wasm2js_i32$0 = $6, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 188 | 0, $6 + 540 | 0), - HEAPF32[wasm2js_i32$0 + 564 >> 2] = wasm2js_f32$0; - } - if (HEAP8[$6 + 590 | 0] & 1) { - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 532 | 0, $2 + 180 | 0, $2 + 172 | 0); - b2Vec2__Normalize_28_29($6 + 532 | 0); - b2Vec2__Set_28float_2c_20float_29($2 + 204 | 0, HEAPF32[$6 + 536 >> 2], Math_fround(-HEAPF32[$6 + 532 >> 2])); - wasm2js_i32$0 = $6, wasm2js_i32$1 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 580 | 0, $6 + 532 | 0) > Math_fround(0), - HEAP8[wasm2js_i32$0 + 558 | 0] = wasm2js_i32$1; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 524 | 0, $2 + 148 | 0, $2 + 172 | 0); - wasm2js_i32$0 = $6, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 204 | 0, $6 + 524 | 0), - HEAPF32[wasm2js_i32$0 + 560 >> 2] = wasm2js_f32$0; - } - label$3: { - if (!(!(HEAP8[$6 + 591 | 0] & 1) | !(HEAP8[$6 + 590 | 0] & 1))) { - label$5: { - if (!(!(HEAP8[$6 + 559 | 0] & 1) | !(HEAP8[$6 + 558 | 0] & 1))) { - $0 = 1; - label$7: { - if (HEAPF32[$6 + 564 >> 2] >= Math_fround(0)) { - break label$7; - } - $0 = 1; - if (HEAPF32[$6 + 576 >> 2] >= Math_fround(0)) { - break label$7; - } - $0 = HEAPF32[$6 + 560 >> 2] >= Math_fround(0); - } - HEAP8[$2 + 248 | 0] = $0; - label$8: { - if (HEAP8[$2 + 248 | 0] & 1) { - $0 = HEAP32[$2 + 200 >> 2]; - $1 = HEAP32[$2 + 196 >> 2]; - HEAP32[$2 + 212 >> 2] = $1; - HEAP32[$2 + 216 >> 2] = $0; - $1 = HEAP32[$2 + 192 >> 2]; - $0 = HEAP32[$2 + 188 >> 2]; - HEAP32[$2 + 228 >> 2] = $0; - HEAP32[$2 + 232 >> 2] = $1; - $0 = HEAP32[$2 + 208 >> 2]; - $1 = HEAP32[$2 + 204 >> 2]; - HEAP32[$2 + 236 >> 2] = $1; - HEAP32[$2 + 240 >> 2] = $0; - $0 = $2; - break label$8; - } - b2Vec2__operator__28_29_20const($6 + 516 | 0, $2 + 196 | 0); - $1 = HEAP32[$6 + 520 >> 2]; - $0 = HEAP32[$6 + 516 >> 2]; - HEAP32[$2 + 212 >> 2] = $0; - HEAP32[$2 + 216 >> 2] = $1; - b2Vec2__operator__28_29_20const($6 + 508 | 0, $2 + 196 | 0); - $0 = HEAP32[$6 + 512 >> 2]; - $1 = HEAP32[$6 + 508 >> 2]; - HEAP32[$2 + 228 >> 2] = $1; - HEAP32[$2 + 232 >> 2] = $0; - b2Vec2__operator__28_29_20const($6 + 500 | 0, $2 + 196 | 0); - $1 = HEAP32[$6 + 504 >> 2]; - $0 = HEAP32[$6 + 500 >> 2]; - HEAP32[$2 + 236 >> 2] = $0; - HEAP32[$2 + 240 >> 2] = $1; - $0 = $6; - } - break label$5; - } - label$10: { - if (HEAP8[$6 + 559 | 0] & 1) { - $0 = 1; - if (!(HEAPF32[$6 + 564 >> 2] >= Math_fround(0))) { - $7 = HEAPF32[$6 + 576 >> 2] >= Math_fround(0) ? HEAPF32[$6 + 560 >> 2] >= Math_fround(0) : $7; - $0 = $7; - } - HEAP8[$2 + 248 | 0] = $0 & 1; - label$14: { - if (HEAP8[$2 + 248 | 0] & 1) { - $0 = HEAP32[$2 + 200 >> 2]; - $1 = HEAP32[$2 + 196 >> 2]; - HEAP32[$2 + 212 >> 2] = $1; - HEAP32[$2 + 216 >> 2] = $0; - $1 = HEAP32[$2 + 192 >> 2]; - $0 = HEAP32[$2 + 188 >> 2]; - HEAP32[$2 + 228 >> 2] = $0; - HEAP32[$2 + 232 >> 2] = $1; - $0 = HEAP32[$2 + 200 >> 2]; - $1 = HEAP32[$2 + 196 >> 2]; - HEAP32[$2 + 236 >> 2] = $1; - HEAP32[$2 + 240 >> 2] = $0; - $0 = $2; - break label$14; - } - b2Vec2__operator__28_29_20const($6 + 492 | 0, $2 + 196 | 0); - $1 = HEAP32[$6 + 496 >> 2]; - $0 = HEAP32[$6 + 492 >> 2]; - HEAP32[$2 + 212 >> 2] = $0; - HEAP32[$2 + 216 >> 2] = $1; - b2Vec2__operator__28_29_20const($6 + 484 | 0, $2 + 204 | 0); - $0 = HEAP32[$6 + 488 >> 2]; - $1 = HEAP32[$6 + 484 >> 2]; - HEAP32[$2 + 228 >> 2] = $1; - HEAP32[$2 + 232 >> 2] = $0; - b2Vec2__operator__28_29_20const($6 + 476 | 0, $2 + 196 | 0); - $1 = HEAP32[$6 + 480 >> 2]; - $0 = HEAP32[$6 + 476 >> 2]; - HEAP32[$2 + 236 >> 2] = $0; - HEAP32[$2 + 240 >> 2] = $1; - $0 = $6; - } - break label$10; - } - label$16: { - if (HEAP8[$6 + 558 | 0] & 1) { - $0 = 1; - if (!(HEAPF32[$6 + 560 >> 2] >= Math_fround(0))) { - $7 = HEAPF32[$6 + 564 >> 2] >= Math_fround(0) ? HEAPF32[$6 + 576 >> 2] >= Math_fround(0) : $7; - $0 = $7; - } - HEAP8[$2 + 248 | 0] = $0 & 1; - label$20: { - if (HEAP8[$2 + 248 | 0] & 1) { - $0 = HEAP32[$2 + 200 >> 2]; - $1 = HEAP32[$2 + 196 >> 2]; - HEAP32[$2 + 212 >> 2] = $1; - HEAP32[$2 + 216 >> 2] = $0; - $1 = HEAP32[$2 + 200 >> 2]; - $0 = HEAP32[$2 + 196 >> 2]; - HEAP32[$2 + 228 >> 2] = $0; - HEAP32[$2 + 232 >> 2] = $1; - $0 = HEAP32[$2 + 208 >> 2]; - $1 = HEAP32[$2 + 204 >> 2]; - HEAP32[$2 + 236 >> 2] = $1; - HEAP32[$2 + 240 >> 2] = $0; - $0 = $2; - break label$20; - } - b2Vec2__operator__28_29_20const($6 + 468 | 0, $2 + 196 | 0); - $1 = HEAP32[$6 + 472 >> 2]; - $0 = HEAP32[$6 + 468 >> 2]; - HEAP32[$2 + 212 >> 2] = $0; - HEAP32[$2 + 216 >> 2] = $1; - b2Vec2__operator__28_29_20const($6 + 460 | 0, $2 + 196 | 0); - $0 = HEAP32[$6 + 464 >> 2]; - $1 = HEAP32[$6 + 460 >> 2]; - HEAP32[$2 + 228 >> 2] = $1; - HEAP32[$2 + 232 >> 2] = $0; - b2Vec2__operator__28_29_20const($6 + 452 | 0, $2 + 188 | 0); - $1 = HEAP32[$6 + 456 >> 2]; - $0 = HEAP32[$6 + 452 >> 2]; - HEAP32[$2 + 236 >> 2] = $0; - HEAP32[$2 + 240 >> 2] = $1; - $0 = $6; - } - break label$16; - } - $0 = 0; - label$22: { - if (!(HEAPF32[$6 + 564 >> 2] >= Math_fround(0))) { - break label$22; - } - $0 = 0; - if (!(HEAPF32[$6 + 576 >> 2] >= Math_fround(0))) { - break label$22; - } - $0 = HEAPF32[$6 + 560 >> 2] >= Math_fround(0); - } - HEAP8[$2 + 248 | 0] = $0; - label$23: { - if (HEAP8[$2 + 248 | 0] & 1) { - $0 = HEAP32[$2 + 200 >> 2]; - $1 = HEAP32[$2 + 196 >> 2]; - HEAP32[$2 + 212 >> 2] = $1; - HEAP32[$2 + 216 >> 2] = $0; - $1 = HEAP32[$2 + 200 >> 2]; - $0 = HEAP32[$2 + 196 >> 2]; - HEAP32[$2 + 228 >> 2] = $0; - HEAP32[$2 + 232 >> 2] = $1; - $0 = HEAP32[$2 + 200 >> 2]; - $1 = HEAP32[$2 + 196 >> 2]; - HEAP32[$2 + 236 >> 2] = $1; - HEAP32[$2 + 240 >> 2] = $0; - $0 = $2; - break label$23; - } - b2Vec2__operator__28_29_20const($6 + 444 | 0, $2 + 196 | 0); - $1 = HEAP32[$6 + 448 >> 2]; - $0 = HEAP32[$6 + 444 >> 2]; - HEAP32[$2 + 212 >> 2] = $0; - HEAP32[$2 + 216 >> 2] = $1; - b2Vec2__operator__28_29_20const($6 + 436 | 0, $2 + 204 | 0); - $0 = HEAP32[$6 + 440 >> 2]; - $1 = HEAP32[$6 + 436 >> 2]; - HEAP32[$2 + 228 >> 2] = $1; - HEAP32[$2 + 232 >> 2] = $0; - b2Vec2__operator__28_29_20const($6 + 428 | 0, $2 + 188 | 0); - $1 = HEAP32[$6 + 432 >> 2]; - $0 = HEAP32[$6 + 428 >> 2]; - HEAP32[$2 + 236 >> 2] = $0; - HEAP32[$2 + 240 >> 2] = $1; - $0 = $6; - } - } - } - } - break label$3; - } - label$25: { - if (HEAP8[$6 + 591 | 0] & 1) { - if (HEAP8[$6 + 559 | 0] & 1) { - $0 = 1; - $0 = HEAPF32[$6 + 564 >> 2] >= Math_fround(0) ? $0 : HEAPF32[$6 + 576 >> 2] >= Math_fround(0); - HEAP8[$2 + 248 | 0] = $0; - label$29: { - if (HEAP8[$2 + 248 | 0] & 1) { - $0 = HEAP32[$2 + 200 >> 2]; - $1 = HEAP32[$2 + 196 >> 2]; - HEAP32[$2 + 212 >> 2] = $1; - HEAP32[$2 + 216 >> 2] = $0; - $1 = HEAP32[$2 + 192 >> 2]; - $0 = HEAP32[$2 + 188 >> 2]; - HEAP32[$2 + 228 >> 2] = $0; - HEAP32[$2 + 232 >> 2] = $1; - b2Vec2__operator__28_29_20const($6 + 420 | 0, $2 + 196 | 0); - $0 = HEAP32[$6 + 424 >> 2]; - $1 = HEAP32[$6 + 420 >> 2]; - HEAP32[$2 + 236 >> 2] = $1; - HEAP32[$2 + 240 >> 2] = $0; - break label$29; - } - b2Vec2__operator__28_29_20const($6 + 412 | 0, $2 + 196 | 0); - $1 = HEAP32[$6 + 416 >> 2]; - $0 = HEAP32[$6 + 412 >> 2]; - HEAP32[$2 + 212 >> 2] = $0; - HEAP32[$2 + 216 >> 2] = $1; - $0 = HEAP32[$2 + 200 >> 2]; - $1 = HEAP32[$2 + 196 >> 2]; - HEAP32[$2 + 228 >> 2] = $1; - HEAP32[$2 + 232 >> 2] = $0; - b2Vec2__operator__28_29_20const($6 + 404 | 0, $2 + 196 | 0); - $1 = HEAP32[$6 + 408 >> 2]; - $0 = HEAP32[$6 + 404 >> 2]; - HEAP32[$2 + 236 >> 2] = $0; - HEAP32[$2 + 240 >> 2] = $1; - } - $0 = $6; - break label$25; - } - $7 = HEAPF32[$6 + 564 >> 2] >= Math_fround(0) ? HEAPF32[$6 + 576 >> 2] >= Math_fround(0) : $7; - HEAP8[$2 + 248 | 0] = $7; - label$32: { - if (HEAP8[$2 + 248 | 0] & 1) { - $0 = HEAP32[$2 + 200 >> 2]; - $1 = HEAP32[$2 + 196 >> 2]; - HEAP32[$2 + 212 >> 2] = $1; - HEAP32[$2 + 216 >> 2] = $0; - $1 = HEAP32[$2 + 200 >> 2]; - $0 = HEAP32[$2 + 196 >> 2]; - HEAP32[$2 + 228 >> 2] = $0; - HEAP32[$2 + 232 >> 2] = $1; - b2Vec2__operator__28_29_20const($6 + 396 | 0, $2 + 196 | 0); - $0 = HEAP32[$6 + 400 >> 2]; - $1 = HEAP32[$6 + 396 >> 2]; - HEAP32[$2 + 236 >> 2] = $1; - HEAP32[$2 + 240 >> 2] = $0; - break label$32; - } - b2Vec2__operator__28_29_20const($6 + 388 | 0, $2 + 196 | 0); - $1 = HEAP32[$6 + 392 >> 2]; - $0 = HEAP32[$6 + 388 >> 2]; - HEAP32[$2 + 212 >> 2] = $0; - HEAP32[$2 + 216 >> 2] = $1; - $0 = HEAP32[$2 + 200 >> 2]; - $1 = HEAP32[$2 + 196 >> 2]; - HEAP32[$2 + 228 >> 2] = $1; - HEAP32[$2 + 232 >> 2] = $0; - b2Vec2__operator__28_29_20const($6 + 380 | 0, $2 + 188 | 0); - $1 = HEAP32[$6 + 384 >> 2]; - $0 = HEAP32[$6 + 380 >> 2]; - HEAP32[$2 + 236 >> 2] = $0; - HEAP32[$2 + 240 >> 2] = $1; - } - $0 = $6; - break label$25; - } - label$34: { - if (HEAP8[$6 + 590 | 0] & 1) { - if (HEAP8[$6 + 558 | 0] & 1) { - $0 = 1; - $0 = HEAPF32[$6 + 576 >> 2] >= Math_fround(0) ? $0 : HEAPF32[$6 + 560 >> 2] >= Math_fround(0); - HEAP8[$2 + 248 | 0] = $0; - label$38: { - if (HEAP8[$2 + 248 | 0] & 1) { - $0 = HEAP32[$2 + 200 >> 2]; - $1 = HEAP32[$2 + 196 >> 2]; - HEAP32[$2 + 212 >> 2] = $1; - HEAP32[$2 + 216 >> 2] = $0; - b2Vec2__operator__28_29_20const($6 + 372 | 0, $2 + 196 | 0); - $1 = HEAP32[$6 + 376 >> 2]; - $0 = HEAP32[$6 + 372 >> 2]; - HEAP32[$2 + 228 >> 2] = $0; - HEAP32[$2 + 232 >> 2] = $1; - $0 = HEAP32[$2 + 208 >> 2]; - $1 = HEAP32[$2 + 204 >> 2]; - HEAP32[$2 + 236 >> 2] = $1; - HEAP32[$2 + 240 >> 2] = $0; - break label$38; - } - b2Vec2__operator__28_29_20const($6 + 364 | 0, $2 + 196 | 0); - $1 = HEAP32[$6 + 368 >> 2]; - $0 = HEAP32[$6 + 364 >> 2]; - HEAP32[$2 + 212 >> 2] = $0; - HEAP32[$2 + 216 >> 2] = $1; - b2Vec2__operator__28_29_20const($6 + 356 | 0, $2 + 196 | 0); - $0 = HEAP32[$6 + 360 >> 2]; - $1 = HEAP32[$6 + 356 >> 2]; - HEAP32[$2 + 228 >> 2] = $1; - HEAP32[$2 + 232 >> 2] = $0; - $1 = HEAP32[$2 + 200 >> 2]; - $0 = HEAP32[$2 + 196 >> 2]; - HEAP32[$2 + 236 >> 2] = $0; - HEAP32[$2 + 240 >> 2] = $1; - } - $0 = $2; - break label$34; - } - $7 = HEAPF32[$6 + 576 >> 2] >= Math_fround(0) ? HEAPF32[$6 + 560 >> 2] >= Math_fround(0) : $7; - HEAP8[$2 + 248 | 0] = $7; - label$41: { - if (HEAP8[$2 + 248 | 0] & 1) { - $0 = HEAP32[$2 + 200 >> 2]; - $1 = HEAP32[$2 + 196 >> 2]; - HEAP32[$2 + 212 >> 2] = $1; - HEAP32[$2 + 216 >> 2] = $0; - b2Vec2__operator__28_29_20const($6 + 348 | 0, $2 + 196 | 0); - $1 = HEAP32[$6 + 352 >> 2]; - $0 = HEAP32[$6 + 348 >> 2]; - HEAP32[$2 + 228 >> 2] = $0; - HEAP32[$2 + 232 >> 2] = $1; - break label$41; - } - b2Vec2__operator__28_29_20const($6 + 340 | 0, $2 + 196 | 0); - $0 = HEAP32[$6 + 344 >> 2]; - $1 = HEAP32[$6 + 340 >> 2]; - HEAP32[$2 + 212 >> 2] = $1; - HEAP32[$2 + 216 >> 2] = $0; - b2Vec2__operator__28_29_20const($6 + 332 | 0, $2 + 204 | 0); - $1 = HEAP32[$6 + 336 >> 2]; - $0 = HEAP32[$6 + 332 >> 2]; - HEAP32[$2 + 228 >> 2] = $0; - HEAP32[$2 + 232 >> 2] = $1; - } - $0 = HEAP32[$2 + 200 >> 2]; - $1 = HEAP32[$2 + 196 >> 2]; - HEAP32[$2 + 236 >> 2] = $1; - HEAP32[$2 + 240 >> 2] = $0; - $0 = $2; - break label$34; - } - HEAP8[$2 + 248 | 0] = HEAPF32[$6 + 576 >> 2] >= Math_fround(0); - label$43: { - if (HEAP8[$2 + 248 | 0] & 1) { - $1 = HEAP32[$2 + 200 >> 2]; - $0 = HEAP32[$2 + 196 >> 2]; - HEAP32[$2 + 212 >> 2] = $0; - HEAP32[$2 + 216 >> 2] = $1; - b2Vec2__operator__28_29_20const($6 + 324 | 0, $2 + 196 | 0); - $0 = HEAP32[$6 + 328 >> 2]; - $1 = HEAP32[$6 + 324 >> 2]; - HEAP32[$2 + 228 >> 2] = $1; - HEAP32[$2 + 232 >> 2] = $0; - b2Vec2__operator__28_29_20const($6 + 316 | 0, $2 + 196 | 0); - $1 = HEAP32[$6 + 320 >> 2]; - $0 = HEAP32[$6 + 316 >> 2]; - HEAP32[$2 + 236 >> 2] = $0; - HEAP32[$2 + 240 >> 2] = $1; - $0 = $6; - break label$43; - } - b2Vec2__operator__28_29_20const($6 + 308 | 0, $2 + 196 | 0); - $0 = HEAP32[$6 + 312 >> 2]; - $1 = HEAP32[$6 + 308 >> 2]; - HEAP32[$2 + 212 >> 2] = $1; - HEAP32[$2 + 216 >> 2] = $0; - $1 = HEAP32[$2 + 200 >> 2]; - $0 = HEAP32[$2 + 196 >> 2]; - HEAP32[$2 + 228 >> 2] = $0; - HEAP32[$2 + 232 >> 2] = $1; - $0 = HEAP32[$2 + 200 >> 2]; - $1 = HEAP32[$2 + 196 >> 2]; - HEAP32[$2 + 236 >> 2] = $1; - HEAP32[$2 + 240 >> 2] = $0; - $0 = $2; - } - } - } - } - HEAP32[$2 + 128 >> 2] = HEAP32[HEAP32[$6 + 620 >> 2] + 148 >> 2]; - HEAP32[$6 + 304 >> 2] = 0; - while (1) { - if (HEAP32[$6 + 304 >> 2] < HEAP32[HEAP32[$6 + 620 >> 2] + 148 >> 2]) { - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($6 + 296 | 0, $2 + 132 | 0, (HEAP32[$6 + 620 >> 2] + 20 | 0) + (HEAP32[$6 + 304 >> 2] << 3) | 0); - $1 = HEAP32[$6 + 300 >> 2]; - $0 = HEAP32[$6 + 296 >> 2]; - $3 = $0; - $0 = (HEAP32[$6 + 304 >> 2] << 3) + $2 | 0; - HEAP32[$0 >> 2] = $3; - HEAP32[$0 + 4 >> 2] = $1; - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($6 + 288 | 0, $2 + 140 | 0, (HEAP32[$6 + 620 >> 2] + 84 | 0) + (HEAP32[$6 + 304 >> 2] << 3) | 0); - $0 = HEAP32[$6 + 292 >> 2]; - $1 = HEAP32[$6 + 288 >> 2]; - $3 = $1; - $1 = ($2 - -64 | 0) + (HEAP32[$6 + 304 >> 2] << 3) | 0; - HEAP32[$1 >> 2] = $3; - HEAP32[$1 + 4 >> 2] = $0; - HEAP32[$6 + 304 >> 2] = HEAP32[$6 + 304 >> 2] + 1; - continue; - } - break; - } - HEAPF32[$2 + 244 >> 2] = HEAPF32[HEAP32[$6 + 620 >> 2] + 8 >> 2] + HEAPF32[HEAP32[$6 + 628 >> 2] + 8 >> 2]; - HEAP32[HEAP32[$6 + 632 >> 2] + 60 >> 2] = 0; - b2EPCollider__ComputeEdgeSeparation_28_29($6 + 276 | 0, $2); - label$47: { - if (!HEAP32[$6 + 276 >> 2] | HEAPF32[$6 + 284 >> 2] > HEAPF32[$2 + 244 >> 2]) { - break label$47; - } - b2EPCollider__ComputePolygonSeparation_28_29($6 + 264 | 0, $2); - if (!(!HEAP32[$6 + 264 >> 2] | !(HEAPF32[$6 + 272 >> 2] > HEAPF32[$2 + 244 >> 2]))) { - break label$47; - } - HEAPF32[$6 + 260 >> 2] = .9800000190734863; - HEAPF32[$6 + 256 >> 2] = .0010000000474974513; - label$49: { - if (!HEAP32[$6 + 264 >> 2]) { - HEAP32[$6 + 248 >> 2] = HEAP32[$6 + 284 >> 2]; - $1 = HEAP32[$6 + 280 >> 2]; - $0 = HEAP32[$6 + 276 >> 2]; - HEAP32[$6 + 240 >> 2] = $0; - HEAP32[$6 + 244 >> 2] = $1; - $3 = $6; - break label$49; - } - label$51: { - if (HEAPF32[$6 + 272 >> 2] > Math_fround(Math_fround(HEAPF32[$6 + 284 >> 2] * Math_fround(.9800000190734863)) + Math_fround(.0010000000474974513))) { - HEAP32[$6 + 248 >> 2] = HEAP32[$6 + 272 >> 2]; - $0 = HEAP32[$6 + 268 >> 2]; - $1 = HEAP32[$6 + 264 >> 2]; - HEAP32[$6 + 240 >> 2] = $1; - HEAP32[$6 + 244 >> 2] = $0; - break label$51; - } - HEAP32[$6 + 248 >> 2] = HEAP32[$6 + 284 >> 2]; - $1 = HEAP32[$6 + 280 >> 2]; - $0 = HEAP32[$6 + 276 >> 2]; - HEAP32[$6 + 240 >> 2] = $0; - HEAP32[$6 + 244 >> 2] = $1; - } - $3 = $6; - } - $0 = $6 + 208 | 0; - $1 = $0 + 24 | 0; - while (1) { - b2ClipVertex__b2ClipVertex_28_29($0); - $0 = $0 + 12 | 0; - if (($1 | 0) != ($0 | 0)) { - continue; - } - break; - } - b2ReferenceFace__b2ReferenceFace_28_29($6 + 152 | 0); - label$54: { - if (HEAP32[$6 + 240 >> 2] == 1) { - HEAP32[HEAP32[$6 + 632 >> 2] + 56 >> 2] = 1; - HEAP32[$6 + 148 >> 2] = 0; - wasm2js_i32$0 = $6, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 212 | 0, $2 - -64 | 0), - HEAPF32[wasm2js_i32$0 + 144 >> 2] = wasm2js_f32$0; - HEAP32[$6 + 140 >> 2] = 1; - while (1) { - if (HEAP32[$6 + 140 >> 2] < HEAP32[$2 + 128 >> 2]) { - wasm2js_i32$0 = $6, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 212 | 0, ($2 - -64 | 0) + (HEAP32[$6 + 140 >> 2] << 3) | 0), - HEAPF32[wasm2js_i32$0 + 136 >> 2] = wasm2js_f32$0; - if (HEAPF32[$6 + 136 >> 2] < HEAPF32[$6 + 144 >> 2]) { - HEAPF32[$6 + 144 >> 2] = HEAPF32[$6 + 136 >> 2]; - HEAP32[$6 + 148 >> 2] = HEAP32[$6 + 140 >> 2]; - } - HEAP32[$6 + 140 >> 2] = HEAP32[$6 + 140 >> 2] + 1; - continue; - } - break; - } - HEAP32[$6 + 132 >> 2] = HEAP32[$6 + 148 >> 2]; - if (HEAP32[$2 + 128 >> 2] > (HEAP32[$6 + 132 >> 2] + 1 | 0)) { - $0 = HEAP32[$6 + 132 >> 2] + 1 | 0; - } else { - $0 = 0; - } - HEAP32[$6 + 128 >> 2] = $0; - $3 = (HEAP32[$6 + 132 >> 2] << 3) + $2 | 0; - $1 = HEAP32[$3 >> 2]; - $0 = HEAP32[$3 + 4 >> 2]; - $3 = $1; - $1 = $6 + 208 | 0; - HEAP32[$1 >> 2] = $3; - HEAP32[$1 + 4 >> 2] = $0; - HEAP8[$6 + 216 | 0] = 0; - HEAP8[$6 + 217 | 0] = HEAP32[$6 + 132 >> 2]; - HEAP8[$6 + 218 | 0] = 1; - HEAP8[$6 + 219 | 0] = 0; - $3 = (HEAP32[$6 + 128 >> 2] << 3) + $2 | 0; - $0 = HEAP32[$3 >> 2]; - $1 = HEAP32[$3 + 4 >> 2]; - $3 = $0; - $0 = $6 + 208 | 0; - HEAP32[$0 + 12 >> 2] = $3; - HEAP32[$0 + 16 >> 2] = $1; - HEAP8[$6 + 228 | 0] = 0; - HEAP8[$6 + 229 | 0] = HEAP32[$6 + 128 >> 2]; - HEAP8[$6 + 230 | 0] = 1; - HEAP8[$6 + 231 | 0] = 0; - label$61: { - if (HEAP8[$2 + 248 | 0] & 1) { - HEAP32[$6 + 152 >> 2] = 0; - HEAP32[$6 + 156 >> 2] = 1; - $0 = HEAP32[$2 + 168 >> 2]; - $1 = HEAP32[$2 + 164 >> 2]; - $3 = $1; - $1 = $6 + 152 | 0; - HEAP32[$1 + 8 >> 2] = $3; - HEAP32[$1 + 12 >> 2] = $0; - $1 = HEAP32[$2 + 176 >> 2]; - $0 = HEAP32[$2 + 172 >> 2]; - $3 = $0; - $0 = $6 + 152 | 0; - HEAP32[$0 + 16 >> 2] = $3; - HEAP32[$0 + 20 >> 2] = $1; - $0 = HEAP32[$2 + 200 >> 2]; - $1 = HEAP32[$2 + 196 >> 2]; - $3 = $1; - $1 = $6 + 152 | 0; - HEAP32[$1 + 24 >> 2] = $3; - HEAP32[$1 + 28 >> 2] = $0; - $3 = $2; - break label$61; - } - HEAP32[$6 + 152 >> 2] = 1; - HEAP32[$6 + 156 >> 2] = 0; - $1 = HEAP32[$2 + 176 >> 2]; - $0 = HEAP32[$2 + 172 >> 2]; - $3 = $0; - $0 = $6 + 152 | 0; - HEAP32[$0 + 8 >> 2] = $3; - HEAP32[$0 + 12 >> 2] = $1; - $0 = HEAP32[$2 + 168 >> 2]; - $1 = HEAP32[$2 + 164 >> 2]; - $3 = $1; - $1 = $6 + 152 | 0; - HEAP32[$1 + 16 >> 2] = $3; - HEAP32[$1 + 20 >> 2] = $0; - b2Vec2__operator__28_29_20const($6 + 120 | 0, $2 + 196 | 0); - $1 = HEAP32[$6 + 124 >> 2]; - $0 = HEAP32[$6 + 120 >> 2]; - $3 = $0; - $0 = $6 + 152 | 0; - HEAP32[$0 + 24 >> 2] = $3; - HEAP32[$0 + 28 >> 2] = $1; - $3 = $6; - } - break label$54; - } - HEAP32[HEAP32[$6 + 632 >> 2] + 56 >> 2] = 2; - $0 = HEAP32[$2 + 168 >> 2]; - $1 = HEAP32[$2 + 164 >> 2]; - $3 = $1; - $1 = $6 + 208 | 0; - HEAP32[$1 >> 2] = $3; - HEAP32[$1 + 4 >> 2] = $0; - HEAP8[$6 + 216 | 0] = 0; - HEAP8[$6 + 217 | 0] = HEAP32[$6 + 244 >> 2]; - HEAP8[$6 + 218 | 0] = 0; - HEAP8[$6 + 219 | 0] = 1; - $1 = HEAP32[$2 + 176 >> 2]; - $0 = HEAP32[$2 + 172 >> 2]; - $3 = $0; - $0 = $6 + 208 | 0; - HEAP32[$0 + 12 >> 2] = $3; - HEAP32[$0 + 16 >> 2] = $1; - HEAP8[$6 + 228 | 0] = 0; - HEAP8[$6 + 229 | 0] = HEAP32[$6 + 244 >> 2]; - HEAP8[$6 + 230 | 0] = 0; - HEAP8[$6 + 231 | 0] = 1; - HEAP32[$6 + 152 >> 2] = HEAP32[$6 + 244 >> 2]; - if (HEAP32[$2 + 128 >> 2] > (HEAP32[$6 + 152 >> 2] + 1 | 0)) { - $0 = HEAP32[$6 + 152 >> 2] + 1 | 0; - } else { - $0 = 0; - } - HEAP32[$6 + 156 >> 2] = $0; - $3 = (HEAP32[$6 + 152 >> 2] << 3) + $2 | 0; - $1 = HEAP32[$3 >> 2]; - $0 = HEAP32[$3 + 4 >> 2]; - $3 = $1; - $1 = $6 + 152 | 0; - HEAP32[$1 + 8 >> 2] = $3; - HEAP32[$1 + 12 >> 2] = $0; - $3 = (HEAP32[$6 + 156 >> 2] << 3) + $2 | 0; - $0 = HEAP32[$3 >> 2]; - $1 = HEAP32[$3 + 4 >> 2]; - $3 = $0; - $0 = $6 + 152 | 0; - HEAP32[$0 + 16 >> 2] = $3; - HEAP32[$0 + 20 >> 2] = $1; - $3 = ($2 - -64 | 0) + (HEAP32[$6 + 152 >> 2] << 3) | 0; - $1 = HEAP32[$3 >> 2]; - $0 = HEAP32[$3 + 4 >> 2]; - $3 = $1; - $1 = $6 + 152 | 0; - HEAP32[$1 + 24 >> 2] = $3; - HEAP32[$1 + 28 >> 2] = $0; - } - b2Vec2__Set_28float_2c_20float_29($6 + 184 | 0, HEAPF32[$6 + 180 >> 2], Math_fround(-HEAPF32[$6 + 176 >> 2])); - b2Vec2__operator__28_29_20const($6 + 112 | 0, $6 + 184 | 0); - $1 = HEAP32[$6 + 116 >> 2]; - $0 = HEAP32[$6 + 112 >> 2]; - $3 = $0; - $0 = $6 + 152 | 0; - HEAP32[$0 + 44 >> 2] = $3; - HEAP32[$0 + 48 >> 2] = $1; - wasm2js_i32$0 = $6, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 184 | 0, $6 + 160 | 0), - HEAPF32[wasm2js_i32$0 + 192 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $6, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 196 | 0, $6 + 168 | 0), - HEAPF32[wasm2js_i32$0 + 204 >> 2] = wasm2js_f32$0; - $0 = $6 + 80 | 0; - $1 = $0 + 24 | 0; - while (1) { - b2ClipVertex__b2ClipVertex_28_29($0); - $0 = $0 + 12 | 0; - if (($1 | 0) != ($0 | 0)) { - continue; - } - break; - } - $0 = $6 + 48 | 0; - $1 = $0 + 24 | 0; - while (1) { - b2ClipVertex__b2ClipVertex_28_29($0); - $0 = $0 + 12 | 0; - if (($1 | 0) != ($0 | 0)) { - continue; - } - break; - } - wasm2js_i32$0 = $6, wasm2js_i32$1 = b2ClipSegmentToLine_28b2ClipVertex__2c_20b2ClipVertex_20const__2c_20b2Vec2_20const__2c_20float_2c_20int_29($6 + 80 | 0, $6 + 208 | 0, $6 + 184 | 0, HEAPF32[$6 + 192 >> 2], HEAP32[$6 + 152 >> 2]), - HEAP32[wasm2js_i32$0 + 44 >> 2] = wasm2js_i32$1; - if (HEAP32[$6 + 44 >> 2] < 2) { - break label$47; - } - wasm2js_i32$0 = $6, wasm2js_i32$1 = b2ClipSegmentToLine_28b2ClipVertex__2c_20b2ClipVertex_20const__2c_20b2Vec2_20const__2c_20float_2c_20int_29($6 + 48 | 0, $6 + 80 | 0, $6 + 196 | 0, HEAPF32[$6 + 204 >> 2], HEAP32[$6 + 156 >> 2]), - HEAP32[wasm2js_i32$0 + 44 >> 2] = wasm2js_i32$1; - if (HEAP32[$6 + 44 >> 2] < 2) { - break label$47; - } - label$67: { - if (HEAP32[$6 + 240 >> 2] == 1) { - $3 = $6 + 152 | 0; - $1 = HEAP32[$3 + 24 >> 2]; - $0 = HEAP32[$3 + 28 >> 2]; - $3 = $1; - $1 = HEAP32[$6 + 632 >> 2]; - HEAP32[$1 + 40 >> 2] = $3; - HEAP32[$1 + 44 >> 2] = $0; - $3 = $6 + 152 | 0; - $0 = HEAP32[$3 + 8 >> 2]; - $1 = HEAP32[$3 + 12 >> 2]; - $3 = $0; - $0 = HEAP32[$6 + 632 >> 2]; - HEAP32[$0 + 48 >> 2] = $3; - HEAP32[$0 + 52 >> 2] = $1; - break label$67; - } - $3 = (HEAP32[$6 + 620 >> 2] + 84 | 0) + (HEAP32[$6 + 152 >> 2] << 3) | 0; - $1 = HEAP32[$3 >> 2]; - $0 = HEAP32[$3 + 4 >> 2]; - $3 = $1; - $1 = HEAP32[$6 + 632 >> 2]; - HEAP32[$1 + 40 >> 2] = $3; - HEAP32[$1 + 44 >> 2] = $0; - $3 = (HEAP32[$6 + 620 >> 2] + 20 | 0) + (HEAP32[$6 + 152 >> 2] << 3) | 0; - $0 = HEAP32[$3 >> 2]; - $1 = HEAP32[$3 + 4 >> 2]; - $3 = $0; - $0 = HEAP32[$6 + 632 >> 2]; - HEAP32[$0 + 48 >> 2] = $3; - HEAP32[$0 + 52 >> 2] = $1; - } - HEAP32[$6 + 40 >> 2] = 0; - HEAP32[$6 + 36 >> 2] = 0; - while (1) { - if (HEAP32[$6 + 36 >> 2] < 2) { - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 24 | 0, ($6 + 48 | 0) + Math_imul(HEAP32[$6 + 36 >> 2], 12) | 0, $6 + 160 | 0); - wasm2js_i32$0 = $6, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 176 | 0, $6 + 24 | 0), - HEAPF32[wasm2js_i32$0 + 32 >> 2] = wasm2js_f32$0; - if (HEAPF32[$6 + 32 >> 2] <= HEAPF32[$2 + 244 >> 2]) { - HEAP32[$6 + 20 >> 2] = HEAP32[$6 + 632 >> 2] + Math_imul(HEAP32[$6 + 40 >> 2], 20); - label$72: { - if (HEAP32[$6 + 240 >> 2] == 1) { - b2MulT_28b2Transform_20const__2c_20b2Vec2_20const__29($6 + 12 | 0, $2 + 132 | 0, ($6 + 48 | 0) + Math_imul(HEAP32[$6 + 36 >> 2], 12) | 0); - $0 = HEAP32[$6 + 16 >> 2]; - $1 = HEAP32[$6 + 12 >> 2]; - $3 = $1; - $1 = HEAP32[$6 + 20 >> 2]; - HEAP32[$1 >> 2] = $3; - HEAP32[$1 + 4 >> 2] = $0; - HEAP32[HEAP32[$6 + 20 >> 2] + 16 >> 2] = HEAP32[(($6 + 48 | 0) + Math_imul(HEAP32[$6 + 36 >> 2], 12) | 0) + 8 >> 2]; - break label$72; - } - $3 = ($6 + 48 | 0) + Math_imul(HEAP32[$6 + 36 >> 2], 12) | 0; - $0 = HEAP32[$3 >> 2]; - $1 = HEAP32[$3 + 4 >> 2]; - $3 = $0; - $0 = HEAP32[$6 + 20 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$0 + 4 >> 2] = $1; - HEAP8[HEAP32[$6 + 20 >> 2] + 18 | 0] = HEAPU8[(($6 + 48 | 0) + Math_imul(HEAP32[$6 + 36 >> 2], 12) | 0) + 11 | 0]; - HEAP8[HEAP32[$6 + 20 >> 2] + 19 | 0] = HEAPU8[(($6 + 48 | 0) + Math_imul(HEAP32[$6 + 36 >> 2], 12) | 0) + 10 | 0]; - HEAP8[HEAP32[$6 + 20 >> 2] + 16 | 0] = HEAPU8[(($6 + 48 | 0) + Math_imul(HEAP32[$6 + 36 >> 2], 12) | 0) + 9 | 0]; - HEAP8[HEAP32[$6 + 20 >> 2] + 17 | 0] = HEAPU8[(($6 + 48 | 0) + Math_imul(HEAP32[$6 + 36 >> 2], 12) | 0) + 8 | 0]; - } - HEAP32[$6 + 40 >> 2] = HEAP32[$6 + 40 >> 2] + 1; - } - HEAP32[$6 + 36 >> 2] = HEAP32[$6 + 36 >> 2] + 1; - continue; - } - break; - } - HEAP32[HEAP32[$6 + 632 >> 2] + 60 >> 2] = HEAP32[$6 + 40 >> 2]; - } - __stack_pointer = $6 + 640 | 0; -} - -function printf_core($0, $1, $2, $3, $4, $5, $6) { - var $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $8 = __stack_pointer - 80 | 0; - __stack_pointer = $8; - HEAP32[$8 + 76 >> 2] = $1; - $25 = $8 + 55 | 0; - $21 = $8 + 56 | 0; - label$1: { - label$2: { - label$3: { - label$4: { - label$5: while (1) { - $15 = $1; - if (($16 ^ 2147483647) < ($7 | 0)) { - break label$4; - } - $16 = $7 + $16 | 0; - label$6: { - label$8: { - label$9: { - $7 = $15; - $12 = HEAPU8[$7 | 0]; - if ($12) { - while (1) { - label$12: { - $12 = $12 & 255; - label$13: { - if (!$12) { - $1 = $7; - break label$13; - } - if (($12 | 0) != 37) { - break label$12; - } - $12 = $7; - while (1) { - if (HEAPU8[$12 + 1 | 0] != 37) { - $1 = $12; - break label$13; - } - $7 = $7 + 1 | 0; - $9 = HEAPU8[$12 + 2 | 0]; - $1 = $12 + 2 | 0; - $12 = $1; - if (($9 | 0) == 37) { - continue; - } - break; - } - } - $7 = $7 - $15 | 0; - $12 = $16 ^ 2147483647; - if (($7 | 0) > ($12 | 0)) { - break label$4; - } - if ($0) { - out($0, $15, $7); - } - if ($7) { - continue label$5; - } - HEAP32[$8 + 76 >> 2] = $1; - $7 = $1 + 1 | 0; - $19 = -1; - if (!(!isdigit(HEAP8[$1 + 1 | 0]) | HEAPU8[$1 + 2 | 0] != 36)) { - $19 = HEAP8[$1 + 1 | 0] - 48 | 0; - $22 = 1; - $7 = $1 + 3 | 0; - } - HEAP32[$8 + 76 >> 2] = $7; - $14 = 0; - $13 = HEAP8[$7 | 0]; - $1 = $13 - 32 | 0; - label$19: { - if ($1 >>> 0 > 31) { - $9 = $7; - break label$19; - } - $9 = $7; - $1 = 1 << $1; - if (!($1 & 75913)) { - break label$19; - } - while (1) { - $9 = $7 + 1 | 0; - HEAP32[$8 + 76 >> 2] = $9; - $14 = $1 | $14; - $13 = HEAP8[$7 + 1 | 0]; - $1 = $13 - 32 | 0; - if ($1 >>> 0 >= 32) { - break label$19; - } - $7 = $9; - $1 = 1 << $1; - if ($1 & 75913) { - continue; - } - break; - } - } - label$22: { - if (($13 | 0) == 42) { - label$24: { - if (!(!isdigit(HEAP8[$9 + 1 | 0]) | HEAPU8[$9 + 2 | 0] != 36)) { - HEAP32[((HEAP8[$9 + 1 | 0] << 2) + $4 | 0) - 192 >> 2] = 10; - $13 = $9 + 3 | 0; - $18 = HEAP32[((HEAP8[$9 + 1 | 0] << 3) + $3 | 0) - 384 >> 2]; - $22 = 1; - break label$24; - } - if ($22) { - break label$9; - } - $13 = $9 + 1 | 0; - if (!$0) { - HEAP32[$8 + 76 >> 2] = $13; - $22 = 0; - $18 = 0; - break label$22; - } - $7 = HEAP32[$2 >> 2]; - HEAP32[$2 >> 2] = $7 + 4; - $18 = HEAP32[$7 >> 2]; - $22 = 0; - } - HEAP32[$8 + 76 >> 2] = $13; - if (($18 | 0) >= 0) { - break label$22; - } - $18 = 0 - $18 | 0; - $14 = $14 | 8192; - break label$22; - } - $18 = getint($8 + 76 | 0); - if (($18 | 0) < 0) { - break label$4; - } - $13 = HEAP32[$8 + 76 >> 2]; - } - $7 = 0; - $11 = -1; - label$27: { - if (HEAPU8[$13 | 0] != 46) { - $1 = $13; - $10 = 0; - break label$27; - } - if (HEAPU8[$13 + 1 | 0] == 42) { - label$30: { - if (!(!isdigit(HEAP8[$13 + 2 | 0]) | HEAPU8[$13 + 3 | 0] != 36)) { - HEAP32[((HEAP8[$13 + 2 | 0] << 2) + $4 | 0) - 192 >> 2] = 10; - $1 = $13 + 4 | 0; - $11 = HEAP32[((HEAP8[$13 + 2 | 0] << 3) + $3 | 0) - 384 >> 2]; - break label$30; - } - if ($22) { - break label$9; - } - $1 = $13 + 2 | 0; - $11 = 0; - if (!$0) { - break label$30; - } - $9 = HEAP32[$2 >> 2]; - HEAP32[$2 >> 2] = $9 + 4; - $11 = HEAP32[$9 >> 2]; - } - HEAP32[$8 + 76 >> 2] = $1; - $10 = ($11 ^ -1) >>> 31 | 0; - break label$27; - } - HEAP32[$8 + 76 >> 2] = $13 + 1; - $11 = getint($8 + 76 | 0); - $1 = HEAP32[$8 + 76 >> 2]; - $10 = 1; - } - $23 = $10; - while (1) { - $9 = $7; - $20 = 28; - $13 = $1; - $7 = HEAP8[$13 | 0]; - if ($7 - 123 >>> 0 < 4294967238) { - break label$3; - } - $1 = $13 + 1 | 0; - $7 = HEAPU8[(Math_imul($9, 58) + $7 | 0) + 23615 | 0]; - if ($7 - 1 >>> 0 < 8) { - continue; - } - break; - } - HEAP32[$8 + 76 >> 2] = $1; - label$33: { - label$34: { - if (($7 | 0) != 27) { - if (!$7) { - break label$3; - } - if (($19 | 0) >= 0) { - HEAP32[($19 << 2) + $4 >> 2] = $7; - $10 = ($19 << 3) + $3 | 0; - $17 = HEAP32[$10 >> 2]; - $10 = HEAP32[$10 + 4 >> 2]; - HEAP32[$8 + 64 >> 2] = $17; - HEAP32[$8 + 68 >> 2] = $10; - break label$34; - } - if (!$0) { - break label$6; - } - pop_arg($8 - -64 | 0, $7, $2, $6); - break label$33; - } - if (($19 | 0) >= 0) { - break label$3; - } - } - $7 = 0; - if (!$0) { - continue label$5; - } - } - $10 = $14 & -65537; - $14 = $14 & 8192 ? $10 : $14; - $19 = 0; - $24 = 1832; - $20 = $21; - label$37: { - label$38: { - label$39: { - label$40: { - label$41: { - label$42: { - label$43: { - label$44: { - label$45: { - label$46: { - label$47: { - label$48: { - label$49: { - label$50: { - label$51: { - label$52: { - $7 = HEAP8[$13 | 0]; - $7 = $9 ? ($7 & 15) == 3 ? $7 & -33 : $7 : $7; - switch ($7 - 88 | 0) { - case 11: - break label$37; - - case 9: - case 13: - case 14: - case 15: - break label$38; - - case 27: - break label$43; - - case 12: - case 17: - break label$46; - - case 23: - break label$47; - - case 0: - case 32: - break label$48; - - case 24: - break label$49; - - case 22: - break label$50; - - case 29: - break label$51; - - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 10: - case 16: - case 18: - case 19: - case 20: - case 21: - case 25: - case 26: - case 28: - case 30: - case 31: - break label$8; - - default: - break label$52; - } - } - label$53: { - switch ($7 - 65 | 0) { - case 0: - case 4: - case 5: - case 6: - break label$38; - - case 2: - break label$41; - - case 1: - case 3: - break label$8; - - default: - break label$53; - } - } - if (($7 | 0) == 83) { - break label$42; - } - break label$8; - } - $10 = HEAP32[$8 + 64 >> 2]; - $17 = HEAP32[$8 + 68 >> 2]; - $7 = $17; - $9 = 1832; - break label$45; - } - $7 = 0; - label$54: { - switch ($9 & 255) { - case 0: - HEAP32[HEAP32[$8 + 64 >> 2] >> 2] = $16; - continue label$5; - - case 1: - HEAP32[HEAP32[$8 + 64 >> 2] >> 2] = $16; - continue label$5; - - case 2: - $10 = $16; - $17 = $10 >> 31; - $10 = HEAP32[$8 + 64 >> 2]; - HEAP32[$10 >> 2] = $16; - HEAP32[$10 + 4 >> 2] = $17; - continue label$5; - - case 3: - HEAP16[HEAP32[$8 + 64 >> 2] >> 1] = $16; - continue label$5; - - case 4: - HEAP8[HEAP32[$8 + 64 >> 2]] = $16; - continue label$5; - - case 6: - HEAP32[HEAP32[$8 + 64 >> 2] >> 2] = $16; - continue label$5; - - case 7: - break label$54; - - default: - continue label$5; - } - } - $10 = $16; - $17 = $10 >> 31; - $10 = HEAP32[$8 + 64 >> 2]; - HEAP32[$10 >> 2] = $16; - HEAP32[$10 + 4 >> 2] = $17; - continue label$5; - } - $11 = $11 >>> 0 <= 8 ? 8 : $11; - $14 = $14 | 8; - $7 = 120; - } - $17 = HEAP32[$8 + 64 >> 2]; - $10 = HEAP32[$8 + 68 >> 2]; - $15 = fmt_x($17, $10, $21, $7 & 32); - $10 = HEAP32[$8 + 64 >> 2]; - $17 = HEAP32[$8 + 68 >> 2]; - if (!($17 | $10) | !($14 & 8)) { - break label$44; - } - $24 = ($7 >>> 4 | 0) + 1832 | 0; - $19 = 2; - break label$44; - } - $17 = HEAP32[$8 + 64 >> 2]; - $10 = HEAP32[$8 + 68 >> 2]; - $15 = fmt_o($17, $10, $21); - if (!($14 & 8)) { - break label$44; - } - $7 = $21 - $15 | 0; - $11 = ($7 | 0) < ($11 | 0) ? $11 : $7 + 1 | 0; - break label$44; - } - $10 = HEAP32[$8 + 64 >> 2]; - $17 = HEAP32[$8 + 68 >> 2]; - $7 = $17; - if (($17 | 0) < 0) { - $9 = $7 + (($10 | 0) != 0) | 0; - $9 = 0 - $9 | 0; - $7 = $9; - $10 = 0 - $10 | 0; - HEAP32[$8 + 64 >> 2] = $10; - HEAP32[$8 + 68 >> 2] = $7; - $19 = 1; - $9 = 1832; - break label$45; - } - if ($14 & 2048) { - $19 = 1; - $9 = 1833; - break label$45; - } - $19 = $14 & 1; - $9 = $19 ? 1834 : 1832; - } - $24 = $9; - $15 = fmt_u($10, $7, $21); - } - if (($11 | 0) < 0 ? $23 : 0) { - break label$4; - } - $14 = $23 ? $14 & -65537 : $14; - $7 = HEAP32[$8 + 68 >> 2]; - $9 = HEAP32[$8 + 64 >> 2]; - $10 = $9; - if (!($11 | ($10 | $7) != 0)) { - $15 = $21; - $11 = 0; - break label$8; - } - $7 = !($7 | $10) + ($21 - $15 | 0) | 0; - $11 = ($7 | 0) < ($11 | 0) ? $11 : $7; - break label$8; - } - $7 = HEAP32[$8 + 64 >> 2]; - $15 = $7 ? $7 : 12640; - $7 = strnlen($15, $11 >>> 0 >= 2147483647 ? 2147483647 : $11); - $20 = $7 + $15 | 0; - if (($11 | 0) >= 0) { - $14 = $10; - $11 = $7; - break label$8; - } - $14 = $10; - $11 = $7; - if (HEAPU8[$20 | 0]) { - break label$4; - } - break label$8; - } - $12 = HEAP32[$8 + 64 >> 2]; - if ($11) { - break label$40; - } - $7 = 0; - pad($0, 32, $18, 0, $14); - break label$39; - } - HEAP32[$8 + 12 >> 2] = 0; - $10 = HEAP32[$8 + 64 >> 2]; - HEAP32[$8 + 8 >> 2] = $10; - HEAP32[$8 + 64 >> 2] = $8 + 8; - $11 = -1; - $12 = $8 + 8 | 0; - } - $7 = 0; - label$66: { - while (1) { - $9 = HEAP32[$12 >> 2]; - if (!$9) { - break label$66; - } - $9 = wctomb($8 + 4 | 0, $9); - $15 = ($9 | 0) < 0; - if (!($15 | $11 - $7 >>> 0 < $9 >>> 0)) { - $12 = $12 + 4 | 0; - $7 = $7 + $9 | 0; - if ($11 >>> 0 > $7 >>> 0) { - continue; - } - break label$66; - } - break; - } - if ($15) { - break label$2; - } - } - $20 = 61; - if (($7 | 0) < 0) { - break label$3; - } - pad($0, 32, $18, $7, $14); - if (!$7) { - $7 = 0; - break label$39; - } - $9 = 0; - $12 = HEAP32[$8 + 64 >> 2]; - while (1) { - $15 = HEAP32[$12 >> 2]; - if (!$15) { - break label$39; - } - $15 = wctomb($8 + 4 | 0, $15); - $9 = $15 + $9 | 0; - if ($9 >>> 0 > $7 >>> 0) { - break label$39; - } - out($0, $8 + 4 | 0, $15); - $12 = $12 + 4 | 0; - if ($7 >>> 0 > $9 >>> 0) { - continue; - } - break; - } - } - pad($0, 32, $18, $7, $14 ^ 8192); - $7 = ($7 | 0) < ($18 | 0) ? $18 : $7; - continue label$5; - } - if (($11 | 0) < 0 ? $23 : 0) { - break label$4; - } - $20 = 61; - $7 = FUNCTION_TABLE[$5 | 0]($0, HEAPF64[$8 + 64 >> 3], $18, $11, $14, $7) | 0; - if (($7 | 0) >= 0) { - continue label$5; - } - break label$3; - } - $7 = HEAP32[$8 + 64 >> 2]; - HEAP8[$8 + 55 | 0] = $7; - $11 = 1; - $15 = $25; - $14 = $10; - break label$8; - } - $12 = HEAPU8[$7 + 1 | 0]; - $7 = $7 + 1 | 0; - continue; - } - } - if ($0) { - break label$1; - } - if (!$22) { - break label$6; - } - $7 = 1; - while (1) { - $12 = HEAP32[($7 << 2) + $4 >> 2]; - if ($12) { - pop_arg(($7 << 3) + $3 | 0, $12, $2, $6); - $16 = 1; - $7 = $7 + 1 | 0; - if (($7 | 0) != 10) { - continue; - } - break label$1; - } - break; - } - $16 = 1; - if ($7 >>> 0 >= 10) { - break label$1; - } - while (1) { - if (HEAP32[($7 << 2) + $4 >> 2]) { - break label$9; - } - $7 = $7 + 1 | 0; - if (($7 | 0) != 10) { - continue; - } - break; - } - break label$1; - } - $20 = 28; - break label$3; - } - $13 = $20 - $15 | 0; - $11 = ($11 | 0) > ($13 | 0) ? $11 : $13; - if (($11 | 0) > ($19 ^ 2147483647)) { - break label$4; - } - $20 = 61; - $9 = $11 + $19 | 0; - $7 = ($9 | 0) < ($18 | 0) ? $18 : $9; - if (($12 | 0) < ($7 | 0)) { - break label$3; - } - pad($0, 32, $7, $9, $14); - out($0, $24, $19); - pad($0, 48, $7, $9, $14 ^ 65536); - pad($0, 48, $11, $13, 0); - out($0, $15, $13); - pad($0, 32, $7, $9, $14 ^ 8192); - continue; - } - break; - } - $16 = 0; - break label$1; - } - $20 = 61; - } - wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = $20, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - } - $16 = -1; - } - __stack_pointer = $8 + 80 | 0; - return $16; -} - -function b2World__SolveTOI_28b2TimeStep_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 480 | 0; - __stack_pointer = $2; - HEAP32[$2 + 476 >> 2] = $0; - HEAP32[$2 + 472 >> 2] = $1; - $5 = HEAP32[$2 + 476 >> 2]; - b2Island__b2Island_28int_2c_20int_2c_20int_2c_20b2StackAllocator__2c_20b2ContactListener__29($2 + 420 | 0, 64, 32, 0, $5 + 68 | 0, HEAP32[$5 + 102940 >> 2]); - if (HEAP8[$5 + 102994 | 0] & 1) { - HEAP32[$2 + 416 >> 2] = HEAP32[$5 + 102948 >> 2]; - while (1) { - if (HEAP32[$2 + 416 >> 2]) { - $0 = HEAP32[$2 + 416 >> 2]; - HEAP16[$0 + 4 >> 1] = HEAPU16[$0 + 4 >> 1] & -2; - HEAPF32[HEAP32[$2 + 416 >> 2] + 60 >> 2] = 0; - HEAP32[$2 + 416 >> 2] = HEAP32[HEAP32[$2 + 416 >> 2] + 96 >> 2]; - continue; - } - break; - } - HEAP32[$2 + 412 >> 2] = HEAP32[$5 + 102928 >> 2]; - while (1) { - if (HEAP32[$2 + 412 >> 2]) { - $0 = HEAP32[$2 + 412 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] & -34; - HEAP32[HEAP32[$2 + 412 >> 2] + 128 >> 2] = 0; - HEAPF32[HEAP32[$2 + 412 >> 2] + 132 >> 2] = 1; - HEAP32[$2 + 412 >> 2] = HEAP32[HEAP32[$2 + 412 >> 2] + 12 >> 2]; - continue; - } - break; - } - } - while (1) { - HEAP32[$2 + 408 >> 2] = 0; - HEAPF32[$2 + 404 >> 2] = 1; - HEAP32[$2 + 400 >> 2] = HEAP32[$5 + 102928 >> 2]; - while (1) { - if (HEAP32[$2 + 400 >> 2]) { - label$9: { - if (!(b2Contact__IsEnabled_28_29_20const(HEAP32[$2 + 400 >> 2]) & 1) | HEAP32[HEAP32[$2 + 400 >> 2] + 128 >> 2] > 8) { - break label$9; - } - HEAPF32[$2 + 396 >> 2] = 1; - label$10: { - if (HEAP32[HEAP32[$2 + 400 >> 2] + 4 >> 2] & 32) { - HEAPF32[$2 + 396 >> 2] = HEAPF32[HEAP32[$2 + 400 >> 2] + 132 >> 2]; - break label$10; - } - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Contact__GetFixtureA_28_29(HEAP32[$2 + 400 >> 2]), - HEAP32[wasm2js_i32$0 + 392 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Contact__GetFixtureB_28_29(HEAP32[$2 + 400 >> 2]), - HEAP32[wasm2js_i32$0 + 388 >> 2] = wasm2js_i32$1; - if (b2Fixture__IsSensor_28_29_20const(HEAP32[$2 + 392 >> 2]) & 1) { - break label$9; - } - if (b2Fixture__IsSensor_28_29_20const(HEAP32[$2 + 388 >> 2]) & 1) { - break label$9; - } - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Fixture__GetBody_28_29(HEAP32[$2 + 392 >> 2]), - HEAP32[wasm2js_i32$0 + 384 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Fixture__GetBody_28_29(HEAP32[$2 + 388 >> 2]), - HEAP32[wasm2js_i32$0 + 380 >> 2] = wasm2js_i32$1; - HEAP32[$2 + 376 >> 2] = HEAP32[HEAP32[$2 + 384 >> 2] >> 2]; - HEAP32[$2 + 372 >> 2] = HEAP32[HEAP32[$2 + 380 >> 2] >> 2]; - $0 = 0; - if (b2Body__IsAwake_28_29_20const(HEAP32[$2 + 384 >> 2]) & 1) { - $0 = HEAP32[$2 + 376 >> 2] != 0; - } - HEAP8[$2 + 371 | 0] = $0; - $0 = 0; - if (b2Body__IsAwake_28_29_20const(HEAP32[$2 + 380 >> 2]) & 1) { - $0 = HEAP32[$2 + 372 >> 2] != 0; - } - HEAP8[$2 + 370 | 0] = $0; - if (!(HEAP8[$2 + 371 | 0] & 1 | HEAP8[$2 + 370 | 0] & 1)) { - break label$9; - } - $0 = 1; - if (!(b2Body__IsBullet_28_29_20const(HEAP32[$2 + 384 >> 2]) & 1)) { - $0 = HEAP32[$2 + 376 >> 2] != 2; - } - HEAP8[$2 + 369 | 0] = $0; - $0 = 1; - if (!(b2Body__IsBullet_28_29_20const(HEAP32[$2 + 380 >> 2]) & 1)) { - $0 = HEAP32[$2 + 372 >> 2] != 2; - } - HEAP8[$2 + 368 | 0] = $0; - if (!(HEAP8[$2 + 369 | 0] & 1 | HEAP8[$2 + 368 | 0] & 1)) { - break label$9; - } - HEAPF32[$2 + 364 >> 2] = HEAPF32[HEAP32[$2 + 384 >> 2] + 60 >> 2]; - label$19: { - if (HEAPF32[HEAP32[$2 + 384 >> 2] + 60 >> 2] < HEAPF32[HEAP32[$2 + 380 >> 2] + 60 >> 2]) { - HEAPF32[$2 + 364 >> 2] = HEAPF32[HEAP32[$2 + 380 >> 2] + 60 >> 2]; - b2Sweep__Advance_28float_29(HEAP32[$2 + 384 >> 2] + 28 | 0, HEAPF32[$2 + 364 >> 2]); - break label$19; - } - if (HEAPF32[HEAP32[$2 + 380 >> 2] + 60 >> 2] < HEAPF32[HEAP32[$2 + 384 >> 2] + 60 >> 2]) { - HEAPF32[$2 + 364 >> 2] = HEAPF32[HEAP32[$2 + 384 >> 2] + 60 >> 2]; - b2Sweep__Advance_28float_29(HEAP32[$2 + 380 >> 2] + 28 | 0, HEAPF32[$2 + 364 >> 2]); - } - } - if (!(HEAPF32[$2 + 364 >> 2] < Math_fround(1))) { - __assert_fail(8238, 6252, 684, 11154); - wasm2js_trap(); - } - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Contact__GetChildIndexA_28_29_20const(HEAP32[$2 + 400 >> 2]), - HEAP32[wasm2js_i32$0 + 360 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Contact__GetChildIndexB_28_29_20const(HEAP32[$2 + 400 >> 2]), - HEAP32[wasm2js_i32$0 + 356 >> 2] = wasm2js_i32$1; - b2TOIInput__b2TOIInput_28_29($2 + 224 | 0); - b2DistanceProxy__Set_28b2Shape_20const__2c_20int_29($2 + 224 | 0, b2Fixture__GetShape_28_29(HEAP32[$2 + 392 >> 2]), HEAP32[$2 + 360 >> 2]); - b2DistanceProxy__Set_28b2Shape_20const__2c_20int_29($2 + 252 | 0, b2Fixture__GetShape_28_29(HEAP32[$2 + 388 >> 2]), HEAP32[$2 + 356 >> 2]); - $3 = HEAP32[$2 + 384 >> 2]; - $1 = HEAP32[$3 + 28 >> 2]; - $0 = HEAP32[$3 + 32 >> 2]; - $6 = $1; - $4 = $2 + 224 | 0; - $1 = $4; - HEAP32[$1 + 56 >> 2] = $6; - HEAP32[$1 + 60 >> 2] = $0; - HEAP32[$1 + 88 >> 2] = HEAP32[$3 + 60 >> 2]; - $1 = HEAP32[$3 + 56 >> 2]; - $0 = HEAP32[$3 + 52 >> 2]; - $6 = $0; - $0 = $4; - HEAP32[$0 + 80 >> 2] = $6; - HEAP32[$0 + 84 >> 2] = $1; - $0 = HEAP32[$3 + 48 >> 2]; - $1 = HEAP32[$3 + 44 >> 2]; - $6 = $1; - $1 = $4; - HEAP32[$1 + 72 >> 2] = $6; - HEAP32[$1 + 76 >> 2] = $0; - $1 = HEAP32[$3 + 40 >> 2]; - $0 = HEAP32[$3 + 36 >> 2]; - $3 = $0; - $0 = $4; - HEAP32[$0 + 64 >> 2] = $3; - HEAP32[$0 + 68 >> 2] = $1; - $3 = HEAP32[$2 + 380 >> 2]; - $1 = HEAP32[$3 + 28 >> 2]; - $0 = HEAP32[$3 + 32 >> 2]; - $6 = $1; - $4 = $2 + 224 | 0; - $1 = $4; - HEAP32[$1 + 92 >> 2] = $6; - HEAP32[$1 + 96 >> 2] = $0; - HEAP32[$1 + 124 >> 2] = HEAP32[$3 + 60 >> 2]; - $1 = HEAP32[$3 + 56 >> 2]; - $0 = HEAP32[$3 + 52 >> 2]; - $6 = $0; - $0 = $4; - HEAP32[$0 + 116 >> 2] = $6; - HEAP32[$0 + 120 >> 2] = $1; - $0 = HEAP32[$3 + 48 >> 2]; - $1 = HEAP32[$3 + 44 >> 2]; - $6 = $1; - $1 = $4; - HEAP32[$1 + 108 >> 2] = $6; - HEAP32[$1 + 112 >> 2] = $0; - $1 = HEAP32[$3 + 40 >> 2]; - $0 = HEAP32[$3 + 36 >> 2]; - $3 = $0; - $0 = $4; - HEAP32[$0 + 100 >> 2] = $3; - HEAP32[$0 + 104 >> 2] = $1; - HEAPF32[$2 + 352 >> 2] = 1; - b2TimeOfImpact_28b2TOIOutput__2c_20b2TOIInput_20const__29($2 + 216 | 0, $2 + 224 | 0); - HEAPF32[$2 + 212 >> 2] = HEAPF32[$2 + 220 >> 2]; - label$23: { - if (HEAP32[$2 + 216 >> 2] == 3) { - wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20b2Min_float__28float_2c_20float_29(Math_fround(Math_fround(Math_fround(Math_fround(1) - HEAPF32[$2 + 364 >> 2]) * HEAPF32[$2 + 212 >> 2]) + HEAPF32[$2 + 364 >> 2]), Math_fround(1)), - HEAPF32[wasm2js_i32$0 + 396 >> 2] = wasm2js_f32$0; - break label$23; - } - HEAPF32[$2 + 396 >> 2] = 1; - } - HEAPF32[HEAP32[$2 + 400 >> 2] + 132 >> 2] = HEAPF32[$2 + 396 >> 2]; - $0 = HEAP32[$2 + 400 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] | 32; - } - if (HEAPF32[$2 + 396 >> 2] < HEAPF32[$2 + 404 >> 2]) { - HEAP32[$2 + 408 >> 2] = HEAP32[$2 + 400 >> 2]; - HEAPF32[$2 + 404 >> 2] = HEAPF32[$2 + 396 >> 2]; - } - } - HEAP32[$2 + 400 >> 2] = HEAP32[HEAP32[$2 + 400 >> 2] + 12 >> 2]; - continue; - } - break; - } - label$26: { - if (!(HEAPF32[$2 + 404 >> 2] > Math_fround(.9999988079071045) ? 0 : HEAP32[$2 + 408 >> 2])) { - HEAP8[$5 + 102994 | 0] = 1; - break label$26; - } - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Contact__GetFixtureA_28_29(HEAP32[$2 + 408 >> 2]), - HEAP32[wasm2js_i32$0 + 208 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Contact__GetFixtureB_28_29(HEAP32[$2 + 408 >> 2]), - HEAP32[wasm2js_i32$0 + 204 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Fixture__GetBody_28_29(HEAP32[$2 + 208 >> 2]), - HEAP32[wasm2js_i32$0 + 200 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Fixture__GetBody_28_29(HEAP32[$2 + 204 >> 2]), - HEAP32[wasm2js_i32$0 + 196 >> 2] = wasm2js_i32$1; - $3 = HEAP32[$2 + 200 >> 2]; - HEAP32[$2 + 192 >> 2] = HEAP32[$3 + 60 >> 2]; - $1 = HEAP32[$3 + 52 >> 2]; - $0 = HEAP32[$3 + 56 >> 2]; - HEAP32[$2 + 184 >> 2] = $1; - HEAP32[$2 + 188 >> 2] = $0; - $1 = HEAP32[$3 + 48 >> 2]; - $0 = HEAP32[$3 + 44 >> 2]; - HEAP32[$2 + 176 >> 2] = $0; - HEAP32[$2 + 180 >> 2] = $1; - $0 = HEAP32[$3 + 40 >> 2]; - $1 = HEAP32[$3 + 36 >> 2]; - HEAP32[$2 + 168 >> 2] = $1; - HEAP32[$2 + 172 >> 2] = $0; - $1 = HEAP32[$3 + 32 >> 2]; - $0 = HEAP32[$3 + 28 >> 2]; - HEAP32[$2 + 160 >> 2] = $0; - HEAP32[$2 + 164 >> 2] = $1; - $3 = HEAP32[$2 + 196 >> 2]; - HEAP32[$2 + 152 >> 2] = HEAP32[$3 + 60 >> 2]; - $1 = HEAP32[$3 + 52 >> 2]; - $0 = HEAP32[$3 + 56 >> 2]; - HEAP32[$2 + 144 >> 2] = $1; - HEAP32[$2 + 148 >> 2] = $0; - $1 = HEAP32[$3 + 48 >> 2]; - $0 = HEAP32[$3 + 44 >> 2]; - HEAP32[$2 + 136 >> 2] = $0; - HEAP32[$2 + 140 >> 2] = $1; - $0 = HEAP32[$3 + 40 >> 2]; - $1 = HEAP32[$3 + 36 >> 2]; - HEAP32[$2 + 128 >> 2] = $1; - HEAP32[$2 + 132 >> 2] = $0; - $1 = HEAP32[$3 + 32 >> 2]; - $0 = HEAP32[$3 + 28 >> 2]; - HEAP32[$2 + 120 >> 2] = $0; - HEAP32[$2 + 124 >> 2] = $1; - b2Body__Advance_28float_29(HEAP32[$2 + 200 >> 2], HEAPF32[$2 + 404 >> 2]); - b2Body__Advance_28float_29(HEAP32[$2 + 196 >> 2], HEAPF32[$2 + 404 >> 2]); - b2Contact__Update_28b2ContactListener__29(HEAP32[$2 + 408 >> 2], HEAP32[$5 + 102940 >> 2]); - $0 = HEAP32[$2 + 408 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] & -33; - $0 = HEAP32[$2 + 408 >> 2]; - HEAP32[$0 + 128 >> 2] = HEAP32[$0 + 128 >> 2] + 1; - label$29: { - if (b2Contact__IsEnabled_28_29_20const(HEAP32[$2 + 408 >> 2]) & 1) { - if (b2Contact__IsTouching_28_29_20const(HEAP32[$2 + 408 >> 2]) & 1) { - break label$29; - } - } - b2Contact__SetEnabled_28bool_29(HEAP32[$2 + 408 >> 2], 0); - $0 = HEAP32[$2 + 164 >> 2]; - $1 = HEAP32[$2 + 160 >> 2]; - $4 = $1; - $3 = HEAP32[$2 + 200 >> 2]; - $1 = $3; - HEAP32[$1 + 28 >> 2] = $4; - HEAP32[$1 + 32 >> 2] = $0; - HEAP32[$1 + 60 >> 2] = HEAP32[$2 + 192 >> 2]; - $1 = HEAP32[$2 + 188 >> 2]; - $0 = HEAP32[$2 + 184 >> 2]; - $4 = $0; - $0 = $3; - HEAP32[$0 + 52 >> 2] = $4; - HEAP32[$0 + 56 >> 2] = $1; - $0 = HEAP32[$2 + 180 >> 2]; - $1 = HEAP32[$2 + 176 >> 2]; - $4 = $1; - $1 = $3; - HEAP32[$1 + 44 >> 2] = $4; - HEAP32[$1 + 48 >> 2] = $0; - $1 = HEAP32[$2 + 172 >> 2]; - $0 = HEAP32[$2 + 168 >> 2]; - $4 = $0; - $0 = $3; - HEAP32[$0 + 36 >> 2] = $4; - HEAP32[$0 + 40 >> 2] = $1; - $0 = HEAP32[$2 + 124 >> 2]; - $1 = HEAP32[$2 + 120 >> 2]; - $4 = $1; - $3 = HEAP32[$2 + 196 >> 2]; - $1 = $3; - HEAP32[$1 + 28 >> 2] = $4; - HEAP32[$1 + 32 >> 2] = $0; - HEAP32[$1 + 60 >> 2] = HEAP32[$2 + 152 >> 2]; - $1 = HEAP32[$2 + 148 >> 2]; - $0 = HEAP32[$2 + 144 >> 2]; - $4 = $0; - $0 = $3; - HEAP32[$0 + 52 >> 2] = $4; - HEAP32[$0 + 56 >> 2] = $1; - $0 = HEAP32[$2 + 140 >> 2]; - $1 = HEAP32[$2 + 136 >> 2]; - $4 = $1; - $1 = $3; - HEAP32[$1 + 44 >> 2] = $4; - HEAP32[$1 + 48 >> 2] = $0; - $1 = HEAP32[$2 + 132 >> 2]; - $0 = HEAP32[$2 + 128 >> 2]; - $4 = $0; - $0 = $3; - HEAP32[$0 + 36 >> 2] = $4; - HEAP32[$0 + 40 >> 2] = $1; - b2Body__SynchronizeTransform_28_29(HEAP32[$2 + 200 >> 2]); - b2Body__SynchronizeTransform_28_29(HEAP32[$2 + 196 >> 2]); - continue; - } - b2Body__SetAwake_28bool_29(HEAP32[$2 + 200 >> 2], 1); - b2Body__SetAwake_28bool_29(HEAP32[$2 + 196 >> 2], 1); - b2Island__Clear_28_29($2 + 420 | 0); - b2Island__Add_28b2Body__29($2 + 420 | 0, HEAP32[$2 + 200 >> 2]); - b2Island__Add_28b2Body__29($2 + 420 | 0, HEAP32[$2 + 196 >> 2]); - b2Island__Add_28b2Contact__29($2 + 420 | 0, HEAP32[$2 + 408 >> 2]); - $0 = HEAP32[$2 + 200 >> 2]; - HEAP16[$0 + 4 >> 1] = HEAPU16[$0 + 4 >> 1] | 1; - $0 = HEAP32[$2 + 196 >> 2]; - HEAP16[$0 + 4 >> 1] = HEAPU16[$0 + 4 >> 1] | 1; - $0 = HEAP32[$2 + 408 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] | 1; - HEAP32[$2 + 112 >> 2] = HEAP32[$2 + 200 >> 2]; - HEAP32[$2 + 116 >> 2] = HEAP32[$2 + 196 >> 2]; - HEAP32[$2 + 108 >> 2] = 0; - while (1) { - if (HEAP32[$2 + 108 >> 2] < 2) { - HEAP32[$2 + 104 >> 2] = HEAP32[($2 + 112 | 0) + (HEAP32[$2 + 108 >> 2] << 2) >> 2]; - if (HEAP32[HEAP32[$2 + 104 >> 2] >> 2] == 2) { - HEAP32[$2 + 100 >> 2] = HEAP32[HEAP32[$2 + 104 >> 2] + 112 >> 2]; - while (1) { - if (!(!HEAP32[$2 + 100 >> 2] | HEAP32[$2 + 448 >> 2] == HEAP32[$2 + 460 >> 2] | HEAP32[$2 + 456 >> 2] == HEAP32[$2 + 464 >> 2])) { - HEAP32[$2 + 96 >> 2] = HEAP32[HEAP32[$2 + 100 >> 2] + 4 >> 2]; - label$36: { - if (HEAP32[HEAP32[$2 + 96 >> 2] + 4 >> 2] & 1) { - break label$36; - } - HEAP32[$2 + 92 >> 2] = HEAP32[HEAP32[$2 + 100 >> 2] >> 2]; - label$37: { - if (HEAP32[HEAP32[$2 + 92 >> 2] >> 2] != 2) { - break label$37; - } - if (b2Body__IsBullet_28_29_20const(HEAP32[$2 + 104 >> 2]) & 1) { - break label$37; - } - if (b2Body__IsBullet_28_29_20const(HEAP32[$2 + 92 >> 2]) & 1) { - break label$37; - } - break label$36; - } - HEAP8[$2 + 91 | 0] = HEAP8[HEAP32[HEAP32[$2 + 96 >> 2] + 48 >> 2] + 38 | 0] & 1; - HEAP8[$2 + 90 | 0] = HEAP8[HEAP32[HEAP32[$2 + 96 >> 2] + 52 >> 2] + 38 | 0] & 1; - if (HEAP8[$2 + 91 | 0] & 1 | HEAP8[$2 + 90 | 0] & 1) { - break label$36; - } - $3 = HEAP32[$2 + 92 >> 2]; - HEAP32[$2 + 80 >> 2] = HEAP32[$3 + 60 >> 2]; - $1 = HEAP32[$3 + 52 >> 2]; - $0 = HEAP32[$3 + 56 >> 2]; - HEAP32[$2 + 72 >> 2] = $1; - HEAP32[$2 + 76 >> 2] = $0; - $1 = HEAP32[$3 + 48 >> 2]; - $0 = HEAP32[$3 + 44 >> 2]; - HEAP32[$2 + 64 >> 2] = $0; - HEAP32[$2 + 68 >> 2] = $1; - $0 = HEAP32[$3 + 40 >> 2]; - $1 = HEAP32[$3 + 36 >> 2]; - HEAP32[$2 + 56 >> 2] = $1; - HEAP32[$2 + 60 >> 2] = $0; - $1 = HEAP32[$3 + 32 >> 2]; - $0 = HEAP32[$3 + 28 >> 2]; - HEAP32[$2 + 48 >> 2] = $0; - HEAP32[$2 + 52 >> 2] = $1; - if (!(HEAP16[HEAP32[$2 + 92 >> 2] + 4 >> 1] & 1)) { - b2Body__Advance_28float_29(HEAP32[$2 + 92 >> 2], HEAPF32[$2 + 404 >> 2]); - } - b2Contact__Update_28b2ContactListener__29(HEAP32[$2 + 96 >> 2], HEAP32[$5 + 102940 >> 2]); - if (!(b2Contact__IsEnabled_28_29_20const(HEAP32[$2 + 96 >> 2]) & 1)) { - $0 = HEAP32[$2 + 52 >> 2]; - $1 = HEAP32[$2 + 48 >> 2]; - $4 = $1; - $3 = HEAP32[$2 + 92 >> 2]; - $1 = $3; - HEAP32[$1 + 28 >> 2] = $4; - HEAP32[$1 + 32 >> 2] = $0; - HEAP32[$1 + 60 >> 2] = HEAP32[$2 + 80 >> 2]; - $1 = HEAP32[$2 + 76 >> 2]; - $0 = HEAP32[$2 + 72 >> 2]; - $4 = $0; - $0 = $3; - HEAP32[$0 + 52 >> 2] = $4; - HEAP32[$0 + 56 >> 2] = $1; - $0 = HEAP32[$2 + 68 >> 2]; - $1 = HEAP32[$2 + 64 >> 2]; - $4 = $1; - $1 = $3; - HEAP32[$1 + 44 >> 2] = $4; - HEAP32[$1 + 48 >> 2] = $0; - $1 = HEAP32[$2 + 60 >> 2]; - $0 = HEAP32[$2 + 56 >> 2]; - $4 = $0; - $0 = $3; - HEAP32[$0 + 36 >> 2] = $4; - HEAP32[$0 + 40 >> 2] = $1; - b2Body__SynchronizeTransform_28_29(HEAP32[$2 + 92 >> 2]); - break label$36; - } - if (!(b2Contact__IsTouching_28_29_20const(HEAP32[$2 + 96 >> 2]) & 1)) { - $0 = HEAP32[$2 + 52 >> 2]; - $1 = HEAP32[$2 + 48 >> 2]; - $4 = $1; - $3 = HEAP32[$2 + 92 >> 2]; - $1 = $3; - HEAP32[$1 + 28 >> 2] = $4; - HEAP32[$1 + 32 >> 2] = $0; - HEAP32[$1 + 60 >> 2] = HEAP32[$2 + 80 >> 2]; - $1 = HEAP32[$2 + 76 >> 2]; - $0 = HEAP32[$2 + 72 >> 2]; - $4 = $0; - $0 = $3; - HEAP32[$0 + 52 >> 2] = $4; - HEAP32[$0 + 56 >> 2] = $1; - $0 = HEAP32[$2 + 68 >> 2]; - $1 = HEAP32[$2 + 64 >> 2]; - $4 = $1; - $1 = $3; - HEAP32[$1 + 44 >> 2] = $4; - HEAP32[$1 + 48 >> 2] = $0; - $1 = HEAP32[$2 + 60 >> 2]; - $0 = HEAP32[$2 + 56 >> 2]; - $4 = $0; - $0 = $3; - HEAP32[$0 + 36 >> 2] = $4; - HEAP32[$0 + 40 >> 2] = $1; - b2Body__SynchronizeTransform_28_29(HEAP32[$2 + 92 >> 2]); - break label$36; - } - $0 = HEAP32[$2 + 96 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] | 1; - b2Island__Add_28b2Contact__29($2 + 420 | 0, HEAP32[$2 + 96 >> 2]); - if (HEAP16[HEAP32[$2 + 92 >> 2] + 4 >> 1] & 1) { - break label$36; - } - $0 = HEAP32[$2 + 92 >> 2]; - HEAP16[$0 + 4 >> 1] = HEAPU16[$0 + 4 >> 1] | 1; - if (HEAP32[HEAP32[$2 + 92 >> 2] >> 2]) { - b2Body__SetAwake_28bool_29(HEAP32[$2 + 92 >> 2], 1); - } - b2Island__Add_28b2Body__29($2 + 420 | 0, HEAP32[$2 + 92 >> 2]); - } - HEAP32[$2 + 100 >> 2] = HEAP32[HEAP32[$2 + 100 >> 2] + 12 >> 2]; - continue; - } - break; - } - } - HEAP32[$2 + 108 >> 2] = HEAP32[$2 + 108 >> 2] + 1; - continue; - } - break; - } - HEAPF32[$2 + 24 >> 2] = Math_fround(Math_fround(1) - HEAPF32[$2 + 404 >> 2]) * HEAPF32[HEAP32[$2 + 472 >> 2] >> 2]; - HEAPF32[$2 + 28 >> 2] = Math_fround(1) / HEAPF32[$2 + 24 >> 2]; - HEAPF32[$2 + 32 >> 2] = 1; - HEAP32[$2 + 40 >> 2] = 20; - HEAP32[$2 + 36 >> 2] = HEAP32[HEAP32[$2 + 472 >> 2] + 12 >> 2]; - HEAP8[$2 + 44 | 0] = 0; - b2Island__SolveTOI_28b2TimeStep_20const__2c_20int_2c_20int_29($2 + 420 | 0, $2 + 24 | 0, HEAP32[HEAP32[$2 + 200 >> 2] + 8 >> 2], HEAP32[HEAP32[$2 + 196 >> 2] + 8 >> 2]); - HEAP32[$2 + 20 >> 2] = 0; - while (1) { - if (HEAP32[$2 + 20 >> 2] < HEAP32[$2 + 448 >> 2]) { - HEAP32[$2 + 16 >> 2] = HEAP32[HEAP32[$2 + 428 >> 2] + (HEAP32[$2 + 20 >> 2] << 2) >> 2]; - $0 = HEAP32[$2 + 16 >> 2]; - HEAP16[$0 + 4 >> 1] = HEAPU16[$0 + 4 >> 1] & -2; - if (HEAP32[HEAP32[$2 + 16 >> 2] >> 2] == 2) { - b2Body__SynchronizeFixtures_28_29(HEAP32[$2 + 16 >> 2]); - HEAP32[$2 + 12 >> 2] = HEAP32[HEAP32[$2 + 16 >> 2] + 112 >> 2]; - while (1) { - if (HEAP32[$2 + 12 >> 2]) { - $0 = HEAP32[HEAP32[$2 + 12 >> 2] + 4 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] & -34; - HEAP32[$2 + 12 >> 2] = HEAP32[HEAP32[$2 + 12 >> 2] + 12 >> 2]; - continue; - } - break; - } - } - HEAP32[$2 + 20 >> 2] = HEAP32[$2 + 20 >> 2] + 1; - continue; - } - break; - } - b2ContactManager__FindNewContacts_28_29($5 + 102868 | 0); - if (HEAP8[$5 + 102993 | 0] & 1) { - HEAP8[$5 + 102994 | 0] = 0; - break label$26; - } - continue; - } - break; - } - b2Island___b2Island_28_29($2 + 420 | 0); - __stack_pointer = $2 + 480 | 0; -} - -function b2ContactSolver__SolveVelocityConstraints_28_29($0) { - var $1 = 0, $2 = Math_fround(0), $3 = 0, $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $1 = __stack_pointer - 640 | 0; - __stack_pointer = $1; - HEAP32[$1 + 636 >> 2] = $0; - $5 = HEAP32[$1 + 636 >> 2]; - HEAP32[$1 + 632 >> 2] = 0; - while (1) { - if (HEAP32[$1 + 632 >> 2] < HEAP32[$5 + 48 >> 2]) { - HEAP32[$1 + 628 >> 2] = HEAP32[$5 + 40 >> 2] + Math_imul(HEAP32[$1 + 632 >> 2], 156); - HEAP32[$1 + 624 >> 2] = HEAP32[HEAP32[$1 + 628 >> 2] + 112 >> 2]; - HEAP32[$1 + 620 >> 2] = HEAP32[HEAP32[$1 + 628 >> 2] + 116 >> 2]; - HEAPF32[$1 + 616 >> 2] = HEAPF32[HEAP32[$1 + 628 >> 2] + 120 >> 2]; - HEAPF32[$1 + 612 >> 2] = HEAPF32[HEAP32[$1 + 628 >> 2] + 128 >> 2]; - HEAPF32[$1 + 608 >> 2] = HEAPF32[HEAP32[$1 + 628 >> 2] + 124 >> 2]; - HEAPF32[$1 + 604 >> 2] = HEAPF32[HEAP32[$1 + 628 >> 2] + 132 >> 2]; - HEAP32[$1 + 600 >> 2] = HEAP32[HEAP32[$1 + 628 >> 2] + 148 >> 2]; - $3 = HEAP32[$5 + 28 >> 2] + Math_imul(HEAP32[$1 + 624 >> 2], 12) | 0; - $0 = HEAP32[$3 >> 2]; - $4 = HEAP32[$3 + 4 >> 2]; - HEAP32[$1 + 592 >> 2] = $0; - HEAP32[$1 + 596 >> 2] = $4; - HEAPF32[$1 + 588 >> 2] = HEAPF32[(HEAP32[$5 + 28 >> 2] + Math_imul(HEAP32[$1 + 624 >> 2], 12) | 0) + 8 >> 2]; - $3 = HEAP32[$5 + 28 >> 2] + Math_imul(HEAP32[$1 + 620 >> 2], 12) | 0; - $4 = HEAP32[$3 >> 2]; - $0 = HEAP32[$3 + 4 >> 2]; - HEAP32[$1 + 576 >> 2] = $4; - HEAP32[$1 + 580 >> 2] = $0; - HEAPF32[$1 + 572 >> 2] = HEAPF32[(HEAP32[$5 + 28 >> 2] + Math_imul(HEAP32[$1 + 620 >> 2], 12) | 0) + 8 >> 2]; - $3 = HEAP32[$1 + 628 >> 2]; - $0 = HEAP32[$3 + 72 >> 2]; - $4 = HEAP32[$3 + 76 >> 2]; - HEAP32[$1 + 560 >> 2] = $0; - HEAP32[$1 + 564 >> 2] = $4; - b2Cross_28b2Vec2_20const__2c_20float_29($1 + 552 | 0, $1 + 560 | 0, Math_fround(1)); - HEAPF32[$1 + 548 >> 2] = HEAPF32[HEAP32[$1 + 628 >> 2] + 136 >> 2]; - if (!(HEAP32[$1 + 600 >> 2] == 1 | HEAP32[$1 + 600 >> 2] == 2)) { - __assert_fail(12361, 5644, 319, 3534); - wasm2js_trap(); - } - HEAP32[$1 + 544 >> 2] = 0; - while (1) { - if (HEAP32[$1 + 544 >> 2] < HEAP32[$1 + 600 >> 2]) { - HEAP32[$1 + 540 >> 2] = HEAP32[$1 + 628 >> 2] + Math_imul(HEAP32[$1 + 544 >> 2], 36); - b2Cross_28float_2c_20b2Vec2_20const__29($1 + 508 | 0, HEAPF32[$1 + 572 >> 2], HEAP32[$1 + 540 >> 2] + 8 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($1 + 516 | 0, $1 + 576 | 0, $1 + 508 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 524 | 0, $1 + 516 | 0, $1 + 592 | 0); - b2Cross_28float_2c_20b2Vec2_20const__29($1 + 500 | 0, HEAPF32[$1 + 588 >> 2], HEAP32[$1 + 540 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 532 | 0, $1 + 524 | 0, $1 + 500 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 532 | 0, $1 + 552 | 0) - HEAPF32[HEAP32[$1 + 628 >> 2] + 144 >> 2]), - HEAPF32[wasm2js_i32$0 + 496 >> 2] = wasm2js_f32$0; - HEAPF32[$1 + 492 >> 2] = HEAPF32[HEAP32[$1 + 540 >> 2] + 28 >> 2] * Math_fround(-HEAPF32[$1 + 496 >> 2]); - HEAPF32[$1 + 488 >> 2] = HEAPF32[$1 + 548 >> 2] * HEAPF32[HEAP32[$1 + 540 >> 2] + 16 >> 2]; - wasm2js_i32$0 = $1, wasm2js_f32$0 = float_20b2Clamp_float__28float_2c_20float_2c_20float_29(Math_fround(HEAPF32[HEAP32[$1 + 540 >> 2] + 20 >> 2] + HEAPF32[$1 + 492 >> 2]), Math_fround(-HEAPF32[$1 + 488 >> 2]), HEAPF32[$1 + 488 >> 2]), - HEAPF32[wasm2js_i32$0 + 484 >> 2] = wasm2js_f32$0; - HEAPF32[$1 + 492 >> 2] = HEAPF32[$1 + 484 >> 2] - HEAPF32[HEAP32[$1 + 540 >> 2] + 20 >> 2]; - HEAPF32[HEAP32[$1 + 540 >> 2] + 20 >> 2] = HEAPF32[$1 + 484 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($1 + 476 | 0, HEAPF32[$1 + 492 >> 2], $1 + 552 | 0); - operator__28float_2c_20b2Vec2_20const__29($1 + 468 | 0, HEAPF32[$1 + 616 >> 2], $1 + 476 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($1 + 592 | 0, $1 + 468 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$1 + 612 >> 2]) * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 540 >> 2], $1 + 476 | 0)) + HEAPF32[$1 + 588 >> 2]), - HEAPF32[wasm2js_i32$0 + 588 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($1 + 460 | 0, HEAPF32[$1 + 608 >> 2], $1 + 476 | 0); - b2Vec2__operator___28b2Vec2_20const__29($1 + 576 | 0, $1 + 460 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$1 + 604 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 540 >> 2] + 8 | 0, $1 + 476 | 0)) + HEAPF32[$1 + 572 >> 2]), - HEAPF32[wasm2js_i32$0 + 572 >> 2] = wasm2js_f32$0; - HEAP32[$1 + 544 >> 2] = HEAP32[$1 + 544 >> 2] + 1; - continue; - } - break; - } - label$6: { - if (!(HEAP8[29160] & 1 & HEAP32[$1 + 600 >> 2] != 1)) { - HEAP32[$1 + 456 >> 2] = 0; - while (1) { - if (HEAP32[$1 + 456 >> 2] < HEAP32[$1 + 600 >> 2]) { - HEAP32[$1 + 452 >> 2] = HEAP32[$1 + 628 >> 2] + Math_imul(HEAP32[$1 + 456 >> 2], 36); - b2Cross_28float_2c_20b2Vec2_20const__29($1 + 420 | 0, HEAPF32[$1 + 572 >> 2], HEAP32[$1 + 452 >> 2] + 8 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($1 + 428 | 0, $1 + 576 | 0, $1 + 420 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 436 | 0, $1 + 428 | 0, $1 + 592 | 0); - b2Cross_28float_2c_20b2Vec2_20const__29($1 + 412 | 0, HEAPF32[$1 + 588 >> 2], HEAP32[$1 + 452 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 444 | 0, $1 + 436 | 0, $1 + 412 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 444 | 0, $1 + 560 | 0), - HEAPF32[wasm2js_i32$0 + 408 >> 2] = wasm2js_f32$0; - HEAPF32[$1 + 404 >> 2] = Math_fround(-HEAPF32[HEAP32[$1 + 452 >> 2] + 24 >> 2]) * Math_fround(HEAPF32[$1 + 408 >> 2] - HEAPF32[HEAP32[$1 + 452 >> 2] + 32 >> 2]); - wasm2js_i32$0 = $1, wasm2js_f32$0 = float_20b2Max_float__28float_2c_20float_29(Math_fround(HEAPF32[HEAP32[$1 + 452 >> 2] + 16 >> 2] + HEAPF32[$1 + 404 >> 2]), Math_fround(0)), - HEAPF32[wasm2js_i32$0 + 400 >> 2] = wasm2js_f32$0; - HEAPF32[$1 + 404 >> 2] = HEAPF32[$1 + 400 >> 2] - HEAPF32[HEAP32[$1 + 452 >> 2] + 16 >> 2]; - HEAPF32[HEAP32[$1 + 452 >> 2] + 16 >> 2] = HEAPF32[$1 + 400 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($1 + 392 | 0, HEAPF32[$1 + 404 >> 2], $1 + 560 | 0); - operator__28float_2c_20b2Vec2_20const__29($1 + 384 | 0, HEAPF32[$1 + 616 >> 2], $1 + 392 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($1 + 592 | 0, $1 + 384 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$1 + 612 >> 2]) * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 452 >> 2], $1 + 392 | 0)) + HEAPF32[$1 + 588 >> 2]), - HEAPF32[wasm2js_i32$0 + 588 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($1 + 376 | 0, HEAPF32[$1 + 608 >> 2], $1 + 392 | 0); - b2Vec2__operator___28b2Vec2_20const__29($1 + 576 | 0, $1 + 376 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$1 + 604 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 452 >> 2] + 8 | 0, $1 + 392 | 0)) + HEAPF32[$1 + 572 >> 2]), - HEAPF32[wasm2js_i32$0 + 572 >> 2] = wasm2js_f32$0; - HEAP32[$1 + 456 >> 2] = HEAP32[$1 + 456 >> 2] + 1; - continue; - } - break; - } - break label$6; - } - HEAP32[$1 + 372 >> 2] = HEAP32[$1 + 628 >> 2]; - HEAP32[$1 + 368 >> 2] = HEAP32[$1 + 628 >> 2] + 36; - b2Vec2__b2Vec2_28float_2c_20float_29($1 + 360 | 0, HEAPF32[HEAP32[$1 + 372 >> 2] + 16 >> 2], HEAPF32[HEAP32[$1 + 368 >> 2] + 16 >> 2]); - if (!(HEAPF32[$1 + 360 >> 2] >= Math_fround(0) & HEAPF32[$1 + 364 >> 2] >= Math_fround(0))) { - __assert_fail(8393, 5644, 417, 3534); - wasm2js_trap(); - } - b2Cross_28float_2c_20b2Vec2_20const__29($1 + 328 | 0, HEAPF32[$1 + 572 >> 2], HEAP32[$1 + 372 >> 2] + 8 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($1 + 336 | 0, $1 + 576 | 0, $1 + 328 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 344 | 0, $1 + 336 | 0, $1 + 592 | 0); - b2Cross_28float_2c_20b2Vec2_20const__29($1 + 320 | 0, HEAPF32[$1 + 588 >> 2], HEAP32[$1 + 372 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 352 | 0, $1 + 344 | 0, $1 + 320 | 0); - b2Cross_28float_2c_20b2Vec2_20const__29($1 + 288 | 0, HEAPF32[$1 + 572 >> 2], HEAP32[$1 + 368 >> 2] + 8 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($1 + 296 | 0, $1 + 576 | 0, $1 + 288 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 304 | 0, $1 + 296 | 0, $1 + 592 | 0); - b2Cross_28float_2c_20b2Vec2_20const__29($1 + 280 | 0, HEAPF32[$1 + 588 >> 2], HEAP32[$1 + 368 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 312 | 0, $1 + 304 | 0, $1 + 280 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 352 | 0, $1 + 560 | 0), - HEAPF32[wasm2js_i32$0 + 276 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 312 | 0, $1 + 560 | 0), - HEAPF32[wasm2js_i32$0 + 272 >> 2] = wasm2js_f32$0; - b2Vec2__b2Vec2_28_29($1 + 264 | 0); - HEAPF32[$1 + 264 >> 2] = HEAPF32[$1 + 276 >> 2] - HEAPF32[HEAP32[$1 + 372 >> 2] + 32 >> 2]; - HEAPF32[$1 + 268 >> 2] = HEAPF32[$1 + 272 >> 2] - HEAPF32[HEAP32[$1 + 368 >> 2] + 32 >> 2]; - b2Mul_28b2Mat22_20const__2c_20b2Vec2_20const__29($1 + 256 | 0, HEAP32[$1 + 628 >> 2] + 96 | 0, $1 + 360 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($1 + 264 | 0, $1 + 256 | 0); - HEAPF32[$1 + 252 >> 2] = .0010000000474974513; - b2Mul_28b2Mat22_20const__2c_20b2Vec2_20const__29($1 + 236 | 0, HEAP32[$1 + 628 >> 2] + 80 | 0, $1 + 264 | 0); - b2Vec2__operator__28_29_20const($1 + 244 | 0, $1 + 236 | 0); - label$13: { - if (!(!(HEAPF32[$1 + 244 >> 2] >= Math_fround(0)) | !(HEAPF32[$1 + 248 >> 2] >= Math_fround(0)))) { - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 228 | 0, $1 + 244 | 0, $1 + 360 | 0); - operator__28float_2c_20b2Vec2_20const__29($1 + 220 | 0, HEAPF32[$1 + 228 >> 2], $1 + 560 | 0); - operator__28float_2c_20b2Vec2_20const__29($1 + 212 | 0, HEAPF32[$1 + 232 >> 2], $1 + 560 | 0); - $2 = HEAPF32[$1 + 616 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($1 + 196 | 0, $1 + 220 | 0, $1 + 212 | 0); - operator__28float_2c_20b2Vec2_20const__29($1 + 204 | 0, $2, $1 + 196 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($1 + 592 | 0, $1 + 204 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$1 + 612 >> 2]) * Math_fround(b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 372 >> 2], $1 + 220 | 0) + b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 368 >> 2], $1 + 212 | 0))) + HEAPF32[$1 + 588 >> 2]), - HEAPF32[wasm2js_i32$0 + 588 >> 2] = wasm2js_f32$0; - $2 = HEAPF32[$1 + 608 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($1 + 180 | 0, $1 + 220 | 0, $1 + 212 | 0); - operator__28float_2c_20b2Vec2_20const__29($1 + 188 | 0, $2, $1 + 180 | 0); - b2Vec2__operator___28b2Vec2_20const__29($1 + 576 | 0, $1 + 188 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$1 + 604 >> 2] * Math_fround(b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 372 >> 2] + 8 | 0, $1 + 220 | 0) + b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 368 >> 2] + 8 | 0, $1 + 212 | 0))) + HEAPF32[$1 + 572 >> 2]), - HEAPF32[wasm2js_i32$0 + 572 >> 2] = wasm2js_f32$0; - HEAPF32[HEAP32[$1 + 372 >> 2] + 16 >> 2] = HEAPF32[$1 + 244 >> 2]; - HEAPF32[HEAP32[$1 + 368 >> 2] + 16 >> 2] = HEAPF32[$1 + 248 >> 2]; - break label$13; - } - HEAPF32[$1 + 244 >> 2] = Math_fround(-HEAPF32[HEAP32[$1 + 372 >> 2] + 24 >> 2]) * HEAPF32[$1 + 264 >> 2]; - HEAPF32[$1 + 248 >> 2] = 0; - HEAPF32[$1 + 276 >> 2] = 0; - HEAPF32[$1 + 272 >> 2] = Math_fround(HEAPF32[HEAP32[$1 + 628 >> 2] + 100 >> 2] * HEAPF32[$1 + 244 >> 2]) + HEAPF32[$1 + 268 >> 2]; - if (!(!(HEAPF32[$1 + 244 >> 2] >= Math_fround(0)) | !(HEAPF32[$1 + 272 >> 2] >= Math_fround(0)))) { - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 172 | 0, $1 + 244 | 0, $1 + 360 | 0); - operator__28float_2c_20b2Vec2_20const__29($1 + 164 | 0, HEAPF32[$1 + 172 >> 2], $1 + 560 | 0); - operator__28float_2c_20b2Vec2_20const__29($1 + 156 | 0, HEAPF32[$1 + 176 >> 2], $1 + 560 | 0); - $2 = HEAPF32[$1 + 616 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($1 + 140 | 0, $1 + 164 | 0, $1 + 156 | 0); - operator__28float_2c_20b2Vec2_20const__29($1 + 148 | 0, $2, $1 + 140 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($1 + 592 | 0, $1 + 148 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$1 + 612 >> 2]) * Math_fround(b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 372 >> 2], $1 + 164 | 0) + b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 368 >> 2], $1 + 156 | 0))) + HEAPF32[$1 + 588 >> 2]), - HEAPF32[wasm2js_i32$0 + 588 >> 2] = wasm2js_f32$0; - $2 = HEAPF32[$1 + 608 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($1 + 124 | 0, $1 + 164 | 0, $1 + 156 | 0); - operator__28float_2c_20b2Vec2_20const__29($1 + 132 | 0, $2, $1 + 124 | 0); - b2Vec2__operator___28b2Vec2_20const__29($1 + 576 | 0, $1 + 132 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$1 + 604 >> 2] * Math_fround(b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 372 >> 2] + 8 | 0, $1 + 164 | 0) + b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 368 >> 2] + 8 | 0, $1 + 156 | 0))) + HEAPF32[$1 + 572 >> 2]), - HEAPF32[wasm2js_i32$0 + 572 >> 2] = wasm2js_f32$0; - HEAPF32[HEAP32[$1 + 372 >> 2] + 16 >> 2] = HEAPF32[$1 + 244 >> 2]; - HEAPF32[HEAP32[$1 + 368 >> 2] + 16 >> 2] = HEAPF32[$1 + 248 >> 2]; - break label$13; - } - HEAPF32[$1 + 244 >> 2] = 0; - HEAPF32[$1 + 248 >> 2] = Math_fround(-HEAPF32[HEAP32[$1 + 368 >> 2] + 24 >> 2]) * HEAPF32[$1 + 268 >> 2]; - HEAPF32[$1 + 276 >> 2] = Math_fround(HEAPF32[HEAP32[$1 + 628 >> 2] + 104 >> 2] * HEAPF32[$1 + 248 >> 2]) + HEAPF32[$1 + 264 >> 2]; - HEAPF32[$1 + 272 >> 2] = 0; - if (!(!(HEAPF32[$1 + 248 >> 2] >= Math_fround(0)) | !(HEAPF32[$1 + 276 >> 2] >= Math_fround(0)))) { - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 116 | 0, $1 + 244 | 0, $1 + 360 | 0); - operator__28float_2c_20b2Vec2_20const__29($1 + 108 | 0, HEAPF32[$1 + 116 >> 2], $1 + 560 | 0); - operator__28float_2c_20b2Vec2_20const__29($1 + 100 | 0, HEAPF32[$1 + 120 >> 2], $1 + 560 | 0); - $2 = HEAPF32[$1 + 616 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($1 + 84 | 0, $1 + 108 | 0, $1 + 100 | 0); - operator__28float_2c_20b2Vec2_20const__29($1 + 92 | 0, $2, $1 + 84 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($1 + 592 | 0, $1 + 92 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$1 + 612 >> 2]) * Math_fround(b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 372 >> 2], $1 + 108 | 0) + b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 368 >> 2], $1 + 100 | 0))) + HEAPF32[$1 + 588 >> 2]), - HEAPF32[wasm2js_i32$0 + 588 >> 2] = wasm2js_f32$0; - $2 = HEAPF32[$1 + 608 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($1 + 68 | 0, $1 + 108 | 0, $1 + 100 | 0); - operator__28float_2c_20b2Vec2_20const__29($1 + 76 | 0, $2, $1 + 68 | 0); - b2Vec2__operator___28b2Vec2_20const__29($1 + 576 | 0, $1 + 76 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$1 + 604 >> 2] * Math_fround(b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 372 >> 2] + 8 | 0, $1 + 108 | 0) + b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 368 >> 2] + 8 | 0, $1 + 100 | 0))) + HEAPF32[$1 + 572 >> 2]), - HEAPF32[wasm2js_i32$0 + 572 >> 2] = wasm2js_f32$0; - HEAPF32[HEAP32[$1 + 372 >> 2] + 16 >> 2] = HEAPF32[$1 + 244 >> 2]; - HEAPF32[HEAP32[$1 + 368 >> 2] + 16 >> 2] = HEAPF32[$1 + 248 >> 2]; - break label$13; - } - HEAPF32[$1 + 244 >> 2] = 0; - HEAPF32[$1 + 248 >> 2] = 0; - HEAPF32[$1 + 276 >> 2] = HEAPF32[$1 + 264 >> 2]; - HEAPF32[$1 + 272 >> 2] = HEAPF32[$1 + 268 >> 2]; - if (!(!(HEAPF32[$1 + 276 >> 2] >= Math_fround(0)) | !(HEAPF32[$1 + 272 >> 2] >= Math_fround(0)))) { - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 60 | 0, $1 + 244 | 0, $1 + 360 | 0); - operator__28float_2c_20b2Vec2_20const__29($1 + 52 | 0, HEAPF32[$1 + 60 >> 2], $1 + 560 | 0); - operator__28float_2c_20b2Vec2_20const__29($1 + 44 | 0, HEAPF32[$1 + 64 >> 2], $1 + 560 | 0); - $2 = HEAPF32[$1 + 616 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($1 + 28 | 0, $1 + 52 | 0, $1 + 44 | 0); - operator__28float_2c_20b2Vec2_20const__29($1 + 36 | 0, $2, $1 + 28 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($1 + 592 | 0, $1 + 36 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$1 + 612 >> 2]) * Math_fround(b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 372 >> 2], $1 + 52 | 0) + b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 368 >> 2], $1 + 44 | 0))) + HEAPF32[$1 + 588 >> 2]), - HEAPF32[wasm2js_i32$0 + 588 >> 2] = wasm2js_f32$0; - $2 = HEAPF32[$1 + 608 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($1 + 12 | 0, $1 + 52 | 0, $1 + 44 | 0); - operator__28float_2c_20b2Vec2_20const__29($1 + 20 | 0, $2, $1 + 12 | 0); - b2Vec2__operator___28b2Vec2_20const__29($1 + 576 | 0, $1 + 20 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$1 + 604 >> 2] * Math_fround(b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 372 >> 2] + 8 | 0, $1 + 52 | 0) + b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 368 >> 2] + 8 | 0, $1 + 44 | 0))) + HEAPF32[$1 + 572 >> 2]), - HEAPF32[wasm2js_i32$0 + 572 >> 2] = wasm2js_f32$0; - HEAPF32[HEAP32[$1 + 372 >> 2] + 16 >> 2] = HEAPF32[$1 + 244 >> 2]; - HEAPF32[HEAP32[$1 + 368 >> 2] + 16 >> 2] = HEAPF32[$1 + 248 >> 2]; - } - } - } - $0 = HEAP32[$1 + 596 >> 2]; - $4 = HEAP32[$1 + 592 >> 2]; - $3 = $4; - $4 = HEAP32[$5 + 28 >> 2] + Math_imul(HEAP32[$1 + 624 >> 2], 12) | 0; - HEAP32[$4 >> 2] = $3; - HEAP32[$4 + 4 >> 2] = $0; - HEAPF32[(HEAP32[$5 + 28 >> 2] + Math_imul(HEAP32[$1 + 624 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$1 + 588 >> 2]; - $4 = HEAP32[$1 + 580 >> 2]; - $0 = HEAP32[$1 + 576 >> 2]; - $3 = $0; - $0 = HEAP32[$5 + 28 >> 2] + Math_imul(HEAP32[$1 + 620 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $3; - HEAP32[$0 + 4 >> 2] = $4; - HEAPF32[(HEAP32[$5 + 28 >> 2] + Math_imul(HEAP32[$1 + 620 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$1 + 572 >> 2]; - HEAP32[$1 + 632 >> 2] = HEAP32[$1 + 632 >> 2] + 1; - continue; - } - break; - } - __stack_pointer = $1 + 640 | 0; -} - -function fmt_fp($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = +$1; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0; - $12 = __stack_pointer - 560 | 0; - __stack_pointer = $12; - HEAP32[$12 + 44 >> 2] = 0; - $9 = __DOUBLE_BITS($1); - $11 = i64toi32_i32$HIGH_BITS; - $14 = $11; - label$1: { - if (($11 | 0) < 0) { - $19 = 1; - $25 = 1842; - $1 = -$1; - $8 = __DOUBLE_BITS($1); - $11 = i64toi32_i32$HIGH_BITS; - $14 = $11; - break label$1; - } - if ($4 & 2048) { - $19 = 1; - $25 = 1845; - break label$1; - } - $19 = $4 & 1; - $25 = $19 ? 1848 : 1843; - $26 = !$19; - } - $11 = $14; - $8 = $11 & 2146435072; - $11 = 0; - label$4: { - if (!$11 & ($8 | 0) == 2146435072) { - $6 = $19 + 3 | 0; - pad($0, 32, $2, $6, $4 & -65537); - out($0, $25, $19); - $7 = $5 & 32; - out($0, $1 != $1 ? $7 ? 7089 : 11150 : $7 ? 8031 : 11163, 3); - pad($0, 32, $2, $6, $4 ^ 8192); - $9 = ($2 | 0) < ($6 | 0) ? $6 : $2; - break label$4; - } - $20 = $12 + 16 | 0; - label$6: { - label$7: { - label$8: { - $1 = frexp($1, $12 + 44 | 0); - $1 = $1 + $1; - if ($1 != 0) { - $6 = HEAP32[$12 + 44 >> 2]; - HEAP32[$12 + 44 >> 2] = $6 - 1; - $23 = $5 | 32; - if (($23 | 0) != 97) { - break label$8; - } - break label$6; - } - $23 = $5 | 32; - if (($23 | 0) == 97) { - break label$6; - } - $24 = HEAP32[$12 + 44 >> 2]; - $13 = ($3 | 0) < 0 ? 6 : $3; - break label$7; - } - $24 = $6 - 29 | 0; - HEAP32[$12 + 44 >> 2] = $24; - $1 = $1 * 268435456; - $13 = ($3 | 0) < 0 ? 6 : $3; - } - $17 = ($12 + 48 | 0) + (($24 | 0) >= 0 ? 288 : 0) | 0; - $7 = $17; - while (1) { - if ($1 < 4294967296 & $1 >= 0) { - $6 = ~~$1 >>> 0; - } else { - $6 = 0; - } - HEAP32[$7 >> 2] = $6; - $7 = $7 + 4 | 0; - $1 = ($1 - +($6 >>> 0)) * 1e9; - if ($1 != 0) { - continue; - } - break; - } - label$13: { - if (($24 | 0) <= 0) { - $3 = $24; - $6 = $7; - $10 = $17; - break label$13; - } - $10 = $17; - $3 = $24; - while (1) { - $3 = ($3 | 0) >= 29 ? 29 : $3; - $6 = $7 - 4 | 0; - label$16: { - if ($10 >>> 0 > $6 >>> 0) { - break label$16; - } - $21 = 0; - while (1) { - $9 = $21; - $8 = HEAP32[$6 >> 2]; - $11 = $8; - $22 = $3; - $15 = $22 & 31; - if (($22 & 63) >>> 0 >= 32) { - $8 = $11 << $15; - $22 = 0; - } else { - $8 = (1 << $15) - 1 & $11 >>> 32 - $15; - $22 = $11 << $15; - } - $15 = $9 + $22 | 0; - $11 = $8; - $8 = $16; - $8 = $11 + $8 | 0; - $8 = $15 >>> 0 < $22 >>> 0 ? $8 + 1 | 0 : $8; - $27 = $8; - $9 = __wasm_i64_udiv($15, $8, 1e9, 0); - $8 = i64toi32_i32$HIGH_BITS; - $14 = $8; - $21 = $9; - $9 = __wasm_i64_mul($9, $8, 1e9, 0); - $8 = i64toi32_i32$HIGH_BITS; - $28 = $8; - $22 = $9; - $11 = $15 - $9 | 0; - $8 = $27; - $9 = $28; - $15 = $9 + ($15 >>> 0 < $22 >>> 0) | 0; - HEAP32[$6 >> 2] = $11; - $6 = $6 - 4 | 0; - if ($10 >>> 0 <= $6 >>> 0) { - continue; - } - break; - } - $6 = $21; - if (!$6) { - break label$16; - } - $10 = $10 - 4 | 0; - HEAP32[$10 >> 2] = $6; - } - while (1) { - $6 = $7; - if ($10 >>> 0 < $6 >>> 0) { - $7 = $6 - 4 | 0; - if (!HEAP32[$7 >> 2]) { - continue; - } - } - break; - } - $3 = HEAP32[$12 + 44 >> 2] - $3 | 0; - HEAP32[$12 + 44 >> 2] = $3; - $7 = $6; - if (($3 | 0) > 0) { - continue; - } - break; - } - } - if (($3 | 0) < 0) { - $16 = (($13 + 25 >>> 0) / 9 | 0) + 1 | 0; - $21 = ($23 | 0) == 102; - while (1) { - $7 = 0 - $3 | 0; - $8 = ($7 | 0) >= 9 ? 9 : $7; - label$22: { - if ($6 >>> 0 <= $10 >>> 0) { - $7 = HEAP32[$10 >> 2]; - break label$22; - } - $14 = 1e9 >>> $8 | 0; - $11 = -1 << $8 ^ -1; - $3 = 0; - $7 = $10; - while (1) { - $9 = HEAP32[$7 >> 2]; - HEAP32[$7 >> 2] = ($9 >>> $8 | 0) + $3; - $3 = Math_imul($9 & $11, $14); - $7 = $7 + 4 | 0; - if ($7 >>> 0 < $6 >>> 0) { - continue; - } - break; - } - $7 = HEAP32[$10 >> 2]; - if (!$3) { - break label$22; - } - HEAP32[$6 >> 2] = $3; - $6 = $6 + 4 | 0; - } - $3 = HEAP32[$12 + 44 >> 2] + $8 | 0; - HEAP32[$12 + 44 >> 2] = $3; - $10 = (!$7 << 2) + $10 | 0; - $7 = $21 ? $17 : $10; - $6 = $6 - $7 >> 2 > ($16 | 0) ? $7 + ($16 << 2) | 0 : $6; - if (($3 | 0) < 0) { - continue; - } - break; - } - } - $3 = 0; - label$25: { - if ($6 >>> 0 <= $10 >>> 0) { - break label$25; - } - $3 = Math_imul($17 - $10 >> 2, 9); - $7 = 10; - $9 = HEAP32[$10 >> 2]; - if ($9 >>> 0 < 10) { - break label$25; - } - while (1) { - $3 = $3 + 1 | 0; - $7 = Math_imul($7, 10); - if ($9 >>> 0 >= $7 >>> 0) { - continue; - } - break; - } - } - $7 = ($13 - (($23 | 0) != 102 ? $3 : 0) | 0) - (($23 | 0) == 103 & ($13 | 0) != 0) | 0; - if (($7 | 0) < (Math_imul($6 - $17 >> 2, 9) - 9 | 0)) { - $9 = $7 + 9216 | 0; - $14 = ($9 | 0) / 9 | 0; - $8 = (((($24 | 0) < 0 ? 4 : 292) + $12 | 0) + ($14 << 2) | 0) - 4048 | 0; - $7 = 10; - $9 = $9 - Math_imul($14, 9) | 0; - if (($9 | 0) <= 7) { - while (1) { - $7 = Math_imul($7, 10); - $9 = $9 + 1 | 0; - if (($9 | 0) != 8) { - continue; - } - break; - } - } - $9 = HEAP32[$8 >> 2]; - $16 = ($9 >>> 0) / ($7 >>> 0) | 0; - $14 = $9 - Math_imul($7, $16) | 0; - $11 = $8 + 4 | 0; - label$30: { - if (!$14 & ($11 | 0) == ($6 | 0)) { - break label$30; - } - label$31: { - if (!($16 & 1)) { - $1 = 9007199254740992; - if (!(HEAP8[$8 - 4 | 0] & 1) | (($7 | 0) != 1e9 | $10 >>> 0 >= $8 >>> 0)) { - break label$31; - } - } - $1 = 9007199254740994; - } - $18 = ($6 | 0) == ($11 | 0) ? 1 : 1.5; - $11 = $7 >>> 1 | 0; - $18 = $14 >>> 0 < $11 >>> 0 ? .5 : ($11 | 0) == ($14 | 0) ? $18 : 1.5; - if (!(HEAPU8[$25 | 0] != 45 | $26)) { - $18 = -$18; - $1 = -$1; - } - $9 = $9 - $14 | 0; - HEAP32[$8 >> 2] = $9; - if ($1 + $18 == $1) { - break label$30; - } - $7 = $7 + $9 | 0; - HEAP32[$8 >> 2] = $7; - if ($7 >>> 0 >= 1e9) { - while (1) { - HEAP32[$8 >> 2] = 0; - $8 = $8 - 4 | 0; - if ($8 >>> 0 < $10 >>> 0) { - $10 = $10 - 4 | 0; - HEAP32[$10 >> 2] = 0; - } - $7 = HEAP32[$8 >> 2] + 1 | 0; - HEAP32[$8 >> 2] = $7; - if ($7 >>> 0 > 999999999) { - continue; - } - break; - } - } - $3 = Math_imul($17 - $10 >> 2, 9); - $7 = 10; - $9 = HEAP32[$10 >> 2]; - if ($9 >>> 0 < 10) { - break label$30; - } - while (1) { - $3 = $3 + 1 | 0; - $7 = Math_imul($7, 10); - if ($9 >>> 0 >= $7 >>> 0) { - continue; - } - break; - } - } - $7 = $8 + 4 | 0; - $6 = $6 >>> 0 > $7 >>> 0 ? $7 : $6; - } - while (1) { - $7 = $6; - $9 = $6 >>> 0 <= $10 >>> 0; - if (!$9) { - $6 = $7 - 4 | 0; - if (!HEAP32[$6 >> 2]) { - continue; - } - } - break; - } - label$40: { - if (($23 | 0) != 103) { - $8 = $4 & 8; - break label$40; - } - $6 = $13 ? $13 : 1; - $8 = ($6 | 0) > ($3 | 0) & ($3 | 0) > -5; - $13 = ($8 ? $3 ^ -1 : -1) + $6 | 0; - $5 = ($8 ? -1 : -2) + $5 | 0; - $8 = $4 & 8; - if ($8) { - break label$40; - } - $6 = -9; - label$42: { - if ($9) { - break label$42; - } - $8 = HEAP32[$7 - 4 >> 2]; - if (!$8) { - break label$42; - } - $9 = 10; - $6 = 0; - if (($8 >>> 0) % 10 | 0) { - break label$42; - } - while (1) { - $14 = $6; - $6 = $6 + 1 | 0; - $9 = Math_imul($9, 10); - if (!(($8 >>> 0) % ($9 >>> 0) | 0)) { - continue; - } - break; - } - $6 = $14 ^ -1; - } - $9 = Math_imul($7 - $17 >> 2, 9); - if (($5 & -33) == 70) { - $8 = 0; - $6 = ($6 + $9 | 0) - 9 | 0; - $6 = ($6 | 0) > 0 ? $6 : 0; - $13 = ($6 | 0) > ($13 | 0) ? $13 : $6; - break label$40; - } - $8 = 0; - $6 = (($3 + $9 | 0) + $6 | 0) - 9 | 0; - $6 = ($6 | 0) > 0 ? $6 : 0; - $13 = ($6 | 0) > ($13 | 0) ? $13 : $6; - } - $9 = -1; - $14 = $8 | $13; - if ((($14 ? 2147483645 : 2147483646) | 0) < ($13 | 0)) { - break label$4; - } - $11 = ((($14 | 0) != 0) + $13 | 0) + 1 | 0; - $21 = $5 & -33; - label$45: { - if (($21 | 0) == 70) { - if (($11 ^ 2147483647) < ($3 | 0)) { - break label$4; - } - $6 = ($3 | 0) > 0 ? $3 : 0; - break label$45; - } - $6 = $3 >> 31; - $6 = fmt_u(($6 ^ $3) - $6 | 0, 0, $20); - if (($20 - $6 | 0) <= 1) { - while (1) { - $6 = $6 - 1 | 0; - HEAP8[$6 | 0] = 48; - if (($20 - $6 | 0) < 2) { - continue; - } - break; - } - } - $16 = $6 - 2 | 0; - HEAP8[$16 | 0] = $5; - HEAP8[$6 - 1 | 0] = ($3 | 0) < 0 ? 45 : 43; - $6 = $20 - $16 | 0; - if (($6 | 0) > ($11 ^ 2147483647)) { - break label$4; - } - } - $6 = $6 + $11 | 0; - if (($6 | 0) > ($19 ^ 2147483647)) { - break label$4; - } - $11 = $6 + $19 | 0; - pad($0, 32, $2, $11, $4); - out($0, $25, $19); - pad($0, 48, $2, $11, $4 ^ 65536); - label$49: { - label$50: { - label$51: { - if (($21 | 0) == 70) { - $8 = $12 + 16 | 8; - $3 = $12 + 16 | 9; - $9 = $10 >>> 0 > $17 >>> 0 ? $17 : $10; - $10 = $9; - while (1) { - $15 = HEAP32[$10 >> 2]; - $6 = fmt_u($15, 0, $3); - label$54: { - if (($10 | 0) != ($9 | 0)) { - if ($12 + 16 >>> 0 >= $6 >>> 0) { - break label$54; - } - while (1) { - $6 = $6 - 1 | 0; - HEAP8[$6 | 0] = 48; - if ($12 + 16 >>> 0 < $6 >>> 0) { - continue; - } - break; - } - break label$54; - } - if (($3 | 0) != ($6 | 0)) { - break label$54; - } - HEAP8[$12 + 24 | 0] = 48; - $6 = $8; - } - out($0, $6, $3 - $6 | 0); - $10 = $10 + 4 | 0; - if ($17 >>> 0 >= $10 >>> 0) { - continue; - } - break; - } - if ($14) { - out($0, 12607, 1); - } - if (($13 | 0) <= 0 | $7 >>> 0 <= $10 >>> 0) { - break label$51; - } - while (1) { - $8 = HEAP32[$10 >> 2]; - $6 = fmt_u($8, 0, $3); - if ($6 >>> 0 > $12 + 16 >>> 0) { - while (1) { - $6 = $6 - 1 | 0; - HEAP8[$6 | 0] = 48; - if ($12 + 16 >>> 0 < $6 >>> 0) { - continue; - } - break; - } - } - out($0, $6, ($13 | 0) >= 9 ? 9 : $13); - $6 = $13 - 9 | 0; - $10 = $10 + 4 | 0; - if ($10 >>> 0 >= $7 >>> 0) { - break label$50; - } - $9 = ($13 | 0) > 9; - $13 = $6; - if ($9) { - continue; - } - break; - } - break label$50; - } - label$61: { - if (($13 | 0) < 0) { - break label$61; - } - $14 = $7 >>> 0 > $10 >>> 0 ? $7 : $10 + 4 | 0; - $17 = $12 + 16 | 8; - $3 = $12 + 16 | 9; - $7 = $10; - while (1) { - $15 = HEAP32[$7 >> 2]; - $6 = fmt_u($15, 0, $3); - if (($6 | 0) == ($3 | 0)) { - HEAP8[$12 + 24 | 0] = 48; - $6 = $17; - } - label$64: { - if (($7 | 0) != ($10 | 0)) { - if ($12 + 16 >>> 0 >= $6 >>> 0) { - break label$64; - } - while (1) { - $6 = $6 - 1 | 0; - HEAP8[$6 | 0] = 48; - if ($12 + 16 >>> 0 < $6 >>> 0) { - continue; - } - break; - } - break label$64; - } - out($0, $6, 1); - $6 = $6 + 1 | 0; - if (!($8 | $13)) { - break label$64; - } - out($0, 12607, 1); - } - $9 = $3 - $6 | 0; - out($0, $6, ($9 | 0) > ($13 | 0) ? $13 : $9); - $13 = $13 - $9 | 0; - $7 = $7 + 4 | 0; - if ($14 >>> 0 <= $7 >>> 0) { - break label$61; - } - if (($13 | 0) >= 0) { - continue; - } - break; - } - } - pad($0, 48, $13 + 18 | 0, 18, 0); - out($0, $16, $20 - $16 | 0); - break label$49; - } - $6 = $13; - } - pad($0, 48, $6 + 9 | 0, 9, 0); - } - pad($0, 32, $2, $11, $4 ^ 8192); - $9 = ($2 | 0) < ($11 | 0) ? $11 : $2; - break label$4; - } - $11 = ($5 << 26 >> 31 & 9) + $25 | 0; - label$67: { - if ($3 >>> 0 > 11) { - break label$67; - } - $6 = 12 - $3 | 0; - $18 = 16; - while (1) { - $18 = $18 * 16; - $6 = $6 - 1 | 0; - if ($6) { - continue; - } - break; - } - if (HEAPU8[$11 | 0] == 45) { - $1 = -($18 + (-$1 - $18)); - break label$67; - } - $1 = $1 + $18 - $18; - } - $6 = HEAP32[$12 + 44 >> 2]; - $7 = $6; - $6 = $6 >> 31; - $6 = fmt_u(($7 ^ $6) - $6 | 0, 0, $20); - if (($20 | 0) == ($6 | 0)) { - HEAP8[$12 + 15 | 0] = 48; - $6 = $12 + 15 | 0; - } - $8 = $19 | 2; - $10 = $5 & 32; - $7 = HEAP32[$12 + 44 >> 2]; - $14 = $6 - 2 | 0; - HEAP8[$14 | 0] = $5 + 15; - HEAP8[$6 - 1 | 0] = ($7 | 0) < 0 ? 45 : 43; - $9 = $4 & 8; - $7 = $12 + 16 | 0; - while (1) { - $6 = $7; - if (Math_abs($1) < 2147483648) { - $7 = ~~$1; - } else { - $7 = -2147483648; - } - HEAP8[$6 | 0] = HEAPU8[$7 + 24144 | 0] | $10; - $1 = ($1 - +($7 | 0)) * 16; - $7 = $6 + 1 | 0; - if (!(!(($3 | 0) > 0 | $9) & $1 == 0 | ($7 - ($12 + 16 | 0) | 0) != 1)) { - HEAP8[$6 + 1 | 0] = 46; - $7 = $6 + 2 | 0; - } - if ($1 != 0) { - continue; - } - break; - } - $9 = -1; - $10 = $20 - $14 | 0; - $16 = $8 + $10 | 0; - if ((2147483645 - $16 | 0) < ($3 | 0)) { - break label$4; - } - $6 = $7 - ($12 + 16 | 0) | 0; - $3 = $3 ? ($6 - 2 | 0) < ($3 | 0) ? $3 + 2 | 0 : $6 : $6; - $7 = $16 + $3 | 0; - pad($0, 32, $2, $7, $4); - out($0, $11, $8); - pad($0, 48, $2, $7, $4 ^ 65536); - out($0, $12 + 16 | 0, $6); - pad($0, 48, $3 - $6 | 0, 0, 0); - out($0, $14, $10); - pad($0, 32, $2, $7, $4 ^ 8192); - $9 = ($2 | 0) < ($7 | 0) ? $7 : $2; - } - __stack_pointer = $12 + 560 | 0; - return $9 | 0; -} - -function b2Island__Solve_28b2Profile__2c_20b2TimeStep_20const__2c_20b2Vec2_20const__2c_20bool_29($0, $1, $2, $3, $4) { - var $5 = 0, $6 = 0, $7 = Math_fround(0), $8 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0), wasm2js_i32$1 = 0; - $5 = __stack_pointer - 352 | 0; - __stack_pointer = $5; - HEAP32[$5 + 348 >> 2] = $0; - HEAP32[$5 + 344 >> 2] = $1; - HEAP32[$5 + 340 >> 2] = $2; - HEAP32[$5 + 336 >> 2] = $3; - HEAP8[$5 + 335 | 0] = $4; - $6 = HEAP32[$5 + 348 >> 2]; - b2Timer__b2Timer_28_29($5 + 334 | 0); - HEAPF32[$5 + 328 >> 2] = HEAPF32[HEAP32[$5 + 340 >> 2] >> 2]; - HEAP32[$5 + 324 >> 2] = 0; - while (1) { - if (HEAP32[$5 + 324 >> 2] < HEAP32[$6 + 28 >> 2]) { - HEAP32[$5 + 320 >> 2] = HEAP32[HEAP32[$6 + 8 >> 2] + (HEAP32[$5 + 324 >> 2] << 2) >> 2]; - $2 = HEAP32[$5 + 320 >> 2]; - $0 = HEAP32[$2 + 44 >> 2]; - $1 = HEAP32[$2 + 48 >> 2]; - HEAP32[$5 + 312 >> 2] = $0; - HEAP32[$5 + 316 >> 2] = $1; - HEAPF32[$5 + 308 >> 2] = HEAPF32[HEAP32[$5 + 320 >> 2] + 56 >> 2]; - $2 = HEAP32[$5 + 320 >> 2]; - $1 = HEAP32[$2 + 64 >> 2]; - $0 = HEAP32[$2 + 68 >> 2]; - HEAP32[$5 + 296 >> 2] = $1; - HEAP32[$5 + 300 >> 2] = $0; - HEAPF32[$5 + 292 >> 2] = HEAPF32[HEAP32[$5 + 320 >> 2] + 72 >> 2]; - $2 = HEAP32[$5 + 320 >> 2]; - $0 = HEAP32[$2 + 44 >> 2]; - $1 = HEAP32[$2 + 48 >> 2]; - $2 = $0; - $0 = HEAP32[$5 + 320 >> 2]; - HEAP32[$0 + 36 >> 2] = $2; - HEAP32[$0 + 40 >> 2] = $1; - HEAPF32[HEAP32[$5 + 320 >> 2] + 52 >> 2] = HEAPF32[HEAP32[$5 + 320 >> 2] + 56 >> 2]; - if (HEAP32[HEAP32[$5 + 320 >> 2] >> 2] == 2) { - $7 = HEAPF32[$5 + 328 >> 2]; - $8 = HEAPF32[HEAP32[$5 + 320 >> 2] + 120 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($5 + 268 | 0, Math_fround(HEAPF32[HEAP32[$5 + 320 >> 2] + 140 >> 2] * HEAPF32[HEAP32[$5 + 320 >> 2] + 116 >> 2]), HEAP32[$5 + 336 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($5 + 276 | 0, $5 + 268 | 0, HEAP32[$5 + 320 >> 2] + 76 | 0); - operator__28float_2c_20b2Vec2_20const__29($5 + 284 | 0, Math_fround($7 * $8), $5 + 276 | 0); - b2Vec2__operator___28b2Vec2_20const__29($5 + 296 | 0, $5 + 284 | 0); - HEAPF32[$5 + 292 >> 2] = Math_fround(Math_fround(HEAPF32[$5 + 328 >> 2] * HEAPF32[HEAP32[$5 + 320 >> 2] + 128 >> 2]) * HEAPF32[HEAP32[$5 + 320 >> 2] + 84 >> 2]) + HEAPF32[$5 + 292 >> 2]; - b2Vec2__operator___28float_29($5 + 296 | 0, Math_fround(Math_fround(1) / Math_fround(Math_fround(HEAPF32[$5 + 328 >> 2] * HEAPF32[HEAP32[$5 + 320 >> 2] + 132 >> 2]) + Math_fround(1)))); - HEAPF32[$5 + 292 >> 2] = HEAPF32[$5 + 292 >> 2] * Math_fround(Math_fround(1) / Math_fround(Math_fround(HEAPF32[$5 + 328 >> 2] * HEAPF32[HEAP32[$5 + 320 >> 2] + 136 >> 2]) + Math_fround(1))); - } - $0 = HEAP32[$5 + 316 >> 2]; - $1 = HEAP32[$5 + 312 >> 2]; - $2 = $1; - $1 = HEAP32[$6 + 20 >> 2] + Math_imul(HEAP32[$5 + 324 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[$6 + 20 >> 2] + Math_imul(HEAP32[$5 + 324 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$5 + 308 >> 2]; - $1 = HEAP32[$5 + 300 >> 2]; - $0 = HEAP32[$5 + 296 >> 2]; - $2 = $0; - $0 = HEAP32[$6 + 24 >> 2] + Math_imul(HEAP32[$5 + 324 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[$6 + 24 >> 2] + Math_imul(HEAP32[$5 + 324 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$5 + 292 >> 2]; - HEAP32[$5 + 324 >> 2] = HEAP32[$5 + 324 >> 2] + 1; - continue; - } - break; - } - b2Timer__Reset_28_29($5 + 334 | 0); - $2 = HEAP32[$5 + 340 >> 2]; - $1 = HEAP32[$2 >> 2]; - $0 = HEAP32[$2 + 4 >> 2]; - $4 = $1; - $3 = $5 + 236 | 0; - $1 = $3; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - $1 = HEAP32[$2 + 20 >> 2]; - $0 = HEAP32[$2 + 16 >> 2]; - $4 = $0; - $0 = $3; - HEAP32[$0 + 16 >> 2] = $4; - HEAP32[$0 + 20 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - $1 = HEAP32[$2 + 8 >> 2]; - $2 = $1; - $1 = $3; - HEAP32[$1 + 8 >> 2] = $2; - HEAP32[$1 + 12 >> 2] = $0; - HEAP32[$5 + 260 >> 2] = HEAP32[$6 + 20 >> 2]; - HEAP32[$5 + 264 >> 2] = HEAP32[$6 + 24 >> 2]; - $2 = HEAP32[$5 + 340 >> 2]; - $0 = HEAP32[$2 >> 2]; - $1 = HEAP32[$2 + 4 >> 2]; - $4 = $0; - $3 = $5 + 192 | 0; - $0 = $3; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = HEAP32[$2 + 16 >> 2]; - $4 = $1; - $1 = $3; - HEAP32[$1 + 16 >> 2] = $4; - HEAP32[$1 + 20 >> 2] = $0; - $1 = HEAP32[$2 + 12 >> 2]; - $0 = HEAP32[$2 + 8 >> 2]; - $2 = $0; - $0 = $3; - HEAP32[$0 + 8 >> 2] = $2; - HEAP32[$0 + 12 >> 2] = $1; - HEAP32[$5 + 216 >> 2] = HEAP32[$6 + 12 >> 2]; - HEAP32[$5 + 220 >> 2] = HEAP32[$6 + 36 >> 2]; - HEAP32[$5 + 224 >> 2] = HEAP32[$6 + 20 >> 2]; - HEAP32[$5 + 228 >> 2] = HEAP32[$6 + 24 >> 2]; - HEAP32[$5 + 232 >> 2] = HEAP32[$6 >> 2]; - b2ContactSolver__b2ContactSolver_28b2ContactSolverDef__29($5 + 140 | 0, $5 + 192 | 0); - b2ContactSolver__InitializeVelocityConstraints_28_29($5 + 140 | 0); - if (HEAP8[HEAP32[$5 + 340 >> 2] + 20 | 0] & 1) { - b2ContactSolver__WarmStart_28_29($5 + 140 | 0); - } - HEAP32[$5 + 136 >> 2] = 0; - while (1) { - if (HEAP32[$5 + 136 >> 2] < HEAP32[$6 + 32 >> 2]) { - $0 = HEAP32[HEAP32[$6 + 16 >> 2] + (HEAP32[$5 + 136 >> 2] << 2) >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 32 >> 2]]($0, $5 + 236 | 0); - HEAP32[$5 + 136 >> 2] = HEAP32[$5 + 136 >> 2] + 1; - continue; - } - break; - } - $7 = b2Timer__GetMilliseconds_28_29_20const($5 + 334 | 0); - HEAPF32[HEAP32[$5 + 344 >> 2] + 12 >> 2] = $7; - b2Timer__Reset_28_29($5 + 334 | 0); - HEAP32[$5 + 132 >> 2] = 0; - while (1) { - if (HEAP32[$5 + 132 >> 2] < HEAP32[HEAP32[$5 + 340 >> 2] + 12 >> 2]) { - HEAP32[$5 + 128 >> 2] = 0; - while (1) { - if (HEAP32[$5 + 128 >> 2] < HEAP32[$6 + 32 >> 2]) { - $0 = HEAP32[HEAP32[$6 + 16 >> 2] + (HEAP32[$5 + 128 >> 2] << 2) >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 36 >> 2]]($0, $5 + 236 | 0); - HEAP32[$5 + 128 >> 2] = HEAP32[$5 + 128 >> 2] + 1; - continue; - } - break; - } - b2ContactSolver__SolveVelocityConstraints_28_29($5 + 140 | 0); - HEAP32[$5 + 132 >> 2] = HEAP32[$5 + 132 >> 2] + 1; - continue; - } - break; - } - b2ContactSolver__StoreImpulses_28_29($5 + 140 | 0); - $7 = b2Timer__GetMilliseconds_28_29_20const($5 + 334 | 0); - HEAPF32[HEAP32[$5 + 344 >> 2] + 16 >> 2] = $7; - HEAP32[$5 + 124 >> 2] = 0; - while (1) { - if (HEAP32[$5 + 124 >> 2] < HEAP32[$6 + 28 >> 2]) { - $2 = HEAP32[$6 + 20 >> 2] + Math_imul(HEAP32[$5 + 124 >> 2], 12) | 0; - $1 = HEAP32[$2 >> 2]; - $0 = HEAP32[$2 + 4 >> 2]; - HEAP32[$5 + 112 >> 2] = $1; - HEAP32[$5 + 116 >> 2] = $0; - HEAPF32[$5 + 108 >> 2] = HEAPF32[(HEAP32[$6 + 20 >> 2] + Math_imul(HEAP32[$5 + 124 >> 2], 12) | 0) + 8 >> 2]; - $2 = HEAP32[$6 + 24 >> 2] + Math_imul(HEAP32[$5 + 124 >> 2], 12) | 0; - $0 = HEAP32[$2 >> 2]; - $1 = HEAP32[$2 + 4 >> 2]; - HEAP32[$5 + 96 >> 2] = $0; - HEAP32[$5 + 100 >> 2] = $1; - HEAPF32[$5 + 92 >> 2] = HEAPF32[(HEAP32[$6 + 24 >> 2] + Math_imul(HEAP32[$5 + 124 >> 2], 12) | 0) + 8 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($5 + 84 | 0, HEAPF32[$5 + 328 >> 2], $5 + 96 | 0); - $0 = $5 + 84 | 0; - if (b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($0, $0) > Math_fround(4)) { - wasm2js_i32$0 = $5, wasm2js_f32$0 = Math_fround(Math_fround(2) / b2Vec2__Length_28_29_20const($5 + 84 | 0)), - HEAPF32[wasm2js_i32$0 + 80 >> 2] = wasm2js_f32$0; - b2Vec2__operator___28float_29($5 + 96 | 0, HEAPF32[$5 + 80 >> 2]); - } - HEAPF32[$5 + 76 >> 2] = HEAPF32[$5 + 328 >> 2] * HEAPF32[$5 + 92 >> 2]; - if (Math_fround(HEAPF32[$5 + 76 >> 2] * HEAPF32[$5 + 76 >> 2]) > Math_fround(2.4674012660980225)) { - wasm2js_i32$0 = $5, wasm2js_f32$0 = Math_fround(Math_fround(1.5707963705062866) / float_20b2Abs_float__28float_29(HEAPF32[$5 + 76 >> 2])), - HEAPF32[wasm2js_i32$0 + 72 >> 2] = wasm2js_f32$0; - HEAPF32[$5 + 92 >> 2] = HEAPF32[$5 + 92 >> 2] * HEAPF32[$5 + 72 >> 2]; - } - operator__28float_2c_20b2Vec2_20const__29($5 - -64 | 0, HEAPF32[$5 + 328 >> 2], $5 + 96 | 0); - b2Vec2__operator___28b2Vec2_20const__29($5 + 112 | 0, $5 - -64 | 0); - HEAPF32[$5 + 108 >> 2] = Math_fround(HEAPF32[$5 + 328 >> 2] * HEAPF32[$5 + 92 >> 2]) + HEAPF32[$5 + 108 >> 2]; - $0 = HEAP32[$5 + 116 >> 2]; - $1 = HEAP32[$5 + 112 >> 2]; - $2 = $1; - $1 = HEAP32[$6 + 20 >> 2] + Math_imul(HEAP32[$5 + 124 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[$6 + 20 >> 2] + Math_imul(HEAP32[$5 + 124 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$5 + 108 >> 2]; - $1 = HEAP32[$5 + 100 >> 2]; - $0 = HEAP32[$5 + 96 >> 2]; - $2 = $0; - $0 = HEAP32[$6 + 24 >> 2] + Math_imul(HEAP32[$5 + 124 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[$6 + 24 >> 2] + Math_imul(HEAP32[$5 + 124 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$5 + 92 >> 2]; - HEAP32[$5 + 124 >> 2] = HEAP32[$5 + 124 >> 2] + 1; - continue; - } - break; - } - b2Timer__Reset_28_29($5 + 334 | 0); - HEAP8[$5 + 63 | 0] = 0; - HEAP32[$5 + 56 >> 2] = 0; - while (1) { - if (HEAP32[$5 + 56 >> 2] < HEAP32[HEAP32[$5 + 340 >> 2] + 16 >> 2]) { - wasm2js_i32$0 = $5, wasm2js_i32$1 = b2ContactSolver__SolvePositionConstraints_28_29($5 + 140 | 0) & 1, - HEAP8[wasm2js_i32$0 + 55 | 0] = wasm2js_i32$1; - HEAP8[$5 + 54 | 0] = 1; - HEAP32[$5 + 48 >> 2] = 0; - while (1) { - if (HEAP32[$5 + 48 >> 2] < HEAP32[$6 + 32 >> 2]) { - $0 = HEAP32[HEAP32[$6 + 16 >> 2] + (HEAP32[$5 + 48 >> 2] << 2) >> 2]; - wasm2js_i32$0 = $5, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 40 >> 2]]($0, $5 + 236 | 0) & 1, - HEAP8[wasm2js_i32$0 + 47 | 0] = wasm2js_i32$1; - $0 = 0; - $0 = HEAP8[$5 + 54 | 0] & 1 ? HEAPU8[$5 + 47 | 0] : $0; - HEAP8[$5 + 54 | 0] = $0 & 1; - HEAP32[$5 + 48 >> 2] = HEAP32[$5 + 48 >> 2] + 1; - continue; - } - break; - } - if (!(HEAP8[$5 + 55 | 0] & 1) | !(HEAP8[$5 + 54 | 0] & 1)) { - HEAP32[$5 + 56 >> 2] = HEAP32[$5 + 56 >> 2] + 1; - continue; - } else { - HEAP8[$5 + 63 | 0] = 1; - } - } - break; - } - HEAP32[$5 + 40 >> 2] = 0; - while (1) { - if (HEAP32[$5 + 40 >> 2] < HEAP32[$6 + 28 >> 2]) { - HEAP32[$5 + 36 >> 2] = HEAP32[HEAP32[$6 + 8 >> 2] + (HEAP32[$5 + 40 >> 2] << 2) >> 2]; - $2 = HEAP32[$6 + 20 >> 2] + Math_imul(HEAP32[$5 + 40 >> 2], 12) | 0; - $1 = HEAP32[$2 >> 2]; - $0 = HEAP32[$2 + 4 >> 2]; - $2 = $1; - $1 = HEAP32[$5 + 36 >> 2]; - HEAP32[$1 + 44 >> 2] = $2; - HEAP32[$1 + 48 >> 2] = $0; - HEAPF32[HEAP32[$5 + 36 >> 2] + 56 >> 2] = HEAPF32[(HEAP32[$6 + 20 >> 2] + Math_imul(HEAP32[$5 + 40 >> 2], 12) | 0) + 8 >> 2]; - $2 = HEAP32[$6 + 24 >> 2] + Math_imul(HEAP32[$5 + 40 >> 2], 12) | 0; - $0 = HEAP32[$2 >> 2]; - $1 = HEAP32[$2 + 4 >> 2]; - $2 = $0; - $0 = HEAP32[$5 + 36 >> 2]; - HEAP32[$0 + 64 >> 2] = $2; - HEAP32[$0 + 68 >> 2] = $1; - HEAPF32[HEAP32[$5 + 36 >> 2] + 72 >> 2] = HEAPF32[(HEAP32[$6 + 24 >> 2] + Math_imul(HEAP32[$5 + 40 >> 2], 12) | 0) + 8 >> 2]; - b2Body__SynchronizeTransform_28_29(HEAP32[$5 + 36 >> 2]); - HEAP32[$5 + 40 >> 2] = HEAP32[$5 + 40 >> 2] + 1; - continue; - } - break; - } - $7 = b2Timer__GetMilliseconds_28_29_20const($5 + 334 | 0); - HEAPF32[HEAP32[$5 + 344 >> 2] + 20 >> 2] = $7; - b2Island__Report_28b2ContactVelocityConstraint_20const__29($6, HEAP32[$5 + 180 >> 2]); - if (HEAP8[$5 + 335 | 0] & 1) { - HEAPF32[$5 + 32 >> 2] = 34028234663852886e22; - HEAPF32[$5 + 28 >> 2] = 9999999747378752e-20; - HEAPF32[$5 + 24 >> 2] = .001218469929881394; - HEAP32[$5 + 20 >> 2] = 0; - while (1) { - if (HEAP32[$5 + 20 >> 2] < HEAP32[$6 + 28 >> 2]) { - HEAP32[$5 + 16 >> 2] = HEAP32[HEAP32[$6 + 8 >> 2] + (HEAP32[$5 + 20 >> 2] << 2) >> 2]; - if (b2Body__GetType_28_29_20const(HEAP32[$5 + 16 >> 2])) { - label$27: { - label$28: { - if (!(!(HEAPU16[HEAP32[$5 + 16 >> 2] + 4 >> 1] & 4) | Math_fround(HEAPF32[HEAP32[$5 + 16 >> 2] + 72 >> 2] * HEAPF32[HEAP32[$5 + 16 >> 2] + 72 >> 2]) > Math_fround(.001218469929881394))) { - if (!(b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$5 + 16 >> 2] - -64 | 0, HEAP32[$5 + 16 >> 2] - -64 | 0) > Math_fround(9999999747378752e-20))) { - break label$28; - } - } - HEAPF32[HEAP32[$5 + 16 >> 2] + 144 >> 2] = 0; - HEAPF32[$5 + 32 >> 2] = 0; - break label$27; - } - $0 = HEAP32[$5 + 16 >> 2]; - HEAPF32[$0 + 144 >> 2] = HEAPF32[$0 + 144 >> 2] + HEAPF32[$5 + 328 >> 2]; - wasm2js_i32$0 = $5, wasm2js_f32$0 = float_20b2Min_float__28float_2c_20float_29(HEAPF32[$5 + 32 >> 2], HEAPF32[HEAP32[$5 + 16 >> 2] + 144 >> 2]), - HEAPF32[wasm2js_i32$0 + 32 >> 2] = wasm2js_f32$0; - } - } - HEAP32[$5 + 20 >> 2] = HEAP32[$5 + 20 >> 2] + 1; - continue; - } - break; - } - if (!(!(HEAPF32[$5 + 32 >> 2] >= Math_fround(.5)) | !(HEAP8[$5 + 63 | 0] & 1))) { - HEAP32[$5 + 12 >> 2] = 0; - while (1) { - if (HEAP32[$5 + 12 >> 2] < HEAP32[$6 + 28 >> 2]) { - HEAP32[$5 + 8 >> 2] = HEAP32[HEAP32[$6 + 8 >> 2] + (HEAP32[$5 + 12 >> 2] << 2) >> 2]; - b2Body__SetAwake_28bool_29(HEAP32[$5 + 8 >> 2], 0); - HEAP32[$5 + 12 >> 2] = HEAP32[$5 + 12 >> 2] + 1; - continue; - } - break; - } - } - } - b2ContactSolver___b2ContactSolver_28_29($5 + 140 | 0); - __stack_pointer = $5 + 352 | 0; -} - -function b2ContactSolver__InitializeVelocityConstraints_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = Math_fround(0), $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_f32$0 = Math_fround(0); - $1 = __stack_pointer - 400 | 0; - __stack_pointer = $1; - HEAP32[$1 + 396 >> 2] = $0; - $4 = HEAP32[$1 + 396 >> 2]; - HEAP32[$1 + 392 >> 2] = 0; - while (1) { - if (HEAP32[$1 + 392 >> 2] < HEAP32[$4 + 48 >> 2]) { - HEAP32[$1 + 388 >> 2] = HEAP32[$4 + 40 >> 2] + Math_imul(HEAP32[$1 + 392 >> 2], 156); - HEAP32[$1 + 384 >> 2] = HEAP32[$4 + 36 >> 2] + Math_imul(HEAP32[$1 + 392 >> 2], 88); - HEAPF32[$1 + 380 >> 2] = HEAPF32[HEAP32[$1 + 384 >> 2] + 76 >> 2]; - HEAPF32[$1 + 376 >> 2] = HEAPF32[HEAP32[$1 + 384 >> 2] + 80 >> 2]; - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Contact__GetManifold_28_29(HEAP32[HEAP32[$4 + 44 >> 2] + (HEAP32[HEAP32[$1 + 388 >> 2] + 152 >> 2] << 2) >> 2]), - HEAP32[wasm2js_i32$0 + 372 >> 2] = wasm2js_i32$1; - HEAP32[$1 + 368 >> 2] = HEAP32[HEAP32[$1 + 388 >> 2] + 112 >> 2]; - HEAP32[$1 + 364 >> 2] = HEAP32[HEAP32[$1 + 388 >> 2] + 116 >> 2]; - HEAPF32[$1 + 360 >> 2] = HEAPF32[HEAP32[$1 + 388 >> 2] + 120 >> 2]; - HEAPF32[$1 + 356 >> 2] = HEAPF32[HEAP32[$1 + 388 >> 2] + 124 >> 2]; - HEAPF32[$1 + 352 >> 2] = HEAPF32[HEAP32[$1 + 388 >> 2] + 128 >> 2]; - HEAPF32[$1 + 348 >> 2] = HEAPF32[HEAP32[$1 + 388 >> 2] + 132 >> 2]; - $3 = HEAP32[$1 + 384 >> 2]; - $2 = HEAP32[$3 + 48 >> 2]; - $0 = HEAP32[$3 + 52 >> 2]; - HEAP32[$1 + 336 >> 2] = $2; - HEAP32[$1 + 340 >> 2] = $0; - $3 = HEAP32[$1 + 384 >> 2]; - $0 = HEAP32[$3 + 56 >> 2]; - $2 = HEAP32[$3 + 60 >> 2]; - HEAP32[$1 + 328 >> 2] = $0; - HEAP32[$1 + 332 >> 2] = $2; - $3 = HEAP32[$4 + 24 >> 2] + Math_imul(HEAP32[$1 + 368 >> 2], 12) | 0; - $2 = HEAP32[$3 >> 2]; - $0 = HEAP32[$3 + 4 >> 2]; - HEAP32[$1 + 320 >> 2] = $2; - HEAP32[$1 + 324 >> 2] = $0; - HEAPF32[$1 + 316 >> 2] = HEAPF32[(HEAP32[$4 + 24 >> 2] + Math_imul(HEAP32[$1 + 368 >> 2], 12) | 0) + 8 >> 2]; - $3 = HEAP32[$4 + 28 >> 2] + Math_imul(HEAP32[$1 + 368 >> 2], 12) | 0; - $0 = HEAP32[$3 >> 2]; - $2 = HEAP32[$3 + 4 >> 2]; - HEAP32[$1 + 304 >> 2] = $0; - HEAP32[$1 + 308 >> 2] = $2; - HEAPF32[$1 + 300 >> 2] = HEAPF32[(HEAP32[$4 + 28 >> 2] + Math_imul(HEAP32[$1 + 368 >> 2], 12) | 0) + 8 >> 2]; - $3 = HEAP32[$4 + 24 >> 2] + Math_imul(HEAP32[$1 + 364 >> 2], 12) | 0; - $2 = HEAP32[$3 >> 2]; - $0 = HEAP32[$3 + 4 >> 2]; - HEAP32[$1 + 288 >> 2] = $2; - HEAP32[$1 + 292 >> 2] = $0; - HEAPF32[$1 + 284 >> 2] = HEAPF32[(HEAP32[$4 + 24 >> 2] + Math_imul(HEAP32[$1 + 364 >> 2], 12) | 0) + 8 >> 2]; - $3 = HEAP32[$4 + 28 >> 2] + Math_imul(HEAP32[$1 + 364 >> 2], 12) | 0; - $0 = HEAP32[$3 >> 2]; - $2 = HEAP32[$3 + 4 >> 2]; - HEAP32[$1 + 272 >> 2] = $0; - HEAP32[$1 + 276 >> 2] = $2; - HEAPF32[$1 + 268 >> 2] = HEAPF32[(HEAP32[$4 + 28 >> 2] + Math_imul(HEAP32[$1 + 364 >> 2], 12) | 0) + 8 >> 2]; - if (HEAP32[HEAP32[$1 + 372 >> 2] + 60 >> 2] <= 0) { - __assert_fail(12478, 5644, 176, 3504); - wasm2js_trap(); - } else { - b2Transform__b2Transform_28_29($1 + 252 | 0); - b2Transform__b2Transform_28_29($1 + 236 | 0); - b2Rot__Set_28float_29($1 + 260 | 0, HEAPF32[$1 + 316 >> 2]); - b2Rot__Set_28float_29($1 + 244 | 0, HEAPF32[$1 + 284 >> 2]); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($1 + 220 | 0, $1 + 260 | 0, $1 + 336 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 228 | 0, $1 + 320 | 0, $1 + 220 | 0); - $0 = HEAP32[$1 + 232 >> 2]; - $2 = HEAP32[$1 + 228 >> 2]; - $3 = $2; - $2 = $1 + 252 | 0; - HEAP32[$2 >> 2] = $3; - HEAP32[$2 + 4 >> 2] = $0; - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($1 + 204 | 0, $1 + 244 | 0, $1 + 328 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 212 | 0, $1 + 288 | 0, $1 + 204 | 0); - $2 = HEAP32[$1 + 216 >> 2]; - $0 = HEAP32[$1 + 212 >> 2]; - $3 = $0; - $0 = $1 + 236 | 0; - HEAP32[$0 >> 2] = $3; - HEAP32[$0 + 4 >> 2] = $2; - b2WorldManifold__b2WorldManifold_28_29($1 + 172 | 0); - b2WorldManifold__Initialize_28b2Manifold_20const__2c_20b2Transform_20const__2c_20float_2c_20b2Transform_20const__2c_20float_29($1 + 172 | 0, HEAP32[$1 + 372 >> 2], $1 + 252 | 0, HEAPF32[$1 + 380 >> 2], $1 + 236 | 0, HEAPF32[$1 + 376 >> 2]); - $3 = $1 + 172 | 0; - $2 = HEAP32[$3 >> 2]; - $0 = HEAP32[$3 + 4 >> 2]; - $3 = $2; - $2 = HEAP32[$1 + 388 >> 2]; - HEAP32[$2 + 72 >> 2] = $3; - HEAP32[$2 + 76 >> 2] = $0; - HEAP32[$1 + 168 >> 2] = HEAP32[HEAP32[$1 + 388 >> 2] + 148 >> 2]; - HEAP32[$1 + 164 >> 2] = 0; - while (1) { - if (HEAP32[$1 + 164 >> 2] < HEAP32[$1 + 168 >> 2]) { - HEAP32[$1 + 160 >> 2] = HEAP32[$1 + 388 >> 2] + Math_imul(HEAP32[$1 + 164 >> 2], 36); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 152 | 0, ($1 + 180 | 0) + (HEAP32[$1 + 164 >> 2] << 3) | 0, $1 + 320 | 0); - $2 = HEAP32[$1 + 156 >> 2]; - $0 = HEAP32[$1 + 152 >> 2]; - $3 = $0; - $0 = HEAP32[$1 + 160 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$0 + 4 >> 2] = $2; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 144 | 0, ($1 + 180 | 0) + (HEAP32[$1 + 164 >> 2] << 3) | 0, $1 + 288 | 0); - $0 = HEAP32[$1 + 148 >> 2]; - $2 = HEAP32[$1 + 144 >> 2]; - $3 = $2; - $2 = HEAP32[$1 + 160 >> 2]; - HEAP32[$2 + 8 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = $0; - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 160 >> 2], HEAP32[$1 + 388 >> 2] + 72 | 0), - HEAPF32[wasm2js_i32$0 + 140 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 160 >> 2] + 8 | 0, HEAP32[$1 + 388 >> 2] + 72 | 0), - HEAPF32[wasm2js_i32$0 + 136 >> 2] = wasm2js_f32$0; - HEAPF32[$1 + 132 >> 2] = Math_fround(Math_fround(HEAPF32[$1 + 348 >> 2] * HEAPF32[$1 + 136 >> 2]) * HEAPF32[$1 + 136 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$1 + 352 >> 2] * HEAPF32[$1 + 140 >> 2]) * HEAPF32[$1 + 140 >> 2]) + Math_fround(HEAPF32[$1 + 360 >> 2] + HEAPF32[$1 + 356 >> 2])); - $0 = HEAP32[$1 + 160 >> 2]; - if (HEAPF32[$1 + 132 >> 2] > Math_fround(0)) { - $5 = Math_fround(Math_fround(1) / HEAPF32[$1 + 132 >> 2]); - } else { - $5 = Math_fround(0); - } - HEAPF32[$0 + 24 >> 2] = $5; - b2Cross_28b2Vec2_20const__2c_20float_29($1 + 124 | 0, HEAP32[$1 + 388 >> 2] + 72 | 0, Math_fround(1)); - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 160 >> 2], $1 + 124 | 0), - HEAPF32[wasm2js_i32$0 + 120 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 160 >> 2] + 8 | 0, $1 + 124 | 0), - HEAPF32[wasm2js_i32$0 + 116 >> 2] = wasm2js_f32$0; - HEAPF32[$1 + 112 >> 2] = Math_fround(Math_fround(HEAPF32[$1 + 348 >> 2] * HEAPF32[$1 + 116 >> 2]) * HEAPF32[$1 + 116 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$1 + 352 >> 2] * HEAPF32[$1 + 120 >> 2]) * HEAPF32[$1 + 120 >> 2]) + Math_fround(HEAPF32[$1 + 360 >> 2] + HEAPF32[$1 + 356 >> 2])); - $0 = HEAP32[$1 + 160 >> 2]; - if (HEAPF32[$1 + 112 >> 2] > Math_fround(0)) { - $5 = Math_fround(Math_fround(1) / HEAPF32[$1 + 112 >> 2]); - } else { - $5 = Math_fround(0); - } - HEAPF32[$0 + 28 >> 2] = $5; - HEAPF32[HEAP32[$1 + 160 >> 2] + 32 >> 2] = 0; - $0 = HEAP32[$1 + 388 >> 2]; - b2Cross_28float_2c_20b2Vec2_20const__29($1 + 76 | 0, HEAPF32[$1 + 268 >> 2], HEAP32[$1 + 160 >> 2] + 8 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($1 + 84 | 0, $1 + 272 | 0, $1 + 76 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 92 | 0, $1 + 84 | 0, $1 + 304 | 0); - b2Cross_28float_2c_20b2Vec2_20const__29($1 + 68 | 0, HEAPF32[$1 + 300 >> 2], HEAP32[$1 + 160 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 100 | 0, $1 + 92 | 0, $1 + 68 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($0 + 72 | 0, $1 + 100 | 0), - HEAPF32[wasm2js_i32$0 + 108 >> 2] = wasm2js_f32$0; - if (HEAPF32[$1 + 108 >> 2] < Math_fround(-1)) { - HEAPF32[HEAP32[$1 + 160 >> 2] + 32 >> 2] = Math_fround(-HEAPF32[HEAP32[$1 + 388 >> 2] + 140 >> 2]) * HEAPF32[$1 + 108 >> 2]; - } - HEAP32[$1 + 164 >> 2] = HEAP32[$1 + 164 >> 2] + 1; - continue; - } - break; - } - if (!(!(HEAP8[29160] & 1) | HEAP32[HEAP32[$1 + 388 >> 2] + 148 >> 2] != 2)) { - HEAP32[$1 + 64 >> 2] = HEAP32[$1 + 388 >> 2]; - HEAP32[$1 + 60 >> 2] = HEAP32[$1 + 388 >> 2] + 36; - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 64 >> 2], HEAP32[$1 + 388 >> 2] + 72 | 0), - HEAPF32[wasm2js_i32$0 + 56 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 64 >> 2] + 8 | 0, HEAP32[$1 + 388 >> 2] + 72 | 0), - HEAPF32[wasm2js_i32$0 + 52 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 60 >> 2], HEAP32[$1 + 388 >> 2] + 72 | 0), - HEAPF32[wasm2js_i32$0 + 48 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 60 >> 2] + 8 | 0, HEAP32[$1 + 388 >> 2] + 72 | 0), - HEAPF32[wasm2js_i32$0 + 44 >> 2] = wasm2js_f32$0; - HEAPF32[$1 + 40 >> 2] = Math_fround(Math_fround(HEAPF32[$1 + 348 >> 2] * HEAPF32[$1 + 52 >> 2]) * HEAPF32[$1 + 52 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$1 + 352 >> 2] * HEAPF32[$1 + 56 >> 2]) * HEAPF32[$1 + 56 >> 2]) + Math_fround(HEAPF32[$1 + 360 >> 2] + HEAPF32[$1 + 356 >> 2])); - HEAPF32[$1 + 36 >> 2] = Math_fround(Math_fround(HEAPF32[$1 + 348 >> 2] * HEAPF32[$1 + 44 >> 2]) * HEAPF32[$1 + 44 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$1 + 352 >> 2] * HEAPF32[$1 + 48 >> 2]) * HEAPF32[$1 + 48 >> 2]) + Math_fround(HEAPF32[$1 + 360 >> 2] + HEAPF32[$1 + 356 >> 2])); - HEAPF32[$1 + 32 >> 2] = Math_fround(Math_fround(HEAPF32[$1 + 348 >> 2] * HEAPF32[$1 + 52 >> 2]) * HEAPF32[$1 + 44 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$1 + 352 >> 2] * HEAPF32[$1 + 56 >> 2]) * HEAPF32[$1 + 48 >> 2]) + Math_fround(HEAPF32[$1 + 360 >> 2] + HEAPF32[$1 + 356 >> 2])); - HEAPF32[$1 + 28 >> 2] = 1e3; - label$13: { - if (Math_fround(HEAPF32[$1 + 40 >> 2] * HEAPF32[$1 + 40 >> 2]) < Math_fround(Math_fround(Math_fround(HEAPF32[$1 + 40 >> 2] * HEAPF32[$1 + 36 >> 2]) - Math_fround(HEAPF32[$1 + 32 >> 2] * HEAPF32[$1 + 32 >> 2])) * Math_fround(1e3))) { - b2Vec2__Set_28float_2c_20float_29(HEAP32[$1 + 388 >> 2] + 96 | 0, HEAPF32[$1 + 40 >> 2], HEAPF32[$1 + 32 >> 2]); - b2Vec2__Set_28float_2c_20float_29(HEAP32[$1 + 388 >> 2] + 104 | 0, HEAPF32[$1 + 32 >> 2], HEAPF32[$1 + 36 >> 2]); - b2Mat22__GetInverse_28_29_20const($1 + 12 | 0, HEAP32[$1 + 388 >> 2] + 96 | 0); - $2 = HEAP32[$1 + 16 >> 2]; - $0 = HEAP32[$1 + 12 >> 2]; - $6 = $0; - $3 = HEAP32[$1 + 388 >> 2]; - $0 = $3; - HEAP32[$0 + 80 >> 2] = $6; - HEAP32[$0 + 84 >> 2] = $2; - $0 = HEAP32[$1 + 24 >> 2]; - $2 = HEAP32[$1 + 20 >> 2]; - $6 = $2; - $2 = $3; - HEAP32[$2 + 88 >> 2] = $6; - HEAP32[$2 + 92 >> 2] = $0; - break label$13; - } - HEAP32[HEAP32[$1 + 388 >> 2] + 148 >> 2] = 1; - } - } - HEAP32[$1 + 392 >> 2] = HEAP32[$1 + 392 >> 2] + 1; - continue; - } - } - break; - } - __stack_pointer = $1 + 400 | 0; -} - -function b2PrismaticJoint__SolvePositionConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 400 | 0; - __stack_pointer = $2; - HEAP32[$2 + 396 >> 2] = $0; - HEAP32[$2 + 392 >> 2] = $1; - $3 = HEAP32[$2 + 396 >> 2]; - $4 = HEAP32[HEAP32[$2 + 392 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 144 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 384 >> 2] = $0; - HEAP32[$2 + 388 >> 2] = $1; - HEAPF32[$2 + 380 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 392 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 144 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 392 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 148 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 368 >> 2] = $1; - HEAP32[$2 + 372 >> 2] = $0; - HEAPF32[$2 + 364 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 392 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 148 >> 2], 12) | 0) + 8 >> 2]; - b2Rot__b2Rot_28float_29($2 + 356 | 0, HEAPF32[$2 + 380 >> 2]); - b2Rot__b2Rot_28float_29($2 + 348 | 0, HEAPF32[$2 + 364 >> 2]); - HEAPF32[$2 + 344 >> 2] = HEAPF32[$3 + 168 >> 2]; - HEAPF32[$2 + 340 >> 2] = HEAPF32[$3 + 172 >> 2]; - HEAPF32[$2 + 336 >> 2] = HEAPF32[$3 + 176 >> 2]; - HEAPF32[$2 + 332 >> 2] = HEAPF32[$3 + 180 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 316 | 0, $3 + 68 | 0, $3 + 152 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 324 | 0, $2 + 356 | 0, $2 + 316 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 300 | 0, $3 + 76 | 0, $3 + 160 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 308 | 0, $2 + 348 | 0, $2 + 300 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 276 | 0, $2 + 368 | 0, $2 + 308 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 284 | 0, $2 + 276 | 0, $2 + 384 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 292 | 0, $2 + 284 | 0, $2 + 324 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 268 | 0, $2 + 356 | 0, $3 + 84 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 256 | 0, $2 + 292 | 0, $2 + 324 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 256 | 0, $2 + 268 | 0), - HEAPF32[wasm2js_i32$0 + 264 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 308 | 0, $2 + 268 | 0), - HEAPF32[wasm2js_i32$0 + 252 >> 2] = wasm2js_f32$0; - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 244 | 0, $2 + 356 | 0, $3 + 92 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 232 | 0, $2 + 292 | 0, $2 + 324 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 232 | 0, $2 + 244 | 0), - HEAPF32[wasm2js_i32$0 + 240 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 308 | 0, $2 + 244 | 0), - HEAPF32[wasm2js_i32$0 + 228 >> 2] = wasm2js_f32$0; - b2Vec3__b2Vec3_28_29($2 + 216 | 0); - b2Vec2__b2Vec2_28_29($2 + 208 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 244 | 0, $2 + 292 | 0), - HEAPF32[wasm2js_i32$0 + 208 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 212 >> 2] = Math_fround(HEAPF32[$2 + 364 >> 2] - HEAPF32[$2 + 380 >> 2]) - HEAPF32[$3 + 100 >> 2]; - wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20b2Abs_float__28float_29(HEAPF32[$2 + 208 >> 2]), - HEAPF32[wasm2js_i32$0 + 204 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20b2Abs_float__28float_29(HEAPF32[$2 + 212 >> 2]), - HEAPF32[wasm2js_i32$0 + 200 >> 2] = wasm2js_f32$0; - HEAP8[$2 + 199 | 0] = 0; - HEAPF32[$2 + 192 >> 2] = 0; - if (HEAP8[$3 + 136 | 0] & 1) { - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 268 | 0, $2 + 292 | 0), - HEAPF32[wasm2js_i32$0 + 188 >> 2] = wasm2js_f32$0; - label$2: { - if (float_20b2Abs_float__28float_29(Math_fround(HEAPF32[$3 + 124 >> 2] - HEAPF32[$3 + 120 >> 2])) < Math_fround(.009999999776482582)) { - wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20b2Clamp_float__28float_2c_20float_2c_20float_29(HEAPF32[$2 + 188 >> 2], Math_fround(-.20000000298023224), Math_fround(.20000000298023224)), - HEAPF32[wasm2js_i32$0 + 192 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20b2Max_float__28float_2c_20float_29(HEAPF32[$2 + 204 >> 2], float_20b2Abs_float__28float_29(HEAPF32[$2 + 188 >> 2])), - HEAPF32[wasm2js_i32$0 + 204 >> 2] = wasm2js_f32$0; - HEAP8[$2 + 199 | 0] = 1; - break label$2; - } - label$4: { - if (HEAPF32[$2 + 188 >> 2] <= HEAPF32[$3 + 120 >> 2]) { - wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20b2Clamp_float__28float_2c_20float_2c_20float_29(Math_fround(Math_fround(HEAPF32[$2 + 188 >> 2] - HEAPF32[$3 + 120 >> 2]) + Math_fround(.004999999888241291)), Math_fround(-.20000000298023224), Math_fround(0)), - HEAPF32[wasm2js_i32$0 + 192 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20b2Max_float__28float_2c_20float_29(HEAPF32[$2 + 204 >> 2], Math_fround(HEAPF32[$3 + 120 >> 2] - HEAPF32[$2 + 188 >> 2])), - HEAPF32[wasm2js_i32$0 + 204 >> 2] = wasm2js_f32$0; - HEAP8[$2 + 199 | 0] = 1; - break label$4; - } - if (HEAPF32[$2 + 188 >> 2] >= HEAPF32[$3 + 124 >> 2]) { - wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20b2Clamp_float__28float_2c_20float_2c_20float_29(Math_fround(Math_fround(HEAPF32[$2 + 188 >> 2] - HEAPF32[$3 + 124 >> 2]) + Math_fround(-.004999999888241291)), Math_fround(0), Math_fround(.20000000298023224)), - HEAPF32[wasm2js_i32$0 + 192 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20b2Max_float__28float_2c_20float_29(HEAPF32[$2 + 204 >> 2], Math_fround(HEAPF32[$2 + 188 >> 2] - HEAPF32[$3 + 124 >> 2])), - HEAPF32[wasm2js_i32$0 + 204 >> 2] = wasm2js_f32$0; - HEAP8[$2 + 199 | 0] = 1; - } - } - } - } - label$7: { - if (HEAP8[$2 + 199 | 0] & 1) { - HEAPF32[$2 + 184 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 332 >> 2] * HEAPF32[$2 + 228 >> 2]) * HEAPF32[$2 + 228 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 336 >> 2] * HEAPF32[$2 + 240 >> 2]) * HEAPF32[$2 + 240 >> 2]) + Math_fround(HEAPF32[$2 + 344 >> 2] + HEAPF32[$2 + 340 >> 2])); - HEAPF32[$2 + 180 >> 2] = Math_fround(HEAPF32[$2 + 336 >> 2] * HEAPF32[$2 + 240 >> 2]) + Math_fround(HEAPF32[$2 + 332 >> 2] * HEAPF32[$2 + 228 >> 2]); - HEAPF32[$2 + 176 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 336 >> 2] * HEAPF32[$2 + 240 >> 2]) * HEAPF32[$2 + 264 >> 2]) + Math_fround(Math_fround(HEAPF32[$2 + 332 >> 2] * HEAPF32[$2 + 228 >> 2]) * HEAPF32[$2 + 252 >> 2]); - HEAPF32[$2 + 172 >> 2] = HEAPF32[$2 + 336 >> 2] + HEAPF32[$2 + 332 >> 2]; - if (HEAPF32[$2 + 172 >> 2] == Math_fround(0)) { - HEAPF32[$2 + 172 >> 2] = 1; - } - HEAPF32[$2 + 168 >> 2] = Math_fround(HEAPF32[$2 + 336 >> 2] * HEAPF32[$2 + 264 >> 2]) + Math_fround(HEAPF32[$2 + 332 >> 2] * HEAPF32[$2 + 252 >> 2]); - HEAPF32[$2 + 164 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 332 >> 2] * HEAPF32[$2 + 252 >> 2]) * HEAPF32[$2 + 252 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 336 >> 2] * HEAPF32[$2 + 264 >> 2]) * HEAPF32[$2 + 264 >> 2]) + Math_fround(HEAPF32[$2 + 344 >> 2] + HEAPF32[$2 + 340 >> 2])); - b2Mat33__b2Mat33_28_29($2 + 128 | 0); - b2Vec3__Set_28float_2c_20float_2c_20float_29($2 + 128 | 0, HEAPF32[$2 + 184 >> 2], HEAPF32[$2 + 180 >> 2], HEAPF32[$2 + 176 >> 2]); - b2Vec3__Set_28float_2c_20float_2c_20float_29($2 + 140 | 0, HEAPF32[$2 + 180 >> 2], HEAPF32[$2 + 172 >> 2], HEAPF32[$2 + 168 >> 2]); - b2Vec3__Set_28float_2c_20float_2c_20float_29($2 + 152 | 0, HEAPF32[$2 + 176 >> 2], HEAPF32[$2 + 168 >> 2], HEAPF32[$2 + 164 >> 2]); - b2Vec3__b2Vec3_28_29($2 + 116 | 0); - HEAPF32[$2 + 116 >> 2] = HEAPF32[$2 + 208 >> 2]; - HEAPF32[$2 + 120 >> 2] = HEAPF32[$2 + 212 >> 2]; - HEAPF32[$2 + 124 >> 2] = HEAPF32[$2 + 192 >> 2]; - b2Vec3__operator__28_29_20const($2 + 92 | 0, $2 + 116 | 0); - b2Mat33__Solve33_28b2Vec3_20const__29_20const($2 + 104 | 0, $2 + 128 | 0, $2 + 92 | 0); - HEAP32[$2 + 224 >> 2] = HEAP32[$2 + 112 >> 2]; - $1 = HEAP32[$2 + 108 >> 2]; - $0 = HEAP32[$2 + 104 >> 2]; - HEAP32[$2 + 216 >> 2] = $0; - HEAP32[$2 + 220 >> 2] = $1; - break label$7; - } - HEAPF32[$2 + 88 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 332 >> 2] * HEAPF32[$2 + 228 >> 2]) * HEAPF32[$2 + 228 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 336 >> 2] * HEAPF32[$2 + 240 >> 2]) * HEAPF32[$2 + 240 >> 2]) + Math_fround(HEAPF32[$2 + 344 >> 2] + HEAPF32[$2 + 340 >> 2])); - HEAPF32[$2 + 84 >> 2] = Math_fround(HEAPF32[$2 + 336 >> 2] * HEAPF32[$2 + 240 >> 2]) + Math_fround(HEAPF32[$2 + 332 >> 2] * HEAPF32[$2 + 228 >> 2]); - HEAPF32[$2 + 80 >> 2] = HEAPF32[$2 + 336 >> 2] + HEAPF32[$2 + 332 >> 2]; - if (HEAPF32[$2 + 80 >> 2] == Math_fround(0)) { - HEAPF32[$2 + 80 >> 2] = 1; - } - b2Mat22__b2Mat22_28_29($2 - -64 | 0); - b2Vec2__Set_28float_2c_20float_29($2 - -64 | 0, HEAPF32[$2 + 88 >> 2], HEAPF32[$2 + 84 >> 2]); - b2Vec2__Set_28float_2c_20float_29($2 + 72 | 0, HEAPF32[$2 + 84 >> 2], HEAPF32[$2 + 80 >> 2]); - b2Vec2__operator__28_29_20const($2 + 48 | 0, $2 + 208 | 0); - b2Mat22__Solve_28b2Vec2_20const__29_20const($2 + 56 | 0, $2 - -64 | 0, $2 + 48 | 0); - HEAPF32[$2 + 216 >> 2] = HEAPF32[$2 + 56 >> 2]; - HEAPF32[$2 + 220 >> 2] = HEAPF32[$2 + 60 >> 2]; - HEAPF32[$2 + 224 >> 2] = 0; - } - operator__28float_2c_20b2Vec2_20const__29($2 + 32 | 0, HEAPF32[$2 + 216 >> 2], $2 + 244 | 0); - operator__28float_2c_20b2Vec2_20const__29($2 + 24 | 0, HEAPF32[$2 + 224 >> 2], $2 + 268 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 40 | 0, $2 + 32 | 0, $2 + 24 | 0); - HEAPF32[$2 + 20 >> 2] = Math_fround(HEAPF32[$2 + 224 >> 2] * HEAPF32[$2 + 264 >> 2]) + Math_fround(Math_fround(HEAPF32[$2 + 216 >> 2] * HEAPF32[$2 + 240 >> 2]) + HEAPF32[$2 + 220 >> 2]); - HEAPF32[$2 + 16 >> 2] = Math_fround(HEAPF32[$2 + 224 >> 2] * HEAPF32[$2 + 252 >> 2]) + Math_fround(Math_fround(HEAPF32[$2 + 216 >> 2] * HEAPF32[$2 + 228 >> 2]) + HEAPF32[$2 + 220 >> 2]); - operator__28float_2c_20b2Vec2_20const__29($2 + 8 | 0, HEAPF32[$2 + 344 >> 2], $2 + 40 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 384 | 0, $2 + 8 | 0); - HEAPF32[$2 + 380 >> 2] = Math_fround(Math_fround(-HEAPF32[$2 + 336 >> 2]) * HEAPF32[$2 + 20 >> 2]) + HEAPF32[$2 + 380 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2, HEAPF32[$2 + 340 >> 2], $2 + 40 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 368 | 0, $2); - HEAPF32[$2 + 364 >> 2] = Math_fround(HEAPF32[$2 + 332 >> 2] * HEAPF32[$2 + 16 >> 2]) + HEAPF32[$2 + 364 >> 2]; - $0 = HEAP32[$2 + 388 >> 2]; - $1 = HEAP32[$2 + 384 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 392 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 144 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 392 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 144 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 380 >> 2]; - $1 = HEAP32[$2 + 372 >> 2]; - $0 = HEAP32[$2 + 368 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 392 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 148 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 392 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 148 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 364 >> 2]; - __stack_pointer = $2 + 400 | 0; - $5 = HEAPF32[$2 + 204 >> 2] <= Math_fround(.004999999888241291) ? HEAPF32[$2 + 200 >> 2] <= Math_fround(.03490658849477768) : $5; - return $5 | 0; -} - -function b2GearJoint__InitVelocityConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, $5 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $3 = __stack_pointer - 240 | 0; - __stack_pointer = $3; - HEAP32[$3 + 236 >> 2] = $0; - HEAP32[$3 + 232 >> 2] = $1; - $2 = HEAP32[$3 + 236 >> 2]; - HEAP32[$2 + 160 >> 2] = HEAP32[HEAP32[$2 + 48 >> 2] + 8 >> 2]; - HEAP32[$2 + 164 >> 2] = HEAP32[HEAP32[$2 + 52 >> 2] + 8 >> 2]; - HEAP32[$2 + 168 >> 2] = HEAP32[HEAP32[$2 + 84 >> 2] + 8 >> 2]; - HEAP32[$2 + 172 >> 2] = HEAP32[HEAP32[$2 + 88 >> 2] + 8 >> 2]; - $4 = HEAP32[$2 + 48 >> 2]; - $1 = HEAP32[$4 + 28 >> 2]; - $0 = HEAP32[$4 + 32 >> 2]; - HEAP32[$2 + 176 >> 2] = $1; - HEAP32[$2 + 180 >> 2] = $0; - $4 = HEAP32[$2 + 52 >> 2]; - $0 = HEAP32[$4 + 28 >> 2]; - $1 = HEAP32[$4 + 32 >> 2]; - HEAP32[$2 + 184 >> 2] = $0; - HEAP32[$2 + 188 >> 2] = $1; - $4 = HEAP32[$2 + 84 >> 2]; - $1 = HEAP32[$4 + 28 >> 2]; - $0 = HEAP32[$4 + 32 >> 2]; - HEAP32[$2 + 192 >> 2] = $1; - HEAP32[$2 + 196 >> 2] = $0; - $4 = HEAP32[$2 + 88 >> 2]; - $0 = HEAP32[$4 + 28 >> 2]; - $1 = HEAP32[$4 + 32 >> 2]; - HEAP32[$2 + 200 >> 2] = $0; - HEAP32[$2 + 204 >> 2] = $1; - HEAPF32[$2 + 208 >> 2] = HEAPF32[HEAP32[$2 + 48 >> 2] + 120 >> 2]; - HEAPF32[$2 + 212 >> 2] = HEAPF32[HEAP32[$2 + 52 >> 2] + 120 >> 2]; - HEAPF32[$2 + 216 >> 2] = HEAPF32[HEAP32[$2 + 84 >> 2] + 120 >> 2]; - HEAPF32[$2 + 220 >> 2] = HEAPF32[HEAP32[$2 + 88 >> 2] + 120 >> 2]; - HEAPF32[$2 + 224 >> 2] = HEAPF32[HEAP32[$2 + 48 >> 2] + 128 >> 2]; - HEAPF32[$2 + 228 >> 2] = HEAPF32[HEAP32[$2 + 52 >> 2] + 128 >> 2]; - HEAPF32[$2 + 232 >> 2] = HEAPF32[HEAP32[$2 + 84 >> 2] + 128 >> 2]; - HEAPF32[$2 + 236 >> 2] = HEAPF32[HEAP32[$2 + 88 >> 2] + 128 >> 2]; - HEAPF32[$3 + 228 >> 2] = HEAPF32[(HEAP32[HEAP32[$3 + 232 >> 2] + 24 >> 2] + Math_imul(HEAP32[$2 + 160 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$3 + 232 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 160 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$3 + 216 >> 2] = $1; - HEAP32[$3 + 220 >> 2] = $0; - HEAPF32[$3 + 212 >> 2] = HEAPF32[(HEAP32[HEAP32[$3 + 232 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 160 >> 2], 12) | 0) + 8 >> 2]; - HEAPF32[$3 + 208 >> 2] = HEAPF32[(HEAP32[HEAP32[$3 + 232 >> 2] + 24 >> 2] + Math_imul(HEAP32[$2 + 164 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$3 + 232 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 164 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$3 + 200 >> 2] = $0; - HEAP32[$3 + 204 >> 2] = $1; - HEAPF32[$3 + 196 >> 2] = HEAPF32[(HEAP32[HEAP32[$3 + 232 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 164 >> 2], 12) | 0) + 8 >> 2]; - HEAPF32[$3 + 192 >> 2] = HEAPF32[(HEAP32[HEAP32[$3 + 232 >> 2] + 24 >> 2] + Math_imul(HEAP32[$2 + 168 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$3 + 232 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 168 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$3 + 184 >> 2] = $1; - HEAP32[$3 + 188 >> 2] = $0; - HEAPF32[$3 + 180 >> 2] = HEAPF32[(HEAP32[HEAP32[$3 + 232 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 168 >> 2], 12) | 0) + 8 >> 2]; - HEAPF32[$3 + 176 >> 2] = HEAPF32[(HEAP32[HEAP32[$3 + 232 >> 2] + 24 >> 2] + Math_imul(HEAP32[$2 + 172 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$3 + 232 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 172 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$3 + 168 >> 2] = $0; - HEAP32[$3 + 172 >> 2] = $1; - HEAPF32[$3 + 164 >> 2] = HEAPF32[(HEAP32[HEAP32[$3 + 232 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 172 >> 2], 12) | 0) + 8 >> 2]; - b2Rot__b2Rot_28float_29($3 + 156 | 0, HEAPF32[$3 + 228 >> 2]); - b2Rot__b2Rot_28float_29($3 + 148 | 0, HEAPF32[$3 + 208 >> 2]); - b2Rot__b2Rot_28float_29($3 + 140 | 0, HEAPF32[$3 + 192 >> 2]); - b2Rot__b2Rot_28float_29($3 + 132 | 0, HEAPF32[$3 + 176 >> 2]); - HEAPF32[$2 + 272 >> 2] = 0; - label$1: { - if (HEAP32[$2 + 76 >> 2] == 1) { - b2Vec2__SetZero_28_29($2 + 240 | 0); - HEAPF32[$2 + 256 >> 2] = 1; - HEAPF32[$2 + 264 >> 2] = 1; - HEAPF32[$2 + 272 >> 2] = HEAPF32[$2 + 272 >> 2] + Math_fround(HEAPF32[$2 + 224 >> 2] + HEAPF32[$2 + 232 >> 2]); - break label$1; - } - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($3 + 124 | 0, $3 + 140 | 0, $2 + 124 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 108 | 0, $2 + 108 | 0, $2 + 192 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($3 + 116 | 0, $3 + 140 | 0, $3 + 108 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 92 | 0, $2 + 92 | 0, $2 + 176 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($3 + 100 | 0, $3 + 156 | 0, $3 + 92 | 0); - $0 = HEAP32[$3 + 128 >> 2]; - $1 = HEAP32[$3 + 124 >> 2]; - HEAP32[$2 + 240 >> 2] = $1; - HEAP32[$2 + 244 >> 2] = $0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 116 | 0, $3 + 124 | 0), - HEAPF32[wasm2js_i32$0 + 264 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 100 | 0, $3 + 124 | 0), - HEAPF32[wasm2js_i32$0 + 256 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 272 >> 2] = HEAPF32[$2 + 272 >> 2] + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 224 >> 2] * HEAPF32[$2 + 256 >> 2]) * HEAPF32[$2 + 256 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 232 >> 2] * HEAPF32[$2 + 264 >> 2]) * HEAPF32[$2 + 264 >> 2]) + Math_fround(HEAPF32[$2 + 216 >> 2] + HEAPF32[$2 + 208 >> 2]))); - } - label$3: { - if (HEAP32[$2 + 80 >> 2] == 1) { - b2Vec2__SetZero_28_29($2 + 248 | 0); - HEAPF32[$2 + 260 >> 2] = HEAPF32[$2 + 152 >> 2]; - HEAPF32[$2 + 268 >> 2] = HEAPF32[$2 + 152 >> 2]; - HEAPF32[$2 + 272 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 152 >> 2] * HEAPF32[$2 + 152 >> 2]) * Math_fround(HEAPF32[$2 + 228 >> 2] + HEAPF32[$2 + 236 >> 2])) + HEAPF32[$2 + 272 >> 2]; - break label$3; - } - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($3 + 84 | 0, $3 + 132 | 0, $2 + 132 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 68 | 0, $2 + 116 | 0, $2 + 200 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($3 + 76 | 0, $3 + 132 | 0, $3 + 68 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 52 | 0, $2 + 100 | 0, $2 + 184 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($3 + 60 | 0, $3 + 148 | 0, $3 + 52 | 0); - operator__28float_2c_20b2Vec2_20const__29($3 + 44 | 0, HEAPF32[$2 + 152 >> 2], $3 + 84 | 0); - $1 = HEAP32[$3 + 48 >> 2]; - $0 = HEAP32[$3 + 44 >> 2]; - HEAP32[$2 + 248 >> 2] = $0; - HEAP32[$2 + 252 >> 2] = $1; - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(HEAPF32[$2 + 152 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 76 | 0, $3 + 84 | 0)), - HEAPF32[wasm2js_i32$0 + 268 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(HEAPF32[$2 + 152 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 60 | 0, $3 + 84 | 0)), - HEAPF32[wasm2js_i32$0 + 260 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 272 >> 2] = HEAPF32[$2 + 272 >> 2] + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 228 >> 2] * HEAPF32[$2 + 260 >> 2]) * HEAPF32[$2 + 260 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 152 >> 2] * HEAPF32[$2 + 152 >> 2]) * Math_fround(HEAPF32[$2 + 220 >> 2] + HEAPF32[$2 + 212 >> 2])) + Math_fround(Math_fround(HEAPF32[$2 + 236 >> 2] * HEAPF32[$2 + 268 >> 2]) * HEAPF32[$2 + 268 >> 2]))); - } - if (HEAPF32[$2 + 272 >> 2] > Math_fround(0)) { - $5 = Math_fround(Math_fround(1) / HEAPF32[$2 + 272 >> 2]); - } else { - $5 = Math_fround(0); - } - HEAPF32[$2 + 272 >> 2] = $5; - label$7: { - if (HEAP8[HEAP32[$3 + 232 >> 2] + 20 | 0] & 1) { - operator__28float_2c_20b2Vec2_20const__29($3 + 36 | 0, Math_fround(HEAPF32[$2 + 208 >> 2] * HEAPF32[$2 + 156 >> 2]), $2 + 240 | 0); - b2Vec2__operator___28b2Vec2_20const__29($3 + 216 | 0, $3 + 36 | 0); - HEAPF32[$3 + 212 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 224 >> 2] * HEAPF32[$2 + 156 >> 2]) * HEAPF32[$2 + 256 >> 2]) + HEAPF32[$3 + 212 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($3 + 28 | 0, Math_fround(HEAPF32[$2 + 212 >> 2] * HEAPF32[$2 + 156 >> 2]), $2 + 248 | 0); - b2Vec2__operator___28b2Vec2_20const__29($3 + 200 | 0, $3 + 28 | 0); - HEAPF32[$3 + 196 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 228 >> 2] * HEAPF32[$2 + 156 >> 2]) * HEAPF32[$2 + 260 >> 2]) + HEAPF32[$3 + 196 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($3 + 20 | 0, Math_fround(HEAPF32[$2 + 216 >> 2] * HEAPF32[$2 + 156 >> 2]), $2 + 240 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($3 + 184 | 0, $3 + 20 | 0); - HEAPF32[$3 + 180 >> 2] = Math_fround(Math_fround(-Math_fround(HEAPF32[$2 + 232 >> 2] * HEAPF32[$2 + 156 >> 2])) * HEAPF32[$2 + 264 >> 2]) + HEAPF32[$3 + 180 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($3 + 12 | 0, Math_fround(HEAPF32[$2 + 220 >> 2] * HEAPF32[$2 + 156 >> 2]), $2 + 248 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($3 + 168 | 0, $3 + 12 | 0); - HEAPF32[$3 + 164 >> 2] = Math_fround(Math_fround(-Math_fround(HEAPF32[$2 + 236 >> 2] * HEAPF32[$2 + 156 >> 2])) * HEAPF32[$2 + 268 >> 2]) + HEAPF32[$3 + 164 >> 2]; - break label$7; - } - HEAPF32[$2 + 156 >> 2] = 0; - } - $0 = HEAP32[$3 + 220 >> 2]; - $1 = HEAP32[$3 + 216 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$3 + 232 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 160 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$3 + 232 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 160 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$3 + 212 >> 2]; - $1 = HEAP32[$3 + 204 >> 2]; - $0 = HEAP32[$3 + 200 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$3 + 232 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 164 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$3 + 232 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 164 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$3 + 196 >> 2]; - $0 = HEAP32[$3 + 188 >> 2]; - $1 = HEAP32[$3 + 184 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$3 + 232 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 168 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$3 + 232 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 168 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$3 + 180 >> 2]; - $1 = HEAP32[$3 + 172 >> 2]; - $0 = HEAP32[$3 + 168 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$3 + 232 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 172 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$3 + 232 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 172 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$3 + 164 >> 2]; - __stack_pointer = $3 + 240 | 0; -} - -function void_20std____2____tree_remove_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____2c_20std____2____tree_node_base_void____29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - if (HEAP32[HEAP32[$2 + 24 >> 2] + 4 >> 2] ? HEAP32[HEAP32[$2 + 24 >> 2] >> 2] : 0) { - $0 = std____2____tree_node_base_void____20std____2____tree_next_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(HEAP32[$2 + 24 >> 2]); - } else { - $0 = HEAP32[$2 + 24 >> 2]; - } - HEAP32[$2 + 20 >> 2] = $0; - if (HEAP32[HEAP32[$2 + 20 >> 2] >> 2]) { - $0 = HEAP32[HEAP32[$2 + 20 >> 2] >> 2]; - } else { - $0 = HEAP32[HEAP32[$2 + 20 >> 2] + 4 >> 2]; - } - HEAP32[$2 + 16 >> 2] = $0; - HEAP32[$2 + 12 >> 2] = 0; - if (HEAP32[$2 + 16 >> 2]) { - HEAP32[HEAP32[$2 + 16 >> 2] + 8 >> 2] = HEAP32[HEAP32[$2 + 20 >> 2] + 8 >> 2]; - } - label$7: { - if (bool_20std____2____tree_is_left_child_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(HEAP32[$2 + 20 >> 2]) & 1) { - HEAP32[HEAP32[HEAP32[$2 + 20 >> 2] + 8 >> 2] >> 2] = HEAP32[$2 + 16 >> 2]; - label$9: { - if (HEAP32[$2 + 20 >> 2] != HEAP32[$2 + 28 >> 2]) { - wasm2js_i32$0 = $2, wasm2js_i32$1 = HEAP32[std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 20 >> 2]) + 4 >> 2], - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - break label$9; - } - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 16 >> 2]; - } - break label$7; - } - $0 = HEAP32[$2 + 16 >> 2]; - wasm2js_i32$0 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 20 >> 2]), - wasm2js_i32$1 = $0, HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - HEAP32[$2 + 12 >> 2] = HEAP32[HEAP32[HEAP32[$2 + 20 >> 2] + 8 >> 2] >> 2]; - } - HEAP8[$2 + 11 | 0] = HEAP8[HEAP32[$2 + 20 >> 2] + 12 | 0] & 1; - if (HEAP32[$2 + 20 >> 2] != HEAP32[$2 + 24 >> 2]) { - HEAP32[HEAP32[$2 + 20 >> 2] + 8 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 8 >> 2]; - label$12: { - if (bool_20std____2____tree_is_left_child_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(HEAP32[$2 + 24 >> 2]) & 1) { - HEAP32[HEAP32[HEAP32[$2 + 20 >> 2] + 8 >> 2] >> 2] = HEAP32[$2 + 20 >> 2]; - break label$12; - } - $0 = HEAP32[$2 + 20 >> 2]; - wasm2js_i32$0 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 20 >> 2]), - wasm2js_i32$1 = $0, HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - } - HEAP32[HEAP32[$2 + 20 >> 2] >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] >> 2]; - std____2____tree_node_base_void______set_parent_5babi_v160004_5d_28std____2____tree_node_base_void____29(HEAP32[HEAP32[$2 + 20 >> 2] >> 2], HEAP32[$2 + 20 >> 2]); - HEAP32[HEAP32[$2 + 20 >> 2] + 4 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 4 >> 2]; - if (HEAP32[HEAP32[$2 + 20 >> 2] + 4 >> 2]) { - std____2____tree_node_base_void______set_parent_5babi_v160004_5d_28std____2____tree_node_base_void____29(HEAP32[HEAP32[$2 + 20 >> 2] + 4 >> 2], HEAP32[$2 + 20 >> 2]); - } - HEAP8[HEAP32[$2 + 20 >> 2] + 12 | 0] = HEAP8[HEAP32[$2 + 24 >> 2] + 12 | 0] & 1; - if (HEAP32[$2 + 28 >> 2] == HEAP32[$2 + 24 >> 2]) { - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 20 >> 2]; - } - } - if (!(!(HEAP8[$2 + 11 | 0] & 1) | !HEAP32[$2 + 28 >> 2])) { - label$17: { - if (HEAP32[$2 + 16 >> 2]) { - HEAP8[HEAP32[$2 + 16 >> 2] + 12 | 0] = 1; - break label$17; - } - while (1) { - label$20: { - if (!(bool_20std____2____tree_is_left_child_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(HEAP32[$2 + 12 >> 2]) & 1)) { - if (!(HEAP8[HEAP32[$2 + 12 >> 2] + 12 | 0] & 1)) { - HEAP8[HEAP32[$2 + 12 >> 2] + 12 | 0] = 1; - wasm2js_i32$0 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 12 >> 2]), - wasm2js_i32$1 = 0, HEAP8[wasm2js_i32$0 + 12 | 0] = wasm2js_i32$1; - void_20std____2____tree_left_rotate_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 12 >> 2])); - if (HEAP32[$2 + 28 >> 2] == HEAP32[HEAP32[$2 + 12 >> 2] >> 2]) { - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - } - HEAP32[$2 + 12 >> 2] = HEAP32[HEAP32[HEAP32[$2 + 12 >> 2] >> 2] + 4 >> 2]; - } - label$24: { - if (!((HEAP8[HEAP32[HEAP32[$2 + 12 >> 2] >> 2] + 12 | 0] & 1 ? 0 : HEAP32[HEAP32[$2 + 12 >> 2] >> 2]) | (HEAP8[HEAP32[HEAP32[$2 + 12 >> 2] + 4 >> 2] + 12 | 0] & 1 ? 0 : HEAP32[HEAP32[$2 + 12 >> 2] + 4 >> 2]))) { - HEAP8[HEAP32[$2 + 12 >> 2] + 12 | 0] = 0; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 12 >> 2]), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - if (!(HEAP8[HEAP32[$2 + 16 >> 2] + 12 | 0] & 1 & HEAP32[$2 + 16 >> 2] != HEAP32[$2 + 28 >> 2])) { - HEAP8[HEAP32[$2 + 16 >> 2] + 12 | 0] = 1; - break label$20; - } - label$30: { - if (bool_20std____2____tree_is_left_child_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(HEAP32[$2 + 16 >> 2]) & 1) { - $0 = HEAP32[std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 16 >> 2]) + 4 >> 2]; - break label$30; - } - $0 = HEAP32[HEAP32[HEAP32[$2 + 16 >> 2] + 8 >> 2] >> 2]; - } - HEAP32[$2 + 12 >> 2] = $0; - break label$24; - } - if (!(HEAP8[HEAP32[HEAP32[$2 + 12 >> 2] + 4 >> 2] + 12 | 0] & 1 ? 0 : HEAP32[HEAP32[$2 + 12 >> 2] + 4 >> 2])) { - HEAP8[HEAP32[HEAP32[$2 + 12 >> 2] >> 2] + 12 | 0] = 1; - HEAP8[HEAP32[$2 + 12 >> 2] + 12 | 0] = 0; - void_20std____2____tree_right_rotate_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(HEAP32[$2 + 12 >> 2]); - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 12 >> 2]), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - } - $0 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 12 >> 2]); - HEAP8[HEAP32[$2 + 12 >> 2] + 12 | 0] = HEAP8[$0 + 12 | 0] & 1; - wasm2js_i32$0 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 12 >> 2]), - wasm2js_i32$1 = 1, HEAP8[wasm2js_i32$0 + 12 | 0] = wasm2js_i32$1; - HEAP8[HEAP32[HEAP32[$2 + 12 >> 2] + 4 >> 2] + 12 | 0] = 1; - void_20std____2____tree_left_rotate_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 12 >> 2])); - break label$20; - } - continue; - } - if (!(HEAP8[HEAP32[$2 + 12 >> 2] + 12 | 0] & 1)) { - HEAP8[HEAP32[$2 + 12 >> 2] + 12 | 0] = 1; - wasm2js_i32$0 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 12 >> 2]), - wasm2js_i32$1 = 0, HEAP8[wasm2js_i32$0 + 12 | 0] = wasm2js_i32$1; - void_20std____2____tree_right_rotate_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 12 >> 2])); - if (HEAP32[$2 + 28 >> 2] == HEAP32[HEAP32[$2 + 12 >> 2] + 4 >> 2]) { - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - } - HEAP32[$2 + 12 >> 2] = HEAP32[HEAP32[HEAP32[$2 + 12 >> 2] + 4 >> 2] >> 2]; - } - label$36: { - if (!((HEAP8[HEAP32[HEAP32[$2 + 12 >> 2] >> 2] + 12 | 0] & 1 ? 0 : HEAP32[HEAP32[$2 + 12 >> 2] >> 2]) | (HEAP8[HEAP32[HEAP32[$2 + 12 >> 2] + 4 >> 2] + 12 | 0] & 1 ? 0 : HEAP32[HEAP32[$2 + 12 >> 2] + 4 >> 2]))) { - HEAP8[HEAP32[$2 + 12 >> 2] + 12 | 0] = 0; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 12 >> 2]), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - if (!(HEAP8[HEAP32[$2 + 16 >> 2] + 12 | 0] & 1 & HEAP32[$2 + 16 >> 2] != HEAP32[$2 + 28 >> 2])) { - HEAP8[HEAP32[$2 + 16 >> 2] + 12 | 0] = 1; - break label$20; - } - label$42: { - if (bool_20std____2____tree_is_left_child_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(HEAP32[$2 + 16 >> 2]) & 1) { - $0 = HEAP32[std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 16 >> 2]) + 4 >> 2]; - break label$42; - } - $0 = HEAP32[HEAP32[HEAP32[$2 + 16 >> 2] + 8 >> 2] >> 2]; - } - HEAP32[$2 + 12 >> 2] = $0; - break label$36; - } - if (!(HEAP8[HEAP32[HEAP32[$2 + 12 >> 2] >> 2] + 12 | 0] & 1 ? 0 : HEAP32[HEAP32[$2 + 12 >> 2] >> 2])) { - HEAP8[HEAP32[HEAP32[$2 + 12 >> 2] + 4 >> 2] + 12 | 0] = 1; - HEAP8[HEAP32[$2 + 12 >> 2] + 12 | 0] = 0; - void_20std____2____tree_left_rotate_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(HEAP32[$2 + 12 >> 2]); - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 12 >> 2]), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - } - $0 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 12 >> 2]); - HEAP8[HEAP32[$2 + 12 >> 2] + 12 | 0] = HEAP8[$0 + 12 | 0] & 1; - wasm2js_i32$0 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 12 >> 2]), - wasm2js_i32$1 = 1, HEAP8[wasm2js_i32$0 + 12 | 0] = wasm2js_i32$1; - HEAP8[HEAP32[HEAP32[$2 + 12 >> 2] >> 2] + 12 | 0] = 1; - void_20std____2____tree_right_rotate_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 12 >> 2])); - break label$20; - } - continue; - } - break; - } - } - } - __stack_pointer = $2 + 32 | 0; -} - -function b2GearJoint__SolvePositionConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 368 | 0; - __stack_pointer = $2; - HEAP32[$2 + 364 >> 2] = $0; - HEAP32[$2 + 360 >> 2] = $1; - $3 = HEAP32[$2 + 364 >> 2]; - $4 = HEAP32[HEAP32[$2 + 360 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 160 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 352 >> 2] = $1; - HEAP32[$2 + 356 >> 2] = $0; - HEAPF32[$2 + 348 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 360 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 160 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 360 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 164 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 336 >> 2] = $0; - HEAP32[$2 + 340 >> 2] = $1; - HEAPF32[$2 + 332 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 360 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 164 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 360 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 168 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 320 >> 2] = $1; - HEAP32[$2 + 324 >> 2] = $0; - HEAPF32[$2 + 316 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 360 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 168 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 360 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 172 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 304 >> 2] = $0; - HEAP32[$2 + 308 >> 2] = $1; - HEAPF32[$2 + 300 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 360 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 172 >> 2], 12) | 0) + 8 >> 2]; - b2Rot__b2Rot_28float_29($2 + 292 | 0, HEAPF32[$2 + 348 >> 2]); - b2Rot__b2Rot_28float_29($2 + 284 | 0, HEAPF32[$2 + 332 >> 2]); - b2Rot__b2Rot_28float_29($2 + 276 | 0, HEAPF32[$2 + 316 >> 2]); - b2Rot__b2Rot_28float_29($2 + 268 | 0, HEAPF32[$2 + 300 >> 2]); - HEAPF32[$2 + 264 >> 2] = 0; - b2Vec2__b2Vec2_28_29($2 + 248 | 0); - b2Vec2__b2Vec2_28_29($2 + 240 | 0); - HEAPF32[$2 + 220 >> 2] = 0; - label$1: { - if (HEAP32[$3 + 76 >> 2] == 1) { - b2Vec2__SetZero_28_29($2 + 248 | 0); - HEAPF32[$2 + 236 >> 2] = 1; - HEAPF32[$2 + 228 >> 2] = 1; - HEAPF32[$2 + 220 >> 2] = HEAPF32[$2 + 220 >> 2] + Math_fround(HEAPF32[$3 + 224 >> 2] + HEAPF32[$3 + 232 >> 2]); - HEAPF32[$2 + 260 >> 2] = Math_fround(HEAPF32[$2 + 348 >> 2] - HEAPF32[$2 + 316 >> 2]) - HEAPF32[$3 + 140 >> 2]; - break label$1; - } - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 212 | 0, $2 + 276 | 0, $3 + 124 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 196 | 0, $3 + 108 | 0, $3 + 192 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 204 | 0, $2 + 276 | 0, $2 + 196 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 180 | 0, $3 + 92 | 0, $3 + 176 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 188 | 0, $2 + 292 | 0, $2 + 180 | 0); - $0 = HEAP32[$2 + 216 >> 2]; - $1 = HEAP32[$2 + 212 >> 2]; - HEAP32[$2 + 248 >> 2] = $1; - HEAP32[$2 + 252 >> 2] = $0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 204 | 0, $2 + 212 | 0), - HEAPF32[wasm2js_i32$0 + 228 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 188 | 0, $2 + 212 | 0), - HEAPF32[wasm2js_i32$0 + 236 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 220 >> 2] = HEAPF32[$2 + 220 >> 2] + Math_fround(Math_fround(Math_fround(HEAPF32[$3 + 224 >> 2] * HEAPF32[$2 + 236 >> 2]) * HEAPF32[$2 + 236 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$3 + 232 >> 2] * HEAPF32[$2 + 228 >> 2]) * HEAPF32[$2 + 228 >> 2]) + Math_fround(HEAPF32[$3 + 216 >> 2] + HEAPF32[$3 + 208 >> 2]))); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 172 | 0, $3 + 108 | 0, $3 + 192 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 148 | 0, $2 + 352 | 0, $2 + 320 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 156 | 0, $2 + 188 | 0, $2 + 148 | 0); - b2MulT_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 164 | 0, $2 + 276 | 0, $2 + 156 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 140 | 0, $2 + 164 | 0, $2 + 172 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 140 | 0, $3 + 124 | 0), - HEAPF32[wasm2js_i32$0 + 260 >> 2] = wasm2js_f32$0; - } - label$3: { - if (HEAP32[$3 + 80 >> 2] == 1) { - b2Vec2__SetZero_28_29($2 + 240 | 0); - HEAPF32[$2 + 232 >> 2] = HEAPF32[$3 + 152 >> 2]; - HEAPF32[$2 + 224 >> 2] = HEAPF32[$3 + 152 >> 2]; - HEAPF32[$2 + 220 >> 2] = Math_fround(Math_fround(HEAPF32[$3 + 152 >> 2] * HEAPF32[$3 + 152 >> 2]) * Math_fround(HEAPF32[$3 + 228 >> 2] + HEAPF32[$3 + 236 >> 2])) + HEAPF32[$2 + 220 >> 2]; - HEAPF32[$2 + 256 >> 2] = Math_fround(HEAPF32[$2 + 332 >> 2] - HEAPF32[$2 + 300 >> 2]) - HEAPF32[$3 + 144 >> 2]; - break label$3; - } - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 132 | 0, $2 + 268 | 0, $3 + 132 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 116 | 0, $3 + 116 | 0, $3 + 200 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 124 | 0, $2 + 268 | 0, $2 + 116 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 100 | 0, $3 + 100 | 0, $3 + 184 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 108 | 0, $2 + 284 | 0, $2 + 100 | 0); - operator__28float_2c_20b2Vec2_20const__29($2 + 92 | 0, HEAPF32[$3 + 152 >> 2], $2 + 132 | 0); - $1 = HEAP32[$2 + 96 >> 2]; - $0 = HEAP32[$2 + 92 >> 2]; - HEAP32[$2 + 240 >> 2] = $0; - HEAP32[$2 + 244 >> 2] = $1; - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(HEAPF32[$3 + 152 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 124 | 0, $2 + 132 | 0)), - HEAPF32[wasm2js_i32$0 + 224 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(HEAPF32[$3 + 152 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 108 | 0, $2 + 132 | 0)), - HEAPF32[wasm2js_i32$0 + 232 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 220 >> 2] = HEAPF32[$2 + 220 >> 2] + Math_fround(Math_fround(Math_fround(HEAPF32[$3 + 228 >> 2] * HEAPF32[$2 + 232 >> 2]) * HEAPF32[$2 + 232 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$3 + 152 >> 2] * HEAPF32[$3 + 152 >> 2]) * Math_fround(HEAPF32[$3 + 220 >> 2] + HEAPF32[$3 + 212 >> 2])) + Math_fround(Math_fround(HEAPF32[$3 + 236 >> 2] * HEAPF32[$2 + 224 >> 2]) * HEAPF32[$2 + 224 >> 2]))); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 84 | 0, $3 + 116 | 0, $3 + 200 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 60 | 0, $2 + 336 | 0, $2 + 304 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 68 | 0, $2 + 108 | 0, $2 + 60 | 0); - b2MulT_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 76 | 0, $2 + 268 | 0, $2 + 68 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 52 | 0, $2 + 76 | 0, $2 + 84 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 52 | 0, $3 + 132 | 0), - HEAPF32[wasm2js_i32$0 + 256 >> 2] = wasm2js_f32$0; - } - HEAPF32[$2 + 48 >> 2] = Math_fround(Math_fround(HEAPF32[$3 + 152 >> 2] * HEAPF32[$2 + 256 >> 2]) + HEAPF32[$2 + 260 >> 2]) - HEAPF32[$3 + 148 >> 2]; - HEAPF32[$2 + 44 >> 2] = 0; - if (HEAPF32[$2 + 220 >> 2] > Math_fround(0)) { - HEAPF32[$2 + 44 >> 2] = Math_fround(-HEAPF32[$2 + 48 >> 2]) / HEAPF32[$2 + 220 >> 2]; - } - operator__28float_2c_20b2Vec2_20const__29($2 + 36 | 0, Math_fround(HEAPF32[$3 + 208 >> 2] * HEAPF32[$2 + 44 >> 2]), $2 + 248 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 352 | 0, $2 + 36 | 0); - HEAPF32[$2 + 348 >> 2] = Math_fround(Math_fround(HEAPF32[$3 + 224 >> 2] * HEAPF32[$2 + 44 >> 2]) * HEAPF32[$2 + 236 >> 2]) + HEAPF32[$2 + 348 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 28 | 0, Math_fround(HEAPF32[$3 + 212 >> 2] * HEAPF32[$2 + 44 >> 2]), $2 + 240 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 336 | 0, $2 + 28 | 0); - HEAPF32[$2 + 332 >> 2] = Math_fround(Math_fround(HEAPF32[$3 + 228 >> 2] * HEAPF32[$2 + 44 >> 2]) * HEAPF32[$2 + 232 >> 2]) + HEAPF32[$2 + 332 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 20 | 0, Math_fround(HEAPF32[$3 + 216 >> 2] * HEAPF32[$2 + 44 >> 2]), $2 + 248 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 320 | 0, $2 + 20 | 0); - HEAPF32[$2 + 316 >> 2] = Math_fround(Math_fround(-Math_fround(HEAPF32[$3 + 232 >> 2] * HEAPF32[$2 + 44 >> 2])) * HEAPF32[$2 + 228 >> 2]) + HEAPF32[$2 + 316 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 12 | 0, Math_fround(HEAPF32[$3 + 220 >> 2] * HEAPF32[$2 + 44 >> 2]), $2 + 240 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 304 | 0, $2 + 12 | 0); - HEAPF32[$2 + 300 >> 2] = Math_fround(Math_fround(-Math_fround(HEAPF32[$3 + 236 >> 2] * HEAPF32[$2 + 44 >> 2])) * HEAPF32[$2 + 224 >> 2]) + HEAPF32[$2 + 300 >> 2]; - $0 = HEAP32[$2 + 356 >> 2]; - $1 = HEAP32[$2 + 352 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 360 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 160 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 360 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 160 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 348 >> 2]; - $1 = HEAP32[$2 + 340 >> 2]; - $0 = HEAP32[$2 + 336 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 360 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 164 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 360 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 164 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 332 >> 2]; - $0 = HEAP32[$2 + 324 >> 2]; - $1 = HEAP32[$2 + 320 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 360 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 168 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 360 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 168 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 316 >> 2]; - $1 = HEAP32[$2 + 308 >> 2]; - $0 = HEAP32[$2 + 304 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 360 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 172 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 360 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 172 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 300 >> 2]; - __stack_pointer = $2 + 368 | 0; - return HEAPF32[$2 + 264 >> 2] < Math_fround(.004999999888241291) | 0; -} - -function b2PrismaticJoint__InitVelocityConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 272 | 0; - __stack_pointer = $2; - HEAP32[$2 + 268 >> 2] = $0; - HEAP32[$2 + 264 >> 2] = $1; - $3 = HEAP32[$2 + 268 >> 2]; - HEAP32[$3 + 144 >> 2] = HEAP32[HEAP32[$3 + 48 >> 2] + 8 >> 2]; - HEAP32[$3 + 148 >> 2] = HEAP32[HEAP32[$3 + 52 >> 2] + 8 >> 2]; - $4 = HEAP32[$3 + 48 >> 2]; - $0 = HEAP32[$4 + 28 >> 2]; - $1 = HEAP32[$4 + 32 >> 2]; - HEAP32[$3 + 152 >> 2] = $0; - HEAP32[$3 + 156 >> 2] = $1; - $4 = HEAP32[$3 + 52 >> 2]; - $1 = HEAP32[$4 + 28 >> 2]; - $0 = HEAP32[$4 + 32 >> 2]; - HEAP32[$3 + 160 >> 2] = $1; - HEAP32[$3 + 164 >> 2] = $0; - HEAPF32[$3 + 168 >> 2] = HEAPF32[HEAP32[$3 + 48 >> 2] + 120 >> 2]; - HEAPF32[$3 + 172 >> 2] = HEAPF32[HEAP32[$3 + 52 >> 2] + 120 >> 2]; - HEAPF32[$3 + 176 >> 2] = HEAPF32[HEAP32[$3 + 48 >> 2] + 128 >> 2]; - HEAPF32[$3 + 180 >> 2] = HEAPF32[HEAP32[$3 + 52 >> 2] + 128 >> 2]; - $4 = HEAP32[HEAP32[$2 + 264 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 144 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 256 >> 2] = $0; - HEAP32[$2 + 260 >> 2] = $1; - HEAPF32[$2 + 252 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 264 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 144 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 264 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 144 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 240 >> 2] = $1; - HEAP32[$2 + 244 >> 2] = $0; - HEAPF32[$2 + 236 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 264 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 144 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 264 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 148 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 224 >> 2] = $0; - HEAP32[$2 + 228 >> 2] = $1; - HEAPF32[$2 + 220 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 264 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 148 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 264 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 148 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 208 >> 2] = $1; - HEAP32[$2 + 212 >> 2] = $0; - HEAPF32[$2 + 204 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 264 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 148 >> 2], 12) | 0) + 8 >> 2]; - b2Rot__b2Rot_28float_29($2 + 196 | 0, HEAPF32[$2 + 252 >> 2]); - b2Rot__b2Rot_28float_29($2 + 188 | 0, HEAPF32[$2 + 220 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 172 | 0, $3 + 68 | 0, $3 + 152 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 180 | 0, $2 + 196 | 0, $2 + 172 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 156 | 0, $3 + 76 | 0, $3 + 160 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 164 | 0, $2 + 188 | 0, $2 + 156 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 132 | 0, $2 + 224 | 0, $2 + 256 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 140 | 0, $2 + 132 | 0, $2 + 164 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 148 | 0, $2 + 140 | 0, $2 + 180 | 0); - HEAPF32[$2 + 128 >> 2] = HEAPF32[$3 + 168 >> 2]; - HEAPF32[$2 + 124 >> 2] = HEAPF32[$3 + 172 >> 2]; - HEAPF32[$2 + 120 >> 2] = HEAPF32[$3 + 176 >> 2]; - HEAPF32[$2 + 116 >> 2] = HEAPF32[$3 + 180 >> 2]; - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 108 | 0, $2 + 196 | 0, $3 + 84 | 0); - $1 = HEAP32[$2 + 112 >> 2]; - $0 = HEAP32[$2 + 108 >> 2]; - HEAP32[$3 + 184 >> 2] = $0; - HEAP32[$3 + 188 >> 2] = $1; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 100 | 0, $2 + 148 | 0, $2 + 180 | 0); - wasm2js_i32$0 = $3, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 100 | 0, $3 + 184 | 0), - HEAPF32[wasm2js_i32$0 + 208 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $3, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 164 | 0, $3 + 184 | 0), - HEAPF32[wasm2js_i32$0 + 212 >> 2] = wasm2js_f32$0; - HEAPF32[$3 + 252 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 116 >> 2] * HEAPF32[$3 + 212 >> 2]) * HEAPF32[$3 + 212 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 120 >> 2] * HEAPF32[$3 + 208 >> 2]) * HEAPF32[$3 + 208 >> 2]) + Math_fround(HEAPF32[$2 + 128 >> 2] + HEAPF32[$2 + 124 >> 2])); - if (HEAPF32[$3 + 252 >> 2] > Math_fround(0)) { - HEAPF32[$3 + 252 >> 2] = Math_fround(1) / HEAPF32[$3 + 252 >> 2]; - } - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 92 | 0, $2 + 196 | 0, $3 + 92 | 0); - $0 = HEAP32[$2 + 96 >> 2]; - $1 = HEAP32[$2 + 92 >> 2]; - HEAP32[$3 + 192 >> 2] = $1; - HEAP32[$3 + 196 >> 2] = $0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 84 | 0, $2 + 148 | 0, $2 + 180 | 0); - wasm2js_i32$0 = $3, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 84 | 0, $3 + 192 | 0), - HEAPF32[wasm2js_i32$0 + 200 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $3, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 164 | 0, $3 + 192 | 0), - HEAPF32[wasm2js_i32$0 + 204 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 80 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 116 >> 2] * HEAPF32[$3 + 204 >> 2]) * HEAPF32[$3 + 204 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 120 >> 2] * HEAPF32[$3 + 200 >> 2]) * HEAPF32[$3 + 200 >> 2]) + Math_fround(HEAPF32[$2 + 128 >> 2] + HEAPF32[$2 + 124 >> 2])); - HEAPF32[$2 + 76 >> 2] = Math_fround(HEAPF32[$2 + 120 >> 2] * HEAPF32[$3 + 200 >> 2]) + Math_fround(HEAPF32[$2 + 116 >> 2] * HEAPF32[$3 + 204 >> 2]); - HEAPF32[$2 + 72 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 120 >> 2] * HEAPF32[$3 + 200 >> 2]) * HEAPF32[$3 + 208 >> 2]) + Math_fround(Math_fround(HEAPF32[$2 + 116 >> 2] * HEAPF32[$3 + 204 >> 2]) * HEAPF32[$3 + 212 >> 2]); - HEAPF32[$2 + 68 >> 2] = HEAPF32[$2 + 120 >> 2] + HEAPF32[$2 + 116 >> 2]; - if (HEAPF32[$2 + 68 >> 2] == Math_fround(0)) { - HEAPF32[$2 + 68 >> 2] = 1; - } - HEAPF32[$2 + 64 >> 2] = Math_fround(HEAPF32[$2 + 120 >> 2] * HEAPF32[$3 + 208 >> 2]) + Math_fround(HEAPF32[$2 + 116 >> 2] * HEAPF32[$3 + 212 >> 2]); - HEAPF32[$2 + 60 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 116 >> 2] * HEAPF32[$3 + 212 >> 2]) * HEAPF32[$3 + 212 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 120 >> 2] * HEAPF32[$3 + 208 >> 2]) * HEAPF32[$3 + 208 >> 2]) + Math_fround(HEAPF32[$2 + 128 >> 2] + HEAPF32[$2 + 124 >> 2])); - b2Vec3__Set_28float_2c_20float_2c_20float_29($3 + 216 | 0, HEAPF32[$2 + 80 >> 2], HEAPF32[$2 + 76 >> 2], HEAPF32[$2 + 72 >> 2]); - b2Vec3__Set_28float_2c_20float_2c_20float_29($3 + 228 | 0, HEAPF32[$2 + 76 >> 2], HEAPF32[$2 + 68 >> 2], HEAPF32[$2 + 64 >> 2]); - b2Vec3__Set_28float_2c_20float_2c_20float_29($3 + 240 | 0, HEAPF32[$2 + 72 >> 2], HEAPF32[$2 + 64 >> 2], HEAPF32[$2 + 60 >> 2]); - label$3: { - if (HEAP8[$3 + 136 | 0] & 1) { - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 184 | 0, $2 + 148 | 0), - HEAPF32[wasm2js_i32$0 + 56 >> 2] = wasm2js_f32$0; - label$5: { - if (float_20b2Abs_float__28float_29(Math_fround(HEAPF32[$3 + 124 >> 2] - HEAPF32[$3 + 120 >> 2])) < Math_fround(.009999999776482582)) { - HEAP32[$3 + 140 >> 2] = 3; - break label$5; - } - label$7: { - if (HEAPF32[$2 + 56 >> 2] <= HEAPF32[$3 + 120 >> 2]) { - if (HEAP32[$3 + 140 >> 2] != 1) { - HEAP32[$3 + 140 >> 2] = 1; - HEAPF32[$3 + 112 >> 2] = 0; - } - break label$7; - } - label$10: { - if (HEAPF32[$2 + 56 >> 2] >= HEAPF32[$3 + 124 >> 2]) { - if (HEAP32[$3 + 140 >> 2] != 2) { - HEAP32[$3 + 140 >> 2] = 2; - HEAPF32[$3 + 112 >> 2] = 0; - } - break label$10; - } - HEAP32[$3 + 140 >> 2] = 0; - HEAPF32[$3 + 112 >> 2] = 0; - } - } - } - break label$3; - } - HEAP32[$3 + 140 >> 2] = 0; - HEAPF32[$3 + 112 >> 2] = 0; - } - if (!(HEAP8[$3 + 137 | 0] & 1)) { - HEAPF32[$3 + 116 >> 2] = 0; - } - label$14: { - if (HEAP8[HEAP32[$2 + 264 >> 2] + 20 | 0] & 1) { - b2Vec3__operator___28float_29($3 + 104 | 0, HEAPF32[HEAP32[$2 + 264 >> 2] + 8 >> 2]); - HEAPF32[$3 + 116 >> 2] = HEAPF32[$3 + 116 >> 2] * HEAPF32[HEAP32[$2 + 264 >> 2] + 8 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 40 | 0, HEAPF32[$3 + 104 >> 2], $3 + 192 | 0); - operator__28float_2c_20b2Vec2_20const__29($2 + 32 | 0, Math_fround(HEAPF32[$3 + 116 >> 2] + HEAPF32[$3 + 112 >> 2]), $3 + 184 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 48 | 0, $2 + 40 | 0, $2 + 32 | 0); - HEAPF32[$2 + 28 >> 2] = Math_fround(Math_fround(HEAPF32[$3 + 116 >> 2] + HEAPF32[$3 + 112 >> 2]) * HEAPF32[$3 + 208 >> 2]) + Math_fround(Math_fround(HEAPF32[$3 + 104 >> 2] * HEAPF32[$3 + 200 >> 2]) + HEAPF32[$3 + 108 >> 2]); - HEAPF32[$2 + 24 >> 2] = Math_fround(Math_fround(HEAPF32[$3 + 116 >> 2] + HEAPF32[$3 + 112 >> 2]) * HEAPF32[$3 + 212 >> 2]) + Math_fround(Math_fround(HEAPF32[$3 + 104 >> 2] * HEAPF32[$3 + 204 >> 2]) + HEAPF32[$3 + 108 >> 2]); - operator__28float_2c_20b2Vec2_20const__29($2 + 16 | 0, HEAPF32[$2 + 128 >> 2], $2 + 48 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 240 | 0, $2 + 16 | 0); - HEAPF32[$2 + 236 >> 2] = Math_fround(Math_fround(-HEAPF32[$2 + 120 >> 2]) * HEAPF32[$2 + 28 >> 2]) + HEAPF32[$2 + 236 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 8 | 0, HEAPF32[$2 + 124 >> 2], $2 + 48 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 208 | 0, $2 + 8 | 0); - HEAPF32[$2 + 204 >> 2] = Math_fround(HEAPF32[$2 + 116 >> 2] * HEAPF32[$2 + 24 >> 2]) + HEAPF32[$2 + 204 >> 2]; - break label$14; - } - b2Vec3__SetZero_28_29($3 + 104 | 0); - HEAPF32[$3 + 116 >> 2] = 0; - } - $1 = HEAP32[$2 + 244 >> 2]; - $0 = HEAP32[$2 + 240 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 264 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 144 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 264 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 144 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 236 >> 2]; - $0 = HEAP32[$2 + 212 >> 2]; - $1 = HEAP32[$2 + 208 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 264 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 148 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 264 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 148 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 204 >> 2]; - __stack_pointer = $2 + 272 | 0; -} - -function b2TimeOfImpact_28b2TOIOutput__2c_20b2TOIInput_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0), wasm2js_i32$1 = 0; - $2 = __stack_pointer - 448 | 0; - __stack_pointer = $2; - HEAP32[$2 + 444 >> 2] = $0; - HEAP32[$2 + 440 >> 2] = $1; - b2Timer__b2Timer_28_29($2 + 439 | 0); - HEAP32[7571] = HEAP32[7571] + 1; - HEAP32[HEAP32[$2 + 444 >> 2] >> 2] = 0; - HEAPF32[HEAP32[$2 + 444 >> 2] + 4 >> 2] = HEAPF32[HEAP32[$2 + 440 >> 2] + 128 >> 2]; - HEAP32[$2 + 432 >> 2] = HEAP32[$2 + 440 >> 2]; - HEAP32[$2 + 428 >> 2] = HEAP32[$2 + 440 >> 2] + 28; - $3 = HEAP32[$2 + 440 >> 2]; - HEAP32[$2 + 424 >> 2] = HEAP32[$3 + 88 >> 2]; - $1 = HEAP32[$3 + 80 >> 2]; - $0 = HEAP32[$3 + 84 >> 2]; - HEAP32[$2 + 416 >> 2] = $1; - HEAP32[$2 + 420 >> 2] = $0; - $1 = HEAP32[$3 + 76 >> 2]; - $0 = HEAP32[$3 + 72 >> 2]; - HEAP32[$2 + 408 >> 2] = $0; - HEAP32[$2 + 412 >> 2] = $1; - $0 = HEAP32[$3 + 68 >> 2]; - $1 = HEAP32[$3 + 64 >> 2]; - HEAP32[$2 + 400 >> 2] = $1; - HEAP32[$2 + 404 >> 2] = $0; - $1 = HEAP32[$3 + 60 >> 2]; - $0 = HEAP32[$3 + 56 >> 2]; - HEAP32[$2 + 392 >> 2] = $0; - HEAP32[$2 + 396 >> 2] = $1; - $3 = HEAP32[$2 + 440 >> 2]; - HEAP32[$2 + 384 >> 2] = HEAP32[$3 + 124 >> 2]; - $1 = HEAP32[$3 + 116 >> 2]; - $0 = HEAP32[$3 + 120 >> 2]; - HEAP32[$2 + 376 >> 2] = $1; - HEAP32[$2 + 380 >> 2] = $0; - $1 = HEAP32[$3 + 112 >> 2]; - $0 = HEAP32[$3 + 108 >> 2]; - HEAP32[$2 + 368 >> 2] = $0; - HEAP32[$2 + 372 >> 2] = $1; - $0 = HEAP32[$3 + 104 >> 2]; - $1 = HEAP32[$3 + 100 >> 2]; - HEAP32[$2 + 360 >> 2] = $1; - HEAP32[$2 + 364 >> 2] = $0; - $1 = HEAP32[$3 + 96 >> 2]; - $0 = HEAP32[$3 + 92 >> 2]; - HEAP32[$2 + 352 >> 2] = $0; - HEAP32[$2 + 356 >> 2] = $1; - b2Sweep__Normalize_28_29($2 + 392 | 0); - b2Sweep__Normalize_28_29($2 + 352 | 0); - HEAPF32[$2 + 348 >> 2] = HEAPF32[HEAP32[$2 + 440 >> 2] + 128 >> 2]; - HEAPF32[$2 + 344 >> 2] = HEAPF32[HEAP32[$2 + 432 >> 2] + 24 >> 2] + HEAPF32[HEAP32[$2 + 428 >> 2] + 24 >> 2]; - wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20b2Max_float__28float_2c_20float_29(Math_fround(.004999999888241291), Math_fround(HEAPF32[$2 + 344 >> 2] + Math_fround(-.014999999664723873))), - HEAPF32[wasm2js_i32$0 + 340 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 336 >> 2] = .0012499999720603228; - if (!(HEAPF32[$2 + 340 >> 2] > HEAPF32[$2 + 336 >> 2])) { - __assert_fail(10211, 5435, 283, 3427); - wasm2js_trap(); - } - HEAPF32[$2 + 332 >> 2] = 0; - HEAP32[$2 + 328 >> 2] = 20; - HEAP32[$2 + 324 >> 2] = 0; - HEAP16[$2 + 316 >> 1] = 0; - b2DistanceInput__b2DistanceInput_28_29($2 + 220 | 0); - $3 = HEAP32[$2 + 440 >> 2]; - $1 = HEAP32[$3 >> 2]; - $0 = HEAP32[$3 + 4 >> 2]; - $5 = $1; - $4 = $2 + 220 | 0; - $1 = $4; - HEAP32[$1 >> 2] = $5; - HEAP32[$1 + 4 >> 2] = $0; - HEAP32[$1 + 24 >> 2] = HEAP32[$3 + 24 >> 2]; - $1 = HEAP32[$3 + 20 >> 2]; - $0 = HEAP32[$3 + 16 >> 2]; - $5 = $0; - $0 = $4; - HEAP32[$0 + 16 >> 2] = $5; - HEAP32[$0 + 20 >> 2] = $1; - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$3 + 8 >> 2]; - $3 = $1; - $1 = $4; - HEAP32[$1 + 8 >> 2] = $3; - HEAP32[$1 + 12 >> 2] = $0; - $3 = HEAP32[$2 + 440 >> 2]; - $0 = HEAP32[$3 + 28 >> 2]; - $1 = HEAP32[$3 + 32 >> 2]; - $5 = $0; - $4 = $2 + 220 | 0; - $0 = $4; - HEAP32[$0 + 28 >> 2] = $5; - HEAP32[$0 + 32 >> 2] = $1; - HEAP32[$0 + 52 >> 2] = HEAP32[$3 + 52 >> 2]; - $0 = HEAP32[$3 + 48 >> 2]; - $1 = HEAP32[$3 + 44 >> 2]; - $5 = $1; - $1 = $4; - HEAP32[$1 + 44 >> 2] = $5; - HEAP32[$1 + 48 >> 2] = $0; - $1 = HEAP32[$3 + 40 >> 2]; - $0 = HEAP32[$3 + 36 >> 2]; - $3 = $0; - $0 = $4; - HEAP32[$0 + 36 >> 2] = $3; - HEAP32[$0 + 40 >> 2] = $1; - HEAP8[$2 + 308 | 0] = 0; - while (1) { - label$3: { - b2Transform__b2Transform_28_29($2 + 204 | 0); - b2Transform__b2Transform_28_29($2 + 188 | 0); - b2Sweep__GetTransform_28b2Transform__2c_20float_29_20const($2 + 392 | 0, $2 + 204 | 0, HEAPF32[$2 + 332 >> 2]); - b2Sweep__GetTransform_28b2Transform__2c_20float_29_20const($2 + 352 | 0, $2 + 188 | 0, HEAPF32[$2 + 332 >> 2]); - $0 = HEAP32[$2 + 208 >> 2]; - $1 = HEAP32[$2 + 204 >> 2]; - $4 = $1; - $3 = $2 + 220 | 0; - $1 = $3; - HEAP32[$1 + 56 >> 2] = $4; - HEAP32[$1 + 60 >> 2] = $0; - $1 = HEAP32[$2 + 216 >> 2]; - $0 = HEAP32[$2 + 212 >> 2]; - $4 = $0; - $0 = $3; - HEAP32[$0 + 64 >> 2] = $4; - HEAP32[$0 + 68 >> 2] = $1; - $0 = HEAP32[$2 + 192 >> 2]; - $1 = HEAP32[$2 + 188 >> 2]; - $4 = $1; - $3 = $2 + 220 | 0; - $1 = $3; - HEAP32[$1 + 72 >> 2] = $4; - HEAP32[$1 + 76 >> 2] = $0; - $1 = HEAP32[$2 + 200 >> 2]; - $0 = HEAP32[$2 + 196 >> 2]; - $4 = $0; - $0 = $3; - HEAP32[$0 + 80 >> 2] = $4; - HEAP32[$0 + 84 >> 2] = $1; - b2DistanceOutput__b2DistanceOutput_28_29($2 + 164 | 0); - b2Distance_28b2DistanceOutput__2c_20b2SimplexCache__2c_20b2DistanceInput_20const__29($2 + 164 | 0, $2 + 312 | 0, $2 + 220 | 0); - if (HEAPF32[$2 + 180 >> 2] <= Math_fround(0)) { - HEAP32[HEAP32[$2 + 444 >> 2] >> 2] = 2; - HEAPF32[HEAP32[$2 + 444 >> 2] + 4 >> 2] = 0; - break label$3; - } - if (HEAPF32[$2 + 180 >> 2] < Math_fround(HEAPF32[$2 + 340 >> 2] + HEAPF32[$2 + 336 >> 2])) { - HEAP32[HEAP32[$2 + 444 >> 2] >> 2] = 3; - HEAPF32[HEAP32[$2 + 444 >> 2] + 4 >> 2] = HEAPF32[$2 + 332 >> 2]; - break label$3; - } - b2SeparationFunction__b2SeparationFunction_28_29($2 - -64 | 0); - b2SeparationFunction__Initialize_28b2SimplexCache_20const__2c_20b2DistanceProxy_20const__2c_20b2Sweep_20const__2c_20b2DistanceProxy_20const__2c_20b2Sweep_20const__2c_20float_29($2 - -64 | 0, $2 + 312 | 0, HEAP32[$2 + 432 >> 2], $2 + 392 | 0, HEAP32[$2 + 428 >> 2], $2 + 352 | 0, HEAPF32[$2 + 332 >> 2]); - HEAP8[$2 + 63 | 0] = 0; - HEAPF32[$2 + 56 >> 2] = HEAPF32[$2 + 348 >> 2]; - HEAP32[$2 + 52 >> 2] = 0; - while (1) { - label$7: { - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2SeparationFunction__FindMinSeparation_28int__2c_20int__2c_20float_29_20const($2 - -64 | 0, $2 + 48 | 0, $2 + 44 | 0, HEAPF32[$2 + 56 >> 2]), - HEAPF32[wasm2js_i32$0 + 40 >> 2] = wasm2js_f32$0; - if (HEAPF32[$2 + 40 >> 2] > Math_fround(HEAPF32[$2 + 340 >> 2] + HEAPF32[$2 + 336 >> 2])) { - HEAP32[HEAP32[$2 + 444 >> 2] >> 2] = 4; - HEAPF32[HEAP32[$2 + 444 >> 2] + 4 >> 2] = HEAPF32[$2 + 348 >> 2]; - HEAP8[$2 + 63 | 0] = 1; - break label$7; - } - if (HEAPF32[$2 + 40 >> 2] > Math_fround(HEAPF32[$2 + 340 >> 2] - HEAPF32[$2 + 336 >> 2])) { - HEAPF32[$2 + 332 >> 2] = HEAPF32[$2 + 56 >> 2]; - break label$7; - } - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2SeparationFunction__Evaluate_28int_2c_20int_2c_20float_29_20const($2 - -64 | 0, HEAP32[$2 + 48 >> 2], HEAP32[$2 + 44 >> 2], HEAPF32[$2 + 332 >> 2]), - HEAPF32[wasm2js_i32$0 + 36 >> 2] = wasm2js_f32$0; - if (HEAPF32[$2 + 36 >> 2] < Math_fround(HEAPF32[$2 + 340 >> 2] - HEAPF32[$2 + 336 >> 2])) { - HEAP32[HEAP32[$2 + 444 >> 2] >> 2] = 1; - HEAPF32[HEAP32[$2 + 444 >> 2] + 4 >> 2] = HEAPF32[$2 + 332 >> 2]; - HEAP8[$2 + 63 | 0] = 1; - break label$7; - } - if (HEAPF32[$2 + 36 >> 2] <= Math_fround(HEAPF32[$2 + 340 >> 2] + HEAPF32[$2 + 336 >> 2])) { - HEAP32[HEAP32[$2 + 444 >> 2] >> 2] = 3; - HEAPF32[HEAP32[$2 + 444 >> 2] + 4 >> 2] = HEAPF32[$2 + 332 >> 2]; - HEAP8[$2 + 63 | 0] = 1; - break label$7; - } - HEAP32[$2 + 32 >> 2] = 0; - HEAPF32[$2 + 28 >> 2] = HEAPF32[$2 + 332 >> 2]; - HEAPF32[$2 + 24 >> 2] = HEAPF32[$2 + 56 >> 2]; - while (1) { - label$13: { - if (HEAP32[$2 + 32 >> 2] & 1) { - HEAPF32[$2 + 20 >> 2] = HEAPF32[$2 + 28 >> 2] + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 340 >> 2] - HEAPF32[$2 + 36 >> 2]) * Math_fround(HEAPF32[$2 + 24 >> 2] - HEAPF32[$2 + 28 >> 2])) / Math_fround(HEAPF32[$2 + 40 >> 2] - HEAPF32[$2 + 36 >> 2])); - break label$13; - } - HEAPF32[$2 + 20 >> 2] = Math_fround(HEAPF32[$2 + 28 >> 2] + HEAPF32[$2 + 24 >> 2]) * Math_fround(.5); - } - HEAP32[$2 + 32 >> 2] = HEAP32[$2 + 32 >> 2] + 1; - HEAP32[7574] = HEAP32[7574] + 1; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2SeparationFunction__Evaluate_28int_2c_20int_2c_20float_29_20const($2 - -64 | 0, HEAP32[$2 + 48 >> 2], HEAP32[$2 + 44 >> 2], HEAPF32[$2 + 20 >> 2]), - HEAPF32[wasm2js_i32$0 + 16 >> 2] = wasm2js_f32$0; - label$15: { - if (float_20b2Abs_float__28float_29(Math_fround(HEAPF32[$2 + 16 >> 2] - HEAPF32[$2 + 340 >> 2])) < HEAPF32[$2 + 336 >> 2]) { - HEAPF32[$2 + 56 >> 2] = HEAPF32[$2 + 20 >> 2]; - break label$15; - } - label$17: { - if (HEAPF32[$2 + 16 >> 2] > HEAPF32[$2 + 340 >> 2]) { - HEAPF32[$2 + 28 >> 2] = HEAPF32[$2 + 20 >> 2]; - HEAPF32[$2 + 36 >> 2] = HEAPF32[$2 + 16 >> 2]; - break label$17; - } - HEAPF32[$2 + 24 >> 2] = HEAPF32[$2 + 20 >> 2]; - HEAPF32[$2 + 40 >> 2] = HEAPF32[$2 + 16 >> 2]; - } - if (HEAP32[$2 + 32 >> 2] == 50) { - break label$15; - } - continue; - } - break; - } - wasm2js_i32$0 = 30300, wasm2js_i32$1 = int_20b2Max_int__28int_2c_20int_29(HEAP32[7575], HEAP32[$2 + 32 >> 2]), - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - HEAP32[$2 + 52 >> 2] = HEAP32[$2 + 52 >> 2] + 1; - if (HEAP32[$2 + 52 >> 2] != 8) { - continue; - } - } - break; - } - HEAP32[$2 + 324 >> 2] = HEAP32[$2 + 324 >> 2] + 1; - HEAP32[7572] = HEAP32[7572] + 1; - if (HEAP8[$2 + 63 | 0] & 1) { - break label$3; - } - if (HEAP32[$2 + 324 >> 2] != 20) { - continue; - } - HEAP32[HEAP32[$2 + 444 >> 2] >> 2] = 1; - HEAPF32[HEAP32[$2 + 444 >> 2] + 4 >> 2] = HEAPF32[$2 + 332 >> 2]; - } - break; - } - wasm2js_i32$0 = 30292, wasm2js_i32$1 = int_20b2Max_int__28int_2c_20int_29(HEAP32[7573], HEAP32[$2 + 324 >> 2]), - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Timer__GetMilliseconds_28_29_20const($2 + 439 | 0), - HEAPF32[wasm2js_i32$0 + 12 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = 30280, wasm2js_f32$0 = float_20b2Max_float__28float_2c_20float_29(HEAPF32[7570], HEAPF32[$2 + 12 >> 2]), - HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; - HEAPF32[7569] = HEAPF32[7569] + HEAPF32[$2 + 12 >> 2]; - __stack_pointer = $2 + 448 | 0; -} - -function b2World__DebugDraw_28_29($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 288 | 0; - __stack_pointer = $1; - HEAP32[$1 + 284 >> 2] = $0; - $3 = HEAP32[$1 + 284 >> 2]; - label$1: { - if (!HEAP32[$3 + 102980 >> 2]) { - break label$1; - } - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Draw__GetFlags_28_29_20const(HEAP32[$3 + 102980 >> 2]), - HEAP32[wasm2js_i32$0 + 280 >> 2] = wasm2js_i32$1; - if (HEAP32[$1 + 280 >> 2] & 1) { - HEAP32[$1 + 276 >> 2] = HEAP32[$3 + 102948 >> 2]; - while (1) { - if (HEAP32[$1 + 276 >> 2]) { - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Body__GetTransform_28_29_20const(HEAP32[$1 + 276 >> 2]), - HEAP32[wasm2js_i32$0 + 272 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Body__GetFixtureList_28_29(HEAP32[$1 + 276 >> 2]), - HEAP32[wasm2js_i32$0 + 268 >> 2] = wasm2js_i32$1; - while (1) { - if (HEAP32[$1 + 268 >> 2]) { - label$7: { - if (!((b2Body__GetType_28_29_20const(HEAP32[$1 + 276 >> 2]) | 0) != 2 | HEAPF32[HEAP32[$1 + 276 >> 2] + 116 >> 2] != Math_fround(0))) { - $0 = HEAP32[$1 + 268 >> 2]; - $2 = HEAP32[$1 + 272 >> 2]; - b2Color__b2Color_28float_2c_20float_2c_20float_2c_20float_29($1 + 252 | 0, Math_fround(1), Math_fround(0), Math_fround(0), Math_fround(1)); - b2World__DrawShape_28b2Fixture__2c_20b2Transform_20const__2c_20b2Color_20const__29($3, $0, $2, $1 + 252 | 0); - break label$7; - } - label$9: { - if (!(b2Body__IsEnabled_28_29_20const(HEAP32[$1 + 276 >> 2]) & 1)) { - $0 = HEAP32[$1 + 268 >> 2]; - $2 = HEAP32[$1 + 272 >> 2]; - b2Color__b2Color_28float_2c_20float_2c_20float_2c_20float_29($1 + 236 | 0, Math_fround(.5), Math_fround(.5), Math_fround(.30000001192092896), Math_fround(1)); - b2World__DrawShape_28b2Fixture__2c_20b2Transform_20const__2c_20b2Color_20const__29($3, $0, $2, $1 + 236 | 0); - break label$9; - } - label$11: { - if (!b2Body__GetType_28_29_20const(HEAP32[$1 + 276 >> 2])) { - $0 = HEAP32[$1 + 268 >> 2]; - $2 = HEAP32[$1 + 272 >> 2]; - b2Color__b2Color_28float_2c_20float_2c_20float_2c_20float_29($1 + 220 | 0, Math_fround(.5), Math_fround(.8999999761581421), Math_fround(.5), Math_fround(1)); - b2World__DrawShape_28b2Fixture__2c_20b2Transform_20const__2c_20b2Color_20const__29($3, $0, $2, $1 + 220 | 0); - break label$11; - } - label$13: { - if ((b2Body__GetType_28_29_20const(HEAP32[$1 + 276 >> 2]) | 0) == 1) { - $0 = HEAP32[$1 + 268 >> 2]; - $2 = HEAP32[$1 + 272 >> 2]; - b2Color__b2Color_28float_2c_20float_2c_20float_2c_20float_29($1 + 204 | 0, Math_fround(.5), Math_fround(.5), Math_fround(.8999999761581421), Math_fround(1)); - b2World__DrawShape_28b2Fixture__2c_20b2Transform_20const__2c_20b2Color_20const__29($3, $0, $2, $1 + 204 | 0); - break label$13; - } - label$15: { - if (!(b2Body__IsAwake_28_29_20const(HEAP32[$1 + 276 >> 2]) & 1)) { - $0 = HEAP32[$1 + 268 >> 2]; - $2 = HEAP32[$1 + 272 >> 2]; - b2Color__b2Color_28float_2c_20float_2c_20float_2c_20float_29($1 + 188 | 0, Math_fround(.6000000238418579), Math_fround(.6000000238418579), Math_fround(.6000000238418579), Math_fround(1)); - b2World__DrawShape_28b2Fixture__2c_20b2Transform_20const__2c_20b2Color_20const__29($3, $0, $2, $1 + 188 | 0); - break label$15; - } - $0 = HEAP32[$1 + 268 >> 2]; - $2 = HEAP32[$1 + 272 >> 2]; - b2Color__b2Color_28float_2c_20float_2c_20float_2c_20float_29($1 + 172 | 0, Math_fround(.8999999761581421), Math_fround(.699999988079071), Math_fround(.699999988079071), Math_fround(1)); - b2World__DrawShape_28b2Fixture__2c_20b2Transform_20const__2c_20b2Color_20const__29($3, $0, $2, $1 + 172 | 0); - } - } - } - } - } - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Fixture__GetNext_28_29(HEAP32[$1 + 268 >> 2]), - HEAP32[wasm2js_i32$0 + 268 >> 2] = wasm2js_i32$1; - continue; - } - break; - } - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Body__GetNext_28_29(HEAP32[$1 + 276 >> 2]), - HEAP32[wasm2js_i32$0 + 276 >> 2] = wasm2js_i32$1; - continue; - } - break; - } - } - if (HEAP32[$1 + 280 >> 2] & 2) { - HEAP32[$1 + 168 >> 2] = HEAP32[$3 + 102952 >> 2]; - while (1) { - if (HEAP32[$1 + 168 >> 2]) { - b2World__DrawJoint_28b2Joint__29($3, HEAP32[$1 + 168 >> 2]); - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Joint__GetNext_28_29(HEAP32[$1 + 168 >> 2]), - HEAP32[wasm2js_i32$0 + 168 >> 2] = wasm2js_i32$1; - continue; - } - break; - } - } - if (HEAP32[$1 + 280 >> 2] & 8) { - b2Color__b2Color_28float_2c_20float_2c_20float_2c_20float_29($1 + 152 | 0, Math_fround(.30000001192092896), Math_fround(.8999999761581421), Math_fround(.8999999761581421), Math_fround(1)); - HEAP32[$1 + 148 >> 2] = HEAP32[$3 + 102928 >> 2]; - while (1) { - if (HEAP32[$1 + 148 >> 2]) { - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Contact__GetFixtureA_28_29(HEAP32[$1 + 148 >> 2]), - HEAP32[wasm2js_i32$0 + 144 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Contact__GetFixtureB_28_29(HEAP32[$1 + 148 >> 2]), - HEAP32[wasm2js_i32$0 + 140 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Contact__GetChildIndexA_28_29_20const(HEAP32[$1 + 148 >> 2]), - HEAP32[wasm2js_i32$0 + 136 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Contact__GetChildIndexB_28_29_20const(HEAP32[$1 + 148 >> 2]), - HEAP32[wasm2js_i32$0 + 132 >> 2] = wasm2js_i32$1; - b2AABB__GetCenter_28_29_20const($1 + 124 | 0, b2Fixture__GetAABB_28int_29_20const(HEAP32[$1 + 144 >> 2], HEAP32[$1 + 136 >> 2])); - b2AABB__GetCenter_28_29_20const($1 + 116 | 0, b2Fixture__GetAABB_28int_29_20const(HEAP32[$1 + 140 >> 2], HEAP32[$1 + 132 >> 2])); - $0 = HEAP32[$3 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0, $1 + 124 | 0, $1 + 116 | 0, $1 + 152 | 0); - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Contact__GetNext_28_29(HEAP32[$1 + 148 >> 2]), - HEAP32[wasm2js_i32$0 + 148 >> 2] = wasm2js_i32$1; - continue; - } - break; - } - } - if (HEAP32[$1 + 280 >> 2] & 4) { - b2Color__b2Color_28float_2c_20float_2c_20float_2c_20float_29($1 + 100 | 0, Math_fround(.8999999761581421), Math_fround(.30000001192092896), Math_fround(.8999999761581421), Math_fround(1)); - HEAP32[$1 + 96 >> 2] = $3 + 102868; - HEAP32[$1 + 92 >> 2] = HEAP32[$3 + 102948 >> 2]; - while (1) { - if (HEAP32[$1 + 92 >> 2]) { - if (b2Body__IsEnabled_28_29_20const(HEAP32[$1 + 92 >> 2]) & 1) { - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Body__GetFixtureList_28_29(HEAP32[$1 + 92 >> 2]), - HEAP32[wasm2js_i32$0 + 88 >> 2] = wasm2js_i32$1; - while (1) { - if (HEAP32[$1 + 88 >> 2]) { - HEAP32[$1 + 84 >> 2] = 0; - while (1) { - if (HEAP32[$1 + 84 >> 2] < HEAP32[HEAP32[$1 + 88 >> 2] + 28 >> 2]) { - HEAP32[$1 + 80 >> 2] = HEAP32[HEAP32[$1 + 88 >> 2] + 24 >> 2] + Math_imul(HEAP32[$1 + 84 >> 2], 28); - $4 = b2BroadPhase__GetFatAABB_28int_29_20const(HEAP32[$1 + 96 >> 2], HEAP32[HEAP32[$1 + 80 >> 2] + 24 >> 2]); - $2 = HEAP32[$4 + 8 >> 2]; - $0 = HEAP32[$4 + 12 >> 2]; - HEAP32[$1 + 72 >> 2] = $2; - HEAP32[$1 + 76 >> 2] = $0; - $2 = HEAP32[$4 + 4 >> 2]; - $0 = HEAP32[$4 >> 2]; - HEAP32[$1 + 64 >> 2] = $0; - HEAP32[$1 + 68 >> 2] = $2; - $0 = $1 + 32 | 0; - $2 = $0 + 32 | 0; - while (1) { - b2Vec2__b2Vec2_28_29($0); - $0 = $0 + 8 | 0; - if (($2 | 0) != ($0 | 0)) { - continue; - } - break; - } - b2Vec2__Set_28float_2c_20float_29($1 + 32 | 0, HEAPF32[$1 + 64 >> 2], HEAPF32[$1 + 68 >> 2]); - b2Vec2__Set_28float_2c_20float_29($1 + 40 | 0, HEAPF32[$1 + 72 >> 2], HEAPF32[$1 + 68 >> 2]); - b2Vec2__Set_28float_2c_20float_29($1 + 48 | 0, HEAPF32[$1 + 72 >> 2], HEAPF32[$1 + 76 >> 2]); - b2Vec2__Set_28float_2c_20float_29($1 + 56 | 0, HEAPF32[$1 + 64 >> 2], HEAPF32[$1 + 76 >> 2]); - $0 = HEAP32[$3 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 8 >> 2]]($0, $1 + 32 | 0, 4, $1 + 100 | 0); - HEAP32[$1 + 84 >> 2] = HEAP32[$1 + 84 >> 2] + 1; - continue; - } - break; - } - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Fixture__GetNext_28_29(HEAP32[$1 + 88 >> 2]), - HEAP32[wasm2js_i32$0 + 88 >> 2] = wasm2js_i32$1; - continue; - } - break; - } - } - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Body__GetNext_28_29(HEAP32[$1 + 92 >> 2]), - HEAP32[wasm2js_i32$0 + 92 >> 2] = wasm2js_i32$1; - continue; - } - break; - } - } - if (!(HEAP32[$1 + 280 >> 2] & 16)) { - break label$1; - } - HEAP32[$1 + 28 >> 2] = HEAP32[$3 + 102948 >> 2]; - while (1) { - if (HEAP32[$1 + 28 >> 2]) { - $4 = b2Body__GetTransform_28_29_20const(HEAP32[$1 + 28 >> 2]); - $2 = HEAP32[$4 + 8 >> 2]; - $0 = HEAP32[$4 + 12 >> 2]; - HEAP32[$1 + 16 >> 2] = $2; - HEAP32[$1 + 20 >> 2] = $0; - $2 = HEAP32[$4 + 4 >> 2]; - $0 = HEAP32[$4 >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 + 12 >> 2] = $2; - $4 = b2Body__GetWorldCenter_28_29_20const(HEAP32[$1 + 28 >> 2]); - $2 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - $4 = $2; - $2 = $1 + 8 | 0; - HEAP32[$2 >> 2] = $4; - HEAP32[$2 + 4 >> 2] = $0; - $0 = HEAP32[$3 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 28 >> 2]]($0, $1 + 8 | 0); - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Body__GetNext_28_29(HEAP32[$1 + 28 >> 2]), - HEAP32[wasm2js_i32$0 + 28 >> 2] = wasm2js_i32$1; - continue; - } - break; - } - } - __stack_pointer = $1 + 288 | 0; -} - -function __rem_pio2_large($0, $1, $2, $3, $4) { - var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0; - $8 = __stack_pointer - 560 | 0; - __stack_pointer = $8; - $6 = ($2 - 3 | 0) / 24 | 0; - $18 = ($6 | 0) > 0 ? $6 : 0; - $12 = Math_imul($18, -24) + $2 | 0; - $13 = HEAP32[($4 << 2) + 20832 >> 2]; - $15 = $3 - 1 | 0; - if (($13 + $15 | 0) >= 0) { - $7 = $3 + $13 | 0; - $2 = $18 - $15 | 0; - $6 = 0; - while (1) { - $5 = ($2 | 0) < 0 ? 0 : +HEAP32[($2 << 2) + 20848 >> 2]; - HEAPF64[($8 + 320 | 0) + ($6 << 3) >> 3] = $5; - $2 = $2 + 1 | 0; - $6 = $6 + 1 | 0; - if (($6 | 0) != ($7 | 0)) { - continue; - } - break; - } - } - $17 = $12 - 24 | 0; - $7 = 0; - $10 = ($13 | 0) > 0 ? $13 : 0; - $11 = ($3 | 0) <= 0; - while (1) { - label$6: { - if ($11) { - $5 = 0; - break label$6; - } - $6 = $7 + $15 | 0; - $2 = 0; - $5 = 0; - while (1) { - $5 = HEAPF64[($2 << 3) + $0 >> 3] * HEAPF64[($8 + 320 | 0) + ($6 - $2 << 3) >> 3] + $5; - $2 = $2 + 1 | 0; - if (($3 | 0) != ($2 | 0)) { - continue; - } - break; - } - } - HEAPF64[($7 << 3) + $8 >> 3] = $5; - $2 = ($7 | 0) == ($10 | 0); - $7 = $7 + 1 | 0; - if (!$2) { - continue; - } - break; - } - $23 = 47 - $12 | 0; - $21 = 48 - $12 | 0; - $24 = $12 - 25 | 0; - $7 = $13; - label$9: { - while (1) { - $5 = HEAPF64[($7 << 3) + $8 >> 3]; - $2 = 0; - $6 = $7; - $15 = ($7 | 0) <= 0; - if (!$15) { - while (1) { - $10 = ($8 + 480 | 0) + ($2 << 2) | 0; - $9 = $5 * 5.960464477539063e-8; - label$14: { - if (Math_abs($9) < 2147483648) { - $11 = ~~$9; - break label$14; - } - $11 = -2147483648; - } - $9 = +($11 | 0); - $5 = $9 * -16777216 + $5; - label$13: { - if (Math_abs($5) < 2147483648) { - $11 = ~~$5; - break label$13; - } - $11 = -2147483648; - } - HEAP32[$10 >> 2] = $11; - $6 = $6 - 1 | 0; - $5 = HEAPF64[($6 << 3) + $8 >> 3] + $9; - $2 = $2 + 1 | 0; - if (($7 | 0) != ($2 | 0)) { - continue; - } - break; - } - } - $5 = scalbn($5, $17); - $5 = $5 + floor($5 * .125) * -8; - label$17: { - if (Math_abs($5) < 2147483648) { - $16 = ~~$5; - break label$17; - } - $16 = -2147483648; - } - $5 = $5 - +($16 | 0); - label$19: { - label$20: { - label$21: { - $22 = ($17 | 0) <= 0; - label$22: { - if (!$22) { - $6 = ($7 << 2) + $8 | 0; - $2 = $6 + 476 | 0; - $11 = $2; - $2 = HEAP32[$6 + 476 >> 2]; - $6 = $2; - $2 = $2 >> $21; - $6 = $6 - ($2 << $21) | 0; - HEAP32[$11 >> 2] = $6; - $16 = $2 + $16 | 0; - $14 = $6 >> $23; - break label$22; - } - if ($17) { - break label$21; - } - $14 = HEAP32[(($7 << 2) + $8 | 0) + 476 >> 2] >> 23; - } - if (($14 | 0) <= 0) { - break label$19; - } - break label$20; - } - $14 = 2; - if ($5 >= .5) { - break label$20; - } - $14 = 0; - break label$19; - } - $2 = 0; - $11 = 0; - if (!$15) { - while (1) { - $15 = ($8 + 480 | 0) + ($2 << 2) | 0; - $6 = HEAP32[$15 >> 2]; - $10 = 16777215; - label$26: { - label$27: { - if ($11) { - break label$27; - } - $10 = 16777216; - if ($6) { - break label$27; - } - $11 = 0; - break label$26; - } - HEAP32[$15 >> 2] = $10 - $6; - $11 = 1; - } - $2 = $2 + 1 | 0; - if (($7 | 0) != ($2 | 0)) { - continue; - } - break; - } - } - label$28: { - if ($22) { - break label$28; - } - $2 = 8388607; - label$29: { - switch ($24 | 0) { - case 1: - $2 = 4194303; - break; - - case 0: - break label$29; - - default: - break label$28; - } - } - $10 = ($7 << 2) + $8 | 0; - $6 = $10 + 476 | 0; - HEAP32[$6 >> 2] = HEAP32[$10 + 476 >> 2] & $2; - } - $16 = $16 + 1 | 0; - if (($14 | 0) != 2) { - break label$19; - } - $5 = 1 - $5; - $14 = 2; - if (!$11) { - break label$19; - } - $5 = $5 - scalbn(1, $17); - } - if ($5 == 0) { - $6 = 0; - label$32: { - $2 = $7; - if (($13 | 0) >= ($2 | 0)) { - break label$32; - } - while (1) { - $2 = $2 - 1 | 0; - $6 = HEAP32[($8 + 480 | 0) + ($2 << 2) >> 2] | $6; - if (($2 | 0) > ($13 | 0)) { - continue; - } - break; - } - if (!$6) { - break label$32; - } - $12 = $17; - while (1) { - $12 = $12 - 24 | 0; - $7 = $7 - 1 | 0; - if (!HEAP32[($8 + 480 | 0) + ($7 << 2) >> 2]) { - continue; - } - break; - } - break label$9; - } - $2 = 1; - while (1) { - $6 = $2; - $2 = $2 + 1 | 0; - if (!HEAP32[($8 + 480 | 0) + ($13 - $6 << 2) >> 2]) { - continue; - } - break; - } - $10 = $7 + $6 | 0; - while (1) { - $6 = $3 + $7 | 0; - $7 = $7 + 1 | 0; - HEAPF64[($8 + 320 | 0) + ($6 << 3) >> 3] = HEAP32[($18 + $7 << 2) + 20848 >> 2]; - $2 = 0; - $5 = 0; - if (($3 | 0) > 0) { - while (1) { - $5 = HEAPF64[($2 << 3) + $0 >> 3] * HEAPF64[($8 + 320 | 0) + ($6 - $2 << 3) >> 3] + $5; - $2 = $2 + 1 | 0; - if (($3 | 0) != ($2 | 0)) { - continue; - } - break; - } - } - HEAPF64[($7 << 3) + $8 >> 3] = $5; - if (($7 | 0) < ($10 | 0)) { - continue; - } - break; - } - $7 = $10; - continue; - } - break; - } - $5 = scalbn($5, 24 - $12 | 0); - label$39: { - if ($5 >= 16777216) { - $3 = $7 << 2; - $3 = $3 + ($8 + 480 | 0) | 0; - $9 = $5 * 5.960464477539063e-8; - label$42: { - if (Math_abs($9) < 2147483648) { - $2 = ~~$9; - break label$42; - } - $2 = -2147483648; - } - $5 = +($2 | 0) * -16777216 + $5; - label$41: { - if (Math_abs($5) < 2147483648) { - $6 = ~~$5; - break label$41; - } - $6 = -2147483648; - } - HEAP32[$3 >> 2] = $6; - $7 = $7 + 1 | 0; - break label$39; - } - if (Math_abs($5) < 2147483648) { - $2 = ~~$5; - } else { - $2 = -2147483648; - } - $12 = $17; - } - HEAP32[($8 + 480 | 0) + ($7 << 2) >> 2] = $2; - } - $5 = scalbn(1, $12); - label$47: { - if (($7 | 0) < 0) { - break label$47; - } - $3 = $7; - while (1) { - $2 = $3; - HEAPF64[($2 << 3) + $8 >> 3] = $5 * +HEAP32[($8 + 480 | 0) + ($2 << 2) >> 2]; - $3 = $2 - 1 | 0; - $5 = $5 * 5.960464477539063e-8; - if ($2) { - continue; - } - break; - } - if (($7 | 0) < 0) { - break label$47; - } - $6 = $7; - while (1) { - $5 = 0; - $2 = 0; - $10 = $7 - $6 | 0; - $0 = ($10 | 0) > ($13 | 0) ? $13 : $10; - if (($0 | 0) >= 0) { - while (1) { - $5 = HEAPF64[($2 << 3) + 23616 >> 3] * HEAPF64[($2 + $6 << 3) + $8 >> 3] + $5; - $3 = ($0 | 0) != ($2 | 0); - $2 = $2 + 1 | 0; - if ($3) { - continue; - } - break; - } - } - HEAPF64[($8 + 160 | 0) + ($10 << 3) >> 3] = $5; - $2 = ($6 | 0) > 0; - $6 = $6 - 1 | 0; - if ($2) { - continue; - } - break; - } - } - label$52: { - label$53: { - label$54: { - switch ($4 | 0) { - case 3: - label$57: { - if (($7 | 0) <= 0) { - break label$57; - } - $5 = HEAPF64[($8 + 160 | 0) + ($7 << 3) >> 3]; - $2 = $7; - while (1) { - $3 = $2 - 1 | 0; - $6 = ($8 + 160 | 0) + ($3 << 3) | 0; - $9 = HEAPF64[$6 >> 3]; - $19 = $9; - $9 = $9 + $5; - HEAPF64[($8 + 160 | 0) + ($2 << 3) >> 3] = $5 + ($19 - $9); - HEAPF64[$6 >> 3] = $9; - $6 = $2 >>> 0 > 1; - $5 = $9; - $2 = $3; - if ($6) { - continue; - } - break; - } - if (($7 | 0) < 2) { - break label$57; - } - $5 = HEAPF64[($8 + 160 | 0) + ($7 << 3) >> 3]; - $2 = $7; - while (1) { - $3 = $2 - 1 | 0; - $6 = ($8 + 160 | 0) + ($3 << 3) | 0; - $9 = HEAPF64[$6 >> 3]; - $19 = $9; - $9 = $9 + $5; - HEAPF64[($8 + 160 | 0) + ($2 << 3) >> 3] = $5 + ($19 - $9); - HEAPF64[$6 >> 3] = $9; - $6 = $2 >>> 0 > 2; - $5 = $9; - $2 = $3; - if ($6) { - continue; - } - break; - } - if (($7 | 0) <= 1) { - break label$57; - } - while (1) { - $20 = $20 + HEAPF64[($8 + 160 | 0) + ($7 << 3) >> 3]; - $2 = ($7 | 0) > 2; - $7 = $7 - 1 | 0; - if ($2) { - continue; - } - break; - } - } - $5 = HEAPF64[$8 + 160 >> 3]; - if ($14) { - break label$53; - } - HEAPF64[$1 >> 3] = $5; - $5 = HEAPF64[$8 + 168 >> 3]; - HEAPF64[$1 + 16 >> 3] = $20; - HEAPF64[$1 + 8 >> 3] = $5; - break label$52; - - case 0: - $5 = 0; - if (($7 | 0) >= 0) { - while (1) { - $2 = $7; - $7 = $2 - 1 | 0; - $5 = $5 + HEAPF64[($8 + 160 | 0) + ($2 << 3) >> 3]; - if ($2) { - continue; - } - break; - } - } - HEAPF64[$1 >> 3] = $14 ? -$5 : $5; - break label$52; - - case 1: - case 2: - break label$54; - - default: - break label$52; - } - } - $5 = 0; - if (($7 | 0) >= 0) { - $3 = $7; - while (1) { - $2 = $3; - $3 = $2 - 1 | 0; - $5 = $5 + HEAPF64[($8 + 160 | 0) + ($2 << 3) >> 3]; - if ($2) { - continue; - } - break; - } - } - HEAPF64[$1 >> 3] = $14 ? -$5 : $5; - $5 = HEAPF64[$8 + 160 >> 3] - $5; - $2 = 1; - if (($7 | 0) > 0) { - while (1) { - $5 = $5 + HEAPF64[($8 + 160 | 0) + ($2 << 3) >> 3]; - $3 = ($2 | 0) != ($7 | 0); - $2 = $2 + 1 | 0; - if ($3) { - continue; - } - break; - } - } - HEAPF64[$1 + 8 >> 3] = $14 ? -$5 : $5; - break label$52; - } - HEAPF64[$1 >> 3] = -$5; - $5 = HEAPF64[$8 + 168 >> 3]; - HEAPF64[$1 + 16 >> 3] = -$20; - HEAPF64[$1 + 8 >> 3] = -$5; - } - __stack_pointer = $8 + 560 | 0; - return $16 & 7; -} - -function b2WheelJoint__InitVelocityConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, $5 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 272 | 0; - __stack_pointer = $2; - HEAP32[$2 + 268 >> 2] = $0; - HEAP32[$2 + 264 >> 2] = $1; - $3 = HEAP32[$2 + 268 >> 2]; - HEAP32[$3 + 132 >> 2] = HEAP32[HEAP32[$3 + 48 >> 2] + 8 >> 2]; - HEAP32[$3 + 136 >> 2] = HEAP32[HEAP32[$3 + 52 >> 2] + 8 >> 2]; - $4 = HEAP32[$3 + 48 >> 2]; - $0 = HEAP32[$4 + 28 >> 2]; - $1 = HEAP32[$4 + 32 >> 2]; - HEAP32[$3 + 140 >> 2] = $0; - HEAP32[$3 + 144 >> 2] = $1; - $4 = HEAP32[$3 + 52 >> 2]; - $1 = HEAP32[$4 + 28 >> 2]; - $0 = HEAP32[$4 + 32 >> 2]; - HEAP32[$3 + 148 >> 2] = $1; - HEAP32[$3 + 152 >> 2] = $0; - HEAPF32[$3 + 156 >> 2] = HEAPF32[HEAP32[$3 + 48 >> 2] + 120 >> 2]; - HEAPF32[$3 + 160 >> 2] = HEAPF32[HEAP32[$3 + 52 >> 2] + 120 >> 2]; - HEAPF32[$3 + 164 >> 2] = HEAPF32[HEAP32[$3 + 48 >> 2] + 128 >> 2]; - HEAPF32[$3 + 168 >> 2] = HEAPF32[HEAP32[$3 + 52 >> 2] + 128 >> 2]; - HEAPF32[$2 + 260 >> 2] = HEAPF32[$3 + 156 >> 2]; - HEAPF32[$2 + 256 >> 2] = HEAPF32[$3 + 160 >> 2]; - HEAPF32[$2 + 252 >> 2] = HEAPF32[$3 + 164 >> 2]; - HEAPF32[$2 + 248 >> 2] = HEAPF32[$3 + 168 >> 2]; - $4 = HEAP32[HEAP32[$2 + 264 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 132 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 240 >> 2] = $0; - HEAP32[$2 + 244 >> 2] = $1; - HEAPF32[$2 + 236 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 264 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 132 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 264 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 132 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 224 >> 2] = $1; - HEAP32[$2 + 228 >> 2] = $0; - HEAPF32[$2 + 220 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 264 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 132 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 264 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 136 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 208 >> 2] = $0; - HEAP32[$2 + 212 >> 2] = $1; - HEAPF32[$2 + 204 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 264 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 136 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 264 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 136 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 192 >> 2] = $1; - HEAP32[$2 + 196 >> 2] = $0; - HEAPF32[$2 + 188 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 264 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 136 >> 2], 12) | 0) + 8 >> 2]; - b2Rot__b2Rot_28float_29($2 + 180 | 0, HEAPF32[$2 + 236 >> 2]); - b2Rot__b2Rot_28float_29($2 + 172 | 0, HEAPF32[$2 + 204 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 156 | 0, $3 + 76 | 0, $3 + 140 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 164 | 0, $2 + 180 | 0, $2 + 156 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 140 | 0, $3 + 84 | 0, $3 + 148 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 148 | 0, $2 + 172 | 0, $2 + 140 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 116 | 0, $2 + 208 | 0, $2 + 148 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 124 | 0, $2 + 116 | 0, $2 + 240 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 132 | 0, $2 + 124 | 0, $2 + 164 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 108 | 0, $2 + 180 | 0, $3 + 100 | 0); - $1 = HEAP32[$2 + 112 >> 2]; - $0 = HEAP32[$2 + 108 >> 2]; - HEAP32[$3 + 180 >> 2] = $0; - HEAP32[$3 + 184 >> 2] = $1; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 100 | 0, $2 + 132 | 0, $2 + 164 | 0); - wasm2js_i32$0 = $3, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 100 | 0, $3 + 180 | 0), - HEAPF32[wasm2js_i32$0 + 196 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $3, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 148 | 0, $3 + 180 | 0), - HEAPF32[wasm2js_i32$0 + 200 >> 2] = wasm2js_f32$0; - HEAPF32[$3 + 204 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 248 >> 2] * HEAPF32[$3 + 200 >> 2]) * HEAPF32[$3 + 200 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 252 >> 2] * HEAPF32[$3 + 196 >> 2]) * HEAPF32[$3 + 196 >> 2]) + Math_fround(HEAPF32[$2 + 260 >> 2] + HEAPF32[$2 + 256 >> 2])); - if (HEAPF32[$3 + 204 >> 2] > Math_fround(0)) { - HEAPF32[$3 + 204 >> 2] = Math_fround(1) / HEAPF32[$3 + 204 >> 2]; - } - HEAPF32[$3 + 212 >> 2] = 0; - HEAPF32[$3 + 216 >> 2] = 0; - HEAPF32[$3 + 220 >> 2] = 0; - label$2: { - if (HEAPF32[$3 + 68 >> 2] > Math_fround(0)) { - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 92 | 0, $2 + 180 | 0, $3 + 92 | 0); - $0 = HEAP32[$2 + 96 >> 2]; - $1 = HEAP32[$2 + 92 >> 2]; - HEAP32[$3 + 172 >> 2] = $1; - HEAP32[$3 + 176 >> 2] = $0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 84 | 0, $2 + 132 | 0, $2 + 164 | 0); - wasm2js_i32$0 = $3, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 84 | 0, $3 + 172 | 0), - HEAPF32[wasm2js_i32$0 + 188 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $3, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 148 | 0, $3 + 172 | 0), - HEAPF32[wasm2js_i32$0 + 192 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 80 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 248 >> 2] * HEAPF32[$3 + 192 >> 2]) * HEAPF32[$3 + 192 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 252 >> 2] * HEAPF32[$3 + 188 >> 2]) * HEAPF32[$3 + 188 >> 2]) + Math_fround(HEAPF32[$2 + 260 >> 2] + HEAPF32[$2 + 256 >> 2])); - if (HEAPF32[$2 + 80 >> 2] > Math_fround(0)) { - HEAPF32[$3 + 212 >> 2] = Math_fround(1) / HEAPF32[$2 + 80 >> 2]; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 132 | 0, $3 + 172 | 0), - HEAPF32[wasm2js_i32$0 + 76 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 72 >> 2] = HEAPF32[$3 + 68 >> 2] * Math_fround(6.2831854820251465); - $5 = HEAPF32[$3 + 212 >> 2]; - HEAPF32[$2 + 68 >> 2] = Math_fround(Math_fround($5 + $5) * HEAPF32[$3 + 72 >> 2]) * HEAPF32[$2 + 72 >> 2]; - HEAPF32[$2 + 64 >> 2] = Math_fround(HEAPF32[$3 + 212 >> 2] * HEAPF32[$2 + 72 >> 2]) * HEAPF32[$2 + 72 >> 2]; - HEAPF32[$2 + 60 >> 2] = HEAPF32[HEAP32[$2 + 264 >> 2] >> 2]; - HEAPF32[$3 + 220 >> 2] = HEAPF32[$2 + 60 >> 2] * Math_fround(Math_fround(HEAPF32[$2 + 60 >> 2] * HEAPF32[$2 + 64 >> 2]) + HEAPF32[$2 + 68 >> 2]); - if (HEAPF32[$3 + 220 >> 2] > Math_fround(0)) { - HEAPF32[$3 + 220 >> 2] = Math_fround(1) / HEAPF32[$3 + 220 >> 2]; - } - HEAPF32[$3 + 216 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 76 >> 2] * HEAPF32[$2 + 60 >> 2]) * HEAPF32[$2 + 64 >> 2]) * HEAPF32[$3 + 220 >> 2]; - HEAPF32[$3 + 212 >> 2] = HEAPF32[$2 + 80 >> 2] + HEAPF32[$3 + 220 >> 2]; - if (HEAPF32[$3 + 212 >> 2] > Math_fround(0)) { - HEAPF32[$3 + 212 >> 2] = Math_fround(1) / HEAPF32[$3 + 212 >> 2]; - } - } - break label$2; - } - HEAPF32[$3 + 116 >> 2] = 0; - } - label$7: { - if (HEAP8[$3 + 128 | 0] & 1) { - HEAPF32[$3 + 208 >> 2] = HEAPF32[$2 + 252 >> 2] + HEAPF32[$2 + 248 >> 2]; - if (HEAPF32[$3 + 208 >> 2] > Math_fround(0)) { - HEAPF32[$3 + 208 >> 2] = Math_fround(1) / HEAPF32[$3 + 208 >> 2]; - } - break label$7; - } - HEAPF32[$3 + 208 >> 2] = 0; - HEAPF32[$3 + 112 >> 2] = 0; - } - label$10: { - if (HEAP8[HEAP32[$2 + 264 >> 2] + 20 | 0] & 1) { - HEAPF32[$3 + 108 >> 2] = HEAPF32[$3 + 108 >> 2] * HEAPF32[HEAP32[$2 + 264 >> 2] + 8 >> 2]; - HEAPF32[$3 + 116 >> 2] = HEAPF32[$3 + 116 >> 2] * HEAPF32[HEAP32[$2 + 264 >> 2] + 8 >> 2]; - HEAPF32[$3 + 112 >> 2] = HEAPF32[$3 + 112 >> 2] * HEAPF32[HEAP32[$2 + 264 >> 2] + 8 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 44 | 0, HEAPF32[$3 + 108 >> 2], $3 + 180 | 0); - operator__28float_2c_20b2Vec2_20const__29($2 + 36 | 0, HEAPF32[$3 + 116 >> 2], $3 + 172 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 52 | 0, $2 + 44 | 0, $2 + 36 | 0); - HEAPF32[$2 + 32 >> 2] = Math_fround(Math_fround(HEAPF32[$3 + 108 >> 2] * HEAPF32[$3 + 196 >> 2]) + Math_fround(HEAPF32[$3 + 116 >> 2] * HEAPF32[$3 + 188 >> 2])) + HEAPF32[$3 + 112 >> 2]; - HEAPF32[$2 + 28 >> 2] = Math_fround(Math_fround(HEAPF32[$3 + 108 >> 2] * HEAPF32[$3 + 200 >> 2]) + Math_fround(HEAPF32[$3 + 116 >> 2] * HEAPF32[$3 + 192 >> 2])) + HEAPF32[$3 + 112 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 20 | 0, HEAPF32[$3 + 156 >> 2], $2 + 52 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 224 | 0, $2 + 20 | 0); - HEAPF32[$2 + 220 >> 2] = Math_fround(Math_fround(-HEAPF32[$3 + 164 >> 2]) * HEAPF32[$2 + 32 >> 2]) + HEAPF32[$2 + 220 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 12 | 0, HEAPF32[$3 + 160 >> 2], $2 + 52 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 192 | 0, $2 + 12 | 0); - HEAPF32[$2 + 188 >> 2] = Math_fround(HEAPF32[$3 + 168 >> 2] * HEAPF32[$2 + 28 >> 2]) + HEAPF32[$2 + 188 >> 2]; - break label$10; - } - HEAPF32[$3 + 108 >> 2] = 0; - HEAPF32[$3 + 116 >> 2] = 0; - HEAPF32[$3 + 112 >> 2] = 0; - } - $1 = HEAP32[$2 + 228 >> 2]; - $0 = HEAP32[$2 + 224 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 264 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 132 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 264 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 132 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 220 >> 2]; - $0 = HEAP32[$2 + 196 >> 2]; - $1 = HEAP32[$2 + 192 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 264 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 136 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 264 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 136 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 188 >> 2]; - __stack_pointer = $2 + 272 | 0; -} - -function b2PrismaticJoint__SolveVelocityConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, $5 = Math_fround(0), $6 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 352 | 0; - __stack_pointer = $2; - HEAP32[$2 + 348 >> 2] = $0; - HEAP32[$2 + 344 >> 2] = $1; - $3 = HEAP32[$2 + 348 >> 2]; - $4 = HEAP32[HEAP32[$2 + 344 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 144 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 336 >> 2] = $1; - HEAP32[$2 + 340 >> 2] = $0; - HEAPF32[$2 + 332 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 344 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 144 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 344 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 148 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 320 >> 2] = $0; - HEAP32[$2 + 324 >> 2] = $1; - HEAPF32[$2 + 316 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 344 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 148 >> 2], 12) | 0) + 8 >> 2]; - HEAPF32[$2 + 312 >> 2] = HEAPF32[$3 + 168 >> 2]; - HEAPF32[$2 + 308 >> 2] = HEAPF32[$3 + 172 >> 2]; - HEAPF32[$2 + 304 >> 2] = HEAPF32[$3 + 176 >> 2]; - HEAPF32[$2 + 300 >> 2] = HEAPF32[$3 + 180 >> 2]; - if (!(!(HEAP8[$3 + 137 | 0] & 1) | HEAP32[$3 + 140 >> 2] == 3)) { - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 288 | 0, $2 + 320 | 0, $2 + 336 | 0); - $5 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 184 | 0, $2 + 288 | 0); - HEAPF32[$2 + 296 >> 2] = Math_fround(Math_fround(-HEAPF32[$3 + 208 >> 2]) * HEAPF32[$2 + 332 >> 2]) + Math_fround(Math_fround(HEAPF32[$3 + 212 >> 2] * HEAPF32[$2 + 316 >> 2]) + $5); - HEAPF32[$2 + 284 >> 2] = HEAPF32[$3 + 252 >> 2] * Math_fround(HEAPF32[$3 + 132 >> 2] - HEAPF32[$2 + 296 >> 2]); - HEAPF32[$2 + 280 >> 2] = HEAPF32[$3 + 116 >> 2]; - HEAPF32[$2 + 276 >> 2] = HEAPF32[HEAP32[$2 + 344 >> 2] >> 2] * HEAPF32[$3 + 128 >> 2]; - wasm2js_i32$0 = $3, wasm2js_f32$0 = float_20b2Clamp_float__28float_2c_20float_2c_20float_29(Math_fround(HEAPF32[$3 + 116 >> 2] + HEAPF32[$2 + 284 >> 2]), Math_fround(-HEAPF32[$2 + 276 >> 2]), HEAPF32[$2 + 276 >> 2]), - HEAPF32[wasm2js_i32$0 + 116 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 284 >> 2] = HEAPF32[$3 + 116 >> 2] - HEAPF32[$2 + 280 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 268 | 0, HEAPF32[$2 + 284 >> 2], $3 + 184 | 0); - HEAPF32[$2 + 264 >> 2] = HEAPF32[$2 + 284 >> 2] * HEAPF32[$3 + 208 >> 2]; - HEAPF32[$2 + 260 >> 2] = HEAPF32[$2 + 284 >> 2] * HEAPF32[$3 + 212 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 252 | 0, HEAPF32[$2 + 312 >> 2], $2 + 268 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 336 | 0, $2 + 252 | 0); - HEAPF32[$2 + 332 >> 2] = Math_fround(Math_fround(-HEAPF32[$2 + 304 >> 2]) * HEAPF32[$2 + 264 >> 2]) + HEAPF32[$2 + 332 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 244 | 0, HEAPF32[$2 + 308 >> 2], $2 + 268 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 320 | 0, $2 + 244 | 0); - HEAPF32[$2 + 316 >> 2] = Math_fround(HEAPF32[$2 + 300 >> 2] * HEAPF32[$2 + 260 >> 2]) + HEAPF32[$2 + 316 >> 2]; - } - b2Vec2__b2Vec2_28_29($2 + 236 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 228 | 0, $2 + 320 | 0, $2 + 336 | 0); - $5 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 192 | 0, $2 + 228 | 0); - HEAPF32[$2 + 236 >> 2] = Math_fround(Math_fround(-HEAPF32[$3 + 200 >> 2]) * HEAPF32[$2 + 332 >> 2]) + Math_fround(Math_fround(HEAPF32[$3 + 204 >> 2] * HEAPF32[$2 + 316 >> 2]) + $5); - HEAPF32[$2 + 240 >> 2] = HEAPF32[$2 + 316 >> 2] - HEAPF32[$2 + 332 >> 2]; - label$2: { - if (!(!(HEAP8[$3 + 136 | 0] & 1) | !HEAP32[$3 + 140 >> 2])) { - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 216 | 0, $2 + 320 | 0, $2 + 336 | 0); - $5 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 184 | 0, $2 + 216 | 0); - HEAPF32[$2 + 224 >> 2] = Math_fround(Math_fround(-HEAPF32[$3 + 208 >> 2]) * HEAPF32[$2 + 332 >> 2]) + Math_fround(Math_fround(HEAPF32[$3 + 212 >> 2] * HEAPF32[$2 + 316 >> 2]) + $5); - b2Vec3__b2Vec3_28float_2c_20float_2c_20float_29($2 + 204 | 0, HEAPF32[$2 + 236 >> 2], HEAPF32[$2 + 240 >> 2], HEAPF32[$2 + 224 >> 2]); - HEAP32[$2 + 200 >> 2] = HEAP32[$3 + 112 >> 2]; - $0 = HEAP32[$3 + 108 >> 2]; - $1 = HEAP32[$3 + 104 >> 2]; - HEAP32[$2 + 192 >> 2] = $1; - HEAP32[$2 + 196 >> 2] = $0; - b2Vec3__operator__28_29_20const($2 + 164 | 0, $2 + 204 | 0); - b2Mat33__Solve33_28b2Vec3_20const__29_20const($2 + 176 | 0, $3 + 216 | 0, $2 + 164 | 0); - b2Vec3__operator___28b2Vec3_20const__29($3 + 104 | 0, $2 + 176 | 0); - label$4: { - if (HEAP32[$3 + 140 >> 2] == 1) { - wasm2js_i32$0 = $3, wasm2js_f32$0 = float_20b2Max_float__28float_2c_20float_29(HEAPF32[$3 + 112 >> 2], Math_fround(0)), - HEAPF32[wasm2js_i32$0 + 112 >> 2] = wasm2js_f32$0; - break label$4; - } - if (HEAP32[$3 + 140 >> 2] == 2) { - wasm2js_i32$0 = $3, wasm2js_f32$0 = float_20b2Min_float__28float_2c_20float_29(HEAPF32[$3 + 112 >> 2], Math_fround(0)), - HEAPF32[wasm2js_i32$0 + 112 >> 2] = wasm2js_f32$0; - } - } - b2Vec2__operator__28_29_20const($2 + 148 | 0, $2 + 236 | 0); - $5 = HEAPF32[$3 + 112 >> 2]; - $6 = HEAPF32[$2 + 200 >> 2]; - b2Vec2__b2Vec2_28float_2c_20float_29($2 + 132 | 0, HEAPF32[$3 + 240 >> 2], HEAPF32[$3 + 244 >> 2]); - operator__28float_2c_20b2Vec2_20const__29($2 + 140 | 0, Math_fround($5 - $6), $2 + 132 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 156 | 0, $2 + 148 | 0, $2 + 140 | 0); - b2Mat33__Solve22_28b2Vec2_20const__29_20const($2 + 116 | 0, $3 + 216 | 0, $2 + 156 | 0); - b2Vec2__b2Vec2_28float_2c_20float_29($2 + 108 | 0, HEAPF32[$2 + 192 >> 2], HEAPF32[$2 + 196 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 124 | 0, $2 + 116 | 0, $2 + 108 | 0); - HEAPF32[$3 + 104 >> 2] = HEAPF32[$2 + 124 >> 2]; - HEAPF32[$3 + 108 >> 2] = HEAPF32[$2 + 128 >> 2]; - operator__28b2Vec3_20const__2c_20b2Vec3_20const__29($2 + 96 | 0, $3 + 104 | 0, $2 + 192 | 0); - HEAP32[$2 + 184 >> 2] = HEAP32[$2 + 104 >> 2]; - $1 = HEAP32[$2 + 100 >> 2]; - $0 = HEAP32[$2 + 96 >> 2]; - HEAP32[$2 + 176 >> 2] = $0; - HEAP32[$2 + 180 >> 2] = $1; - operator__28float_2c_20b2Vec2_20const__29($2 + 80 | 0, HEAPF32[$2 + 176 >> 2], $3 + 192 | 0); - operator__28float_2c_20b2Vec2_20const__29($2 + 72 | 0, HEAPF32[$2 + 184 >> 2], $3 + 184 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 88 | 0, $2 + 80 | 0, $2 + 72 | 0); - HEAPF32[$2 + 68 >> 2] = Math_fround(HEAPF32[$2 + 184 >> 2] * HEAPF32[$3 + 208 >> 2]) + Math_fround(Math_fround(HEAPF32[$2 + 176 >> 2] * HEAPF32[$3 + 200 >> 2]) + HEAPF32[$2 + 180 >> 2]); - HEAPF32[$2 + 64 >> 2] = Math_fround(HEAPF32[$2 + 184 >> 2] * HEAPF32[$3 + 212 >> 2]) + Math_fround(Math_fround(HEAPF32[$2 + 176 >> 2] * HEAPF32[$3 + 204 >> 2]) + HEAPF32[$2 + 180 >> 2]); - operator__28float_2c_20b2Vec2_20const__29($2 + 56 | 0, HEAPF32[$2 + 312 >> 2], $2 + 88 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 336 | 0, $2 + 56 | 0); - HEAPF32[$2 + 332 >> 2] = Math_fround(Math_fround(-HEAPF32[$2 + 304 >> 2]) * HEAPF32[$2 + 68 >> 2]) + HEAPF32[$2 + 332 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 48 | 0, HEAPF32[$2 + 308 >> 2], $2 + 88 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 320 | 0, $2 + 48 | 0); - HEAPF32[$2 + 316 >> 2] = Math_fround(HEAPF32[$2 + 300 >> 2] * HEAPF32[$2 + 64 >> 2]) + HEAPF32[$2 + 316 >> 2]; - break label$2; - } - b2Vec2__operator__28_29_20const($2 + 32 | 0, $2 + 236 | 0); - b2Mat33__Solve22_28b2Vec2_20const__29_20const($2 + 40 | 0, $3 + 216 | 0, $2 + 32 | 0); - HEAPF32[$3 + 104 >> 2] = HEAPF32[$3 + 104 >> 2] + HEAPF32[$2 + 40 >> 2]; - HEAPF32[$3 + 108 >> 2] = HEAPF32[$3 + 108 >> 2] + HEAPF32[$2 + 44 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 24 | 0, HEAPF32[$2 + 40 >> 2], $3 + 192 | 0); - HEAPF32[$2 + 20 >> 2] = Math_fround(HEAPF32[$2 + 40 >> 2] * HEAPF32[$3 + 200 >> 2]) + HEAPF32[$2 + 44 >> 2]; - HEAPF32[$2 + 16 >> 2] = Math_fround(HEAPF32[$2 + 40 >> 2] * HEAPF32[$3 + 204 >> 2]) + HEAPF32[$2 + 44 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 8 | 0, HEAPF32[$2 + 312 >> 2], $2 + 24 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 336 | 0, $2 + 8 | 0); - HEAPF32[$2 + 332 >> 2] = Math_fround(Math_fround(-HEAPF32[$2 + 304 >> 2]) * HEAPF32[$2 + 20 >> 2]) + HEAPF32[$2 + 332 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2, HEAPF32[$2 + 308 >> 2], $2 + 24 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 320 | 0, $2); - HEAPF32[$2 + 316 >> 2] = Math_fround(HEAPF32[$2 + 300 >> 2] * HEAPF32[$2 + 16 >> 2]) + HEAPF32[$2 + 316 >> 2]; - } - $0 = HEAP32[$2 + 340 >> 2]; - $1 = HEAP32[$2 + 336 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 344 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 144 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 344 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 144 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 332 >> 2]; - $1 = HEAP32[$2 + 324 >> 2]; - $0 = HEAP32[$2 + 320 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 344 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 148 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 344 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 148 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 316 >> 2]; - __stack_pointer = $2 + 352 | 0; -} - -function b2RevoluteJoint__SolveVelocityConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, $5 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 336 | 0; - __stack_pointer = $2; - HEAP32[$2 + 332 >> 2] = $0; - HEAP32[$2 + 328 >> 2] = $1; - $3 = HEAP32[$2 + 332 >> 2]; - $4 = HEAP32[HEAP32[$2 + 328 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 128 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 320 >> 2] = $1; - HEAP32[$2 + 324 >> 2] = $0; - HEAPF32[$2 + 316 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 328 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 128 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 328 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 132 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 304 >> 2] = $0; - HEAP32[$2 + 308 >> 2] = $1; - HEAPF32[$2 + 300 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 328 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 132 >> 2], 12) | 0) + 8 >> 2]; - HEAPF32[$2 + 296 >> 2] = HEAPF32[$3 + 168 >> 2]; - HEAPF32[$2 + 292 >> 2] = HEAPF32[$3 + 172 >> 2]; - HEAPF32[$2 + 288 >> 2] = HEAPF32[$3 + 176 >> 2]; - HEAPF32[$2 + 284 >> 2] = HEAPF32[$3 + 180 >> 2]; - HEAP8[$2 + 283 | 0] = Math_fround(HEAPF32[$2 + 288 >> 2] + HEAPF32[$2 + 284 >> 2]) == Math_fround(0); - if (!(HEAP8[$2 + 283 | 0] & 1 | (!(HEAP8[$3 + 100 | 0] & 1) | HEAP32[$3 + 224 >> 2] == 3))) { - HEAPF32[$2 + 276 >> 2] = Math_fround(HEAPF32[$2 + 300 >> 2] - HEAPF32[$2 + 316 >> 2]) - HEAPF32[$3 + 108 >> 2]; - HEAPF32[$2 + 272 >> 2] = Math_fround(-HEAPF32[$3 + 220 >> 2]) * HEAPF32[$2 + 276 >> 2]; - HEAPF32[$2 + 268 >> 2] = HEAPF32[$3 + 96 >> 2]; - HEAPF32[$2 + 264 >> 2] = HEAPF32[HEAP32[$2 + 328 >> 2] >> 2] * HEAPF32[$3 + 104 >> 2]; - wasm2js_i32$0 = $3, wasm2js_f32$0 = float_20b2Clamp_float__28float_2c_20float_2c_20float_29(Math_fround(HEAPF32[$3 + 96 >> 2] + HEAPF32[$2 + 272 >> 2]), Math_fround(-HEAPF32[$2 + 264 >> 2]), HEAPF32[$2 + 264 >> 2]), - HEAPF32[wasm2js_i32$0 + 96 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 272 >> 2] = HEAPF32[$3 + 96 >> 2] - HEAPF32[$2 + 268 >> 2]; - HEAPF32[$2 + 316 >> 2] = Math_fround(Math_fround(-HEAPF32[$2 + 288 >> 2]) * HEAPF32[$2 + 272 >> 2]) + HEAPF32[$2 + 316 >> 2]; - HEAPF32[$2 + 300 >> 2] = Math_fround(HEAPF32[$2 + 284 >> 2] * HEAPF32[$2 + 272 >> 2]) + HEAPF32[$2 + 300 >> 2]; - } - label$2: { - if (!(HEAP8[$2 + 283 | 0] & 1 | (!(HEAP8[$3 + 112 | 0] & 1) | !HEAP32[$3 + 224 >> 2]))) { - b2Cross_28float_2c_20b2Vec2_20const__29($2 + 232 | 0, HEAPF32[$2 + 300 >> 2], $3 + 144 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 240 | 0, $2 + 304 | 0, $2 + 232 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 248 | 0, $2 + 240 | 0, $2 + 320 | 0); - b2Cross_28float_2c_20b2Vec2_20const__29($2 + 224 | 0, HEAPF32[$2 + 316 >> 2], $3 + 136 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 256 | 0, $2 + 248 | 0, $2 + 224 | 0); - HEAPF32[$2 + 220 >> 2] = HEAPF32[$2 + 300 >> 2] - HEAPF32[$2 + 316 >> 2]; - b2Vec3__b2Vec3_28float_2c_20float_2c_20float_29($2 + 208 | 0, HEAPF32[$2 + 256 >> 2], HEAPF32[$2 + 260 >> 2], HEAPF32[$2 + 220 >> 2]); - b2Mat33__Solve33_28b2Vec3_20const__29_20const($2 + 184 | 0, $3 + 184 | 0, $2 + 208 | 0); - b2Vec3__operator__28_29_20const($2 + 196 | 0, $2 + 184 | 0); - label$4: { - if (HEAP32[$3 + 224 >> 2] == 3) { - b2Vec3__operator___28b2Vec3_20const__29($3 + 84 | 0, $2 + 196 | 0); - break label$4; - } - label$6: { - if (HEAP32[$3 + 224 >> 2] == 1) { - HEAPF32[$2 + 180 >> 2] = HEAPF32[$3 + 92 >> 2] + HEAPF32[$2 + 204 >> 2]; - label$8: { - if (HEAPF32[$2 + 180 >> 2] < Math_fround(0)) { - b2Vec2__operator__28_29_20const($2 + 164 | 0, $2 + 256 | 0); - $5 = HEAPF32[$3 + 92 >> 2]; - b2Vec2__b2Vec2_28float_2c_20float_29($2 + 148 | 0, HEAPF32[$3 + 208 >> 2], HEAPF32[$3 + 212 >> 2]); - operator__28float_2c_20b2Vec2_20const__29($2 + 156 | 0, $5, $2 + 148 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 172 | 0, $2 + 164 | 0, $2 + 156 | 0); - b2Mat33__Solve22_28b2Vec2_20const__29_20const($2 + 140 | 0, $3 + 184 | 0, $2 + 172 | 0); - HEAPF32[$2 + 196 >> 2] = HEAPF32[$2 + 140 >> 2]; - HEAPF32[$2 + 200 >> 2] = HEAPF32[$2 + 144 >> 2]; - HEAPF32[$2 + 204 >> 2] = -HEAPF32[$3 + 92 >> 2]; - HEAPF32[$3 + 84 >> 2] = HEAPF32[$3 + 84 >> 2] + HEAPF32[$2 + 140 >> 2]; - HEAPF32[$3 + 88 >> 2] = HEAPF32[$3 + 88 >> 2] + HEAPF32[$2 + 144 >> 2]; - HEAPF32[$3 + 92 >> 2] = 0; - break label$8; - } - b2Vec3__operator___28b2Vec3_20const__29($3 + 84 | 0, $2 + 196 | 0); - } - break label$6; - } - if (HEAP32[$3 + 224 >> 2] == 2) { - HEAPF32[$2 + 136 >> 2] = HEAPF32[$3 + 92 >> 2] + HEAPF32[$2 + 204 >> 2]; - label$11: { - if (HEAPF32[$2 + 136 >> 2] > Math_fround(0)) { - b2Vec2__operator__28_29_20const($2 + 120 | 0, $2 + 256 | 0); - $5 = HEAPF32[$3 + 92 >> 2]; - b2Vec2__b2Vec2_28float_2c_20float_29($2 + 104 | 0, HEAPF32[$3 + 208 >> 2], HEAPF32[$3 + 212 >> 2]); - operator__28float_2c_20b2Vec2_20const__29($2 + 112 | 0, $5, $2 + 104 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 128 | 0, $2 + 120 | 0, $2 + 112 | 0); - b2Mat33__Solve22_28b2Vec2_20const__29_20const($2 + 96 | 0, $3 + 184 | 0, $2 + 128 | 0); - HEAPF32[$2 + 196 >> 2] = HEAPF32[$2 + 96 >> 2]; - HEAPF32[$2 + 200 >> 2] = HEAPF32[$2 + 100 >> 2]; - HEAPF32[$2 + 204 >> 2] = -HEAPF32[$3 + 92 >> 2]; - HEAPF32[$3 + 84 >> 2] = HEAPF32[$3 + 84 >> 2] + HEAPF32[$2 + 96 >> 2]; - HEAPF32[$3 + 88 >> 2] = HEAPF32[$3 + 88 >> 2] + HEAPF32[$2 + 100 >> 2]; - HEAPF32[$3 + 92 >> 2] = 0; - break label$11; - } - b2Vec3__operator___28b2Vec3_20const__29($3 + 84 | 0, $2 + 196 | 0); - } - } - } - } - b2Vec2__b2Vec2_28float_2c_20float_29($2 + 88 | 0, HEAPF32[$2 + 196 >> 2], HEAPF32[$2 + 200 >> 2]); - operator__28float_2c_20b2Vec2_20const__29($2 + 80 | 0, HEAPF32[$2 + 296 >> 2], $2 + 88 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 320 | 0, $2 + 80 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$2 + 288 >> 2]) * Math_fround(b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 136 | 0, $2 + 88 | 0) + HEAPF32[$2 + 204 >> 2])) + HEAPF32[$2 + 316 >> 2]), - HEAPF32[wasm2js_i32$0 + 316 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($2 + 72 | 0, HEAPF32[$2 + 292 >> 2], $2 + 88 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 304 | 0, $2 + 72 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$2 + 284 >> 2] * Math_fround(b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 144 | 0, $2 + 88 | 0) + HEAPF32[$2 + 204 >> 2])) + HEAPF32[$2 + 300 >> 2]), - HEAPF32[wasm2js_i32$0 + 300 >> 2] = wasm2js_f32$0; - break label$2; - } - b2Cross_28float_2c_20b2Vec2_20const__29($2 + 40 | 0, HEAPF32[$2 + 300 >> 2], $3 + 144 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 48 | 0, $2 + 304 | 0, $2 + 40 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 56 | 0, $2 + 48 | 0, $2 + 320 | 0); - b2Cross_28float_2c_20b2Vec2_20const__29($2 + 32 | 0, HEAPF32[$2 + 316 >> 2], $3 + 136 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 - -64 | 0, $2 + 56 | 0, $2 + 32 | 0); - b2Vec2__operator__28_29_20const($2 + 16 | 0, $2 - -64 | 0); - b2Mat33__Solve22_28b2Vec2_20const__29_20const($2 + 24 | 0, $3 + 184 | 0, $2 + 16 | 0); - HEAPF32[$3 + 84 >> 2] = HEAPF32[$3 + 84 >> 2] + HEAPF32[$2 + 24 >> 2]; - HEAPF32[$3 + 88 >> 2] = HEAPF32[$3 + 88 >> 2] + HEAPF32[$2 + 28 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 8 | 0, HEAPF32[$2 + 296 >> 2], $2 + 24 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 320 | 0, $2 + 8 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$2 + 288 >> 2]) * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 136 | 0, $2 + 24 | 0)) + HEAPF32[$2 + 316 >> 2]), - HEAPF32[wasm2js_i32$0 + 316 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($2, HEAPF32[$2 + 292 >> 2], $2 + 24 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 304 | 0, $2); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$2 + 284 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 144 | 0, $2 + 24 | 0)) + HEAPF32[$2 + 300 >> 2]), - HEAPF32[wasm2js_i32$0 + 300 >> 2] = wasm2js_f32$0; - } - $0 = HEAP32[$2 + 324 >> 2]; - $1 = HEAP32[$2 + 320 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 328 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 128 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 328 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 128 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 316 >> 2]; - $1 = HEAP32[$2 + 308 >> 2]; - $0 = HEAP32[$2 + 304 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 328 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 132 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 328 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 132 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 300 >> 2]; - __stack_pointer = $2 + 336 | 0; -} - -function b2CollidePolygons_28b2Manifold__2c_20b2PolygonShape_20const__2c_20b2Transform_20const__2c_20b2PolygonShape_20const__2c_20b2Transform_20const__29($0, $1, $2, $3, $4) { - var $5 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0), wasm2js_i32$1 = 0; - $5 = __stack_pointer - 352 | 0; - __stack_pointer = $5; - HEAP32[$5 + 348 >> 2] = $0; - HEAP32[$5 + 344 >> 2] = $1; - HEAP32[$5 + 340 >> 2] = $2; - HEAP32[$5 + 336 >> 2] = $3; - HEAP32[$5 + 332 >> 2] = $4; - HEAP32[HEAP32[$5 + 348 >> 2] + 60 >> 2] = 0; - HEAPF32[$5 + 328 >> 2] = HEAPF32[HEAP32[$5 + 344 >> 2] + 8 >> 2] + HEAPF32[HEAP32[$5 + 336 >> 2] + 8 >> 2]; - HEAP32[$5 + 324 >> 2] = 0; - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2FindMaxSeparation_28int__2c_20b2PolygonShape_20const__2c_20b2Transform_20const__2c_20b2PolygonShape_20const__2c_20b2Transform_20const__29($5 + 324 | 0, HEAP32[$5 + 344 >> 2], HEAP32[$5 + 340 >> 2], HEAP32[$5 + 336 >> 2], HEAP32[$5 + 332 >> 2]), - HEAPF32[wasm2js_i32$0 + 320 >> 2] = wasm2js_f32$0; - label$1: { - if (HEAPF32[$5 + 320 >> 2] > HEAPF32[$5 + 328 >> 2]) { - break label$1; - } - HEAP32[$5 + 316 >> 2] = 0; - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2FindMaxSeparation_28int__2c_20b2PolygonShape_20const__2c_20b2Transform_20const__2c_20b2PolygonShape_20const__2c_20b2Transform_20const__29($5 + 316 | 0, HEAP32[$5 + 336 >> 2], HEAP32[$5 + 332 >> 2], HEAP32[$5 + 344 >> 2], HEAP32[$5 + 340 >> 2]), - HEAPF32[wasm2js_i32$0 + 312 >> 2] = wasm2js_f32$0; - if (HEAPF32[$5 + 312 >> 2] > HEAPF32[$5 + 328 >> 2]) { - break label$1; - } - b2Transform__b2Transform_28_29($5 + 288 | 0); - b2Transform__b2Transform_28_29($5 + 272 | 0); - HEAPF32[$5 + 260 >> 2] = .0005000000237487257; - label$2: { - if (HEAPF32[$5 + 312 >> 2] > Math_fround(HEAPF32[$5 + 320 >> 2] + Math_fround(.0005000000237487257))) { - HEAP32[$5 + 308 >> 2] = HEAP32[$5 + 336 >> 2]; - HEAP32[$5 + 304 >> 2] = HEAP32[$5 + 344 >> 2]; - $2 = HEAP32[$5 + 332 >> 2]; - $1 = HEAP32[$2 + 8 >> 2]; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$5 + 296 >> 2] = $1; - HEAP32[$5 + 300 >> 2] = $0; - $1 = HEAP32[$2 + 4 >> 2]; - $0 = HEAP32[$2 >> 2]; - HEAP32[$5 + 288 >> 2] = $0; - HEAP32[$5 + 292 >> 2] = $1; - $2 = HEAP32[$5 + 340 >> 2]; - $1 = HEAP32[$2 + 8 >> 2]; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$5 + 280 >> 2] = $1; - HEAP32[$5 + 284 >> 2] = $0; - $1 = HEAP32[$2 + 4 >> 2]; - $0 = HEAP32[$2 >> 2]; - HEAP32[$5 + 272 >> 2] = $0; - HEAP32[$5 + 276 >> 2] = $1; - HEAP32[$5 + 268 >> 2] = HEAP32[$5 + 316 >> 2]; - HEAP32[HEAP32[$5 + 348 >> 2] + 56 >> 2] = 2; - HEAP8[$5 + 267 | 0] = 1; - break label$2; - } - HEAP32[$5 + 308 >> 2] = HEAP32[$5 + 344 >> 2]; - HEAP32[$5 + 304 >> 2] = HEAP32[$5 + 336 >> 2]; - $2 = HEAP32[$5 + 340 >> 2]; - $1 = HEAP32[$2 + 8 >> 2]; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$5 + 296 >> 2] = $1; - HEAP32[$5 + 300 >> 2] = $0; - $1 = HEAP32[$2 + 4 >> 2]; - $0 = HEAP32[$2 >> 2]; - HEAP32[$5 + 288 >> 2] = $0; - HEAP32[$5 + 292 >> 2] = $1; - $2 = HEAP32[$5 + 332 >> 2]; - $1 = HEAP32[$2 + 8 >> 2]; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$5 + 280 >> 2] = $1; - HEAP32[$5 + 284 >> 2] = $0; - $1 = HEAP32[$2 + 4 >> 2]; - $0 = HEAP32[$2 >> 2]; - HEAP32[$5 + 272 >> 2] = $0; - HEAP32[$5 + 276 >> 2] = $1; - HEAP32[$5 + 268 >> 2] = HEAP32[$5 + 324 >> 2]; - HEAP32[HEAP32[$5 + 348 >> 2] + 56 >> 2] = 1; - HEAP8[$5 + 267 | 0] = 0; - } - $0 = $5 + 224 | 0; - $1 = $0 + 24 | 0; - while (1) { - b2ClipVertex__b2ClipVertex_28_29($0); - $0 = $0 + 12 | 0; - if (($1 | 0) != ($0 | 0)) { - continue; - } - break; - } - b2FindIncidentEdge_28b2ClipVertex__2c_20b2PolygonShape_20const__2c_20b2Transform_20const__2c_20int_2c_20b2PolygonShape_20const__2c_20b2Transform_20const__29($5 + 224 | 0, HEAP32[$5 + 308 >> 2], $5 + 288 | 0, HEAP32[$5 + 268 >> 2], HEAP32[$5 + 304 >> 2], $5 + 272 | 0); - HEAP32[$5 + 220 >> 2] = HEAP32[HEAP32[$5 + 308 >> 2] + 148 >> 2]; - HEAP32[$5 + 216 >> 2] = HEAP32[$5 + 308 >> 2] + 20; - HEAP32[$5 + 212 >> 2] = HEAP32[$5 + 268 >> 2]; - if (HEAP32[$5 + 220 >> 2] > (HEAP32[$5 + 268 >> 2] + 1 | 0)) { - $0 = HEAP32[$5 + 268 >> 2] + 1 | 0; - } else { - $0 = 0; - } - HEAP32[$5 + 208 >> 2] = $0; - $2 = HEAP32[$5 + 216 >> 2] + (HEAP32[$5 + 212 >> 2] << 3) | 0; - $1 = HEAP32[$2 >> 2]; - $0 = HEAP32[$2 + 4 >> 2]; - HEAP32[$5 + 200 >> 2] = $1; - HEAP32[$5 + 204 >> 2] = $0; - $2 = HEAP32[$5 + 216 >> 2] + (HEAP32[$5 + 208 >> 2] << 3) | 0; - $0 = HEAP32[$2 >> 2]; - $1 = HEAP32[$2 + 4 >> 2]; - HEAP32[$5 + 192 >> 2] = $0; - HEAP32[$5 + 196 >> 2] = $1; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 184 | 0, $5 + 192 | 0, $5 + 200 | 0); - b2Vec2__Normalize_28_29($5 + 184 | 0); - b2Cross_28b2Vec2_20const__2c_20float_29($5 + 176 | 0, $5 + 184 | 0, Math_fround(1)); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($5 + 160 | 0, $5 + 200 | 0, $5 + 192 | 0); - operator__28float_2c_20b2Vec2_20const__29($5 + 168 | 0, Math_fround(.5), $5 + 160 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($5 + 152 | 0, $5 + 296 | 0, $5 + 184 | 0); - b2Cross_28b2Vec2_20const__2c_20float_29($5 + 144 | 0, $5 + 152 | 0, Math_fround(1)); - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($5 + 136 | 0, $5 + 288 | 0, $5 + 200 | 0); - $0 = HEAP32[$5 + 140 >> 2]; - $1 = HEAP32[$5 + 136 >> 2]; - HEAP32[$5 + 200 >> 2] = $1; - HEAP32[$5 + 204 >> 2] = $0; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($5 + 128 | 0, $5 + 288 | 0, $5 + 192 | 0); - $1 = HEAP32[$5 + 132 >> 2]; - $0 = HEAP32[$5 + 128 >> 2]; - HEAP32[$5 + 192 >> 2] = $0; - HEAP32[$5 + 196 >> 2] = $1; - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 144 | 0, $5 + 200 | 0), - HEAPF32[wasm2js_i32$0 + 124 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $5, wasm2js_f32$0 = Math_fround(Math_fround(-b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 152 | 0, $5 + 200 | 0)) + HEAPF32[$5 + 328 >> 2]), - HEAPF32[wasm2js_i32$0 + 120 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $5, wasm2js_f32$0 = Math_fround(b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 152 | 0, $5 + 192 | 0) + HEAPF32[$5 + 328 >> 2]), - HEAPF32[wasm2js_i32$0 + 116 >> 2] = wasm2js_f32$0; - $0 = $5 + 80 | 0; - $1 = $0 + 24 | 0; - while (1) { - b2ClipVertex__b2ClipVertex_28_29($0); - $0 = $0 + 12 | 0; - if (($1 | 0) != ($0 | 0)) { - continue; - } - break; - } - $0 = $5 + 48 | 0; - $1 = $0 + 24 | 0; - while (1) { - b2ClipVertex__b2ClipVertex_28_29($0); - $0 = $0 + 12 | 0; - if (($1 | 0) != ($0 | 0)) { - continue; - } - break; - } - b2Vec2__operator__28_29_20const($5 + 36 | 0, $5 + 152 | 0); - wasm2js_i32$0 = $5, wasm2js_i32$1 = b2ClipSegmentToLine_28b2ClipVertex__2c_20b2ClipVertex_20const__2c_20b2Vec2_20const__2c_20float_2c_20int_29($5 + 80 | 0, $5 + 224 | 0, $5 + 36 | 0, HEAPF32[$5 + 120 >> 2], HEAP32[$5 + 212 >> 2]), - HEAP32[wasm2js_i32$0 + 44 >> 2] = wasm2js_i32$1; - if (HEAP32[$5 + 44 >> 2] < 2) { - break label$1; - } - wasm2js_i32$0 = $5, wasm2js_i32$1 = b2ClipSegmentToLine_28b2ClipVertex__2c_20b2ClipVertex_20const__2c_20b2Vec2_20const__2c_20float_2c_20int_29($5 + 48 | 0, $5 + 80 | 0, $5 + 152 | 0, HEAPF32[$5 + 116 >> 2], HEAP32[$5 + 208 >> 2]), - HEAP32[wasm2js_i32$0 + 44 >> 2] = wasm2js_i32$1; - if (HEAP32[$5 + 44 >> 2] < 2) { - break label$1; - } - $0 = HEAP32[$5 + 180 >> 2]; - $1 = HEAP32[$5 + 176 >> 2]; - $2 = $1; - $1 = HEAP32[$5 + 348 >> 2]; - HEAP32[$1 + 40 >> 2] = $2; - HEAP32[$1 + 44 >> 2] = $0; - $1 = HEAP32[$5 + 172 >> 2]; - $0 = HEAP32[$5 + 168 >> 2]; - $2 = $0; - $0 = HEAP32[$5 + 348 >> 2]; - HEAP32[$0 + 48 >> 2] = $2; - HEAP32[$0 + 52 >> 2] = $1; - HEAP32[$5 + 32 >> 2] = 0; - HEAP32[$5 + 28 >> 2] = 0; - while (1) { - if (HEAP32[$5 + 28 >> 2] < 2) { - wasm2js_i32$0 = $5, wasm2js_f32$0 = Math_fround(b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 144 | 0, ($5 + 48 | 0) + Math_imul(HEAP32[$5 + 28 >> 2], 12) | 0) - HEAPF32[$5 + 124 >> 2]), - HEAPF32[wasm2js_i32$0 + 24 >> 2] = wasm2js_f32$0; - if (HEAPF32[$5 + 24 >> 2] <= HEAPF32[$5 + 328 >> 2]) { - HEAP32[$5 + 20 >> 2] = HEAP32[$5 + 348 >> 2] + Math_imul(HEAP32[$5 + 32 >> 2], 20); - b2MulT_28b2Transform_20const__2c_20b2Vec2_20const__29($5 + 12 | 0, $5 + 272 | 0, ($5 + 48 | 0) + Math_imul(HEAP32[$5 + 28 >> 2], 12) | 0); - $0 = HEAP32[$5 + 16 >> 2]; - $1 = HEAP32[$5 + 12 >> 2]; - $2 = $1; - $1 = HEAP32[$5 + 20 >> 2]; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - HEAP32[HEAP32[$5 + 20 >> 2] + 16 >> 2] = HEAP32[(($5 + 48 | 0) + Math_imul(HEAP32[$5 + 28 >> 2], 12) | 0) + 8 >> 2]; - if (HEAPU8[$5 + 267 | 0]) { - $0 = HEAP32[$5 + 20 >> 2]; - HEAP32[$5 + 8 >> 2] = HEAPU8[$0 + 16 | 0] | HEAPU8[$0 + 17 | 0] << 8 | (HEAPU8[$0 + 18 | 0] << 16 | HEAPU8[$0 + 19 | 0] << 24); - HEAP8[HEAP32[$5 + 20 >> 2] + 16 | 0] = HEAPU8[$5 + 9 | 0]; - HEAP8[HEAP32[$5 + 20 >> 2] + 17 | 0] = HEAPU8[$5 + 8 | 0]; - HEAP8[HEAP32[$5 + 20 >> 2] + 18 | 0] = HEAPU8[$5 + 11 | 0]; - HEAP8[HEAP32[$5 + 20 >> 2] + 19 | 0] = HEAPU8[$5 + 10 | 0]; - } - HEAP32[$5 + 32 >> 2] = HEAP32[$5 + 32 >> 2] + 1; - } - HEAP32[$5 + 28 >> 2] = HEAP32[$5 + 28 >> 2] + 1; - continue; - } - break; - } - HEAP32[HEAP32[$5 + 348 >> 2] + 60 >> 2] = HEAP32[$5 + 32 >> 2]; - } - __stack_pointer = $5 + 352 | 0; -} - -function b2CollideEdgeAndCircle_28b2Manifold__2c_20b2EdgeShape_20const__2c_20b2Transform_20const__2c_20b2CircleShape_20const__2c_20b2Transform_20const__29($0, $1, $2, $3, $4) { - var $5 = 0, $6 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $5 = __stack_pointer - 288 | 0; - __stack_pointer = $5; - HEAP32[$5 + 284 >> 2] = $0; - HEAP32[$5 + 280 >> 2] = $1; - HEAP32[$5 + 276 >> 2] = $2; - HEAP32[$5 + 272 >> 2] = $3; - HEAP32[$5 + 268 >> 2] = $4; - HEAP32[HEAP32[$5 + 284 >> 2] + 60 >> 2] = 0; - $0 = HEAP32[$5 + 276 >> 2]; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($5 + 252 | 0, HEAP32[$5 + 268 >> 2], HEAP32[$5 + 272 >> 2] + 12 | 0); - b2MulT_28b2Transform_20const__2c_20b2Vec2_20const__29($5 + 260 | 0, $0, $5 + 252 | 0); - $2 = HEAP32[$5 + 280 >> 2]; - $1 = HEAP32[$2 + 12 >> 2]; - $0 = HEAP32[$2 + 16 >> 2]; - HEAP32[$5 + 240 >> 2] = $1; - HEAP32[$5 + 244 >> 2] = $0; - $2 = HEAP32[$5 + 280 >> 2]; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = HEAP32[$2 + 24 >> 2]; - HEAP32[$5 + 232 >> 2] = $0; - HEAP32[$5 + 236 >> 2] = $1; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 224 | 0, $5 + 232 | 0, $5 + 240 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 212 | 0, $5 + 232 | 0, $5 + 260 | 0); - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 224 | 0, $5 + 212 | 0), - HEAPF32[wasm2js_i32$0 + 220 >> 2] = wasm2js_f32$0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 200 | 0, $5 + 260 | 0, $5 + 240 | 0); - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 224 | 0, $5 + 200 | 0), - HEAPF32[wasm2js_i32$0 + 208 >> 2] = wasm2js_f32$0; - HEAPF32[$5 + 196 >> 2] = HEAPF32[HEAP32[$5 + 280 >> 2] + 8 >> 2] + HEAPF32[HEAP32[$5 + 272 >> 2] + 8 >> 2]; - HEAP8[$5 + 193 | 0] = 0; - HEAP8[$5 + 195 | 0] = 0; - label$1: { - if (HEAPF32[$5 + 208 >> 2] <= Math_fround(0)) { - $0 = HEAP32[$5 + 244 >> 2]; - $1 = HEAP32[$5 + 240 >> 2]; - HEAP32[$5 + 184 >> 2] = $1; - HEAP32[$5 + 188 >> 2] = $0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 176 | 0, $5 + 260 | 0, $5 + 184 | 0); - $0 = $5 + 176 | 0; - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($0, $0), - HEAPF32[wasm2js_i32$0 + 172 >> 2] = wasm2js_f32$0; - if (HEAPF32[$5 + 172 >> 2] > Math_fround(HEAPF32[$5 + 196 >> 2] * HEAPF32[$5 + 196 >> 2])) { - break label$1; - } - if (HEAP8[HEAP32[$5 + 280 >> 2] + 44 | 0] & 1) { - $2 = HEAP32[$5 + 280 >> 2]; - $0 = HEAP32[$2 + 28 >> 2]; - $1 = HEAP32[$2 + 32 >> 2]; - HEAP32[$5 + 160 >> 2] = $0; - HEAP32[$5 + 164 >> 2] = $1; - $0 = HEAP32[$5 + 244 >> 2]; - $1 = HEAP32[$5 + 240 >> 2]; - HEAP32[$5 + 152 >> 2] = $1; - HEAP32[$5 + 156 >> 2] = $0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 144 | 0, $5 + 152 | 0, $5 + 160 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 132 | 0, $5 + 152 | 0, $5 + 260 | 0); - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 144 | 0, $5 + 132 | 0), - HEAPF32[wasm2js_i32$0 + 140 >> 2] = wasm2js_f32$0; - if (HEAPF32[$5 + 140 >> 2] > Math_fround(0)) { - break label$1; - } - } - HEAP8[$5 + 192 | 0] = 0; - HEAP8[$5 + 194 | 0] = 0; - HEAP32[HEAP32[$5 + 284 >> 2] + 60 >> 2] = 1; - HEAP32[HEAP32[$5 + 284 >> 2] + 56 >> 2] = 0; - b2Vec2__SetZero_28_29(HEAP32[$5 + 284 >> 2] + 40 | 0); - $1 = HEAP32[$5 + 188 >> 2]; - $0 = HEAP32[$5 + 184 >> 2]; - $2 = $0; - $0 = HEAP32[$5 + 284 >> 2]; - HEAP32[$0 + 48 >> 2] = $2; - HEAP32[$0 + 52 >> 2] = $1; - HEAP32[HEAP32[$5 + 284 >> 2] + 16 >> 2] = 0; - $0 = HEAP32[$5 + 284 >> 2]; - $1 = HEAPU8[$5 + 192 | 0] | HEAPU8[$5 + 193 | 0] << 8 | (HEAPU8[$5 + 194 | 0] << 16 | HEAPU8[$5 + 195 | 0] << 24); - HEAP8[$0 + 16 | 0] = $1; - HEAP8[$0 + 17 | 0] = $1 >>> 8; - HEAP8[$0 + 18 | 0] = $1 >>> 16; - HEAP8[$0 + 19 | 0] = $1 >>> 24; - $2 = HEAP32[$5 + 272 >> 2]; - $1 = HEAP32[$2 + 12 >> 2]; - $0 = HEAP32[$2 + 16 >> 2]; - $2 = $1; - $1 = HEAP32[$5 + 284 >> 2]; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - break label$1; - } - if (HEAPF32[$5 + 220 >> 2] <= Math_fround(0)) { - $1 = HEAP32[$5 + 236 >> 2]; - $0 = HEAP32[$5 + 232 >> 2]; - HEAP32[$5 + 120 >> 2] = $0; - HEAP32[$5 + 124 >> 2] = $1; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 112 | 0, $5 + 260 | 0, $5 + 120 | 0); - $0 = $5 + 112 | 0; - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($0, $0), - HEAPF32[wasm2js_i32$0 + 108 >> 2] = wasm2js_f32$0; - if (HEAPF32[$5 + 108 >> 2] > Math_fround(HEAPF32[$5 + 196 >> 2] * HEAPF32[$5 + 196 >> 2])) { - break label$1; - } - if (HEAP8[HEAP32[$5 + 280 >> 2] + 45 | 0] & 1) { - $2 = HEAP32[$5 + 280 >> 2]; - $1 = HEAP32[$2 + 36 >> 2]; - $0 = HEAP32[$2 + 40 >> 2]; - HEAP32[$5 + 96 >> 2] = $1; - HEAP32[$5 + 100 >> 2] = $0; - $1 = HEAP32[$5 + 236 >> 2]; - $0 = HEAP32[$5 + 232 >> 2]; - HEAP32[$5 + 88 >> 2] = $0; - HEAP32[$5 + 92 >> 2] = $1; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 80 | 0, $5 + 96 | 0, $5 + 88 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 68 | 0, $5 + 260 | 0, $5 + 88 | 0); - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 80 | 0, $5 + 68 | 0), - HEAPF32[wasm2js_i32$0 + 76 >> 2] = wasm2js_f32$0; - if (HEAPF32[$5 + 76 >> 2] > Math_fround(0)) { - break label$1; - } - } - HEAP8[$5 + 192 | 0] = 1; - HEAP8[$5 + 194 | 0] = 0; - HEAP32[HEAP32[$5 + 284 >> 2] + 60 >> 2] = 1; - HEAP32[HEAP32[$5 + 284 >> 2] + 56 >> 2] = 0; - b2Vec2__SetZero_28_29(HEAP32[$5 + 284 >> 2] + 40 | 0); - $0 = HEAP32[$5 + 124 >> 2]; - $1 = HEAP32[$5 + 120 >> 2]; - $2 = $1; - $1 = HEAP32[$5 + 284 >> 2]; - HEAP32[$1 + 48 >> 2] = $2; - HEAP32[$1 + 52 >> 2] = $0; - HEAP32[HEAP32[$5 + 284 >> 2] + 16 >> 2] = 0; - $0 = HEAP32[$5 + 284 >> 2]; - $1 = HEAPU8[$5 + 192 | 0] | HEAPU8[$5 + 193 | 0] << 8 | (HEAPU8[$5 + 194 | 0] << 16 | HEAPU8[$5 + 195 | 0] << 24); - HEAP8[$0 + 16 | 0] = $1; - HEAP8[$0 + 17 | 0] = $1 >>> 8; - HEAP8[$0 + 18 | 0] = $1 >>> 16; - HEAP8[$0 + 19 | 0] = $1 >>> 24; - $2 = HEAP32[$5 + 272 >> 2]; - $0 = HEAP32[$2 + 12 >> 2]; - $1 = HEAP32[$2 + 16 >> 2]; - $2 = $0; - $0 = HEAP32[$5 + 284 >> 2]; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $1; - break label$1; - } - $0 = $5 + 224 | 0; - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($0, $0), - HEAPF32[wasm2js_i32$0 + 64 >> 2] = wasm2js_f32$0; - if (!(HEAPF32[$5 + 64 >> 2] > Math_fround(0))) { - __assert_fail(8252, 5987, 131, 9845); - wasm2js_trap(); - } - $6 = HEAPF32[$5 + 64 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($5 + 40 | 0, HEAPF32[$5 + 220 >> 2], $5 + 240 | 0); - operator__28float_2c_20b2Vec2_20const__29($5 + 32 | 0, HEAPF32[$5 + 208 >> 2], $5 + 232 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($5 + 48 | 0, $5 + 40 | 0, $5 + 32 | 0); - operator__28float_2c_20b2Vec2_20const__29($5 + 56 | 0, Math_fround(Math_fround(1) / $6), $5 + 48 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 24 | 0, $5 + 260 | 0, $5 + 56 | 0); - $0 = $5 + 24 | 0; - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($0, $0), - HEAPF32[wasm2js_i32$0 + 20 >> 2] = wasm2js_f32$0; - if (HEAPF32[$5 + 20 >> 2] > Math_fround(HEAPF32[$5 + 196 >> 2] * HEAPF32[$5 + 196 >> 2])) { - break label$1; - } - b2Vec2__b2Vec2_28float_2c_20float_29($5 + 12 | 0, Math_fround(-HEAPF32[$5 + 228 >> 2]), HEAPF32[$5 + 224 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 4 | 0, $5 + 260 | 0, $5 + 240 | 0); - if (b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 12 | 0, $5 + 4 | 0) < Math_fround(0)) { - b2Vec2__Set_28float_2c_20float_29($5 + 12 | 0, Math_fround(-HEAPF32[$5 + 12 >> 2]), Math_fround(-HEAPF32[$5 + 16 >> 2])); - } - b2Vec2__Normalize_28_29($5 + 12 | 0); - HEAP8[$5 + 192 | 0] = 0; - HEAP8[$5 + 194 | 0] = 1; - HEAP32[HEAP32[$5 + 284 >> 2] + 60 >> 2] = 1; - HEAP32[HEAP32[$5 + 284 >> 2] + 56 >> 2] = 1; - $0 = HEAP32[$5 + 16 >> 2]; - $1 = HEAP32[$5 + 12 >> 2]; - $2 = $1; - $1 = HEAP32[$5 + 284 >> 2]; - HEAP32[$1 + 40 >> 2] = $2; - HEAP32[$1 + 44 >> 2] = $0; - $1 = HEAP32[$5 + 244 >> 2]; - $0 = HEAP32[$5 + 240 >> 2]; - $2 = $0; - $0 = HEAP32[$5 + 284 >> 2]; - HEAP32[$0 + 48 >> 2] = $2; - HEAP32[$0 + 52 >> 2] = $1; - HEAP32[HEAP32[$5 + 284 >> 2] + 16 >> 2] = 0; - $0 = HEAP32[$5 + 284 >> 2]; - $1 = HEAPU8[$5 + 192 | 0] | HEAPU8[$5 + 193 | 0] << 8 | (HEAPU8[$5 + 194 | 0] << 16 | HEAPU8[$5 + 195 | 0] << 24); - HEAP8[$0 + 16 | 0] = $1; - HEAP8[$0 + 17 | 0] = $1 >>> 8; - HEAP8[$0 + 18 | 0] = $1 >>> 16; - HEAP8[$0 + 19 | 0] = $1 >>> 24; - $2 = HEAP32[$5 + 272 >> 2]; - $1 = HEAP32[$2 + 12 >> 2]; - $0 = HEAP32[$2 + 16 >> 2]; - $2 = $1; - $1 = HEAP32[$5 + 284 >> 2]; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - } - __stack_pointer = $5 + 288 | 0; -} - -function b2DynamicTree__InsertLeaf_28int_29($0, $1) { - var $2 = 0, $3 = Math_fround(0), $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0), wasm2js_i32$1 = 0; - $2 = __stack_pointer - 176 | 0; - __stack_pointer = $2; - HEAP32[$2 + 172 >> 2] = $0; - HEAP32[$2 + 168 >> 2] = $1; - $1 = HEAP32[$2 + 172 >> 2]; - HEAP32[$1 + 24 >> 2] = HEAP32[$1 + 24 >> 2] + 1; - label$1: { - if (HEAP32[$1 >> 2] == -1) { - HEAP32[$1 >> 2] = HEAP32[$2 + 168 >> 2]; - HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$1 >> 2], 40) | 0) + 20 >> 2] = -1; - break label$1; - } - $4 = HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 168 >> 2], 40) | 0; - $5 = HEAP32[$4 + 8 >> 2]; - $0 = HEAP32[$4 + 12 >> 2]; - HEAP32[$2 + 160 >> 2] = $5; - HEAP32[$2 + 164 >> 2] = $0; - $5 = HEAP32[$4 + 4 >> 2]; - $0 = HEAP32[$4 >> 2]; - HEAP32[$2 + 152 >> 2] = $0; - HEAP32[$2 + 156 >> 2] = $5; - HEAP32[$2 + 148 >> 2] = HEAP32[$1 >> 2]; - while (1) { - label$4: { - if (b2TreeNode__IsLeaf_28_29_20const(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 148 >> 2], 40) | 0) & 1) { - break label$4; - } - HEAP32[$2 + 144 >> 2] = HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 148 >> 2], 40) | 0) + 24 >> 2]; - HEAP32[$2 + 140 >> 2] = HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 148 >> 2], 40) | 0) + 28 >> 2]; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2AABB__GetPerimeter_28_29_20const(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 148 >> 2], 40) | 0), - HEAPF32[wasm2js_i32$0 + 136 >> 2] = wasm2js_f32$0; - b2AABB__b2AABB_28_29($2 + 120 | 0); - b2AABB__Combine_28b2AABB_20const__2c_20b2AABB_20const__29($2 + 120 | 0, HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 148 >> 2], 40) | 0, $2 + 152 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2AABB__GetPerimeter_28_29_20const($2 + 120 | 0), - HEAPF32[wasm2js_i32$0 + 116 >> 2] = wasm2js_f32$0; - $3 = HEAPF32[$2 + 116 >> 2]; - HEAPF32[$2 + 112 >> 2] = $3 + $3; - $3 = Math_fround(HEAPF32[$2 + 116 >> 2] - HEAPF32[$2 + 136 >> 2]); - HEAPF32[$2 + 108 >> 2] = $3 + $3; - label$5: { - if (b2TreeNode__IsLeaf_28_29_20const(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 144 >> 2], 40) | 0) & 1) { - b2AABB__b2AABB_28_29($2 + 88 | 0); - b2AABB__Combine_28b2AABB_20const__2c_20b2AABB_20const__29($2 + 88 | 0, $2 + 152 | 0, HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 144 >> 2], 40) | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(b2AABB__GetPerimeter_28_29_20const($2 + 88 | 0) + HEAPF32[$2 + 108 >> 2]), - HEAPF32[wasm2js_i32$0 + 104 >> 2] = wasm2js_f32$0; - break label$5; - } - b2AABB__b2AABB_28_29($2 + 72 | 0); - b2AABB__Combine_28b2AABB_20const__2c_20b2AABB_20const__29($2 + 72 | 0, $2 + 152 | 0, HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 144 >> 2], 40) | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2AABB__GetPerimeter_28_29_20const(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 144 >> 2], 40) | 0), - HEAPF32[wasm2js_i32$0 + 68 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2AABB__GetPerimeter_28_29_20const($2 + 72 | 0), - HEAPF32[wasm2js_i32$0 + 64 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 104 >> 2] = Math_fround(HEAPF32[$2 + 64 >> 2] - HEAPF32[$2 + 68 >> 2]) + HEAPF32[$2 + 108 >> 2]; - } - label$7: { - if (b2TreeNode__IsLeaf_28_29_20const(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 140 >> 2], 40) | 0) & 1) { - b2AABB__b2AABB_28_29($2 + 44 | 0); - b2AABB__Combine_28b2AABB_20const__2c_20b2AABB_20const__29($2 + 44 | 0, $2 + 152 | 0, HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 140 >> 2], 40) | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(b2AABB__GetPerimeter_28_29_20const($2 + 44 | 0) + HEAPF32[$2 + 108 >> 2]), - HEAPF32[wasm2js_i32$0 + 60 >> 2] = wasm2js_f32$0; - break label$7; - } - b2AABB__b2AABB_28_29($2 + 28 | 0); - b2AABB__Combine_28b2AABB_20const__2c_20b2AABB_20const__29($2 + 28 | 0, $2 + 152 | 0, HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 140 >> 2], 40) | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2AABB__GetPerimeter_28_29_20const(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 140 >> 2], 40) | 0), - HEAPF32[wasm2js_i32$0 + 24 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2AABB__GetPerimeter_28_29_20const($2 + 28 | 0), - HEAPF32[wasm2js_i32$0 + 20 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 60 >> 2] = Math_fround(HEAPF32[$2 + 20 >> 2] - HEAPF32[$2 + 24 >> 2]) + HEAPF32[$2 + 108 >> 2]; - } - if (!(!(HEAPF32[$2 + 112 >> 2] < HEAPF32[$2 + 104 >> 2]) | !(HEAPF32[$2 + 112 >> 2] < HEAPF32[$2 + 60 >> 2]))) { - break label$4; - } - label$10: { - if (HEAPF32[$2 + 104 >> 2] < HEAPF32[$2 + 60 >> 2]) { - HEAP32[$2 + 148 >> 2] = HEAP32[$2 + 144 >> 2]; - break label$10; - } - HEAP32[$2 + 148 >> 2] = HEAP32[$2 + 140 >> 2]; - } - continue; - } - break; - } - HEAP32[$2 + 16 >> 2] = HEAP32[$2 + 148 >> 2]; - HEAP32[$2 + 12 >> 2] = HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 16 >> 2], 40) | 0) + 20 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2DynamicTree__AllocateNode_28_29($1), HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 40) | 0) + 20 >> 2] = HEAP32[$2 + 12 >> 2]; - HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 40) | 0) + 16 >> 2] = 0; - b2AABB__Combine_28b2AABB_20const__2c_20b2AABB_20const__29(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 40) | 0, $2 + 152 | 0, HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 16 >> 2], 40) | 0); - HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 40) | 0) + 32 >> 2] = HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 16 >> 2], 40) | 0) + 32 >> 2] + 1; - label$12: { - if (HEAP32[$2 + 12 >> 2] != -1) { - label$14: { - if (HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 12 >> 2], 40) | 0) + 24 >> 2] == HEAP32[$2 + 16 >> 2]) { - HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 12 >> 2], 40) | 0) + 24 >> 2] = HEAP32[$2 + 8 >> 2]; - break label$14; - } - HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 12 >> 2], 40) | 0) + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - } - HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 40) | 0) + 24 >> 2] = HEAP32[$2 + 16 >> 2]; - HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 40) | 0) + 28 >> 2] = HEAP32[$2 + 168 >> 2]; - HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 16 >> 2], 40) | 0) + 20 >> 2] = HEAP32[$2 + 8 >> 2]; - HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 168 >> 2], 40) | 0) + 20 >> 2] = HEAP32[$2 + 8 >> 2]; - break label$12; - } - HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 40) | 0) + 24 >> 2] = HEAP32[$2 + 16 >> 2]; - HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 40) | 0) + 28 >> 2] = HEAP32[$2 + 168 >> 2]; - HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 16 >> 2], 40) | 0) + 20 >> 2] = HEAP32[$2 + 8 >> 2]; - HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 168 >> 2], 40) | 0) + 20 >> 2] = HEAP32[$2 + 8 >> 2]; - HEAP32[$1 >> 2] = HEAP32[$2 + 8 >> 2]; - } - HEAP32[$2 + 148 >> 2] = HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 168 >> 2], 40) | 0) + 20 >> 2]; - while (1) { - if (HEAP32[$2 + 148 >> 2] == -1) { - break label$1; - } - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2DynamicTree__Balance_28int_29($1, HEAP32[$2 + 148 >> 2]), - HEAP32[wasm2js_i32$0 + 148 >> 2] = wasm2js_i32$1; - HEAP32[$2 + 4 >> 2] = HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 148 >> 2], 40) | 0) + 24 >> 2]; - HEAP32[$2 >> 2] = HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 148 >> 2], 40) | 0) + 28 >> 2]; - if (HEAP32[$2 + 4 >> 2] == -1) { - __assert_fail(12694, 6056, 327, 8163); - wasm2js_trap(); - } - if (HEAP32[$2 >> 2] == -1) { - __assert_fail(12679, 6056, 328, 8163); - wasm2js_trap(); - } else { - $0 = int_20b2Max_int__28int_2c_20int_29(HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 4 >> 2], 40) | 0) + 32 >> 2], HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 >> 2], 40) | 0) + 32 >> 2]); - HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 148 >> 2], 40) | 0) + 32 >> 2] = $0 + 1; - b2AABB__Combine_28b2AABB_20const__2c_20b2AABB_20const__29(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 148 >> 2], 40) | 0, HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 4 >> 2], 40) | 0, HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 >> 2], 40) | 0); - HEAP32[$2 + 148 >> 2] = HEAP32[(HEAP32[$1 + 4 >> 2] + Math_imul(HEAP32[$2 + 148 >> 2], 40) | 0) + 20 >> 2]; - continue; - } - } - } - __stack_pointer = $2 + 176 | 0; -} - -function b2DynamicTree__Balance_28int_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 80 | 0; - __stack_pointer = $2; - HEAP32[$2 + 72 >> 2] = $0; - HEAP32[$2 + 68 >> 2] = $1; - $0 = HEAP32[$2 + 72 >> 2]; - if (HEAP32[$2 + 68 >> 2] == -1) { - __assert_fail(12668, 6056, 402, 10230); - wasm2js_trap(); - } - HEAP32[$2 + 64 >> 2] = HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 68 >> 2], 40); - label$2: { - if (!(!(b2TreeNode__IsLeaf_28_29_20const(HEAP32[$2 + 64 >> 2]) & 1) & HEAP32[HEAP32[$2 + 64 >> 2] + 32 >> 2] >= 2)) { - HEAP32[$2 + 76 >> 2] = HEAP32[$2 + 68 >> 2]; - break label$2; - } - HEAP32[$2 + 60 >> 2] = HEAP32[HEAP32[$2 + 64 >> 2] + 24 >> 2]; - HEAP32[$2 + 56 >> 2] = HEAP32[HEAP32[$2 + 64 >> 2] + 28 >> 2]; - if (!(HEAP32[$2 + 60 >> 2] < HEAP32[$0 + 12 >> 2] & HEAP32[$2 + 60 >> 2] >= 0)) { - __assert_fail(1624, 6056, 412, 10230); - wasm2js_trap(); - } - if (!(HEAP32[$2 + 56 >> 2] < HEAP32[$0 + 12 >> 2] & HEAP32[$2 + 56 >> 2] >= 0)) { - __assert_fail(1593, 6056, 413, 10230); - wasm2js_trap(); - } - HEAP32[$2 + 52 >> 2] = HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 60 >> 2], 40); - HEAP32[$2 + 48 >> 2] = HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 56 >> 2], 40); - HEAP32[$2 + 44 >> 2] = HEAP32[HEAP32[$2 + 48 >> 2] + 32 >> 2] - HEAP32[HEAP32[$2 + 52 >> 2] + 32 >> 2]; - if (HEAP32[$2 + 44 >> 2] > 1) { - HEAP32[$2 + 40 >> 2] = HEAP32[HEAP32[$2 + 48 >> 2] + 24 >> 2]; - HEAP32[$2 + 36 >> 2] = HEAP32[HEAP32[$2 + 48 >> 2] + 28 >> 2]; - HEAP32[$2 + 32 >> 2] = HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 40 >> 2], 40); - HEAP32[$2 + 28 >> 2] = HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 36 >> 2], 40); - if (!(HEAP32[$2 + 40 >> 2] < HEAP32[$0 + 12 >> 2] & HEAP32[$2 + 40 >> 2] >= 0)) { - __assert_fail(1500, 6056, 427, 10230); - wasm2js_trap(); - } - if (!(HEAP32[$2 + 36 >> 2] < HEAP32[$0 + 12 >> 2] & HEAP32[$2 + 36 >> 2] >= 0)) { - __assert_fail(1469, 6056, 428, 10230); - wasm2js_trap(); - } - HEAP32[HEAP32[$2 + 48 >> 2] + 24 >> 2] = HEAP32[$2 + 68 >> 2]; - HEAP32[HEAP32[$2 + 48 >> 2] + 20 >> 2] = HEAP32[HEAP32[$2 + 64 >> 2] + 20 >> 2]; - HEAP32[HEAP32[$2 + 64 >> 2] + 20 >> 2] = HEAP32[$2 + 56 >> 2]; - label$14: { - if (HEAP32[HEAP32[$2 + 48 >> 2] + 20 >> 2] != -1) { - if (HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[HEAP32[$2 + 48 >> 2] + 20 >> 2], 40) | 0) + 24 >> 2] == HEAP32[$2 + 68 >> 2]) { - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[HEAP32[$2 + 48 >> 2] + 20 >> 2], 40) | 0) + 24 >> 2] = HEAP32[$2 + 56 >> 2]; - break label$14; - } - if (HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[HEAP32[$2 + 48 >> 2] + 20 >> 2], 40) | 0) + 28 >> 2] != HEAP32[$2 + 68 >> 2]) { - __assert_fail(11465, 6056, 444, 10230); - wasm2js_trap(); - } - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[HEAP32[$2 + 48 >> 2] + 20 >> 2], 40) | 0) + 28 >> 2] = HEAP32[$2 + 56 >> 2]; - break label$14; - } - HEAP32[$0 >> 2] = HEAP32[$2 + 56 >> 2]; - } - label$18: { - if (HEAP32[HEAP32[$2 + 32 >> 2] + 32 >> 2] > HEAP32[HEAP32[$2 + 28 >> 2] + 32 >> 2]) { - HEAP32[HEAP32[$2 + 48 >> 2] + 28 >> 2] = HEAP32[$2 + 40 >> 2]; - HEAP32[HEAP32[$2 + 64 >> 2] + 28 >> 2] = HEAP32[$2 + 36 >> 2]; - HEAP32[HEAP32[$2 + 28 >> 2] + 20 >> 2] = HEAP32[$2 + 68 >> 2]; - b2AABB__Combine_28b2AABB_20const__2c_20b2AABB_20const__29(HEAP32[$2 + 64 >> 2], HEAP32[$2 + 52 >> 2], HEAP32[$2 + 28 >> 2]); - b2AABB__Combine_28b2AABB_20const__2c_20b2AABB_20const__29(HEAP32[$2 + 48 >> 2], HEAP32[$2 + 64 >> 2], HEAP32[$2 + 32 >> 2]); - $0 = int_20b2Max_int__28int_2c_20int_29(HEAP32[HEAP32[$2 + 52 >> 2] + 32 >> 2], HEAP32[HEAP32[$2 + 28 >> 2] + 32 >> 2]); - HEAP32[HEAP32[$2 + 64 >> 2] + 32 >> 2] = $0 + 1; - $0 = int_20b2Max_int__28int_2c_20int_29(HEAP32[HEAP32[$2 + 64 >> 2] + 32 >> 2], HEAP32[HEAP32[$2 + 32 >> 2] + 32 >> 2]); - HEAP32[HEAP32[$2 + 48 >> 2] + 32 >> 2] = $0 + 1; - break label$18; - } - HEAP32[HEAP32[$2 + 48 >> 2] + 28 >> 2] = HEAP32[$2 + 36 >> 2]; - HEAP32[HEAP32[$2 + 64 >> 2] + 28 >> 2] = HEAP32[$2 + 40 >> 2]; - HEAP32[HEAP32[$2 + 32 >> 2] + 20 >> 2] = HEAP32[$2 + 68 >> 2]; - b2AABB__Combine_28b2AABB_20const__2c_20b2AABB_20const__29(HEAP32[$2 + 64 >> 2], HEAP32[$2 + 52 >> 2], HEAP32[$2 + 32 >> 2]); - b2AABB__Combine_28b2AABB_20const__2c_20b2AABB_20const__29(HEAP32[$2 + 48 >> 2], HEAP32[$2 + 64 >> 2], HEAP32[$2 + 28 >> 2]); - $0 = int_20b2Max_int__28int_2c_20int_29(HEAP32[HEAP32[$2 + 52 >> 2] + 32 >> 2], HEAP32[HEAP32[$2 + 32 >> 2] + 32 >> 2]); - HEAP32[HEAP32[$2 + 64 >> 2] + 32 >> 2] = $0 + 1; - $0 = int_20b2Max_int__28int_2c_20int_29(HEAP32[HEAP32[$2 + 64 >> 2] + 32 >> 2], HEAP32[HEAP32[$2 + 28 >> 2] + 32 >> 2]); - HEAP32[HEAP32[$2 + 48 >> 2] + 32 >> 2] = $0 + 1; - } - HEAP32[$2 + 76 >> 2] = HEAP32[$2 + 56 >> 2]; - break label$2; - } - if (HEAP32[$2 + 44 >> 2] < -1) { - HEAP32[$2 + 24 >> 2] = HEAP32[HEAP32[$2 + 52 >> 2] + 24 >> 2]; - HEAP32[$2 + 20 >> 2] = HEAP32[HEAP32[$2 + 52 >> 2] + 28 >> 2]; - HEAP32[$2 + 16 >> 2] = HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 24 >> 2], 40); - HEAP32[$2 + 12 >> 2] = HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 20 >> 2], 40); - if (!(HEAP32[$2 + 24 >> 2] < HEAP32[$0 + 12 >> 2] & HEAP32[$2 + 24 >> 2] >= 0)) { - __assert_fail(1562, 6056, 487, 10230); - wasm2js_trap(); - } - if (!(HEAP32[$2 + 20 >> 2] < HEAP32[$0 + 12 >> 2] & HEAP32[$2 + 20 >> 2] >= 0)) { - __assert_fail(1531, 6056, 488, 10230); - wasm2js_trap(); - } - HEAP32[HEAP32[$2 + 52 >> 2] + 24 >> 2] = HEAP32[$2 + 68 >> 2]; - HEAP32[HEAP32[$2 + 52 >> 2] + 20 >> 2] = HEAP32[HEAP32[$2 + 64 >> 2] + 20 >> 2]; - HEAP32[HEAP32[$2 + 64 >> 2] + 20 >> 2] = HEAP32[$2 + 60 >> 2]; - label$25: { - if (HEAP32[HEAP32[$2 + 52 >> 2] + 20 >> 2] != -1) { - if (HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[HEAP32[$2 + 52 >> 2] + 20 >> 2], 40) | 0) + 24 >> 2] == HEAP32[$2 + 68 >> 2]) { - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[HEAP32[$2 + 52 >> 2] + 20 >> 2], 40) | 0) + 24 >> 2] = HEAP32[$2 + 60 >> 2]; - break label$25; - } - if (HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[HEAP32[$2 + 52 >> 2] + 20 >> 2], 40) | 0) + 28 >> 2] != HEAP32[$2 + 68 >> 2]) { - __assert_fail(11497, 6056, 504, 10230); - wasm2js_trap(); - } - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[HEAP32[$2 + 52 >> 2] + 20 >> 2], 40) | 0) + 28 >> 2] = HEAP32[$2 + 60 >> 2]; - break label$25; - } - HEAP32[$0 >> 2] = HEAP32[$2 + 60 >> 2]; - } - label$29: { - if (HEAP32[HEAP32[$2 + 16 >> 2] + 32 >> 2] > HEAP32[HEAP32[$2 + 12 >> 2] + 32 >> 2]) { - HEAP32[HEAP32[$2 + 52 >> 2] + 28 >> 2] = HEAP32[$2 + 24 >> 2]; - HEAP32[HEAP32[$2 + 64 >> 2] + 24 >> 2] = HEAP32[$2 + 20 >> 2]; - HEAP32[HEAP32[$2 + 12 >> 2] + 20 >> 2] = HEAP32[$2 + 68 >> 2]; - b2AABB__Combine_28b2AABB_20const__2c_20b2AABB_20const__29(HEAP32[$2 + 64 >> 2], HEAP32[$2 + 48 >> 2], HEAP32[$2 + 12 >> 2]); - b2AABB__Combine_28b2AABB_20const__2c_20b2AABB_20const__29(HEAP32[$2 + 52 >> 2], HEAP32[$2 + 64 >> 2], HEAP32[$2 + 16 >> 2]); - $0 = int_20b2Max_int__28int_2c_20int_29(HEAP32[HEAP32[$2 + 48 >> 2] + 32 >> 2], HEAP32[HEAP32[$2 + 12 >> 2] + 32 >> 2]); - HEAP32[HEAP32[$2 + 64 >> 2] + 32 >> 2] = $0 + 1; - $0 = int_20b2Max_int__28int_2c_20int_29(HEAP32[HEAP32[$2 + 64 >> 2] + 32 >> 2], HEAP32[HEAP32[$2 + 16 >> 2] + 32 >> 2]); - HEAP32[HEAP32[$2 + 52 >> 2] + 32 >> 2] = $0 + 1; - break label$29; - } - HEAP32[HEAP32[$2 + 52 >> 2] + 28 >> 2] = HEAP32[$2 + 20 >> 2]; - HEAP32[HEAP32[$2 + 64 >> 2] + 24 >> 2] = HEAP32[$2 + 24 >> 2]; - HEAP32[HEAP32[$2 + 16 >> 2] + 20 >> 2] = HEAP32[$2 + 68 >> 2]; - b2AABB__Combine_28b2AABB_20const__2c_20b2AABB_20const__29(HEAP32[$2 + 64 >> 2], HEAP32[$2 + 48 >> 2], HEAP32[$2 + 16 >> 2]); - b2AABB__Combine_28b2AABB_20const__2c_20b2AABB_20const__29(HEAP32[$2 + 52 >> 2], HEAP32[$2 + 64 >> 2], HEAP32[$2 + 12 >> 2]); - $0 = int_20b2Max_int__28int_2c_20int_29(HEAP32[HEAP32[$2 + 48 >> 2] + 32 >> 2], HEAP32[HEAP32[$2 + 16 >> 2] + 32 >> 2]); - HEAP32[HEAP32[$2 + 64 >> 2] + 32 >> 2] = $0 + 1; - $0 = int_20b2Max_int__28int_2c_20int_29(HEAP32[HEAP32[$2 + 64 >> 2] + 32 >> 2], HEAP32[HEAP32[$2 + 12 >> 2] + 32 >> 2]); - HEAP32[HEAP32[$2 + 52 >> 2] + 32 >> 2] = $0 + 1; - } - HEAP32[$2 + 76 >> 2] = HEAP32[$2 + 60 >> 2]; - break label$2; - } - HEAP32[$2 + 76 >> 2] = HEAP32[$2 + 68 >> 2]; - } - __stack_pointer = $2 + 80 | 0; - return HEAP32[$2 + 76 >> 2]; -} - -function b2SeparationFunction__Initialize_28b2SimplexCache_20const__2c_20b2DistanceProxy_20const__2c_20b2Sweep_20const__2c_20b2DistanceProxy_20const__2c_20b2Sweep_20const__2c_20float_29($0, $1, $2, $3, $4, $5, $6) { - var $7 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $7 = __stack_pointer - 336 | 0; - __stack_pointer = $7; - HEAP32[$7 + 328 >> 2] = $0; - HEAP32[$7 + 324 >> 2] = $1; - HEAP32[$7 + 320 >> 2] = $2; - HEAP32[$7 + 316 >> 2] = $3; - HEAP32[$7 + 312 >> 2] = $4; - HEAP32[$7 + 308 >> 2] = $5; - HEAPF32[$7 + 304 >> 2] = $6; - $2 = HEAP32[$7 + 328 >> 2]; - HEAP32[$2 >> 2] = HEAP32[$7 + 320 >> 2]; - HEAP32[$2 + 4 >> 2] = HEAP32[$7 + 312 >> 2]; - HEAP32[$7 + 300 >> 2] = HEAPU16[HEAP32[$7 + 324 >> 2] + 4 >> 1]; - if (!(HEAP32[$7 + 300 >> 2] < 3 & HEAP32[$7 + 300 >> 2] > 0)) { - __assert_fail(12302, 5435, 56, 8768); - wasm2js_trap(); - } - $3 = HEAP32[$7 + 316 >> 2]; - $0 = HEAP32[$3 >> 2]; - $1 = HEAP32[$3 + 4 >> 2]; - $4 = $0; - $0 = $2; - HEAP32[$0 + 8 >> 2] = $4; - HEAP32[$0 + 12 >> 2] = $1; - HEAP32[$0 + 40 >> 2] = HEAP32[$3 + 32 >> 2]; - $0 = HEAP32[$3 + 28 >> 2]; - $1 = HEAP32[$3 + 24 >> 2]; - $4 = $1; - $1 = $2; - HEAP32[$1 + 32 >> 2] = $4; - HEAP32[$1 + 36 >> 2] = $0; - $1 = HEAP32[$3 + 20 >> 2]; - $0 = HEAP32[$3 + 16 >> 2]; - $4 = $0; - $0 = $2; - HEAP32[$0 + 24 >> 2] = $4; - HEAP32[$0 + 28 >> 2] = $1; - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$3 + 8 >> 2]; - $3 = $1; - $1 = $2; - HEAP32[$1 + 16 >> 2] = $3; - HEAP32[$1 + 20 >> 2] = $0; - $3 = HEAP32[$7 + 308 >> 2]; - $0 = HEAP32[$3 >> 2]; - $1 = HEAP32[$3 + 4 >> 2]; - $4 = $0; - $0 = $2; - HEAP32[$0 + 44 >> 2] = $4; - HEAP32[$0 + 48 >> 2] = $1; - HEAP32[$0 + 76 >> 2] = HEAP32[$3 + 32 >> 2]; - $0 = HEAP32[$3 + 28 >> 2]; - $1 = HEAP32[$3 + 24 >> 2]; - $4 = $1; - $1 = $2; - HEAP32[$1 + 68 >> 2] = $4; - HEAP32[$1 + 72 >> 2] = $0; - $1 = HEAP32[$3 + 20 >> 2]; - $0 = HEAP32[$3 + 16 >> 2]; - $4 = $0; - $0 = $2; - HEAP32[$0 + 60 >> 2] = $4; - HEAP32[$0 + 64 >> 2] = $1; - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$3 + 8 >> 2]; - $3 = $1; - $1 = $2; - HEAP32[$1 + 52 >> 2] = $3; - HEAP32[$1 + 56 >> 2] = $0; - b2Transform__b2Transform_28_29($7 + 284 | 0); - b2Transform__b2Transform_28_29($7 + 268 | 0); - b2Sweep__GetTransform_28b2Transform__2c_20float_29_20const($1 + 8 | 0, $7 + 284 | 0, HEAPF32[$7 + 304 >> 2]); - b2Sweep__GetTransform_28b2Transform__2c_20float_29_20const($1 + 44 | 0, $7 + 268 | 0, HEAPF32[$7 + 304 >> 2]); - label$3: { - if (HEAP32[$7 + 300 >> 2] == 1) { - HEAP32[$2 + 80 >> 2] = 0; - $3 = b2DistanceProxy__GetVertex_28int_29_20const(HEAP32[$2 >> 2], HEAPU8[HEAP32[$7 + 324 >> 2] + 6 | 0]); - $0 = HEAP32[$3 >> 2]; - $1 = HEAP32[$3 + 4 >> 2]; - HEAP32[$7 + 256 >> 2] = $0; - HEAP32[$7 + 260 >> 2] = $1; - $3 = b2DistanceProxy__GetVertex_28int_29_20const(HEAP32[$2 + 4 >> 2], HEAPU8[HEAP32[$7 + 324 >> 2] + 9 | 0]); - $1 = HEAP32[$3 >> 2]; - $0 = HEAP32[$3 + 4 >> 2]; - HEAP32[$7 + 248 >> 2] = $1; - HEAP32[$7 + 252 >> 2] = $0; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($7 + 240 | 0, $7 + 284 | 0, $7 + 256 | 0); - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($7 + 232 | 0, $7 + 268 | 0, $7 + 248 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($7 + 224 | 0, $7 + 232 | 0, $7 + 240 | 0); - $1 = HEAP32[$7 + 228 >> 2]; - $0 = HEAP32[$7 + 224 >> 2]; - $3 = $0; - $0 = $2; - HEAP32[$0 + 92 >> 2] = $3; - HEAP32[$0 + 96 >> 2] = $1; - wasm2js_i32$0 = $7, wasm2js_f32$0 = b2Vec2__Normalize_28_29($0 + 92 | 0), HEAPF32[wasm2js_i32$0 + 220 >> 2] = wasm2js_f32$0; - HEAPF32[$7 + 332 >> 2] = HEAPF32[$7 + 220 >> 2]; - break label$3; - } - if (HEAPU8[HEAP32[$7 + 324 >> 2] + 6 | 0] == HEAPU8[HEAP32[$7 + 324 >> 2] + 7 | 0]) { - HEAP32[$2 + 80 >> 2] = 2; - $3 = b2DistanceProxy__GetVertex_28int_29_20const(HEAP32[$7 + 312 >> 2], HEAPU8[HEAP32[$7 + 324 >> 2] + 9 | 0]); - $1 = HEAP32[$3 >> 2]; - $0 = HEAP32[$3 + 4 >> 2]; - HEAP32[$7 + 208 >> 2] = $1; - HEAP32[$7 + 212 >> 2] = $0; - $3 = b2DistanceProxy__GetVertex_28int_29_20const(HEAP32[$7 + 312 >> 2], HEAPU8[HEAP32[$7 + 324 >> 2] + 10 | 0]); - $0 = HEAP32[$3 >> 2]; - $1 = HEAP32[$3 + 4 >> 2]; - HEAP32[$7 + 200 >> 2] = $0; - HEAP32[$7 + 204 >> 2] = $1; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($7 + 184 | 0, $7 + 200 | 0, $7 + 208 | 0); - b2Cross_28b2Vec2_20const__2c_20float_29($7 + 192 | 0, $7 + 184 | 0, Math_fround(1)); - $0 = HEAP32[$7 + 196 >> 2]; - $1 = HEAP32[$7 + 192 >> 2]; - $3 = $1; - $1 = $2; - HEAP32[$1 + 92 >> 2] = $3; - HEAP32[$1 + 96 >> 2] = $0; - b2Vec2__Normalize_28_29($1 + 92 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($7 + 176 | 0, $7 + 276 | 0, $1 + 92 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($7 + 160 | 0, $7 + 208 | 0, $7 + 200 | 0); - operator__28float_2c_20b2Vec2_20const__29($7 + 168 | 0, Math_fround(.5), $7 + 160 | 0); - $1 = HEAP32[$7 + 172 >> 2]; - $0 = HEAP32[$7 + 168 >> 2]; - $3 = $0; - $0 = $2; - HEAP32[$0 + 84 >> 2] = $3; - HEAP32[$0 + 88 >> 2] = $1; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($7 + 152 | 0, $7 + 268 | 0, $0 + 84 | 0); - $3 = b2DistanceProxy__GetVertex_28int_29_20const(HEAP32[$7 + 320 >> 2], HEAPU8[HEAP32[$7 + 324 >> 2] + 6 | 0]); - $1 = HEAP32[$3 >> 2]; - $0 = HEAP32[$3 + 4 >> 2]; - HEAP32[$7 + 144 >> 2] = $1; - HEAP32[$7 + 148 >> 2] = $0; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($7 + 136 | 0, $7 + 284 | 0, $7 + 144 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($7 + 124 | 0, $7 + 136 | 0, $7 + 152 | 0); - wasm2js_i32$0 = $7, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($7 + 124 | 0, $7 + 176 | 0), - HEAPF32[wasm2js_i32$0 + 132 >> 2] = wasm2js_f32$0; - if (HEAPF32[$7 + 132 >> 2] < Math_fround(0)) { - b2Vec2__operator__28_29_20const($7 + 116 | 0, $2 + 92 | 0); - $1 = HEAP32[$7 + 120 >> 2]; - $0 = HEAP32[$7 + 116 >> 2]; - $3 = $0; - $0 = $2; - HEAP32[$0 + 92 >> 2] = $3; - HEAP32[$0 + 96 >> 2] = $1; - HEAPF32[$7 + 132 >> 2] = -HEAPF32[$7 + 132 >> 2]; - } - HEAPF32[$7 + 332 >> 2] = HEAPF32[$7 + 132 >> 2]; - break label$3; - } - HEAP32[$2 + 80 >> 2] = 1; - $3 = b2DistanceProxy__GetVertex_28int_29_20const(HEAP32[$2 >> 2], HEAPU8[HEAP32[$7 + 324 >> 2] + 6 | 0]); - $1 = HEAP32[$3 >> 2]; - $0 = HEAP32[$3 + 4 >> 2]; - HEAP32[$7 + 104 >> 2] = $1; - HEAP32[$7 + 108 >> 2] = $0; - $3 = b2DistanceProxy__GetVertex_28int_29_20const(HEAP32[$2 >> 2], HEAPU8[HEAP32[$7 + 324 >> 2] + 7 | 0]); - $0 = HEAP32[$3 >> 2]; - $1 = HEAP32[$3 + 4 >> 2]; - HEAP32[$7 + 96 >> 2] = $0; - HEAP32[$7 + 100 >> 2] = $1; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($7 + 80 | 0, $7 + 96 | 0, $7 + 104 | 0); - b2Cross_28b2Vec2_20const__2c_20float_29($7 + 88 | 0, $7 + 80 | 0, Math_fround(1)); - $0 = HEAP32[$7 + 92 >> 2]; - $1 = HEAP32[$7 + 88 >> 2]; - $3 = $1; - $1 = $2; - HEAP32[$1 + 92 >> 2] = $3; - HEAP32[$1 + 96 >> 2] = $0; - b2Vec2__Normalize_28_29($1 + 92 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($7 + 72 | 0, $7 + 292 | 0, $1 + 92 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($7 + 56 | 0, $7 + 104 | 0, $7 + 96 | 0); - operator__28float_2c_20b2Vec2_20const__29($7 - -64 | 0, Math_fround(.5), $7 + 56 | 0); - $1 = HEAP32[$7 + 68 >> 2]; - $0 = HEAP32[$7 + 64 >> 2]; - $3 = $0; - $0 = $2; - HEAP32[$0 + 84 >> 2] = $3; - HEAP32[$0 + 88 >> 2] = $1; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($7 + 48 | 0, $7 + 284 | 0, $0 + 84 | 0); - $3 = b2DistanceProxy__GetVertex_28int_29_20const(HEAP32[$0 + 4 >> 2], HEAPU8[HEAP32[$7 + 324 >> 2] + 9 | 0]); - $1 = HEAP32[$3 >> 2]; - $0 = HEAP32[$3 + 4 >> 2]; - HEAP32[$7 + 40 >> 2] = $1; - HEAP32[$7 + 44 >> 2] = $0; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($7 + 32 | 0, $7 + 268 | 0, $7 + 40 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($7 + 20 | 0, $7 + 32 | 0, $7 + 48 | 0); - wasm2js_i32$0 = $7, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($7 + 20 | 0, $7 + 72 | 0), - HEAPF32[wasm2js_i32$0 + 28 >> 2] = wasm2js_f32$0; - if (HEAPF32[$7 + 28 >> 2] < Math_fround(0)) { - b2Vec2__operator__28_29_20const($7 + 12 | 0, $2 + 92 | 0); - $1 = HEAP32[$7 + 16 >> 2]; - $0 = HEAP32[$7 + 12 >> 2]; - $3 = $0; - $0 = $2; - HEAP32[$0 + 92 >> 2] = $3; - HEAP32[$0 + 96 >> 2] = $1; - HEAPF32[$7 + 28 >> 2] = -HEAPF32[$7 + 28 >> 2]; - } - HEAPF32[$7 + 332 >> 2] = HEAPF32[$7 + 28 >> 2]; - } - __stack_pointer = $7 + 336 | 0; - return HEAPF32[$7 + 332 >> 2]; -} - -function b2WeldJoint__InitVelocityConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, $5 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 208 | 0; - __stack_pointer = $2; - HEAP32[$2 + 204 >> 2] = $0; - HEAP32[$2 + 200 >> 2] = $1; - $0 = HEAP32[$2 + 204 >> 2]; - HEAP32[$0 + 116 >> 2] = HEAP32[HEAP32[$0 + 48 >> 2] + 8 >> 2]; - HEAP32[$0 + 120 >> 2] = HEAP32[HEAP32[$0 + 52 >> 2] + 8 >> 2]; - $4 = HEAP32[$0 + 48 >> 2]; - $3 = HEAP32[$4 + 28 >> 2]; - $1 = HEAP32[$4 + 32 >> 2]; - HEAP32[$0 + 140 >> 2] = $3; - HEAP32[$0 + 144 >> 2] = $1; - $4 = HEAP32[$0 + 52 >> 2]; - $1 = HEAP32[$4 + 28 >> 2]; - $3 = HEAP32[$4 + 32 >> 2]; - HEAP32[$0 + 148 >> 2] = $1; - HEAP32[$0 + 152 >> 2] = $3; - HEAPF32[$0 + 156 >> 2] = HEAPF32[HEAP32[$0 + 48 >> 2] + 120 >> 2]; - HEAPF32[$0 + 160 >> 2] = HEAPF32[HEAP32[$0 + 52 >> 2] + 120 >> 2]; - HEAPF32[$0 + 164 >> 2] = HEAPF32[HEAP32[$0 + 48 >> 2] + 128 >> 2]; - HEAPF32[$0 + 168 >> 2] = HEAPF32[HEAP32[$0 + 52 >> 2] + 128 >> 2]; - HEAPF32[$2 + 196 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 200 >> 2] + 24 >> 2] + Math_imul(HEAP32[$0 + 116 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$0 + 116 >> 2], 12) | 0; - $3 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 184 >> 2] = $3; - HEAP32[$2 + 188 >> 2] = $1; - HEAPF32[$2 + 180 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$0 + 116 >> 2], 12) | 0) + 8 >> 2]; - HEAPF32[$2 + 176 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 200 >> 2] + 24 >> 2] + Math_imul(HEAP32[$0 + 120 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$0 + 120 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $3 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 168 >> 2] = $1; - HEAP32[$2 + 172 >> 2] = $3; - HEAPF32[$2 + 164 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$0 + 120 >> 2], 12) | 0) + 8 >> 2]; - b2Rot__b2Rot_28float_29($2 + 156 | 0, HEAPF32[$2 + 196 >> 2]); - b2Rot__b2Rot_28float_29($2 + 148 | 0, HEAPF32[$2 + 176 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 132 | 0, $0 + 80 | 0, $0 + 140 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 140 | 0, $2 + 156 | 0, $2 + 132 | 0); - $1 = HEAP32[$2 + 144 >> 2]; - $3 = HEAP32[$2 + 140 >> 2]; - HEAP32[$0 + 124 >> 2] = $3; - HEAP32[$0 + 128 >> 2] = $1; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 116 | 0, $0 + 88 | 0, $0 + 148 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 124 | 0, $2 + 148 | 0, $2 + 116 | 0); - $3 = HEAP32[$2 + 128 >> 2]; - $1 = HEAP32[$2 + 124 >> 2]; - HEAP32[$0 + 132 >> 2] = $1; - HEAP32[$0 + 136 >> 2] = $3; - HEAPF32[$2 + 112 >> 2] = HEAPF32[$0 + 156 >> 2]; - HEAPF32[$2 + 108 >> 2] = HEAPF32[$0 + 160 >> 2]; - HEAPF32[$2 + 104 >> 2] = HEAPF32[$0 + 164 >> 2]; - HEAPF32[$2 + 100 >> 2] = HEAPF32[$0 + 168 >> 2]; - b2Mat33__b2Mat33_28_29($2 - -64 | 0); - HEAPF32[$2 + 64 >> 2] = Math_fround(Math_fround(HEAPF32[$0 + 136 >> 2] * HEAPF32[$0 + 136 >> 2]) * HEAPF32[$2 + 100 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$0 + 128 >> 2] * HEAPF32[$0 + 128 >> 2]) * HEAPF32[$2 + 104 >> 2]) + Math_fround(HEAPF32[$2 + 112 >> 2] + HEAPF32[$2 + 108 >> 2])); - HEAPF32[$2 + 76 >> 2] = Math_fround(Math_fround(Math_fround(-HEAPF32[$0 + 128 >> 2]) * HEAPF32[$0 + 124 >> 2]) * HEAPF32[$2 + 104 >> 2]) - Math_fround(Math_fround(HEAPF32[$0 + 136 >> 2] * HEAPF32[$0 + 132 >> 2]) * HEAPF32[$2 + 100 >> 2]); - HEAPF32[$2 + 88 >> 2] = Math_fround(Math_fround(-HEAPF32[$0 + 128 >> 2]) * HEAPF32[$2 + 104 >> 2]) - Math_fround(HEAPF32[$0 + 136 >> 2] * HEAPF32[$2 + 100 >> 2]); - HEAPF32[$2 + 68 >> 2] = HEAPF32[$2 + 76 >> 2]; - HEAPF32[$2 + 80 >> 2] = Math_fround(Math_fround(HEAPF32[$0 + 132 >> 2] * HEAPF32[$0 + 132 >> 2]) * HEAPF32[$2 + 100 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$0 + 124 >> 2] * HEAPF32[$0 + 124 >> 2]) * HEAPF32[$2 + 104 >> 2]) + Math_fround(HEAPF32[$2 + 112 >> 2] + HEAPF32[$2 + 108 >> 2])); - HEAPF32[$2 + 92 >> 2] = Math_fround(HEAPF32[$0 + 124 >> 2] * HEAPF32[$2 + 104 >> 2]) + Math_fround(HEAPF32[$0 + 132 >> 2] * HEAPF32[$2 + 100 >> 2]); - HEAPF32[$2 + 72 >> 2] = HEAPF32[$2 + 88 >> 2]; - HEAPF32[$2 + 84 >> 2] = HEAPF32[$2 + 92 >> 2]; - HEAPF32[$2 + 96 >> 2] = HEAPF32[$2 + 104 >> 2] + HEAPF32[$2 + 100 >> 2]; - label$1: { - if (HEAPF32[$0 + 68 >> 2] > Math_fround(0)) { - b2Mat33__GetInverse22_28b2Mat33__29_20const($2 - -64 | 0, $0 + 172 | 0); - HEAPF32[$2 + 60 >> 2] = HEAPF32[$2 + 104 >> 2] + HEAPF32[$2 + 100 >> 2]; - if (HEAPF32[$2 + 60 >> 2] > Math_fround(0)) { - $5 = Math_fround(Math_fround(1) / HEAPF32[$2 + 60 >> 2]); - } else { - $5 = Math_fround(0); - } - HEAPF32[$2 + 56 >> 2] = $5; - HEAPF32[$2 + 52 >> 2] = Math_fround(HEAPF32[$2 + 176 >> 2] - HEAPF32[$2 + 196 >> 2]) - HEAPF32[$0 + 96 >> 2]; - HEAPF32[$2 + 48 >> 2] = HEAPF32[$0 + 68 >> 2] * Math_fround(6.2831854820251465); - $5 = HEAPF32[$2 + 56 >> 2]; - HEAPF32[$2 + 44 >> 2] = Math_fround(Math_fround($5 + $5) * HEAPF32[$0 + 72 >> 2]) * HEAPF32[$2 + 48 >> 2]; - HEAPF32[$2 + 40 >> 2] = Math_fround(HEAPF32[$2 + 56 >> 2] * HEAPF32[$2 + 48 >> 2]) * HEAPF32[$2 + 48 >> 2]; - HEAPF32[$2 + 36 >> 2] = HEAPF32[HEAP32[$2 + 200 >> 2] >> 2]; - HEAPF32[$0 + 100 >> 2] = HEAPF32[$2 + 36 >> 2] * Math_fround(Math_fround(HEAPF32[$2 + 36 >> 2] * HEAPF32[$2 + 40 >> 2]) + HEAPF32[$2 + 44 >> 2]); - if (HEAPF32[$0 + 100 >> 2] != Math_fround(0)) { - $5 = Math_fround(Math_fround(1) / HEAPF32[$0 + 100 >> 2]); - } else { - $5 = Math_fround(0); - } - HEAPF32[$0 + 100 >> 2] = $5; - HEAPF32[$0 + 76 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 52 >> 2] * HEAPF32[$2 + 36 >> 2]) * HEAPF32[$2 + 40 >> 2]) * HEAPF32[$0 + 100 >> 2]; - HEAPF32[$2 + 60 >> 2] = HEAPF32[$2 + 60 >> 2] + HEAPF32[$0 + 100 >> 2]; - if (HEAPF32[$2 + 60 >> 2] != Math_fround(0)) { - $5 = Math_fround(Math_fround(1) / HEAPF32[$2 + 60 >> 2]); - } else { - $5 = Math_fround(0); - } - HEAPF32[$0 + 204 >> 2] = $5; - break label$1; - } - label$9: { - if (HEAPF32[$2 + 96 >> 2] == Math_fround(0)) { - b2Mat33__GetInverse22_28b2Mat33__29_20const($2 - -64 | 0, $0 + 172 | 0); - break label$9; - } - b2Mat33__GetSymInverse33_28b2Mat33__29_20const($2 - -64 | 0, $0 + 172 | 0); - } - HEAPF32[$0 + 100 >> 2] = 0; - HEAPF32[$0 + 76 >> 2] = 0; - } - label$11: { - if (HEAP8[HEAP32[$2 + 200 >> 2] + 20 | 0] & 1) { - b2Vec3__operator___28float_29($0 + 104 | 0, HEAPF32[HEAP32[$2 + 200 >> 2] + 8 >> 2]); - b2Vec2__b2Vec2_28float_2c_20float_29($2 + 28 | 0, HEAPF32[$0 + 104 >> 2], HEAPF32[$0 + 108 >> 2]); - operator__28float_2c_20b2Vec2_20const__29($2 + 20 | 0, HEAPF32[$2 + 112 >> 2], $2 + 28 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 184 | 0, $2 + 20 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$2 + 104 >> 2]) * Math_fround(b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($0 + 124 | 0, $2 + 28 | 0) + HEAPF32[$0 + 112 >> 2])) + HEAPF32[$2 + 180 >> 2]), - HEAPF32[wasm2js_i32$0 + 180 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($2 + 12 | 0, HEAPF32[$2 + 108 >> 2], $2 + 28 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 168 | 0, $2 + 12 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$2 + 100 >> 2] * Math_fround(b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($0 + 132 | 0, $2 + 28 | 0) + HEAPF32[$0 + 112 >> 2])) + HEAPF32[$2 + 164 >> 2]), - HEAPF32[wasm2js_i32$0 + 164 >> 2] = wasm2js_f32$0; - break label$11; - } - b2Vec3__SetZero_28_29($0 + 104 | 0); - } - $1 = HEAP32[$2 + 188 >> 2]; - $3 = HEAP32[$2 + 184 >> 2]; - $4 = $3; - $3 = HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$0 + 116 >> 2], 12) | 0; - HEAP32[$3 >> 2] = $4; - HEAP32[$3 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$0 + 116 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 180 >> 2]; - $3 = HEAP32[$2 + 172 >> 2]; - $1 = HEAP32[$2 + 168 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$0 + 120 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $3; - HEAPF32[(HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$0 + 120 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 164 >> 2]; - __stack_pointer = $2 + 208 | 0; -} - -function b2WeldJoint__SolvePositionConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 320 | 0; - __stack_pointer = $2; - HEAP32[$2 + 316 >> 2] = $0; - HEAP32[$2 + 312 >> 2] = $1; - $3 = HEAP32[$2 + 316 >> 2]; - $4 = HEAP32[HEAP32[$2 + 312 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 116 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 304 >> 2] = $0; - HEAP32[$2 + 308 >> 2] = $1; - HEAPF32[$2 + 300 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 312 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 116 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 312 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 120 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 288 >> 2] = $1; - HEAP32[$2 + 292 >> 2] = $0; - HEAPF32[$2 + 284 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 312 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 120 >> 2], 12) | 0) + 8 >> 2]; - b2Rot__b2Rot_28float_29($2 + 276 | 0, HEAPF32[$2 + 300 >> 2]); - b2Rot__b2Rot_28float_29($2 + 268 | 0, HEAPF32[$2 + 284 >> 2]); - HEAPF32[$2 + 264 >> 2] = HEAPF32[$3 + 156 >> 2]; - HEAPF32[$2 + 260 >> 2] = HEAPF32[$3 + 160 >> 2]; - HEAPF32[$2 + 256 >> 2] = HEAPF32[$3 + 164 >> 2]; - HEAPF32[$2 + 252 >> 2] = HEAPF32[$3 + 168 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 236 | 0, $3 + 80 | 0, $3 + 140 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 244 | 0, $2 + 276 | 0, $2 + 236 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 220 | 0, $3 + 88 | 0, $3 + 148 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 228 | 0, $2 + 268 | 0, $2 + 220 | 0); - b2Mat33__b2Mat33_28_29($2 + 176 | 0); - HEAPF32[$2 + 176 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 232 >> 2] * HEAPF32[$2 + 232 >> 2]) * HEAPF32[$2 + 252 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 248 >> 2] * HEAPF32[$2 + 248 >> 2]) * HEAPF32[$2 + 256 >> 2]) + Math_fround(HEAPF32[$2 + 264 >> 2] + HEAPF32[$2 + 260 >> 2])); - HEAPF32[$2 + 188 >> 2] = Math_fround(Math_fround(Math_fround(-HEAPF32[$2 + 248 >> 2]) * HEAPF32[$2 + 244 >> 2]) * HEAPF32[$2 + 256 >> 2]) - Math_fround(Math_fround(HEAPF32[$2 + 232 >> 2] * HEAPF32[$2 + 228 >> 2]) * HEAPF32[$2 + 252 >> 2]); - HEAPF32[$2 + 200 >> 2] = Math_fround(Math_fround(-HEAPF32[$2 + 248 >> 2]) * HEAPF32[$2 + 256 >> 2]) - Math_fround(HEAPF32[$2 + 232 >> 2] * HEAPF32[$2 + 252 >> 2]); - HEAPF32[$2 + 180 >> 2] = HEAPF32[$2 + 188 >> 2]; - HEAPF32[$2 + 192 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 228 >> 2] * HEAPF32[$2 + 228 >> 2]) * HEAPF32[$2 + 252 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 244 >> 2] * HEAPF32[$2 + 244 >> 2]) * HEAPF32[$2 + 256 >> 2]) + Math_fround(HEAPF32[$2 + 264 >> 2] + HEAPF32[$2 + 260 >> 2])); - HEAPF32[$2 + 204 >> 2] = Math_fround(HEAPF32[$2 + 244 >> 2] * HEAPF32[$2 + 256 >> 2]) + Math_fround(HEAPF32[$2 + 228 >> 2] * HEAPF32[$2 + 252 >> 2]); - HEAPF32[$2 + 184 >> 2] = HEAPF32[$2 + 200 >> 2]; - HEAPF32[$2 + 196 >> 2] = HEAPF32[$2 + 204 >> 2]; - HEAPF32[$2 + 208 >> 2] = HEAPF32[$2 + 256 >> 2] + HEAPF32[$2 + 252 >> 2]; - label$1: { - if (HEAPF32[$3 + 68 >> 2] > Math_fround(0)) { - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 152 | 0, $2 + 288 | 0, $2 + 228 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 160 | 0, $2 + 152 | 0, $2 + 304 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 168 | 0, $2 + 160 | 0, $2 + 244 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Vec2__Length_28_29_20const($2 + 168 | 0), - HEAPF32[wasm2js_i32$0 + 216 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 212 >> 2] = 0; - b2Mat33__Solve22_28b2Vec2_20const__29_20const($2 + 136 | 0, $2 + 176 | 0, $2 + 168 | 0); - b2Vec2__operator__28_29_20const($2 + 144 | 0, $2 + 136 | 0); - operator__28float_2c_20b2Vec2_20const__29($2 + 128 | 0, HEAPF32[$2 + 264 >> 2], $2 + 144 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 304 | 0, $2 + 128 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$2 + 256 >> 2]) * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 244 | 0, $2 + 144 | 0)) + HEAPF32[$2 + 300 >> 2]), - HEAPF32[wasm2js_i32$0 + 300 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($2 + 120 | 0, HEAPF32[$2 + 260 >> 2], $2 + 144 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 288 | 0, $2 + 120 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$2 + 252 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 228 | 0, $2 + 144 | 0)) + HEAPF32[$2 + 284 >> 2]), - HEAPF32[wasm2js_i32$0 + 284 >> 2] = wasm2js_f32$0; - break label$1; - } - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 96 | 0, $2 + 288 | 0, $2 + 228 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 104 | 0, $2 + 96 | 0, $2 + 304 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 112 | 0, $2 + 104 | 0, $2 + 244 | 0); - HEAPF32[$2 + 92 >> 2] = Math_fround(HEAPF32[$2 + 284 >> 2] - HEAPF32[$2 + 300 >> 2]) - HEAPF32[$3 + 96 >> 2]; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Vec2__Length_28_29_20const($2 + 112 | 0), - HEAPF32[wasm2js_i32$0 + 216 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20b2Abs_float__28float_29(HEAPF32[$2 + 92 >> 2]), - HEAPF32[wasm2js_i32$0 + 212 >> 2] = wasm2js_f32$0; - b2Vec3__b2Vec3_28float_2c_20float_2c_20float_29($2 + 80 | 0, HEAPF32[$2 + 112 >> 2], HEAPF32[$2 + 116 >> 2], HEAPF32[$2 + 92 >> 2]); - b2Vec3__b2Vec3_28_29($2 - -64 | 0); - label$3: { - if (HEAPF32[$2 + 208 >> 2] > Math_fround(0)) { - b2Mat33__Solve33_28b2Vec3_20const__29_20const($2 + 40 | 0, $2 + 176 | 0, $2 + 80 | 0); - b2Vec3__operator__28_29_20const($2 + 52 | 0, $2 + 40 | 0); - HEAP32[$2 + 72 >> 2] = HEAP32[$2 + 60 >> 2]; - $1 = HEAP32[$2 + 56 >> 2]; - $0 = HEAP32[$2 + 52 >> 2]; - HEAP32[$2 + 64 >> 2] = $0; - HEAP32[$2 + 68 >> 2] = $1; - break label$3; - } - b2Mat33__Solve22_28b2Vec2_20const__29_20const($2 + 24 | 0, $2 + 176 | 0, $2 + 112 | 0); - b2Vec2__operator__28_29_20const($2 + 32 | 0, $2 + 24 | 0); - b2Vec3__Set_28float_2c_20float_2c_20float_29($2 - -64 | 0, HEAPF32[$2 + 32 >> 2], HEAPF32[$2 + 36 >> 2], Math_fround(0)); - } - b2Vec2__b2Vec2_28float_2c_20float_29($2 + 16 | 0, HEAPF32[$2 + 64 >> 2], HEAPF32[$2 + 68 >> 2]); - operator__28float_2c_20b2Vec2_20const__29($2 + 8 | 0, HEAPF32[$2 + 264 >> 2], $2 + 16 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 304 | 0, $2 + 8 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$2 + 256 >> 2]) * Math_fround(b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 244 | 0, $2 + 16 | 0) + HEAPF32[$2 + 72 >> 2])) + HEAPF32[$2 + 300 >> 2]), - HEAPF32[wasm2js_i32$0 + 300 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($2, HEAPF32[$2 + 260 >> 2], $2 + 16 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 288 | 0, $2); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$2 + 252 >> 2] * Math_fround(b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 228 | 0, $2 + 16 | 0) + HEAPF32[$2 + 72 >> 2])) + HEAPF32[$2 + 284 >> 2]), - HEAPF32[wasm2js_i32$0 + 284 >> 2] = wasm2js_f32$0; - } - $0 = HEAP32[$2 + 308 >> 2]; - $1 = HEAP32[$2 + 304 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 312 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 116 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 312 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 116 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 300 >> 2]; - $1 = HEAP32[$2 + 292 >> 2]; - $0 = HEAP32[$2 + 288 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 312 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 120 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 312 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 120 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 284 >> 2]; - __stack_pointer = $2 + 320 | 0; - $5 = HEAPF32[$2 + 216 >> 2] <= Math_fround(.004999999888241291) ? HEAPF32[$2 + 212 >> 2] <= Math_fround(.03490658849477768) : $5; - return $5 | 0; -} - -function b2World__Solve_28b2TimeStep_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 176 | 0; - __stack_pointer = $2; - HEAP32[$2 + 172 >> 2] = $0; - HEAP32[$2 + 168 >> 2] = $1; - $0 = HEAP32[$2 + 172 >> 2]; - HEAPF32[$0 + 103008 >> 2] = 0; - HEAPF32[$0 + 103012 >> 2] = 0; - HEAPF32[$0 + 103016 >> 2] = 0; - b2Island__b2Island_28int_2c_20int_2c_20int_2c_20b2StackAllocator__2c_20b2ContactListener__29($2 + 116 | 0, HEAP32[$0 + 102956 >> 2], HEAP32[$0 + 102932 >> 2], HEAP32[$0 + 102960 >> 2], $0 + 68 | 0, HEAP32[$0 + 102940 >> 2]); - HEAP32[$2 + 112 >> 2] = HEAP32[$0 + 102948 >> 2]; - while (1) { - if (HEAP32[$2 + 112 >> 2]) { - $1 = HEAP32[$2 + 112 >> 2]; - HEAP16[$1 + 4 >> 1] = HEAPU16[$1 + 4 >> 1] & -2; - HEAP32[$2 + 112 >> 2] = HEAP32[HEAP32[$2 + 112 >> 2] + 96 >> 2]; - continue; - } - break; - } - HEAP32[$2 + 108 >> 2] = HEAP32[$0 + 102928 >> 2]; - while (1) { - if (HEAP32[$2 + 108 >> 2]) { - $1 = HEAP32[$2 + 108 >> 2]; - HEAP32[$1 + 4 >> 2] = HEAP32[$1 + 4 >> 2] & -2; - HEAP32[$2 + 108 >> 2] = HEAP32[HEAP32[$2 + 108 >> 2] + 12 >> 2]; - continue; - } - break; - } - HEAP32[$2 + 104 >> 2] = HEAP32[$0 + 102952 >> 2]; - while (1) { - if (HEAP32[$2 + 104 >> 2]) { - HEAP8[HEAP32[$2 + 104 >> 2] + 60 | 0] = 0; - HEAP32[$2 + 104 >> 2] = HEAP32[HEAP32[$2 + 104 >> 2] + 12 >> 2]; - continue; - } - break; - } - HEAP32[$2 + 100 >> 2] = HEAP32[$0 + 102956 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2StackAllocator__Allocate_28int_29($0 + 68 | 0, HEAP32[$2 + 100 >> 2] << 2), - HEAP32[wasm2js_i32$0 + 96 >> 2] = wasm2js_i32$1; - HEAP32[$2 + 92 >> 2] = HEAP32[$0 + 102948 >> 2]; - while (1) { - if (HEAP32[$2 + 92 >> 2]) { - label$9: { - if (HEAP16[HEAP32[$2 + 92 >> 2] + 4 >> 1] & 1) { - break label$9; - } - if (!(b2Body__IsAwake_28_29_20const(HEAP32[$2 + 92 >> 2]) & 1)) { - break label$9; - } - if (!(b2Body__IsEnabled_28_29_20const(HEAP32[$2 + 92 >> 2]) & 1)) { - break label$9; - } - if (!b2Body__GetType_28_29_20const(HEAP32[$2 + 92 >> 2])) { - break label$9; - } - b2Island__Clear_28_29($2 + 116 | 0); - HEAP32[$2 + 88 >> 2] = 0; - $3 = HEAP32[$2 + 92 >> 2]; - $4 = HEAP32[$2 + 96 >> 2]; - $1 = HEAP32[$2 + 88 >> 2]; - HEAP32[$2 + 88 >> 2] = $1 + 1; - HEAP32[($1 << 2) + $4 >> 2] = $3; - $1 = HEAP32[$2 + 92 >> 2]; - HEAP16[$1 + 4 >> 1] = HEAPU16[$1 + 4 >> 1] | 1; - while (1) { - if (HEAP32[$2 + 88 >> 2] > 0) { - $3 = HEAP32[$2 + 96 >> 2]; - $1 = HEAP32[$2 + 88 >> 2] - 1 | 0; - HEAP32[$2 + 88 >> 2] = $1; - HEAP32[$2 + 84 >> 2] = HEAP32[($1 << 2) + $3 >> 2]; - if (!(b2Body__IsEnabled_28_29_20const(HEAP32[$2 + 84 >> 2]) & 1)) { - __assert_fail(8897, 6252, 453, 8869); - wasm2js_trap(); - } - b2Island__Add_28b2Body__29($2 + 116 | 0, HEAP32[$2 + 84 >> 2]); - $1 = HEAP32[$2 + 84 >> 2]; - HEAP16[$1 + 4 >> 1] = HEAPU16[$1 + 4 >> 1] | 2; - if (!b2Body__GetType_28_29_20const(HEAP32[$2 + 84 >> 2])) { - continue; - } - HEAP32[$2 + 80 >> 2] = HEAP32[HEAP32[$2 + 84 >> 2] + 112 >> 2]; - while (1) { - if (HEAP32[$2 + 80 >> 2]) { - HEAP32[$2 + 76 >> 2] = HEAP32[HEAP32[$2 + 80 >> 2] + 4 >> 2]; - label$16: { - if (HEAP32[HEAP32[$2 + 76 >> 2] + 4 >> 2] & 1) { - break label$16; - } - if (!(b2Contact__IsEnabled_28_29_20const(HEAP32[$2 + 76 >> 2]) & 1)) { - break label$16; - } - if (!(b2Contact__IsTouching_28_29_20const(HEAP32[$2 + 76 >> 2]) & 1)) { - break label$16; - } - HEAP8[$2 + 75 | 0] = HEAP8[HEAP32[HEAP32[$2 + 76 >> 2] + 48 >> 2] + 38 | 0] & 1; - HEAP8[$2 + 74 | 0] = HEAP8[HEAP32[HEAP32[$2 + 76 >> 2] + 52 >> 2] + 38 | 0] & 1; - if (HEAP8[$2 + 75 | 0] & 1 | HEAP8[$2 + 74 | 0] & 1) { - break label$16; - } - b2Island__Add_28b2Contact__29($2 + 116 | 0, HEAP32[$2 + 76 >> 2]); - $1 = HEAP32[$2 + 76 >> 2]; - HEAP32[$1 + 4 >> 2] = HEAP32[$1 + 4 >> 2] | 1; - HEAP32[$2 + 68 >> 2] = HEAP32[HEAP32[$2 + 80 >> 2] >> 2]; - if (HEAP16[HEAP32[$2 + 68 >> 2] + 4 >> 1] & 1) { - break label$16; - } - if (HEAP32[$2 + 88 >> 2] >= HEAP32[$2 + 100 >> 2]) { - __assert_fail(8833, 6252, 503, 8869); - wasm2js_trap(); - } - $3 = HEAP32[$2 + 68 >> 2]; - $4 = HEAP32[$2 + 96 >> 2]; - $1 = HEAP32[$2 + 88 >> 2]; - HEAP32[$2 + 88 >> 2] = $1 + 1; - HEAP32[($1 << 2) + $4 >> 2] = $3; - $1 = HEAP32[$2 + 68 >> 2]; - HEAP16[$1 + 4 >> 1] = HEAPU16[$1 + 4 >> 1] | 1; - } - HEAP32[$2 + 80 >> 2] = HEAP32[HEAP32[$2 + 80 >> 2] + 12 >> 2]; - continue; - } - break; - } - HEAP32[$2 + 64 >> 2] = HEAP32[HEAP32[$2 + 84 >> 2] + 108 >> 2]; - while (1) { - if (HEAP32[$2 + 64 >> 2]) { - label$22: { - if (HEAP8[HEAP32[HEAP32[$2 + 64 >> 2] + 4 >> 2] + 60 | 0] & 1) { - break label$22; - } - HEAP32[$2 + 60 >> 2] = HEAP32[HEAP32[$2 + 64 >> 2] >> 2]; - if (!(b2Body__IsEnabled_28_29_20const(HEAP32[$2 + 60 >> 2]) & 1)) { - break label$22; - } - b2Island__Add_28b2Joint__29($2 + 116 | 0, HEAP32[HEAP32[$2 + 64 >> 2] + 4 >> 2]); - HEAP8[HEAP32[HEAP32[$2 + 64 >> 2] + 4 >> 2] + 60 | 0] = 1; - if (HEAP16[HEAP32[$2 + 60 >> 2] + 4 >> 1] & 1) { - break label$22; - } - if (HEAP32[$2 + 88 >> 2] >= HEAP32[$2 + 100 >> 2]) { - __assert_fail(8833, 6252, 532, 8869); - wasm2js_trap(); - } - $3 = HEAP32[$2 + 60 >> 2]; - $4 = HEAP32[$2 + 96 >> 2]; - $1 = HEAP32[$2 + 88 >> 2]; - HEAP32[$2 + 88 >> 2] = $1 + 1; - HEAP32[($1 << 2) + $4 >> 2] = $3; - $1 = HEAP32[$2 + 60 >> 2]; - HEAP16[$1 + 4 >> 1] = HEAPU16[$1 + 4 >> 1] | 1; - } - HEAP32[$2 + 64 >> 2] = HEAP32[HEAP32[$2 + 64 >> 2] + 12 >> 2]; - continue; - } - break; - } - continue; - } - break; - } - b2Island__Solve_28b2Profile__2c_20b2TimeStep_20const__2c_20b2Vec2_20const__2c_20bool_29($2 + 116 | 0, $2 + 28 | 0, HEAP32[$2 + 168 >> 2], $0 + 102964 | 0, HEAP8[$0 + 102972 | 0] & 1); - HEAPF32[$0 + 103008 >> 2] = HEAPF32[$0 + 103008 >> 2] + HEAPF32[$2 + 40 >> 2]; - HEAPF32[$0 + 103012 >> 2] = HEAPF32[$0 + 103012 >> 2] + HEAPF32[$2 + 44 >> 2]; - HEAPF32[$0 + 103016 >> 2] = HEAPF32[$0 + 103016 >> 2] + HEAPF32[$2 + 48 >> 2]; - HEAP32[$2 + 24 >> 2] = 0; - while (1) { - if (HEAP32[$2 + 24 >> 2] < HEAP32[$2 + 144 >> 2]) { - HEAP32[$2 + 20 >> 2] = HEAP32[HEAP32[$2 + 124 >> 2] + (HEAP32[$2 + 24 >> 2] << 2) >> 2]; - if (!b2Body__GetType_28_29_20const(HEAP32[$2 + 20 >> 2])) { - $1 = HEAP32[$2 + 20 >> 2]; - HEAP16[$1 + 4 >> 1] = HEAPU16[$1 + 4 >> 1] & -2; - } - HEAP32[$2 + 24 >> 2] = HEAP32[$2 + 24 >> 2] + 1; - continue; - } - break; - } - } - HEAP32[$2 + 92 >> 2] = HEAP32[HEAP32[$2 + 92 >> 2] + 96 >> 2]; - continue; - } - break; - } - b2StackAllocator__Free_28void__29($0 + 68 | 0, HEAP32[$2 + 96 >> 2]); - b2Timer__b2Timer_28_29($2 + 19 | 0); - HEAP32[$2 + 12 >> 2] = HEAP32[$0 + 102948 >> 2]; - while (1) { - if (HEAP32[$2 + 12 >> 2]) { - label$29: { - if (!(HEAP16[HEAP32[$2 + 12 >> 2] + 4 >> 1] & 1)) { - break label$29; - } - if (!b2Body__GetType_28_29_20const(HEAP32[$2 + 12 >> 2])) { - break label$29; - } - b2Body__SynchronizeFixtures_28_29(HEAP32[$2 + 12 >> 2]); - } - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Body__GetNext_28_29(HEAP32[$2 + 12 >> 2]), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - continue; - } - break; - } - b2ContactManager__FindNewContacts_28_29($0 + 102868 | 0); - wasm2js_i32$0 = $0, wasm2js_f32$0 = b2Timer__GetMilliseconds_28_29_20const($2 + 19 | 0), - HEAPF32[wasm2js_i32$0 + 103020 >> 2] = wasm2js_f32$0; - b2Island___b2Island_28_29($2 + 116 | 0); - __stack_pointer = $2 + 176 | 0; -} - -function b2DistanceJoint__InitVelocityConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, $5 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 208 | 0; - __stack_pointer = $2; - HEAP32[$2 + 204 >> 2] = $0; - HEAP32[$2 + 200 >> 2] = $1; - $0 = HEAP32[$2 + 204 >> 2]; - HEAP32[$0 + 108 >> 2] = HEAP32[HEAP32[$0 + 48 >> 2] + 8 >> 2]; - HEAP32[$0 + 112 >> 2] = HEAP32[HEAP32[$0 + 52 >> 2] + 8 >> 2]; - $4 = HEAP32[$0 + 48 >> 2]; - $1 = HEAP32[$4 + 28 >> 2]; - $3 = HEAP32[$4 + 32 >> 2]; - HEAP32[$0 + 140 >> 2] = $1; - HEAP32[$0 + 144 >> 2] = $3; - $4 = HEAP32[$0 + 52 >> 2]; - $3 = HEAP32[$4 + 28 >> 2]; - $1 = HEAP32[$4 + 32 >> 2]; - HEAP32[$0 + 148 >> 2] = $3; - HEAP32[$0 + 152 >> 2] = $1; - HEAPF32[$0 + 156 >> 2] = HEAPF32[HEAP32[$0 + 48 >> 2] + 120 >> 2]; - HEAPF32[$0 + 160 >> 2] = HEAPF32[HEAP32[$0 + 52 >> 2] + 120 >> 2]; - HEAPF32[$0 + 164 >> 2] = HEAPF32[HEAP32[$0 + 48 >> 2] + 128 >> 2]; - HEAPF32[$0 + 168 >> 2] = HEAPF32[HEAP32[$0 + 52 >> 2] + 128 >> 2]; - $4 = HEAP32[HEAP32[$2 + 200 >> 2] + 24 >> 2] + Math_imul(HEAP32[$0 + 108 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $3 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 192 >> 2] = $1; - HEAP32[$2 + 196 >> 2] = $3; - HEAPF32[$2 + 188 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 200 >> 2] + 24 >> 2] + Math_imul(HEAP32[$0 + 108 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$0 + 108 >> 2], 12) | 0; - $3 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 176 >> 2] = $3; - HEAP32[$2 + 180 >> 2] = $1; - HEAPF32[$2 + 172 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$0 + 108 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 200 >> 2] + 24 >> 2] + Math_imul(HEAP32[$0 + 112 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $3 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 160 >> 2] = $1; - HEAP32[$2 + 164 >> 2] = $3; - HEAPF32[$2 + 156 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 200 >> 2] + 24 >> 2] + Math_imul(HEAP32[$0 + 112 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$0 + 112 >> 2], 12) | 0; - $3 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 144 >> 2] = $3; - HEAP32[$2 + 148 >> 2] = $1; - HEAPF32[$2 + 140 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$0 + 112 >> 2], 12) | 0) + 8 >> 2]; - b2Rot__b2Rot_28float_29($2 + 132 | 0, HEAPF32[$2 + 188 >> 2]); - b2Rot__b2Rot_28float_29($2 + 124 | 0, HEAPF32[$2 + 156 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 108 | 0, $0 + 80 | 0, $0 + 140 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 116 | 0, $2 + 132 | 0, $2 + 108 | 0); - $3 = HEAP32[$2 + 120 >> 2]; - $1 = HEAP32[$2 + 116 >> 2]; - HEAP32[$0 + 124 >> 2] = $1; - HEAP32[$0 + 128 >> 2] = $3; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 92 | 0, $0 + 88 | 0, $0 + 148 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 100 | 0, $2 + 124 | 0, $2 + 92 | 0); - $1 = HEAP32[$2 + 104 >> 2]; - $3 = HEAP32[$2 + 100 >> 2]; - HEAP32[$0 + 132 >> 2] = $3; - HEAP32[$0 + 136 >> 2] = $1; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 68 | 0, $2 + 160 | 0, $0 + 132 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 76 | 0, $2 + 68 | 0, $2 + 192 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 84 | 0, $2 + 76 | 0, $0 + 124 | 0); - $3 = HEAP32[$2 + 88 >> 2]; - $1 = HEAP32[$2 + 84 >> 2]; - HEAP32[$0 + 116 >> 2] = $1; - HEAP32[$0 + 120 >> 2] = $3; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Vec2__Length_28_29_20const($0 + 116 | 0), - HEAPF32[wasm2js_i32$0 + 64 >> 2] = wasm2js_f32$0; - label$1: { - if (HEAPF32[$2 + 64 >> 2] > Math_fround(.004999999888241291)) { - b2Vec2__operator___28float_29($0 + 116 | 0, Math_fround(Math_fround(1) / HEAPF32[$2 + 64 >> 2])); - break label$1; - } - b2Vec2__Set_28float_2c_20float_29($0 + 116 | 0, Math_fround(0), Math_fround(0)); - } - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($0 + 124 | 0, $0 + 116 | 0), - HEAPF32[wasm2js_i32$0 + 60 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($0 + 132 | 0, $0 + 116 | 0), - HEAPF32[wasm2js_i32$0 + 56 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 52 >> 2] = Math_fround(Math_fround(HEAPF32[$0 + 168 >> 2] * HEAPF32[$2 + 56 >> 2]) * HEAPF32[$2 + 56 >> 2]) + Math_fround(Math_fround(Math_fround(Math_fround(HEAPF32[$0 + 164 >> 2] * HEAPF32[$2 + 60 >> 2]) * HEAPF32[$2 + 60 >> 2]) + HEAPF32[$0 + 156 >> 2]) + HEAPF32[$0 + 160 >> 2]); - if (HEAPF32[$2 + 52 >> 2] != Math_fround(0)) { - $5 = Math_fround(Math_fround(1) / HEAPF32[$2 + 52 >> 2]); - } else { - $5 = Math_fround(0); - } - HEAPF32[$0 + 172 >> 2] = $5; - label$5: { - if (HEAPF32[$0 + 68 >> 2] > Math_fround(0)) { - HEAPF32[$2 + 48 >> 2] = HEAPF32[$2 + 64 >> 2] - HEAPF32[$0 + 104 >> 2]; - HEAPF32[$2 + 44 >> 2] = HEAPF32[$0 + 68 >> 2] * Math_fround(6.2831854820251465); - $5 = HEAPF32[$0 + 172 >> 2]; - HEAPF32[$2 + 40 >> 2] = Math_fround(Math_fround($5 + $5) * HEAPF32[$0 + 72 >> 2]) * HEAPF32[$2 + 44 >> 2]; - HEAPF32[$2 + 36 >> 2] = Math_fround(HEAPF32[$0 + 172 >> 2] * HEAPF32[$2 + 44 >> 2]) * HEAPF32[$2 + 44 >> 2]; - HEAPF32[$2 + 32 >> 2] = HEAPF32[HEAP32[$2 + 200 >> 2] >> 2]; - HEAPF32[$0 + 96 >> 2] = HEAPF32[$2 + 32 >> 2] * Math_fround(Math_fround(HEAPF32[$2 + 32 >> 2] * HEAPF32[$2 + 36 >> 2]) + HEAPF32[$2 + 40 >> 2]); - if (HEAPF32[$0 + 96 >> 2] != Math_fround(0)) { - $5 = Math_fround(Math_fround(1) / HEAPF32[$0 + 96 >> 2]); - } else { - $5 = Math_fround(0); - } - HEAPF32[$0 + 96 >> 2] = $5; - HEAPF32[$0 + 76 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 48 >> 2] * HEAPF32[$2 + 32 >> 2]) * HEAPF32[$2 + 36 >> 2]) * HEAPF32[$0 + 96 >> 2]; - HEAPF32[$2 + 52 >> 2] = HEAPF32[$2 + 52 >> 2] + HEAPF32[$0 + 96 >> 2]; - if (HEAPF32[$2 + 52 >> 2] != Math_fround(0)) { - $5 = Math_fround(Math_fround(1) / HEAPF32[$2 + 52 >> 2]); - } else { - $5 = Math_fround(0); - } - HEAPF32[$0 + 172 >> 2] = $5; - break label$5; - } - HEAPF32[$0 + 96 >> 2] = 0; - HEAPF32[$0 + 76 >> 2] = 0; - } - label$11: { - if (HEAP8[HEAP32[$2 + 200 >> 2] + 20 | 0] & 1) { - HEAPF32[$0 + 100 >> 2] = HEAPF32[$0 + 100 >> 2] * HEAPF32[HEAP32[$2 + 200 >> 2] + 8 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 24 | 0, HEAPF32[$0 + 100 >> 2], $0 + 116 | 0); - operator__28float_2c_20b2Vec2_20const__29($2 + 16 | 0, HEAPF32[$0 + 156 >> 2], $2 + 24 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 176 | 0, $2 + 16 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$0 + 164 >> 2]) * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($0 + 124 | 0, $2 + 24 | 0)) + HEAPF32[$2 + 172 >> 2]), - HEAPF32[wasm2js_i32$0 + 172 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($2 + 8 | 0, HEAPF32[$0 + 160 >> 2], $2 + 24 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 144 | 0, $2 + 8 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$0 + 168 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($0 + 132 | 0, $2 + 24 | 0)) + HEAPF32[$2 + 140 >> 2]), - HEAPF32[wasm2js_i32$0 + 140 >> 2] = wasm2js_f32$0; - break label$11; - } - HEAPF32[$0 + 100 >> 2] = 0; - } - $1 = HEAP32[$2 + 180 >> 2]; - $3 = HEAP32[$2 + 176 >> 2]; - $4 = $3; - $3 = HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$0 + 108 >> 2], 12) | 0; - HEAP32[$3 >> 2] = $4; - HEAP32[$3 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$0 + 108 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 172 >> 2]; - $3 = HEAP32[$2 + 148 >> 2]; - $1 = HEAP32[$2 + 144 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$0 + 112 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $3; - HEAPF32[(HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$0 + 112 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 140 >> 2]; - __stack_pointer = $2 + 208 | 0; -} - -function b2RevoluteJoint__InitVelocityConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $3 = __stack_pointer - 144 | 0; - __stack_pointer = $3; - HEAP32[$3 + 140 >> 2] = $0; - HEAP32[$3 + 136 >> 2] = $1; - $2 = HEAP32[$3 + 140 >> 2]; - HEAP32[$2 + 128 >> 2] = HEAP32[HEAP32[$2 + 48 >> 2] + 8 >> 2]; - HEAP32[$2 + 132 >> 2] = HEAP32[HEAP32[$2 + 52 >> 2] + 8 >> 2]; - $1 = HEAP32[$2 + 48 >> 2]; - $4 = HEAP32[$1 + 28 >> 2]; - $0 = HEAP32[$1 + 32 >> 2]; - HEAP32[$2 + 152 >> 2] = $4; - HEAP32[$2 + 156 >> 2] = $0; - $1 = HEAP32[$2 + 52 >> 2]; - $0 = HEAP32[$1 + 28 >> 2]; - $4 = HEAP32[$1 + 32 >> 2]; - HEAP32[$2 + 160 >> 2] = $0; - HEAP32[$2 + 164 >> 2] = $4; - HEAPF32[$2 + 168 >> 2] = HEAPF32[HEAP32[$2 + 48 >> 2] + 120 >> 2]; - HEAPF32[$2 + 172 >> 2] = HEAPF32[HEAP32[$2 + 52 >> 2] + 120 >> 2]; - HEAPF32[$2 + 176 >> 2] = HEAPF32[HEAP32[$2 + 48 >> 2] + 128 >> 2]; - HEAPF32[$2 + 180 >> 2] = HEAPF32[HEAP32[$2 + 52 >> 2] + 128 >> 2]; - HEAPF32[$3 + 132 >> 2] = HEAPF32[(HEAP32[HEAP32[$3 + 136 >> 2] + 24 >> 2] + Math_imul(HEAP32[$2 + 128 >> 2], 12) | 0) + 8 >> 2]; - $1 = HEAP32[HEAP32[$3 + 136 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 128 >> 2], 12) | 0; - $4 = HEAP32[$1 >> 2]; - $0 = HEAP32[$1 + 4 >> 2]; - HEAP32[$3 + 120 >> 2] = $4; - HEAP32[$3 + 124 >> 2] = $0; - HEAPF32[$3 + 116 >> 2] = HEAPF32[(HEAP32[HEAP32[$3 + 136 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 128 >> 2], 12) | 0) + 8 >> 2]; - HEAPF32[$3 + 112 >> 2] = HEAPF32[(HEAP32[HEAP32[$3 + 136 >> 2] + 24 >> 2] + Math_imul(HEAP32[$2 + 132 >> 2], 12) | 0) + 8 >> 2]; - $1 = HEAP32[HEAP32[$3 + 136 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 132 >> 2], 12) | 0; - $0 = HEAP32[$1 >> 2]; - $4 = HEAP32[$1 + 4 >> 2]; - HEAP32[$3 + 104 >> 2] = $0; - HEAP32[$3 + 108 >> 2] = $4; - HEAPF32[$3 + 100 >> 2] = HEAPF32[(HEAP32[HEAP32[$3 + 136 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 132 >> 2], 12) | 0) + 8 >> 2]; - b2Rot__b2Rot_28float_29($3 + 92 | 0, HEAPF32[$3 + 132 >> 2]); - b2Rot__b2Rot_28float_29($3 + 84 | 0, HEAPF32[$3 + 112 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 68 | 0, $2 + 68 | 0, $2 + 152 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($3 + 76 | 0, $3 + 92 | 0, $3 + 68 | 0); - $0 = HEAP32[$3 + 80 >> 2]; - $4 = HEAP32[$3 + 76 >> 2]; - HEAP32[$2 + 136 >> 2] = $4; - HEAP32[$2 + 140 >> 2] = $0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 52 | 0, $2 + 76 | 0, $2 + 160 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($3 + 60 | 0, $3 + 84 | 0, $3 + 52 | 0); - $4 = HEAP32[$3 + 64 >> 2]; - $0 = HEAP32[$3 + 60 >> 2]; - HEAP32[$2 + 144 >> 2] = $0; - HEAP32[$2 + 148 >> 2] = $4; - HEAPF32[$3 + 48 >> 2] = HEAPF32[$2 + 168 >> 2]; - HEAPF32[$3 + 44 >> 2] = HEAPF32[$2 + 172 >> 2]; - HEAPF32[$3 + 40 >> 2] = HEAPF32[$2 + 176 >> 2]; - HEAPF32[$3 + 36 >> 2] = HEAPF32[$2 + 180 >> 2]; - HEAP8[$3 + 35 | 0] = Math_fround(HEAPF32[$3 + 40 >> 2] + HEAPF32[$3 + 36 >> 2]) == Math_fround(0); - HEAPF32[$2 + 184 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 148 >> 2] * HEAPF32[$2 + 148 >> 2]) * HEAPF32[$3 + 36 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 140 >> 2] * HEAPF32[$2 + 140 >> 2]) * HEAPF32[$3 + 40 >> 2]) + Math_fround(HEAPF32[$3 + 48 >> 2] + HEAPF32[$3 + 44 >> 2])); - HEAPF32[$2 + 196 >> 2] = Math_fround(Math_fround(Math_fround(-HEAPF32[$2 + 140 >> 2]) * HEAPF32[$2 + 136 >> 2]) * HEAPF32[$3 + 40 >> 2]) - Math_fround(Math_fround(HEAPF32[$2 + 148 >> 2] * HEAPF32[$2 + 144 >> 2]) * HEAPF32[$3 + 36 >> 2]); - HEAPF32[$2 + 208 >> 2] = Math_fround(Math_fround(-HEAPF32[$2 + 140 >> 2]) * HEAPF32[$3 + 40 >> 2]) - Math_fround(HEAPF32[$2 + 148 >> 2] * HEAPF32[$3 + 36 >> 2]); - HEAPF32[$2 + 188 >> 2] = HEAPF32[$2 + 196 >> 2]; - HEAPF32[$2 + 200 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 144 >> 2] * HEAPF32[$2 + 144 >> 2]) * HEAPF32[$3 + 36 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 136 >> 2] * HEAPF32[$2 + 136 >> 2]) * HEAPF32[$3 + 40 >> 2]) + Math_fround(HEAPF32[$3 + 48 >> 2] + HEAPF32[$3 + 44 >> 2])); - HEAPF32[$2 + 212 >> 2] = Math_fround(HEAPF32[$2 + 136 >> 2] * HEAPF32[$3 + 40 >> 2]) + Math_fround(HEAPF32[$2 + 144 >> 2] * HEAPF32[$3 + 36 >> 2]); - HEAPF32[$2 + 192 >> 2] = HEAPF32[$2 + 208 >> 2]; - HEAPF32[$2 + 204 >> 2] = HEAPF32[$2 + 212 >> 2]; - HEAPF32[$2 + 216 >> 2] = HEAPF32[$3 + 40 >> 2] + HEAPF32[$3 + 36 >> 2]; - HEAPF32[$2 + 220 >> 2] = HEAPF32[$3 + 40 >> 2] + HEAPF32[$3 + 36 >> 2]; - if (HEAPF32[$2 + 220 >> 2] > Math_fround(0)) { - HEAPF32[$2 + 220 >> 2] = Math_fround(1) / HEAPF32[$2 + 220 >> 2]; - } - if (!(!(HEAP8[$3 + 35 | 0] & 1) & (HEAP8[$2 + 100 | 0] & 1))) { - HEAPF32[$2 + 96 >> 2] = 0; - } - label$4: { - if (!(!(HEAP8[$2 + 112 | 0] & 1) | HEAP8[$3 + 35 | 0] & 1)) { - HEAPF32[$3 + 28 >> 2] = Math_fround(HEAPF32[$3 + 112 >> 2] - HEAPF32[$3 + 132 >> 2]) - HEAPF32[$2 + 116 >> 2]; - label$6: { - if (float_20b2Abs_float__28float_29(Math_fround(HEAPF32[$2 + 124 >> 2] - HEAPF32[$2 + 120 >> 2])) < Math_fround(.06981317698955536)) { - HEAP32[$2 + 224 >> 2] = 3; - break label$6; - } - label$8: { - if (HEAPF32[$3 + 28 >> 2] <= HEAPF32[$2 + 120 >> 2]) { - if (HEAP32[$2 + 224 >> 2] != 1) { - HEAPF32[$2 + 92 >> 2] = 0; - } - HEAP32[$2 + 224 >> 2] = 1; - break label$8; - } - label$11: { - if (HEAPF32[$3 + 28 >> 2] >= HEAPF32[$2 + 124 >> 2]) { - if (HEAP32[$2 + 224 >> 2] != 2) { - HEAPF32[$2 + 92 >> 2] = 0; - } - HEAP32[$2 + 224 >> 2] = 2; - break label$11; - } - HEAP32[$2 + 224 >> 2] = 0; - HEAPF32[$2 + 92 >> 2] = 0; - } - } - } - break label$4; - } - HEAP32[$2 + 224 >> 2] = 0; - } - label$14: { - if (HEAP8[HEAP32[$3 + 136 >> 2] + 20 | 0] & 1) { - b2Vec3__operator___28float_29($2 + 84 | 0, HEAPF32[HEAP32[$3 + 136 >> 2] + 8 >> 2]); - HEAPF32[$2 + 96 >> 2] = HEAPF32[$2 + 96 >> 2] * HEAPF32[HEAP32[$3 + 136 >> 2] + 8 >> 2]; - b2Vec2__b2Vec2_28float_2c_20float_29($3 + 20 | 0, HEAPF32[$2 + 84 >> 2], HEAPF32[$2 + 88 >> 2]); - operator__28float_2c_20b2Vec2_20const__29($3 + 12 | 0, HEAPF32[$3 + 48 >> 2], $3 + 20 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($3 + 120 | 0, $3 + 12 | 0); - wasm2js_i32$0 = $3, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$3 + 40 >> 2]) * Math_fround(Math_fround(b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 136 | 0, $3 + 20 | 0) + HEAPF32[$2 + 96 >> 2]) + HEAPF32[$2 + 92 >> 2])) + HEAPF32[$3 + 116 >> 2]), - HEAPF32[wasm2js_i32$0 + 116 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($3 + 4 | 0, HEAPF32[$3 + 44 >> 2], $3 + 20 | 0); - b2Vec2__operator___28b2Vec2_20const__29($3 + 104 | 0, $3 + 4 | 0); - wasm2js_i32$0 = $3, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$3 + 36 >> 2] * Math_fround(Math_fround(b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 144 | 0, $3 + 20 | 0) + HEAPF32[$2 + 96 >> 2]) + HEAPF32[$2 + 92 >> 2])) + HEAPF32[$3 + 100 >> 2]), - HEAPF32[wasm2js_i32$0 + 100 >> 2] = wasm2js_f32$0; - break label$14; - } - b2Vec3__SetZero_28_29($2 + 84 | 0); - HEAPF32[$2 + 96 >> 2] = 0; - } - $0 = HEAP32[$3 + 124 >> 2]; - $4 = HEAP32[$3 + 120 >> 2]; - $1 = $4; - $4 = HEAP32[HEAP32[$3 + 136 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 128 >> 2], 12) | 0; - HEAP32[$4 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$3 + 136 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 128 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$3 + 116 >> 2]; - $4 = HEAP32[$3 + 108 >> 2]; - $0 = HEAP32[$3 + 104 >> 2]; - $1 = $0; - $0 = HEAP32[HEAP32[$3 + 136 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 132 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $4; - HEAPF32[(HEAP32[HEAP32[$3 + 136 >> 2] + 28 >> 2] + Math_imul(HEAP32[$2 + 132 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$3 + 100 >> 2]; - __stack_pointer = $3 + 144 | 0; -} - -function b2GearJoint__b2GearJoint_28b2GearJointDef_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 240 | 0; - __stack_pointer = $2; - HEAP32[$2 + 232 >> 2] = $0; - HEAP32[$2 + 228 >> 2] = $1; - $1 = HEAP32[$2 + 232 >> 2]; - HEAP32[$2 + 236 >> 2] = $1; - b2Joint__b2Joint_28b2JointDef_20const__29($1, HEAP32[$2 + 228 >> 2]); - HEAP32[$1 >> 2] = 18992; - b2Vec2__b2Vec2_28_29($1 + 92 | 0); - b2Vec2__b2Vec2_28_29($1 + 100 | 0); - b2Vec2__b2Vec2_28_29($1 + 108 | 0); - b2Vec2__b2Vec2_28_29($1 + 116 | 0); - b2Vec2__b2Vec2_28_29($1 + 124 | 0); - b2Vec2__b2Vec2_28_29($1 + 132 | 0); - b2Vec2__b2Vec2_28_29($1 + 176 | 0); - b2Vec2__b2Vec2_28_29($1 + 184 | 0); - b2Vec2__b2Vec2_28_29($1 + 192 | 0); - b2Vec2__b2Vec2_28_29($1 + 200 | 0); - b2Vec2__b2Vec2_28_29($1 + 240 | 0); - b2Vec2__b2Vec2_28_29($1 + 248 | 0); - HEAP32[$1 + 68 >> 2] = HEAP32[HEAP32[$2 + 228 >> 2] + 20 >> 2]; - HEAP32[$1 + 72 >> 2] = HEAP32[HEAP32[$2 + 228 >> 2] + 24 >> 2]; - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Joint__GetType_28_29_20const(HEAP32[$1 + 68 >> 2]), - HEAP32[wasm2js_i32$0 + 76 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Joint__GetType_28_29_20const(HEAP32[$1 + 72 >> 2]), - HEAP32[wasm2js_i32$0 + 80 >> 2] = wasm2js_i32$1; - if (!(HEAP32[$1 + 76 >> 2] == 1 | HEAP32[$1 + 76 >> 2] == 2)) { - __assert_fail(2893, 4514, 57, 2739); - wasm2js_trap(); - } - if (!(HEAP32[$1 + 80 >> 2] == 1 | HEAP32[$1 + 80 >> 2] == 2)) { - __assert_fail(2835, 4514, 58, 2739); - wasm2js_trap(); - } - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Joint__GetBodyA_28_29(HEAP32[$1 + 68 >> 2]), - HEAP32[wasm2js_i32$0 + 84 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Joint__GetBodyB_28_29(HEAP32[$1 + 68 >> 2]), - HEAP32[wasm2js_i32$0 + 48 >> 2] = wasm2js_i32$1; - $3 = HEAP32[$1 + 48 >> 2]; - $4 = HEAP32[$3 + 20 >> 2]; - $0 = HEAP32[$3 + 24 >> 2]; - HEAP32[$2 + 208 >> 2] = $4; - HEAP32[$2 + 212 >> 2] = $0; - $4 = HEAP32[$3 + 16 >> 2]; - $0 = HEAP32[$3 + 12 >> 2]; - HEAP32[$2 + 200 >> 2] = $0; - HEAP32[$2 + 204 >> 2] = $4; - HEAPF32[$2 + 196 >> 2] = HEAPF32[HEAP32[$1 + 48 >> 2] + 56 >> 2]; - $3 = HEAP32[$1 + 84 >> 2]; - $4 = HEAP32[$3 + 20 >> 2]; - $0 = HEAP32[$3 + 24 >> 2]; - HEAP32[$2 + 184 >> 2] = $4; - HEAP32[$2 + 188 >> 2] = $0; - $4 = HEAP32[$3 + 16 >> 2]; - $0 = HEAP32[$3 + 12 >> 2]; - HEAP32[$2 + 176 >> 2] = $0; - HEAP32[$2 + 180 >> 2] = $4; - HEAPF32[$2 + 172 >> 2] = HEAPF32[HEAP32[$1 + 84 >> 2] + 56 >> 2]; - label$3: { - if (HEAP32[$1 + 76 >> 2] == 1) { - HEAP32[$2 + 168 >> 2] = HEAP32[HEAP32[$2 + 228 >> 2] + 20 >> 2]; - $3 = HEAP32[$2 + 168 >> 2]; - $4 = HEAP32[$3 + 68 >> 2]; - $0 = HEAP32[$3 + 72 >> 2]; - HEAP32[$1 + 108 >> 2] = $4; - HEAP32[$1 + 112 >> 2] = $0; - $3 = HEAP32[$2 + 168 >> 2]; - $0 = HEAP32[$3 + 76 >> 2]; - $4 = HEAP32[$3 + 80 >> 2]; - HEAP32[$1 + 92 >> 2] = $0; - HEAP32[$1 + 96 >> 2] = $4; - HEAPF32[$1 + 140 >> 2] = HEAPF32[HEAP32[$2 + 168 >> 2] + 116 >> 2]; - b2Vec2__SetZero_28_29($1 + 124 | 0); - HEAPF32[$2 + 224 >> 2] = Math_fround(HEAPF32[$2 + 196 >> 2] - HEAPF32[$2 + 172 >> 2]) - HEAPF32[$1 + 140 >> 2]; - $0 = $1; - break label$3; - } - HEAP32[$2 + 164 >> 2] = HEAP32[HEAP32[$2 + 228 >> 2] + 20 >> 2]; - $3 = HEAP32[$2 + 164 >> 2]; - $4 = HEAP32[$3 + 68 >> 2]; - $0 = HEAP32[$3 + 72 >> 2]; - HEAP32[$1 + 108 >> 2] = $4; - HEAP32[$1 + 112 >> 2] = $0; - $3 = HEAP32[$2 + 164 >> 2]; - $0 = HEAP32[$3 + 76 >> 2]; - $4 = HEAP32[$3 + 80 >> 2]; - HEAP32[$1 + 92 >> 2] = $0; - HEAP32[$1 + 96 >> 2] = $4; - HEAPF32[$1 + 140 >> 2] = HEAPF32[HEAP32[$2 + 164 >> 2] + 100 >> 2]; - $3 = HEAP32[$2 + 164 >> 2]; - $4 = HEAP32[$3 + 84 >> 2]; - $0 = HEAP32[$3 + 88 >> 2]; - HEAP32[$1 + 124 >> 2] = $4; - HEAP32[$1 + 128 >> 2] = $0; - $4 = HEAP32[$1 + 112 >> 2]; - $0 = HEAP32[$1 + 108 >> 2]; - HEAP32[$2 + 152 >> 2] = $0; - HEAP32[$2 + 156 >> 2] = $4; - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 128 | 0, $2 + 208 | 0, $1 + 92 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 120 | 0, $2 + 200 | 0, $2 + 176 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 136 | 0, $2 + 128 | 0, $2 + 120 | 0); - b2MulT_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 144 | 0, $2 + 184 | 0, $2 + 136 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 112 | 0, $2 + 144 | 0, $2 + 152 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 112 | 0, $1 + 124 | 0), - HEAPF32[wasm2js_i32$0 + 224 >> 2] = wasm2js_f32$0; - $0 = $2; - } - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Joint__GetBodyA_28_29(HEAP32[$1 + 72 >> 2]), - HEAP32[wasm2js_i32$0 + 88 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Joint__GetBodyB_28_29(HEAP32[$1 + 72 >> 2]), - HEAP32[wasm2js_i32$0 + 52 >> 2] = wasm2js_i32$1; - $3 = HEAP32[$1 + 52 >> 2]; - $4 = HEAP32[$3 + 20 >> 2]; - $0 = HEAP32[$3 + 24 >> 2]; - HEAP32[$2 + 104 >> 2] = $4; - HEAP32[$2 + 108 >> 2] = $0; - $4 = HEAP32[$3 + 16 >> 2]; - $0 = HEAP32[$3 + 12 >> 2]; - HEAP32[$2 + 96 >> 2] = $0; - HEAP32[$2 + 100 >> 2] = $4; - HEAPF32[$2 + 92 >> 2] = HEAPF32[HEAP32[$1 + 52 >> 2] + 56 >> 2]; - $3 = HEAP32[$1 + 88 >> 2]; - $4 = HEAP32[$3 + 20 >> 2]; - $0 = HEAP32[$3 + 24 >> 2]; - HEAP32[$2 + 80 >> 2] = $4; - HEAP32[$2 + 84 >> 2] = $0; - $4 = HEAP32[$3 + 16 >> 2]; - $0 = HEAP32[$3 + 12 >> 2]; - HEAP32[$2 + 72 >> 2] = $0; - HEAP32[$2 + 76 >> 2] = $4; - HEAPF32[$2 + 68 >> 2] = HEAPF32[HEAP32[$1 + 88 >> 2] + 56 >> 2]; - label$5: { - if (HEAP32[$1 + 80 >> 2] == 1) { - HEAP32[$2 + 64 >> 2] = HEAP32[HEAP32[$2 + 228 >> 2] + 24 >> 2]; - $3 = HEAP32[$2 + 64 >> 2]; - $4 = HEAP32[$3 + 68 >> 2]; - $0 = HEAP32[$3 + 72 >> 2]; - HEAP32[$1 + 116 >> 2] = $4; - HEAP32[$1 + 120 >> 2] = $0; - $3 = HEAP32[$2 + 64 >> 2]; - $0 = HEAP32[$3 + 76 >> 2]; - $4 = HEAP32[$3 + 80 >> 2]; - HEAP32[$1 + 100 >> 2] = $0; - HEAP32[$1 + 104 >> 2] = $4; - HEAPF32[$1 + 144 >> 2] = HEAPF32[HEAP32[$2 + 64 >> 2] + 116 >> 2]; - b2Vec2__SetZero_28_29($1 + 132 | 0); - HEAPF32[$2 + 220 >> 2] = Math_fround(HEAPF32[$2 + 92 >> 2] - HEAPF32[$2 + 68 >> 2]) - HEAPF32[$1 + 144 >> 2]; - $0 = $1; - break label$5; - } - HEAP32[$2 + 60 >> 2] = HEAP32[HEAP32[$2 + 228 >> 2] + 24 >> 2]; - $3 = HEAP32[$2 + 60 >> 2]; - $4 = HEAP32[$3 + 68 >> 2]; - $0 = HEAP32[$3 + 72 >> 2]; - HEAP32[$1 + 116 >> 2] = $4; - HEAP32[$1 + 120 >> 2] = $0; - $3 = HEAP32[$2 + 60 >> 2]; - $0 = HEAP32[$3 + 76 >> 2]; - $4 = HEAP32[$3 + 80 >> 2]; - HEAP32[$1 + 100 >> 2] = $0; - HEAP32[$1 + 104 >> 2] = $4; - HEAPF32[$1 + 144 >> 2] = HEAPF32[HEAP32[$2 + 60 >> 2] + 100 >> 2]; - $3 = HEAP32[$2 + 60 >> 2]; - $4 = HEAP32[$3 + 84 >> 2]; - $0 = HEAP32[$3 + 88 >> 2]; - HEAP32[$1 + 132 >> 2] = $4; - HEAP32[$1 + 136 >> 2] = $0; - $4 = HEAP32[$1 + 120 >> 2]; - $0 = HEAP32[$1 + 116 >> 2]; - HEAP32[$2 + 48 >> 2] = $0; - HEAP32[$2 + 52 >> 2] = $4; - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 24 | 0, $2 + 104 | 0, $1 + 100 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 16 | 0, $2 + 96 | 0, $2 + 72 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 32 | 0, $2 + 24 | 0, $2 + 16 | 0); - b2MulT_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 40 | 0, $2 + 80 | 0, $2 + 32 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 8 | 0, $2 + 40 | 0, $2 + 48 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 8 | 0, $1 + 132 | 0), - HEAPF32[wasm2js_i32$0 + 220 >> 2] = wasm2js_f32$0; - $0 = $2; - } - HEAPF32[$1 + 152 >> 2] = HEAPF32[HEAP32[$2 + 228 >> 2] + 28 >> 2]; - HEAPF32[$1 + 148 >> 2] = Math_fround(HEAPF32[$1 + 152 >> 2] * HEAPF32[$2 + 220 >> 2]) + HEAPF32[$2 + 224 >> 2]; - HEAPF32[$1 + 156 >> 2] = 0; - __stack_pointer = $2 + 240 | 0; - return HEAP32[$2 + 236 >> 2]; -} - -function dlfree($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - label$1: { - if (!$0) { - break label$1; - } - $2 = $0 - 8 | 0; - $1 = HEAP32[$0 - 4 >> 2]; - $0 = $1 & -8; - $5 = $2 + $0 | 0; - label$2: { - if ($1 & 1) { - break label$2; - } - if (!($1 & 3)) { - break label$1; - } - $1 = HEAP32[$2 >> 2]; - $2 = $2 - $1 | 0; - $4 = HEAP32[7890]; - if ($2 >>> 0 < $4 >>> 0) { - break label$1; - } - $0 = $0 + $1 | 0; - label$3: { - label$4: { - if (HEAP32[7891] != ($2 | 0)) { - if ($1 >>> 0 <= 255) { - $6 = $1 >>> 3 | 0; - $1 = HEAP32[$2 + 12 >> 2]; - $4 = HEAP32[$2 + 8 >> 2]; - if (($1 | 0) == ($4 | 0)) { - wasm2js_i32$0 = 31544, wasm2js_i32$1 = HEAP32[7886] & __wasm_rotl_i32(-2, $6), HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - break label$2; - } - HEAP32[$4 + 12 >> 2] = $1; - HEAP32[$1 + 8 >> 2] = $4; - break label$2; - } - $7 = HEAP32[$2 + 24 >> 2]; - $3 = HEAP32[$2 + 12 >> 2]; - if (($3 | 0) != ($2 | 0)) { - $1 = HEAP32[$2 + 8 >> 2]; - HEAP32[$1 + 12 >> 2] = $3; - HEAP32[$3 + 8 >> 2] = $1; - break label$3; - } - $4 = $2 + 20 | 0; - $1 = HEAP32[$4 >> 2]; - if (!$1) { - $1 = HEAP32[$2 + 16 >> 2]; - if (!$1) { - break label$4; - } - $4 = $2 + 16 | 0; - } - while (1) { - $6 = $4; - $3 = $1; - $4 = $1 + 20 | 0; - $1 = HEAP32[$4 >> 2]; - if ($1) { - continue; - } - $4 = $3 + 16 | 0; - $1 = HEAP32[$3 + 16 >> 2]; - if ($1) { - continue; - } - break; - } - HEAP32[$6 >> 2] = 0; - break label$3; - } - $1 = HEAP32[$5 + 4 >> 2]; - if (($1 & 3) != 3) { - break label$2; - } - HEAP32[7888] = $0; - HEAP32[$5 + 4 >> 2] = $1 & -2; - HEAP32[$2 + 4 >> 2] = $0 | 1; - HEAP32[$5 >> 2] = $0; - return; - } - $3 = 0; - } - if (!$7) { - break label$2; - } - $4 = HEAP32[$2 + 28 >> 2]; - $1 = ($4 << 2) + 31848 | 0; - label$11: { - if (HEAP32[$1 >> 2] == ($2 | 0)) { - HEAP32[$1 >> 2] = $3; - if ($3) { - break label$11; - } - wasm2js_i32$0 = 31548, wasm2js_i32$1 = HEAP32[7887] & __wasm_rotl_i32(-2, $4), HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - break label$2; - } - HEAP32[(HEAP32[$7 + 16 >> 2] == ($2 | 0) ? 16 : 20) + $7 >> 2] = $3; - if (!$3) { - break label$2; - } - } - HEAP32[$3 + 24 >> 2] = $7; - $1 = HEAP32[$2 + 16 >> 2]; - if ($1) { - HEAP32[$3 + 16 >> 2] = $1; - HEAP32[$1 + 24 >> 2] = $3; - } - $1 = HEAP32[$2 + 20 >> 2]; - if (!$1) { - break label$2; - } - HEAP32[$3 + 20 >> 2] = $1; - HEAP32[$1 + 24 >> 2] = $3; - } - if ($2 >>> 0 >= $5 >>> 0) { - break label$1; - } - $1 = HEAP32[$5 + 4 >> 2]; - if (!($1 & 1)) { - break label$1; - } - label$14: { - label$15: { - label$16: { - label$17: { - if (!($1 & 2)) { - if (HEAP32[7892] == ($5 | 0)) { - HEAP32[7892] = $2; - $0 = HEAP32[7889] + $0 | 0; - HEAP32[7889] = $0; - HEAP32[$2 + 4 >> 2] = $0 | 1; - if (HEAP32[7891] != ($2 | 0)) { - break label$1; - } - HEAP32[7888] = 0; - HEAP32[7891] = 0; - return; - } - if (HEAP32[7891] == ($5 | 0)) { - HEAP32[7891] = $2; - $0 = HEAP32[7888] + $0 | 0; - HEAP32[7888] = $0; - HEAP32[$2 + 4 >> 2] = $0 | 1; - HEAP32[$0 + $2 >> 2] = $0; - return; - } - $0 = ($1 & -8) + $0 | 0; - if ($1 >>> 0 <= 255) { - $6 = $1 >>> 3 | 0; - $1 = HEAP32[$5 + 12 >> 2]; - $4 = HEAP32[$5 + 8 >> 2]; - if (($1 | 0) == ($4 | 0)) { - wasm2js_i32$0 = 31544, wasm2js_i32$1 = HEAP32[7886] & __wasm_rotl_i32(-2, $6), HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - break label$15; - } - HEAP32[$4 + 12 >> 2] = $1; - HEAP32[$1 + 8 >> 2] = $4; - break label$15; - } - $7 = HEAP32[$5 + 24 >> 2]; - $3 = HEAP32[$5 + 12 >> 2]; - if (($5 | 0) != ($3 | 0)) { - $1 = HEAP32[$5 + 8 >> 2]; - HEAP32[$1 + 12 >> 2] = $3; - HEAP32[$3 + 8 >> 2] = $1; - break label$16; - } - $4 = $5 + 20 | 0; - $1 = HEAP32[$4 >> 2]; - if (!$1) { - $1 = HEAP32[$5 + 16 >> 2]; - if (!$1) { - break label$17; - } - $4 = $5 + 16 | 0; - } - while (1) { - $6 = $4; - $3 = $1; - $4 = $1 + 20 | 0; - $1 = HEAP32[$4 >> 2]; - if ($1) { - continue; - } - $4 = $3 + 16 | 0; - $1 = HEAP32[$3 + 16 >> 2]; - if ($1) { - continue; - } - break; - } - HEAP32[$6 >> 2] = 0; - break label$16; - } - HEAP32[$5 + 4 >> 2] = $1 & -2; - HEAP32[$2 + 4 >> 2] = $0 | 1; - HEAP32[$0 + $2 >> 2] = $0; - break label$14; - } - $3 = 0; - } - if (!$7) { - break label$15; - } - $4 = HEAP32[$5 + 28 >> 2]; - $1 = ($4 << 2) + 31848 | 0; - label$26: { - if (HEAP32[$1 >> 2] == ($5 | 0)) { - HEAP32[$1 >> 2] = $3; - if ($3) { - break label$26; - } - wasm2js_i32$0 = 31548, wasm2js_i32$1 = HEAP32[7887] & __wasm_rotl_i32(-2, $4), HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - break label$15; - } - HEAP32[(HEAP32[$7 + 16 >> 2] == ($5 | 0) ? 16 : 20) + $7 >> 2] = $3; - if (!$3) { - break label$15; - } - } - HEAP32[$3 + 24 >> 2] = $7; - $1 = HEAP32[$5 + 16 >> 2]; - if ($1) { - HEAP32[$3 + 16 >> 2] = $1; - HEAP32[$1 + 24 >> 2] = $3; - } - $1 = HEAP32[$5 + 20 >> 2]; - if (!$1) { - break label$15; - } - HEAP32[$3 + 20 >> 2] = $1; - HEAP32[$1 + 24 >> 2] = $3; - } - HEAP32[$2 + 4 >> 2] = $0 | 1; - HEAP32[$0 + $2 >> 2] = $0; - if (HEAP32[7891] != ($2 | 0)) { - break label$14; - } - HEAP32[7888] = $0; - return; - } - if ($0 >>> 0 <= 255) { - $1 = ($0 & -8) + 31584 | 0; - $0 = 1 << ($0 >>> 3); - $4 = HEAP32[7886]; - label$30: { - if (!($0 & $4)) { - HEAP32[7886] = $0 | $4; - $0 = $1; - break label$30; - } - $0 = HEAP32[$1 + 8 >> 2]; - } - HEAP32[$1 + 8 >> 2] = $2; - HEAP32[$0 + 12 >> 2] = $2; - HEAP32[$2 + 12 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = $0; - return; - } - $1 = 31; - if ($0 >>> 0 <= 16777215) { - $1 = Math_clz32($0 >>> 8 | 0); - $1 = (($0 >>> 38 - $1 & 1) - ($1 << 1) | 0) + 62 | 0; - } - HEAP32[$2 + 28 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = 0; - HEAP32[$2 + 20 >> 2] = 0; - $4 = ($1 << 2) + 31848 | 0; - label$33: { - label$34: { - $3 = HEAP32[7887]; - $5 = 1 << $1; - label$35: { - if (!($3 & $5)) { - HEAP32[7887] = $3 | $5; - HEAP32[$4 >> 2] = $2; - break label$35; - } - $1 = $0 << (($1 | 0) != 31 ? 25 - ($1 >>> 1 | 0) | 0 : 0); - $3 = HEAP32[$4 >> 2]; - while (1) { - $4 = $3; - if ((HEAP32[$3 + 4 >> 2] & -8) == ($0 | 0)) { - break label$34; - } - $3 = $1 >>> 29 | 0; - $1 = $1 << 1; - $6 = ($3 & 4) + $4 | 0; - $5 = $6 + 16 | 0; - $3 = HEAP32[$5 >> 2]; - if ($3) { - continue; - } - break; - } - HEAP32[$6 + 16 >> 2] = $2; - } - HEAP32[$2 + 24 >> 2] = $4; - HEAP32[$2 + 12 >> 2] = $2; - HEAP32[$2 + 8 >> 2] = $2; - break label$33; - } - $0 = HEAP32[$4 + 8 >> 2]; - HEAP32[$0 + 12 >> 2] = $2; - HEAP32[$4 + 8 >> 2] = $2; - HEAP32[$2 + 24 >> 2] = 0; - HEAP32[$2 + 12 >> 2] = $4; - HEAP32[$2 + 8 >> 2] = $0; - } - $2 = HEAP32[7894] - 1 | 0; - HEAP32[7894] = $2 ? $2 : -1; - } -} - -function b2CollidePolygonAndCircle_28b2Manifold__2c_20b2PolygonShape_20const__2c_20b2Transform_20const__2c_20b2CircleShape_20const__2c_20b2Transform_20const__29($0, $1, $2, $3, $4) { - var $5 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $5 = __stack_pointer - 208 | 0; - __stack_pointer = $5; - HEAP32[$5 + 204 >> 2] = $0; - HEAP32[$5 + 200 >> 2] = $1; - HEAP32[$5 + 196 >> 2] = $2; - HEAP32[$5 + 192 >> 2] = $3; - HEAP32[$5 + 188 >> 2] = $4; - HEAP32[HEAP32[$5 + 204 >> 2] + 60 >> 2] = 0; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($5 + 180 | 0, HEAP32[$5 + 188 >> 2], HEAP32[$5 + 192 >> 2] + 12 | 0); - b2MulT_28b2Transform_20const__2c_20b2Vec2_20const__29($5 + 172 | 0, HEAP32[$5 + 196 >> 2], $5 + 180 | 0); - HEAP32[$5 + 168 >> 2] = 0; - HEAPF32[$5 + 164 >> 2] = -34028234663852886e22; - HEAPF32[$5 + 160 >> 2] = HEAPF32[HEAP32[$5 + 200 >> 2] + 8 >> 2] + HEAPF32[HEAP32[$5 + 192 >> 2] + 8 >> 2]; - HEAP32[$5 + 156 >> 2] = HEAP32[HEAP32[$5 + 200 >> 2] + 148 >> 2]; - HEAP32[$5 + 152 >> 2] = HEAP32[$5 + 200 >> 2] + 20; - HEAP32[$5 + 148 >> 2] = HEAP32[$5 + 200 >> 2] + 84; - HEAP32[$5 + 144 >> 2] = 0; - label$1: { - while (1) { - if (HEAP32[$5 + 144 >> 2] < HEAP32[$5 + 156 >> 2]) { - $0 = HEAP32[$5 + 148 >> 2]; - $1 = HEAP32[$5 + 144 >> 2] << 3; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 132 | 0, $5 + 172 | 0, HEAP32[$5 + 152 >> 2] + (HEAP32[$5 + 144 >> 2] << 3) | 0); - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($0 + $1 | 0, $5 + 132 | 0), - HEAPF32[wasm2js_i32$0 + 140 >> 2] = wasm2js_f32$0; - if (HEAPF32[$5 + 140 >> 2] > HEAPF32[$5 + 160 >> 2]) { - break label$1; - } - if (HEAPF32[$5 + 140 >> 2] > HEAPF32[$5 + 164 >> 2]) { - HEAPF32[$5 + 164 >> 2] = HEAPF32[$5 + 140 >> 2]; - HEAP32[$5 + 168 >> 2] = HEAP32[$5 + 144 >> 2]; - } - HEAP32[$5 + 144 >> 2] = HEAP32[$5 + 144 >> 2] + 1; - continue; - } - break; - } - HEAP32[$5 + 128 >> 2] = HEAP32[$5 + 168 >> 2]; - if (HEAP32[$5 + 156 >> 2] > (HEAP32[$5 + 128 >> 2] + 1 | 0)) { - $0 = HEAP32[$5 + 128 >> 2] + 1 | 0; - } else { - $0 = 0; - } - HEAP32[$5 + 124 >> 2] = $0; - $2 = HEAP32[$5 + 152 >> 2] + (HEAP32[$5 + 128 >> 2] << 3) | 0; - $1 = HEAP32[$2 >> 2]; - $0 = HEAP32[$2 + 4 >> 2]; - HEAP32[$5 + 112 >> 2] = $1; - HEAP32[$5 + 116 >> 2] = $0; - $2 = HEAP32[$5 + 152 >> 2] + (HEAP32[$5 + 124 >> 2] << 3) | 0; - $0 = HEAP32[$2 >> 2]; - $1 = HEAP32[$2 + 4 >> 2]; - HEAP32[$5 + 104 >> 2] = $0; - HEAP32[$5 + 108 >> 2] = $1; - if (HEAPF32[$5 + 164 >> 2] < Math_fround(1.1920928955078125e-7)) { - HEAP32[HEAP32[$5 + 204 >> 2] + 60 >> 2] = 1; - HEAP32[HEAP32[$5 + 204 >> 2] + 56 >> 2] = 1; - $2 = HEAP32[$5 + 148 >> 2] + (HEAP32[$5 + 168 >> 2] << 3) | 0; - $1 = HEAP32[$2 >> 2]; - $0 = HEAP32[$2 + 4 >> 2]; - $2 = $1; - $1 = HEAP32[$5 + 204 >> 2]; - HEAP32[$1 + 40 >> 2] = $2; - HEAP32[$1 + 44 >> 2] = $0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($5 + 88 | 0, $5 + 112 | 0, $5 + 104 | 0); - operator__28float_2c_20b2Vec2_20const__29($5 + 96 | 0, Math_fround(.5), $5 + 88 | 0); - $1 = HEAP32[$5 + 100 >> 2]; - $0 = HEAP32[$5 + 96 >> 2]; - $2 = $0; - $0 = HEAP32[$5 + 204 >> 2]; - HEAP32[$0 + 48 >> 2] = $2; - HEAP32[$0 + 52 >> 2] = $1; - $2 = HEAP32[$5 + 192 >> 2]; - $1 = HEAP32[$2 + 12 >> 2]; - $0 = HEAP32[$2 + 16 >> 2]; - $2 = $1; - $1 = HEAP32[$5 + 204 >> 2]; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - HEAP32[HEAP32[$5 + 204 >> 2] + 16 >> 2] = 0; - break label$1; - } - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 76 | 0, $5 + 172 | 0, $5 + 112 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 68 | 0, $5 + 104 | 0, $5 + 112 | 0); - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 76 | 0, $5 + 68 | 0), - HEAPF32[wasm2js_i32$0 + 84 >> 2] = wasm2js_f32$0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 56 | 0, $5 + 172 | 0, $5 + 104 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 48 | 0, $5 + 112 | 0, $5 + 104 | 0); - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 56 | 0, $5 + 48 | 0), - HEAPF32[wasm2js_i32$0 + 64 >> 2] = wasm2js_f32$0; - if (HEAPF32[$5 + 84 >> 2] <= Math_fround(0)) { - if (b2DistanceSquared_28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 172 | 0, $5 + 112 | 0) > Math_fround(HEAPF32[$5 + 160 >> 2] * HEAPF32[$5 + 160 >> 2])) { - break label$1; - } - HEAP32[HEAP32[$5 + 204 >> 2] + 60 >> 2] = 1; - HEAP32[HEAP32[$5 + 204 >> 2] + 56 >> 2] = 1; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 40 | 0, $5 + 172 | 0, $5 + 112 | 0); - $1 = HEAP32[$5 + 44 >> 2]; - $0 = HEAP32[$5 + 40 >> 2]; - $2 = $0; - $0 = HEAP32[$5 + 204 >> 2]; - HEAP32[$0 + 40 >> 2] = $2; - HEAP32[$0 + 44 >> 2] = $1; - b2Vec2__Normalize_28_29(HEAP32[$5 + 204 >> 2] + 40 | 0); - $0 = HEAP32[$5 + 116 >> 2]; - $1 = HEAP32[$5 + 112 >> 2]; - $2 = $1; - $1 = HEAP32[$5 + 204 >> 2]; - HEAP32[$1 + 48 >> 2] = $2; - HEAP32[$1 + 52 >> 2] = $0; - $2 = HEAP32[$5 + 192 >> 2]; - $0 = HEAP32[$2 + 12 >> 2]; - $1 = HEAP32[$2 + 16 >> 2]; - $2 = $0; - $0 = HEAP32[$5 + 204 >> 2]; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $1; - HEAP32[HEAP32[$5 + 204 >> 2] + 16 >> 2] = 0; - break label$1; - } - label$9: { - if (HEAPF32[$5 + 64 >> 2] <= Math_fround(0)) { - if (b2DistanceSquared_28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 172 | 0, $5 + 104 | 0) > Math_fround(HEAPF32[$5 + 160 >> 2] * HEAPF32[$5 + 160 >> 2])) { - break label$1; - } - HEAP32[HEAP32[$5 + 204 >> 2] + 60 >> 2] = 1; - HEAP32[HEAP32[$5 + 204 >> 2] + 56 >> 2] = 1; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 32 | 0, $5 + 172 | 0, $5 + 104 | 0); - $0 = HEAP32[$5 + 36 >> 2]; - $1 = HEAP32[$5 + 32 >> 2]; - $2 = $1; - $1 = HEAP32[$5 + 204 >> 2]; - HEAP32[$1 + 40 >> 2] = $2; - HEAP32[$1 + 44 >> 2] = $0; - b2Vec2__Normalize_28_29(HEAP32[$5 + 204 >> 2] + 40 | 0); - $1 = HEAP32[$5 + 108 >> 2]; - $0 = HEAP32[$5 + 104 >> 2]; - $2 = $0; - $0 = HEAP32[$5 + 204 >> 2]; - HEAP32[$0 + 48 >> 2] = $2; - HEAP32[$0 + 52 >> 2] = $1; - break label$9; - } - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($5 + 16 | 0, $5 + 112 | 0, $5 + 104 | 0); - operator__28float_2c_20b2Vec2_20const__29($5 + 24 | 0, Math_fround(.5), $5 + 16 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 4 | 0, $5 + 172 | 0, $5 + 24 | 0); - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 4 | 0, HEAP32[$5 + 148 >> 2] + (HEAP32[$5 + 128 >> 2] << 3) | 0), - HEAPF32[wasm2js_i32$0 + 12 >> 2] = wasm2js_f32$0; - if (HEAPF32[$5 + 12 >> 2] > HEAPF32[$5 + 160 >> 2]) { - break label$1; - } - HEAP32[HEAP32[$5 + 204 >> 2] + 60 >> 2] = 1; - HEAP32[HEAP32[$5 + 204 >> 2] + 56 >> 2] = 1; - $2 = HEAP32[$5 + 148 >> 2] + (HEAP32[$5 + 128 >> 2] << 3) | 0; - $1 = HEAP32[$2 >> 2]; - $0 = HEAP32[$2 + 4 >> 2]; - $2 = $1; - $1 = HEAP32[$5 + 204 >> 2]; - HEAP32[$1 + 40 >> 2] = $2; - HEAP32[$1 + 44 >> 2] = $0; - $1 = HEAP32[$5 + 28 >> 2]; - $0 = HEAP32[$5 + 24 >> 2]; - $2 = $0; - $0 = HEAP32[$5 + 204 >> 2]; - HEAP32[$0 + 48 >> 2] = $2; - HEAP32[$0 + 52 >> 2] = $1; - } - $2 = HEAP32[$5 + 192 >> 2]; - $1 = HEAP32[$2 + 12 >> 2]; - $0 = HEAP32[$2 + 16 >> 2]; - $2 = $1; - $1 = HEAP32[$5 + 204 >> 2]; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - HEAP32[HEAP32[$5 + 204 >> 2] + 16 >> 2] = 0; - } - __stack_pointer = $5 + 208 | 0; -} - -function b2Island__SolveTOI_28b2TimeStep_20const__2c_20int_2c_20int_29($0, $1, $2, $3) { - var $4 = 0, $5 = 0, $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_f32$0 = Math_fround(0); - $4 = __stack_pointer - 208 | 0; - __stack_pointer = $4; - HEAP32[$4 + 204 >> 2] = $0; - HEAP32[$4 + 200 >> 2] = $1; - HEAP32[$4 + 196 >> 2] = $2; - HEAP32[$4 + 192 >> 2] = $3; - $5 = HEAP32[$4 + 204 >> 2]; - if (HEAP32[$4 + 196 >> 2] >= HEAP32[$5 + 28 >> 2]) { - __assert_fail(2254, 6190, 391, 11154); - wasm2js_trap(); - } - if (HEAP32[$4 + 192 >> 2] >= HEAP32[$5 + 28 >> 2]) { - __assert_fail(2230, 6190, 392, 11154); - wasm2js_trap(); - } - HEAP32[$4 + 188 >> 2] = 0; - while (1) { - if (HEAP32[$4 + 188 >> 2] < HEAP32[$5 + 28 >> 2]) { - HEAP32[$4 + 184 >> 2] = HEAP32[HEAP32[$5 + 8 >> 2] + (HEAP32[$4 + 188 >> 2] << 2) >> 2]; - $3 = HEAP32[$4 + 184 >> 2]; - $0 = HEAP32[$3 + 44 >> 2]; - $1 = HEAP32[$3 + 48 >> 2]; - $2 = $0; - $0 = HEAP32[$5 + 20 >> 2] + Math_imul(HEAP32[$4 + 188 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[$5 + 20 >> 2] + Math_imul(HEAP32[$4 + 188 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[HEAP32[$4 + 184 >> 2] + 56 >> 2]; - $3 = HEAP32[$4 + 184 >> 2]; - $1 = HEAP32[$3 + 64 >> 2]; - $0 = HEAP32[$3 + 68 >> 2]; - $2 = $1; - $1 = HEAP32[$5 + 24 >> 2] + Math_imul(HEAP32[$4 + 188 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[$5 + 24 >> 2] + Math_imul(HEAP32[$4 + 188 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[HEAP32[$4 + 184 >> 2] + 72 >> 2]; - HEAP32[$4 + 188 >> 2] = HEAP32[$4 + 188 >> 2] + 1; - continue; - } - break; - } - HEAP32[$4 + 164 >> 2] = HEAP32[$5 + 12 >> 2]; - HEAP32[$4 + 168 >> 2] = HEAP32[$5 + 36 >> 2]; - HEAP32[$4 + 180 >> 2] = HEAP32[$5 >> 2]; - $3 = HEAP32[$4 + 200 >> 2]; - $0 = HEAP32[$3 >> 2]; - $1 = HEAP32[$3 + 4 >> 2]; - $6 = $0; - $2 = $4 + 140 | 0; - $0 = $2; - HEAP32[$0 >> 2] = $6; - HEAP32[$0 + 4 >> 2] = $1; - $0 = HEAP32[$3 + 20 >> 2]; - $1 = HEAP32[$3 + 16 >> 2]; - $6 = $1; - $1 = $2; - HEAP32[$1 + 16 >> 2] = $6; - HEAP32[$1 + 20 >> 2] = $0; - $1 = HEAP32[$3 + 12 >> 2]; - $0 = HEAP32[$3 + 8 >> 2]; - $3 = $0; - $0 = $2; - HEAP32[$0 + 8 >> 2] = $3; - HEAP32[$0 + 12 >> 2] = $1; - HEAP32[$4 + 172 >> 2] = HEAP32[$5 + 20 >> 2]; - HEAP32[$4 + 176 >> 2] = HEAP32[$5 + 24 >> 2]; - b2ContactSolver__b2ContactSolver_28b2ContactSolverDef__29($4 + 88 | 0, $4 + 140 | 0); - HEAP32[$4 + 84 >> 2] = 0; - while (1) { - label$6: { - if (HEAP32[$4 + 84 >> 2] >= HEAP32[HEAP32[$4 + 200 >> 2] + 16 >> 2]) { - break label$6; - } - wasm2js_i32$0 = $4, wasm2js_i32$1 = b2ContactSolver__SolveTOIPositionConstraints_28int_2c_20int_29($4 + 88 | 0, HEAP32[$4 + 196 >> 2], HEAP32[$4 + 192 >> 2]) & 1, - HEAP8[wasm2js_i32$0 + 83 | 0] = wasm2js_i32$1; - if (HEAP8[$4 + 83 | 0] & 1) { - break label$6; - } - HEAP32[$4 + 84 >> 2] = HEAP32[$4 + 84 >> 2] + 1; - continue; - } - break; - } - $3 = HEAP32[$5 + 20 >> 2] + Math_imul(HEAP32[$4 + 196 >> 2], 12) | 0; - $1 = HEAP32[$3 >> 2]; - $0 = HEAP32[$3 + 4 >> 2]; - $2 = $1; - $1 = HEAP32[HEAP32[$5 + 8 >> 2] + (HEAP32[$4 + 196 >> 2] << 2) >> 2]; - HEAP32[$1 + 36 >> 2] = $2; - HEAP32[$1 + 40 >> 2] = $0; - HEAPF32[HEAP32[HEAP32[$5 + 8 >> 2] + (HEAP32[$4 + 196 >> 2] << 2) >> 2] + 52 >> 2] = HEAPF32[(HEAP32[$5 + 20 >> 2] + Math_imul(HEAP32[$4 + 196 >> 2], 12) | 0) + 8 >> 2]; - $3 = HEAP32[$5 + 20 >> 2] + Math_imul(HEAP32[$4 + 192 >> 2], 12) | 0; - $0 = HEAP32[$3 >> 2]; - $1 = HEAP32[$3 + 4 >> 2]; - $2 = $0; - $0 = HEAP32[HEAP32[$5 + 8 >> 2] + (HEAP32[$4 + 192 >> 2] << 2) >> 2]; - HEAP32[$0 + 36 >> 2] = $2; - HEAP32[$0 + 40 >> 2] = $1; - HEAPF32[HEAP32[HEAP32[$5 + 8 >> 2] + (HEAP32[$4 + 192 >> 2] << 2) >> 2] + 52 >> 2] = HEAPF32[(HEAP32[$5 + 20 >> 2] + Math_imul(HEAP32[$4 + 192 >> 2], 12) | 0) + 8 >> 2]; - b2ContactSolver__InitializeVelocityConstraints_28_29($4 + 88 | 0); - HEAP32[$4 + 76 >> 2] = 0; - while (1) { - if (HEAP32[$4 + 76 >> 2] < HEAP32[HEAP32[$4 + 200 >> 2] + 12 >> 2]) { - b2ContactSolver__SolveVelocityConstraints_28_29($4 + 88 | 0); - HEAP32[$4 + 76 >> 2] = HEAP32[$4 + 76 >> 2] + 1; - continue; - } - break; - } - HEAPF32[$4 + 72 >> 2] = HEAPF32[HEAP32[$4 + 200 >> 2] >> 2]; - HEAP32[$4 + 68 >> 2] = 0; - while (1) { - if (HEAP32[$4 + 68 >> 2] < HEAP32[$5 + 28 >> 2]) { - $3 = HEAP32[$5 + 20 >> 2] + Math_imul(HEAP32[$4 + 68 >> 2], 12) | 0; - $1 = HEAP32[$3 >> 2]; - $0 = HEAP32[$3 + 4 >> 2]; - HEAP32[$4 + 56 >> 2] = $1; - HEAP32[$4 + 60 >> 2] = $0; - HEAPF32[$4 + 52 >> 2] = HEAPF32[(HEAP32[$5 + 20 >> 2] + Math_imul(HEAP32[$4 + 68 >> 2], 12) | 0) + 8 >> 2]; - $3 = HEAP32[$5 + 24 >> 2] + Math_imul(HEAP32[$4 + 68 >> 2], 12) | 0; - $0 = HEAP32[$3 >> 2]; - $1 = HEAP32[$3 + 4 >> 2]; - HEAP32[$4 + 40 >> 2] = $0; - HEAP32[$4 + 44 >> 2] = $1; - HEAPF32[$4 + 36 >> 2] = HEAPF32[(HEAP32[$5 + 24 >> 2] + Math_imul(HEAP32[$4 + 68 >> 2], 12) | 0) + 8 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($4 + 28 | 0, HEAPF32[$4 + 72 >> 2], $4 + 40 | 0); - $0 = $4 + 28 | 0; - if (b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($0, $0) > Math_fround(4)) { - wasm2js_i32$0 = $4, wasm2js_f32$0 = Math_fround(Math_fround(2) / b2Vec2__Length_28_29_20const($4 + 28 | 0)), - HEAPF32[wasm2js_i32$0 + 24 >> 2] = wasm2js_f32$0; - b2Vec2__operator___28float_29($4 + 40 | 0, HEAPF32[$4 + 24 >> 2]); - } - HEAPF32[$4 + 20 >> 2] = HEAPF32[$4 + 72 >> 2] * HEAPF32[$4 + 36 >> 2]; - if (Math_fround(HEAPF32[$4 + 20 >> 2] * HEAPF32[$4 + 20 >> 2]) > Math_fround(2.4674012660980225)) { - wasm2js_i32$0 = $4, wasm2js_f32$0 = Math_fround(Math_fround(1.5707963705062866) / float_20b2Abs_float__28float_29(HEAPF32[$4 + 20 >> 2])), - HEAPF32[wasm2js_i32$0 + 16 >> 2] = wasm2js_f32$0; - HEAPF32[$4 + 36 >> 2] = HEAPF32[$4 + 36 >> 2] * HEAPF32[$4 + 16 >> 2]; - } - operator__28float_2c_20b2Vec2_20const__29($4 + 8 | 0, HEAPF32[$4 + 72 >> 2], $4 + 40 | 0); - b2Vec2__operator___28b2Vec2_20const__29($4 + 56 | 0, $4 + 8 | 0); - HEAPF32[$4 + 52 >> 2] = Math_fround(HEAPF32[$4 + 72 >> 2] * HEAPF32[$4 + 36 >> 2]) + HEAPF32[$4 + 52 >> 2]; - $0 = HEAP32[$4 + 60 >> 2]; - $1 = HEAP32[$4 + 56 >> 2]; - $2 = $1; - $1 = HEAP32[$5 + 20 >> 2] + Math_imul(HEAP32[$4 + 68 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[$5 + 20 >> 2] + Math_imul(HEAP32[$4 + 68 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$4 + 52 >> 2]; - $1 = HEAP32[$4 + 44 >> 2]; - $0 = HEAP32[$4 + 40 >> 2]; - $2 = $0; - $0 = HEAP32[$5 + 24 >> 2] + Math_imul(HEAP32[$4 + 68 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[$5 + 24 >> 2] + Math_imul(HEAP32[$4 + 68 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$4 + 36 >> 2]; - HEAP32[$4 + 4 >> 2] = HEAP32[HEAP32[$5 + 8 >> 2] + (HEAP32[$4 + 68 >> 2] << 2) >> 2]; - $0 = HEAP32[$4 + 60 >> 2]; - $1 = HEAP32[$4 + 56 >> 2]; - $2 = $1; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$1 + 44 >> 2] = $2; - HEAP32[$1 + 48 >> 2] = $0; - HEAPF32[HEAP32[$4 + 4 >> 2] + 56 >> 2] = HEAPF32[$4 + 52 >> 2]; - $1 = HEAP32[$4 + 44 >> 2]; - $0 = HEAP32[$4 + 40 >> 2]; - $2 = $0; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$0 + 64 >> 2] = $2; - HEAP32[$0 + 68 >> 2] = $1; - HEAPF32[HEAP32[$4 + 4 >> 2] + 72 >> 2] = HEAPF32[$4 + 36 >> 2]; - b2Body__SynchronizeTransform_28_29(HEAP32[$4 + 4 >> 2]); - HEAP32[$4 + 68 >> 2] = HEAP32[$4 + 68 >> 2] + 1; - continue; - } - break; - } - b2Island__Report_28b2ContactVelocityConstraint_20const__29($5, HEAP32[$4 + 128 >> 2]); - b2ContactSolver___b2ContactSolver_28_29($4 + 88 | 0); - __stack_pointer = $4 + 208 | 0; -} - -function b2ContactSolver__SolveTOIPositionConstraints_28int_2c_20int_29($0, $1, $2) { - var $3 = 0, $4 = 0, $5 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $3 = __stack_pointer - 272 | 0; - __stack_pointer = $3; - HEAP32[$3 + 268 >> 2] = $0; - HEAP32[$3 + 264 >> 2] = $1; - HEAP32[$3 + 260 >> 2] = $2; - $4 = HEAP32[$3 + 268 >> 2]; - HEAPF32[$3 + 256 >> 2] = 0; - HEAP32[$3 + 252 >> 2] = 0; - while (1) { - if (HEAP32[$3 + 252 >> 2] < HEAP32[$4 + 48 >> 2]) { - HEAP32[$3 + 248 >> 2] = HEAP32[$4 + 36 >> 2] + Math_imul(HEAP32[$3 + 252 >> 2], 88); - HEAP32[$3 + 244 >> 2] = HEAP32[HEAP32[$3 + 248 >> 2] + 32 >> 2]; - HEAP32[$3 + 240 >> 2] = HEAP32[HEAP32[$3 + 248 >> 2] + 36 >> 2]; - $2 = HEAP32[$3 + 248 >> 2]; - $1 = HEAP32[$2 + 48 >> 2]; - $0 = HEAP32[$2 + 52 >> 2]; - HEAP32[$3 + 232 >> 2] = $1; - HEAP32[$3 + 236 >> 2] = $0; - $2 = HEAP32[$3 + 248 >> 2]; - $0 = HEAP32[$2 + 56 >> 2]; - $1 = HEAP32[$2 + 60 >> 2]; - HEAP32[$3 + 224 >> 2] = $0; - HEAP32[$3 + 228 >> 2] = $1; - HEAP32[$3 + 220 >> 2] = HEAP32[HEAP32[$3 + 248 >> 2] + 84 >> 2]; - HEAPF32[$3 + 216 >> 2] = 0; - HEAPF32[$3 + 212 >> 2] = 0; - if (!(HEAP32[$3 + 244 >> 2] != HEAP32[$3 + 264 >> 2] & HEAP32[$3 + 244 >> 2] != HEAP32[$3 + 260 >> 2])) { - HEAPF32[$3 + 216 >> 2] = HEAPF32[HEAP32[$3 + 248 >> 2] + 40 >> 2]; - HEAPF32[$3 + 212 >> 2] = HEAPF32[HEAP32[$3 + 248 >> 2] + 64 >> 2]; - } - HEAPF32[$3 + 208 >> 2] = 0; - HEAPF32[$3 + 204 >> 2] = 0; - if (!(HEAP32[$3 + 240 >> 2] != HEAP32[$3 + 264 >> 2] & HEAP32[$3 + 240 >> 2] != HEAP32[$3 + 260 >> 2])) { - HEAPF32[$3 + 208 >> 2] = HEAPF32[HEAP32[$3 + 248 >> 2] + 44 >> 2]; - HEAPF32[$3 + 204 >> 2] = HEAPF32[HEAP32[$3 + 248 >> 2] + 68 >> 2]; - } - $2 = HEAP32[$4 + 24 >> 2] + Math_imul(HEAP32[$3 + 244 >> 2], 12) | 0; - $1 = HEAP32[$2 >> 2]; - $0 = HEAP32[$2 + 4 >> 2]; - HEAP32[$3 + 192 >> 2] = $1; - HEAP32[$3 + 196 >> 2] = $0; - HEAPF32[$3 + 188 >> 2] = HEAPF32[(HEAP32[$4 + 24 >> 2] + Math_imul(HEAP32[$3 + 244 >> 2], 12) | 0) + 8 >> 2]; - $2 = HEAP32[$4 + 24 >> 2] + Math_imul(HEAP32[$3 + 240 >> 2], 12) | 0; - $0 = HEAP32[$2 >> 2]; - $1 = HEAP32[$2 + 4 >> 2]; - HEAP32[$3 + 176 >> 2] = $0; - HEAP32[$3 + 180 >> 2] = $1; - HEAPF32[$3 + 172 >> 2] = HEAPF32[(HEAP32[$4 + 24 >> 2] + Math_imul(HEAP32[$3 + 240 >> 2], 12) | 0) + 8 >> 2]; - HEAP32[$3 + 168 >> 2] = 0; - while (1) { - if (HEAP32[$3 + 168 >> 2] < HEAP32[$3 + 220 >> 2]) { - b2Transform__b2Transform_28_29($3 + 152 | 0); - b2Transform__b2Transform_28_29($3 + 136 | 0); - b2Rot__Set_28float_29($3 + 160 | 0, HEAPF32[$3 + 188 >> 2]); - b2Rot__Set_28float_29($3 + 144 | 0, HEAPF32[$3 + 172 >> 2]); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($3 + 120 | 0, $3 + 160 | 0, $3 + 232 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 128 | 0, $3 + 192 | 0, $3 + 120 | 0); - $0 = HEAP32[$3 + 132 >> 2]; - $1 = HEAP32[$3 + 128 >> 2]; - $2 = $1; - $1 = $3 + 152 | 0; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($3 + 104 | 0, $3 + 144 | 0, $3 + 224 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 112 | 0, $3 + 176 | 0, $3 + 104 | 0); - $1 = HEAP32[$3 + 116 >> 2]; - $0 = HEAP32[$3 + 112 >> 2]; - $2 = $0; - $0 = $3 + 136 | 0; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $1; - b2PositionSolverManifold__b2PositionSolverManifold_28_29($3 + 84 | 0); - b2PositionSolverManifold__Initialize_28b2ContactPositionConstraint__2c_20b2Transform_20const__2c_20b2Transform_20const__2c_20int_29($3 + 84 | 0, HEAP32[$3 + 248 >> 2], $3 + 152 | 0, $3 + 136 | 0, HEAP32[$3 + 168 >> 2]); - $2 = $3 + 84 | 0; - $1 = HEAP32[$2 >> 2]; - $0 = HEAP32[$2 + 4 >> 2]; - HEAP32[$3 + 72 >> 2] = $1; - HEAP32[$3 + 76 >> 2] = $0; - $2 = $3 + 84 | 0; - $0 = HEAP32[$2 + 8 >> 2]; - $1 = HEAP32[$2 + 12 >> 2]; - HEAP32[$3 + 64 >> 2] = $0; - HEAP32[$3 + 68 >> 2] = $1; - HEAPF32[$3 + 60 >> 2] = HEAPF32[$3 + 100 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 52 | 0, $3 - -64 | 0, $3 + 192 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 44 | 0, $3 - -64 | 0, $3 + 176 | 0); - wasm2js_i32$0 = $3, wasm2js_f32$0 = float_20b2Min_float__28float_2c_20float_29(HEAPF32[$3 + 256 >> 2], HEAPF32[$3 + 60 >> 2]), - HEAPF32[wasm2js_i32$0 + 256 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $3, wasm2js_f32$0 = float_20b2Clamp_float__28float_2c_20float_2c_20float_29(Math_fround(Math_fround(HEAPF32[$3 + 60 >> 2] + Math_fround(.004999999888241291)) * Math_fround(.75)), Math_fround(-.20000000298023224), Math_fround(0)), - HEAPF32[wasm2js_i32$0 + 40 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $3, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 52 | 0, $3 + 72 | 0), - HEAPF32[wasm2js_i32$0 + 36 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $3, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 44 | 0, $3 + 72 | 0), - HEAPF32[wasm2js_i32$0 + 32 >> 2] = wasm2js_f32$0; - HEAPF32[$3 + 28 >> 2] = Math_fround(Math_fround(HEAPF32[$3 + 204 >> 2] * HEAPF32[$3 + 32 >> 2]) * HEAPF32[$3 + 32 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$3 + 212 >> 2] * HEAPF32[$3 + 36 >> 2]) * HEAPF32[$3 + 36 >> 2]) + Math_fround(HEAPF32[$3 + 216 >> 2] + HEAPF32[$3 + 208 >> 2])); - if (HEAPF32[$3 + 28 >> 2] > Math_fround(0)) { - $5 = Math_fround(Math_fround(-HEAPF32[$3 + 40 >> 2]) / HEAPF32[$3 + 28 >> 2]); - } else { - $5 = Math_fround(0); - } - HEAPF32[$3 + 24 >> 2] = $5; - operator__28float_2c_20b2Vec2_20const__29($3 + 16 | 0, HEAPF32[$3 + 24 >> 2], $3 + 72 | 0); - operator__28float_2c_20b2Vec2_20const__29($3 + 8 | 0, HEAPF32[$3 + 216 >> 2], $3 + 16 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($3 + 192 | 0, $3 + 8 | 0); - wasm2js_i32$0 = $3, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$3 + 212 >> 2]) * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 52 | 0, $3 + 16 | 0)) + HEAPF32[$3 + 188 >> 2]), - HEAPF32[wasm2js_i32$0 + 188 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($3, HEAPF32[$3 + 208 >> 2], $3 + 16 | 0); - b2Vec2__operator___28b2Vec2_20const__29($3 + 176 | 0, $3); - wasm2js_i32$0 = $3, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$3 + 204 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 44 | 0, $3 + 16 | 0)) + HEAPF32[$3 + 172 >> 2]), - HEAPF32[wasm2js_i32$0 + 172 >> 2] = wasm2js_f32$0; - HEAP32[$3 + 168 >> 2] = HEAP32[$3 + 168 >> 2] + 1; - continue; - } - break; - } - $0 = HEAP32[$3 + 196 >> 2]; - $1 = HEAP32[$3 + 192 >> 2]; - $2 = $1; - $1 = HEAP32[$4 + 24 >> 2] + Math_imul(HEAP32[$3 + 244 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[$4 + 24 >> 2] + Math_imul(HEAP32[$3 + 244 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$3 + 188 >> 2]; - $1 = HEAP32[$3 + 180 >> 2]; - $0 = HEAP32[$3 + 176 >> 2]; - $2 = $0; - $0 = HEAP32[$4 + 24 >> 2] + Math_imul(HEAP32[$3 + 240 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[$4 + 24 >> 2] + Math_imul(HEAP32[$3 + 240 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$3 + 172 >> 2]; - HEAP32[$3 + 252 >> 2] = HEAP32[$3 + 252 >> 2] + 1; - continue; - } - break; - } - __stack_pointer = $3 + 272 | 0; - return HEAPF32[$3 + 256 >> 2] >= Math_fround(-.007499999832361937); -} - -function b2Distance_28b2DistanceOutput__2c_20b2SimplexCache__2c_20b2DistanceInput_20const__29($0, $1, $2) { - var $3 = 0, $4 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 336 | 0; - __stack_pointer = $3; - HEAP32[$3 + 332 >> 2] = $0; - HEAP32[$3 + 328 >> 2] = $1; - HEAP32[$3 + 324 >> 2] = $2; - HEAP32[7354] = HEAP32[7354] + 1; - HEAP32[$3 + 320 >> 2] = HEAP32[$3 + 324 >> 2]; - HEAP32[$3 + 316 >> 2] = HEAP32[$3 + 324 >> 2] + 28; - $2 = HEAP32[$3 + 324 >> 2]; - $1 = HEAP32[$2 + 64 >> 2]; - $0 = HEAP32[$2 + 68 >> 2]; - HEAP32[$3 + 304 >> 2] = $1; - HEAP32[$3 + 308 >> 2] = $0; - $1 = HEAP32[$2 + 60 >> 2]; - $0 = HEAP32[$2 + 56 >> 2]; - HEAP32[$3 + 296 >> 2] = $0; - HEAP32[$3 + 300 >> 2] = $1; - $2 = HEAP32[$3 + 324 >> 2]; - $1 = HEAP32[$2 + 80 >> 2]; - $0 = HEAP32[$2 + 84 >> 2]; - HEAP32[$3 + 288 >> 2] = $1; - HEAP32[$3 + 292 >> 2] = $0; - $1 = HEAP32[$2 + 76 >> 2]; - $0 = HEAP32[$2 + 72 >> 2]; - HEAP32[$3 + 280 >> 2] = $0; - HEAP32[$3 + 284 >> 2] = $1; - b2Simplex__b2Simplex_28_29($3 + 168 | 0); - b2Simplex__ReadCache_28b2SimplexCache_20const__2c_20b2DistanceProxy_20const__2c_20b2Transform_20const__2c_20b2DistanceProxy_20const__2c_20b2Transform_20const__29($3 + 168 | 0, HEAP32[$3 + 328 >> 2], HEAP32[$3 + 320 >> 2], $3 + 296 | 0, HEAP32[$3 + 316 >> 2], $3 + 280 | 0); - HEAP32[$3 + 164 >> 2] = $3 + 168; - HEAP32[$3 + 160 >> 2] = 20; - HEAP32[$3 + 132 >> 2] = 0; - HEAP32[$3 + 128 >> 2] = 0; - while (1) { - label$2: { - if (HEAP32[$3 + 128 >> 2] >= 20) { - break label$2; - } - HEAP32[$3 + 132 >> 2] = HEAP32[$3 + 276 >> 2]; - HEAP32[$3 + 124 >> 2] = 0; - while (1) { - if (HEAP32[$3 + 124 >> 2] < HEAP32[$3 + 132 >> 2]) { - HEAP32[($3 + 148 | 0) + (HEAP32[$3 + 124 >> 2] << 2) >> 2] = HEAP32[(HEAP32[$3 + 164 >> 2] + Math_imul(HEAP32[$3 + 124 >> 2], 36) | 0) + 28 >> 2]; - HEAP32[($3 + 136 | 0) + (HEAP32[$3 + 124 >> 2] << 2) >> 2] = HEAP32[(HEAP32[$3 + 164 >> 2] + Math_imul(HEAP32[$3 + 124 >> 2], 36) | 0) + 32 >> 2]; - HEAP32[$3 + 124 >> 2] = HEAP32[$3 + 124 >> 2] + 1; - continue; - } - break; - } - label$5: { - label$6: { - switch (HEAP32[$3 + 276 >> 2] - 1 | 0) { - case 1: - b2Simplex__Solve2_28_29($3 + 168 | 0); - break label$5; - - case 2: - b2Simplex__Solve3_28_29($3 + 168 | 0); - break label$5; - - case 0: - break label$5; - - default: - break label$6; - } - } - __assert_fail(9386, 6125, 505, 10200); - wasm2js_trap(); - } - if (HEAP32[$3 + 276 >> 2] == 3) { - break label$2; - } - b2Simplex__GetSearchDirection_28_29_20const($3 + 116 | 0, $3 + 168 | 0); - if (b2Vec2__LengthSquared_28_29_20const($3 + 116 | 0) < Math_fround(14210854715202004e-30)) { - break label$2; - } - HEAP32[$3 + 112 >> 2] = HEAP32[$3 + 164 >> 2] + Math_imul(HEAP32[$3 + 276 >> 2], 36); - $0 = HEAP32[$3 + 320 >> 2]; - b2Vec2__operator__28_29_20const($3 + 96 | 0, $3 + 116 | 0); - b2MulT_28b2Rot_20const__2c_20b2Vec2_20const__29($3 + 104 | 0, $3 + 304 | 0, $3 + 96 | 0); - $0 = b2DistanceProxy__GetSupport_28b2Vec2_20const__29_20const($0, $3 + 104 | 0); - HEAP32[HEAP32[$3 + 112 >> 2] + 28 >> 2] = $0; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($3 + 88 | 0, $3 + 296 | 0, b2DistanceProxy__GetVertex_28int_29_20const(HEAP32[$3 + 320 >> 2], HEAP32[HEAP32[$3 + 112 >> 2] + 28 >> 2])); - $0 = HEAP32[$3 + 92 >> 2]; - $1 = HEAP32[$3 + 88 >> 2]; - $2 = $1; - $1 = HEAP32[$3 + 112 >> 2]; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - $0 = HEAP32[$3 + 316 >> 2]; - b2MulT_28b2Rot_20const__2c_20b2Vec2_20const__29($3 + 80 | 0, $3 + 288 | 0, $3 + 116 | 0); - $0 = b2DistanceProxy__GetSupport_28b2Vec2_20const__29_20const($0, $3 + 80 | 0); - HEAP32[HEAP32[$3 + 112 >> 2] + 32 >> 2] = $0; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($3 + 72 | 0, $3 + 280 | 0, b2DistanceProxy__GetVertex_28int_29_20const(HEAP32[$3 + 316 >> 2], HEAP32[HEAP32[$3 + 112 >> 2] + 32 >> 2])); - $1 = HEAP32[$3 + 76 >> 2]; - $0 = HEAP32[$3 + 72 >> 2]; - $2 = $0; - $0 = HEAP32[$3 + 112 >> 2]; - HEAP32[$0 + 8 >> 2] = $2; - HEAP32[$0 + 12 >> 2] = $1; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 - -64 | 0, HEAP32[$3 + 112 >> 2] + 8 | 0, HEAP32[$3 + 112 >> 2]); - $0 = HEAP32[$3 + 68 >> 2]; - $1 = HEAP32[$3 + 64 >> 2]; - $2 = $1; - $1 = HEAP32[$3 + 112 >> 2]; - HEAP32[$1 + 16 >> 2] = $2; - HEAP32[$1 + 20 >> 2] = $0; - HEAP32[$3 + 128 >> 2] = HEAP32[$3 + 128 >> 2] + 1; - HEAP32[7355] = HEAP32[7355] + 1; - HEAP8[$3 + 63 | 0] = 0; - HEAP32[$3 + 56 >> 2] = 0; - while (1) { - if (HEAP32[$3 + 56 >> 2] < HEAP32[$3 + 132 >> 2]) { - if (HEAP32[HEAP32[$3 + 112 >> 2] + 28 >> 2] != HEAP32[($3 + 148 | 0) + (HEAP32[$3 + 56 >> 2] << 2) >> 2] | HEAP32[HEAP32[$3 + 112 >> 2] + 32 >> 2] != HEAP32[($3 + 136 | 0) + (HEAP32[$3 + 56 >> 2] << 2) >> 2]) { - HEAP32[$3 + 56 >> 2] = HEAP32[$3 + 56 >> 2] + 1; - continue; - } else { - HEAP8[$3 + 63 | 0] = 1; - } - } - break; - } - if (HEAP8[$3 + 63 | 0] & 1) { - break label$2; - } - HEAP32[$3 + 276 >> 2] = HEAP32[$3 + 276 >> 2] + 1; - continue; - } - break; - } - wasm2js_i32$0 = 29424, wasm2js_i32$1 = int_20b2Max_int__28int_2c_20int_29(HEAP32[7356], HEAP32[$3 + 128 >> 2]), - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - b2Simplex__GetWitnessPoints_28b2Vec2__2c_20b2Vec2__29_20const($3 + 168 | 0, HEAP32[$3 + 332 >> 2], HEAP32[$3 + 332 >> 2] + 8 | 0); - $4 = b2Distance_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$3 + 332 >> 2], HEAP32[$3 + 332 >> 2] + 8 | 0); - HEAPF32[HEAP32[$3 + 332 >> 2] + 16 >> 2] = $4; - HEAP32[HEAP32[$3 + 332 >> 2] + 20 >> 2] = HEAP32[$3 + 128 >> 2]; - b2Simplex__WriteCache_28b2SimplexCache__29_20const($3 + 168 | 0, HEAP32[$3 + 328 >> 2]); - if (HEAP8[HEAP32[$3 + 324 >> 2] + 88 | 0] & 1) { - HEAPF32[$3 + 52 >> 2] = HEAPF32[HEAP32[$3 + 320 >> 2] + 24 >> 2]; - HEAPF32[$3 + 48 >> 2] = HEAPF32[HEAP32[$3 + 316 >> 2] + 24 >> 2]; - label$13: { - if (!(!(HEAPF32[HEAP32[$3 + 332 >> 2] + 16 >> 2] > Math_fround(HEAPF32[$3 + 52 >> 2] + HEAPF32[$3 + 48 >> 2])) | !(HEAPF32[HEAP32[$3 + 332 >> 2] + 16 >> 2] > Math_fround(1.1920928955078125e-7)))) { - $0 = HEAP32[$3 + 332 >> 2]; - HEAPF32[$0 + 16 >> 2] = HEAPF32[$0 + 16 >> 2] - Math_fround(HEAPF32[$3 + 52 >> 2] + HEAPF32[$3 + 48 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 40 | 0, HEAP32[$3 + 332 >> 2] + 8 | 0, HEAP32[$3 + 332 >> 2]); - b2Vec2__Normalize_28_29($3 + 40 | 0); - operator__28float_2c_20b2Vec2_20const__29($3 + 32 | 0, HEAPF32[$3 + 52 >> 2], $3 + 40 | 0); - b2Vec2__operator___28b2Vec2_20const__29(HEAP32[$3 + 332 >> 2], $3 + 32 | 0); - operator__28float_2c_20b2Vec2_20const__29($3 + 24 | 0, HEAPF32[$3 + 48 >> 2], $3 + 40 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1(HEAP32[$3 + 332 >> 2] + 8 | 0, $3 + 24 | 0); - break label$13; - } - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($3 + 8 | 0, HEAP32[$3 + 332 >> 2], HEAP32[$3 + 332 >> 2] + 8 | 0); - operator__28float_2c_20b2Vec2_20const__29($3 + 16 | 0, Math_fround(.5), $3 + 8 | 0); - $1 = HEAP32[$3 + 20 >> 2]; - $0 = HEAP32[$3 + 16 >> 2]; - $2 = $0; - $0 = HEAP32[$3 + 332 >> 2]; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $1; - $0 = HEAP32[$3 + 20 >> 2]; - $1 = HEAP32[$3 + 16 >> 2]; - $2 = $1; - $1 = HEAP32[$3 + 332 >> 2]; - HEAP32[$1 + 8 >> 2] = $2; - HEAP32[$1 + 12 >> 2] = $0; - HEAPF32[HEAP32[$3 + 332 >> 2] + 16 >> 2] = 0; - } - } - __stack_pointer = $3 + 336 | 0; -} - -function b2RevoluteJoint__SolvePositionConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 208 | 0; - __stack_pointer = $2; - HEAP32[$2 + 204 >> 2] = $0; - HEAP32[$2 + 200 >> 2] = $1; - $3 = HEAP32[$2 + 204 >> 2]; - $4 = HEAP32[HEAP32[$2 + 200 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 128 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 192 >> 2] = $1; - HEAP32[$2 + 196 >> 2] = $0; - HEAPF32[$2 + 188 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 200 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 128 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 200 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 132 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 176 >> 2] = $0; - HEAP32[$2 + 180 >> 2] = $1; - HEAPF32[$2 + 172 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 200 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 132 >> 2], 12) | 0) + 8 >> 2]; - b2Rot__b2Rot_28float_29($2 + 164 | 0, HEAPF32[$2 + 188 >> 2]); - b2Rot__b2Rot_28float_29($2 + 156 | 0, HEAPF32[$2 + 172 >> 2]); - HEAPF32[$2 + 152 >> 2] = 0; - HEAPF32[$2 + 148 >> 2] = 0; - HEAP8[$2 + 147 | 0] = Math_fround(HEAPF32[$3 + 176 >> 2] + HEAPF32[$3 + 180 >> 2]) == Math_fround(0); - if (!(HEAP8[$2 + 147 | 0] & 1 | (!(HEAP8[$3 + 112 | 0] & 1) | !HEAP32[$3 + 224 >> 2]))) { - HEAPF32[$2 + 140 >> 2] = Math_fround(HEAPF32[$2 + 172 >> 2] - HEAPF32[$2 + 188 >> 2]) - HEAPF32[$3 + 116 >> 2]; - HEAPF32[$2 + 136 >> 2] = 0; - label$2: { - if (HEAP32[$3 + 224 >> 2] == 3) { - wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20b2Clamp_float__28float_2c_20float_2c_20float_29(Math_fround(HEAPF32[$2 + 140 >> 2] - HEAPF32[$3 + 120 >> 2]), Math_fround(-.13962635397911072), Math_fround(.13962635397911072)), - HEAPF32[wasm2js_i32$0 + 132 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 136 >> 2] = Math_fround(-HEAPF32[$3 + 220 >> 2]) * HEAPF32[$2 + 132 >> 2]; - wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20b2Abs_float__28float_29(HEAPF32[$2 + 132 >> 2]), - HEAPF32[wasm2js_i32$0 + 152 >> 2] = wasm2js_f32$0; - break label$2; - } - label$4: { - if (HEAP32[$3 + 224 >> 2] == 1) { - HEAPF32[$2 + 128 >> 2] = HEAPF32[$2 + 140 >> 2] - HEAPF32[$3 + 120 >> 2]; - HEAPF32[$2 + 152 >> 2] = -HEAPF32[$2 + 128 >> 2]; - wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20b2Clamp_float__28float_2c_20float_2c_20float_29(Math_fround(HEAPF32[$2 + 128 >> 2] + Math_fround(.03490658849477768)), Math_fround(-.13962635397911072), Math_fround(0)), - HEAPF32[wasm2js_i32$0 + 128 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 136 >> 2] = Math_fround(-HEAPF32[$3 + 220 >> 2]) * HEAPF32[$2 + 128 >> 2]; - break label$4; - } - if (HEAP32[$3 + 224 >> 2] == 2) { - HEAPF32[$2 + 124 >> 2] = HEAPF32[$2 + 140 >> 2] - HEAPF32[$3 + 124 >> 2]; - HEAPF32[$2 + 152 >> 2] = HEAPF32[$2 + 124 >> 2]; - wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20b2Clamp_float__28float_2c_20float_2c_20float_29(Math_fround(HEAPF32[$2 + 124 >> 2] + Math_fround(-.03490658849477768)), Math_fround(0), Math_fround(.13962635397911072)), - HEAPF32[wasm2js_i32$0 + 124 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 136 >> 2] = Math_fround(-HEAPF32[$3 + 220 >> 2]) * HEAPF32[$2 + 124 >> 2]; - } - } - } - HEAPF32[$2 + 188 >> 2] = Math_fround(Math_fround(-HEAPF32[$3 + 176 >> 2]) * HEAPF32[$2 + 136 >> 2]) + HEAPF32[$2 + 188 >> 2]; - HEAPF32[$2 + 172 >> 2] = Math_fround(HEAPF32[$3 + 180 >> 2] * HEAPF32[$2 + 136 >> 2]) + HEAPF32[$2 + 172 >> 2]; - } - b2Rot__Set_28float_29($2 + 164 | 0, HEAPF32[$2 + 188 >> 2]); - b2Rot__Set_28float_29($2 + 156 | 0, HEAPF32[$2 + 172 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 108 | 0, $3 + 68 | 0, $3 + 152 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 116 | 0, $2 + 164 | 0, $2 + 108 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 92 | 0, $3 + 76 | 0, $3 + 160 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 100 | 0, $2 + 156 | 0, $2 + 92 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 68 | 0, $2 + 176 | 0, $2 + 100 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 76 | 0, $2 + 68 | 0, $2 + 192 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 84 | 0, $2 + 76 | 0, $2 + 116 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Vec2__Length_28_29_20const($2 + 84 | 0), HEAPF32[wasm2js_i32$0 + 148 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 64 >> 2] = HEAPF32[$3 + 168 >> 2]; - HEAPF32[$2 + 60 >> 2] = HEAPF32[$3 + 172 >> 2]; - HEAPF32[$2 + 56 >> 2] = HEAPF32[$3 + 176 >> 2]; - HEAPF32[$2 + 52 >> 2] = HEAPF32[$3 + 180 >> 2]; - b2Mat22__b2Mat22_28_29($2 + 36 | 0); - HEAPF32[$2 + 36 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 52 >> 2] * HEAPF32[$2 + 104 >> 2]) * HEAPF32[$2 + 104 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 56 >> 2] * HEAPF32[$2 + 120 >> 2]) * HEAPF32[$2 + 120 >> 2]) + Math_fround(HEAPF32[$2 + 64 >> 2] + HEAPF32[$2 + 60 >> 2])); - HEAPF32[$2 + 40 >> 2] = Math_fround(Math_fround(Math_fround(-HEAPF32[$2 + 56 >> 2]) * HEAPF32[$2 + 116 >> 2]) * HEAPF32[$2 + 120 >> 2]) - Math_fround(Math_fround(HEAPF32[$2 + 52 >> 2] * HEAPF32[$2 + 100 >> 2]) * HEAPF32[$2 + 104 >> 2]); - HEAPF32[$2 + 44 >> 2] = HEAPF32[$2 + 40 >> 2]; - HEAPF32[$2 + 48 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 52 >> 2] * HEAPF32[$2 + 100 >> 2]) * HEAPF32[$2 + 100 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 56 >> 2] * HEAPF32[$2 + 116 >> 2]) * HEAPF32[$2 + 116 >> 2]) + Math_fround(HEAPF32[$2 + 64 >> 2] + HEAPF32[$2 + 60 >> 2])); - b2Mat22__Solve_28b2Vec2_20const__29_20const($2 + 20 | 0, $2 + 36 | 0, $2 + 84 | 0); - b2Vec2__operator__28_29_20const($2 + 28 | 0, $2 + 20 | 0); - operator__28float_2c_20b2Vec2_20const__29($2 + 12 | 0, HEAPF32[$2 + 64 >> 2], $2 + 28 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 192 | 0, $2 + 12 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$2 + 56 >> 2]) * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 116 | 0, $2 + 28 | 0)) + HEAPF32[$2 + 188 >> 2]), - HEAPF32[wasm2js_i32$0 + 188 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($2 + 4 | 0, HEAPF32[$2 + 60 >> 2], $2 + 28 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 176 | 0, $2 + 4 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$2 + 52 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 100 | 0, $2 + 28 | 0)) + HEAPF32[$2 + 172 >> 2]), - HEAPF32[wasm2js_i32$0 + 172 >> 2] = wasm2js_f32$0; - $0 = HEAP32[$2 + 196 >> 2]; - $1 = HEAP32[$2 + 192 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 200 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 128 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 200 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 128 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 188 >> 2]; - $1 = HEAP32[$2 + 180 >> 2]; - $0 = HEAP32[$2 + 176 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 200 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 132 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 200 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 132 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 172 >> 2]; - __stack_pointer = $2 + 208 | 0; - $5 = HEAPF32[$2 + 148 >> 2] <= Math_fround(.004999999888241291) ? HEAPF32[$2 + 152 >> 2] <= Math_fround(.03490658849477768) : $5; - return $5 | 0; -} - -function b2Simplex__Solve3_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $1 = __stack_pointer - 144 | 0; - __stack_pointer = $1; - HEAP32[$1 + 140 >> 2] = $0; - $2 = HEAP32[$1 + 140 >> 2]; - $0 = HEAP32[$2 + 16 >> 2]; - $3 = HEAP32[$2 + 20 >> 2]; - HEAP32[$1 + 128 >> 2] = $0; - HEAP32[$1 + 132 >> 2] = $3; - $0 = HEAP32[$2 + 56 >> 2]; - $3 = HEAP32[$2 + 52 >> 2]; - HEAP32[$1 + 120 >> 2] = $3; - HEAP32[$1 + 124 >> 2] = $0; - $3 = HEAP32[$2 + 92 >> 2]; - $0 = HEAP32[$2 + 88 >> 2]; - HEAP32[$1 + 112 >> 2] = $0; - HEAP32[$1 + 116 >> 2] = $3; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 104 | 0, $1 + 120 | 0, $1 + 128 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 128 | 0, $1 + 104 | 0), - HEAPF32[wasm2js_i32$0 + 100 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 120 | 0, $1 + 104 | 0), - HEAPF32[wasm2js_i32$0 + 96 >> 2] = wasm2js_f32$0; - HEAPF32[$1 + 92 >> 2] = HEAPF32[$1 + 96 >> 2]; - HEAPF32[$1 + 88 >> 2] = -HEAPF32[$1 + 100 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 80 | 0, $1 + 112 | 0, $1 + 128 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 128 | 0, $1 + 80 | 0), - HEAPF32[wasm2js_i32$0 + 76 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 112 | 0, $1 + 80 | 0), - HEAPF32[wasm2js_i32$0 + 72 >> 2] = wasm2js_f32$0; - HEAPF32[$1 + 68 >> 2] = HEAPF32[$1 + 72 >> 2]; - HEAPF32[$1 + 64 >> 2] = -HEAPF32[$1 + 76 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 56 | 0, $1 + 112 | 0, $1 + 120 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 120 | 0, $1 + 56 | 0), - HEAPF32[wasm2js_i32$0 + 52 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 112 | 0, $1 + 56 | 0), - HEAPF32[wasm2js_i32$0 + 48 >> 2] = wasm2js_f32$0; - HEAPF32[$1 + 44 >> 2] = HEAPF32[$1 + 48 >> 2]; - HEAPF32[$1 + 40 >> 2] = -HEAPF32[$1 + 52 >> 2]; - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 104 | 0, $1 + 80 | 0), - HEAPF32[wasm2js_i32$0 + 36 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(HEAPF32[$1 + 36 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 120 | 0, $1 + 112 | 0)), - HEAPF32[wasm2js_i32$0 + 32 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(HEAPF32[$1 + 36 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 112 | 0, $1 + 128 | 0)), - HEAPF32[wasm2js_i32$0 + 28 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(HEAPF32[$1 + 36 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 128 | 0, $1 + 120 | 0)), - HEAPF32[wasm2js_i32$0 + 24 >> 2] = wasm2js_f32$0; - label$1: { - if (!(!(HEAPF32[$1 + 88 >> 2] <= Math_fround(0)) | !(HEAPF32[$1 + 64 >> 2] <= Math_fround(0)))) { - HEAPF32[$2 + 24 >> 2] = 1; - HEAP32[$2 + 108 >> 2] = 1; - break label$1; - } - if (!(!(HEAPF32[$1 + 24 >> 2] <= Math_fround(0)) | (!(HEAPF32[$1 + 92 >> 2] > Math_fround(0)) | !(HEAPF32[$1 + 88 >> 2] > Math_fround(0))))) { - HEAPF32[$1 + 20 >> 2] = Math_fround(1) / Math_fround(HEAPF32[$1 + 92 >> 2] + HEAPF32[$1 + 88 >> 2]); - HEAPF32[$2 + 24 >> 2] = HEAPF32[$1 + 92 >> 2] * HEAPF32[$1 + 20 >> 2]; - HEAPF32[$2 + 60 >> 2] = HEAPF32[$1 + 88 >> 2] * HEAPF32[$1 + 20 >> 2]; - HEAP32[$2 + 108 >> 2] = 2; - break label$1; - } - if (!(!(HEAPF32[$1 + 28 >> 2] <= Math_fround(0)) | (!(HEAPF32[$1 + 68 >> 2] > Math_fround(0)) | !(HEAPF32[$1 + 64 >> 2] > Math_fround(0))))) { - HEAPF32[$1 + 16 >> 2] = Math_fround(1) / Math_fround(HEAPF32[$1 + 68 >> 2] + HEAPF32[$1 + 64 >> 2]); - HEAPF32[$2 + 24 >> 2] = HEAPF32[$1 + 68 >> 2] * HEAPF32[$1 + 16 >> 2]; - HEAPF32[$2 + 96 >> 2] = HEAPF32[$1 + 64 >> 2] * HEAPF32[$1 + 16 >> 2]; - HEAP32[$2 + 108 >> 2] = 2; - $0 = HEAP32[$2 + 76 >> 2]; - $3 = HEAP32[$2 + 72 >> 2]; - HEAP32[$2 + 36 >> 2] = $3; - HEAP32[$2 + 40 >> 2] = $0; - HEAP32[$2 + 68 >> 2] = HEAP32[$2 + 104 >> 2]; - $3 = HEAP32[$2 + 100 >> 2]; - $0 = HEAP32[$2 + 96 >> 2]; - HEAP32[$2 + 60 >> 2] = $0; - HEAP32[$2 + 64 >> 2] = $3; - $0 = HEAP32[$2 + 92 >> 2]; - $3 = HEAP32[$2 + 88 >> 2]; - HEAP32[$2 + 52 >> 2] = $3; - HEAP32[$2 + 56 >> 2] = $0; - $3 = HEAP32[$2 + 84 >> 2]; - $0 = HEAP32[$2 + 80 >> 2]; - HEAP32[$2 + 44 >> 2] = $0; - HEAP32[$2 + 48 >> 2] = $3; - break label$1; - } - if (!(!(HEAPF32[$1 + 92 >> 2] <= Math_fround(0)) | !(HEAPF32[$1 + 40 >> 2] <= Math_fround(0)))) { - HEAPF32[$2 + 60 >> 2] = 1; - HEAP32[$2 + 108 >> 2] = 1; - $0 = HEAP32[$2 + 40 >> 2]; - $3 = HEAP32[$2 + 36 >> 2]; - HEAP32[$2 >> 2] = $3; - HEAP32[$2 + 4 >> 2] = $0; - HEAP32[$2 + 32 >> 2] = HEAP32[$2 + 68 >> 2]; - $3 = HEAP32[$2 + 64 >> 2]; - $0 = HEAP32[$2 + 60 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 28 >> 2] = $3; - $0 = HEAP32[$2 + 56 >> 2]; - $3 = HEAP32[$2 + 52 >> 2]; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 20 >> 2] = $0; - $3 = HEAP32[$2 + 48 >> 2]; - $0 = HEAP32[$2 + 44 >> 2]; - HEAP32[$2 + 8 >> 2] = $0; - HEAP32[$2 + 12 >> 2] = $3; - break label$1; - } - if (!(!(HEAPF32[$1 + 68 >> 2] <= Math_fround(0)) | !(HEAPF32[$1 + 44 >> 2] <= Math_fround(0)))) { - HEAPF32[$2 + 96 >> 2] = 1; - HEAP32[$2 + 108 >> 2] = 1; - $0 = HEAP32[$2 + 76 >> 2]; - $3 = HEAP32[$2 + 72 >> 2]; - HEAP32[$2 >> 2] = $3; - HEAP32[$2 + 4 >> 2] = $0; - HEAP32[$2 + 32 >> 2] = HEAP32[$2 + 104 >> 2]; - $3 = HEAP32[$2 + 100 >> 2]; - $0 = HEAP32[$2 + 96 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 28 >> 2] = $3; - $0 = HEAP32[$2 + 92 >> 2]; - $3 = HEAP32[$2 + 88 >> 2]; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 20 >> 2] = $0; - $3 = HEAP32[$2 + 84 >> 2]; - $0 = HEAP32[$2 + 80 >> 2]; - HEAP32[$2 + 8 >> 2] = $0; - HEAP32[$2 + 12 >> 2] = $3; - break label$1; - } - if (!(!(HEAPF32[$1 + 32 >> 2] <= Math_fround(0)) | (!(HEAPF32[$1 + 44 >> 2] > Math_fround(0)) | !(HEAPF32[$1 + 40 >> 2] > Math_fround(0))))) { - HEAPF32[$1 + 12 >> 2] = Math_fround(1) / Math_fround(HEAPF32[$1 + 44 >> 2] + HEAPF32[$1 + 40 >> 2]); - HEAPF32[$2 + 60 >> 2] = HEAPF32[$1 + 44 >> 2] * HEAPF32[$1 + 12 >> 2]; - HEAPF32[$2 + 96 >> 2] = HEAPF32[$1 + 40 >> 2] * HEAPF32[$1 + 12 >> 2]; - HEAP32[$2 + 108 >> 2] = 2; - $0 = HEAP32[$2 + 76 >> 2]; - $3 = HEAP32[$2 + 72 >> 2]; - HEAP32[$2 >> 2] = $3; - HEAP32[$2 + 4 >> 2] = $0; - HEAP32[$2 + 32 >> 2] = HEAP32[$2 + 104 >> 2]; - $3 = HEAP32[$2 + 100 >> 2]; - $0 = HEAP32[$2 + 96 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 28 >> 2] = $3; - $0 = HEAP32[$2 + 92 >> 2]; - $3 = HEAP32[$2 + 88 >> 2]; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 20 >> 2] = $0; - $3 = HEAP32[$2 + 84 >> 2]; - $0 = HEAP32[$2 + 80 >> 2]; - HEAP32[$2 + 8 >> 2] = $0; - HEAP32[$2 + 12 >> 2] = $3; - break label$1; - } - HEAPF32[$1 + 8 >> 2] = Math_fround(1) / Math_fround(Math_fround(HEAPF32[$1 + 32 >> 2] + HEAPF32[$1 + 28 >> 2]) + HEAPF32[$1 + 24 >> 2]); - HEAPF32[$2 + 24 >> 2] = HEAPF32[$1 + 32 >> 2] * HEAPF32[$1 + 8 >> 2]; - HEAPF32[$2 + 60 >> 2] = HEAPF32[$1 + 28 >> 2] * HEAPF32[$1 + 8 >> 2]; - HEAPF32[$2 + 96 >> 2] = HEAPF32[$1 + 24 >> 2] * HEAPF32[$1 + 8 >> 2]; - HEAP32[$2 + 108 >> 2] = 3; - } - __stack_pointer = $1 + 144 | 0; -} - -function b2PulleyJoint__InitVelocityConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 208 | 0; - __stack_pointer = $2; - HEAP32[$2 + 204 >> 2] = $0; - HEAP32[$2 + 200 >> 2] = $1; - $1 = HEAP32[$2 + 204 >> 2]; - HEAP32[$1 + 120 >> 2] = HEAP32[HEAP32[$1 + 48 >> 2] + 8 >> 2]; - HEAP32[$1 + 124 >> 2] = HEAP32[HEAP32[$1 + 52 >> 2] + 8 >> 2]; - $4 = HEAP32[$1 + 48 >> 2]; - $3 = HEAP32[$4 + 28 >> 2]; - $0 = HEAP32[$4 + 32 >> 2]; - HEAP32[$1 + 160 >> 2] = $3; - HEAP32[$1 + 164 >> 2] = $0; - $4 = HEAP32[$1 + 52 >> 2]; - $0 = HEAP32[$4 + 28 >> 2]; - $3 = HEAP32[$4 + 32 >> 2]; - HEAP32[$1 + 168 >> 2] = $0; - HEAP32[$1 + 172 >> 2] = $3; - HEAPF32[$1 + 176 >> 2] = HEAPF32[HEAP32[$1 + 48 >> 2] + 120 >> 2]; - HEAPF32[$1 + 180 >> 2] = HEAPF32[HEAP32[$1 + 52 >> 2] + 120 >> 2]; - HEAPF32[$1 + 184 >> 2] = HEAPF32[HEAP32[$1 + 48 >> 2] + 128 >> 2]; - HEAPF32[$1 + 188 >> 2] = HEAPF32[HEAP32[$1 + 52 >> 2] + 128 >> 2]; - $4 = HEAP32[HEAP32[$2 + 200 >> 2] + 24 >> 2] + Math_imul(HEAP32[$1 + 120 >> 2], 12) | 0; - $3 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 192 >> 2] = $3; - HEAP32[$2 + 196 >> 2] = $0; - HEAPF32[$2 + 188 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 200 >> 2] + 24 >> 2] + Math_imul(HEAP32[$1 + 120 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 120 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $3 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 176 >> 2] = $0; - HEAP32[$2 + 180 >> 2] = $3; - HEAPF32[$2 + 172 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 120 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 200 >> 2] + 24 >> 2] + Math_imul(HEAP32[$1 + 124 >> 2], 12) | 0; - $3 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 160 >> 2] = $3; - HEAP32[$2 + 164 >> 2] = $0; - HEAPF32[$2 + 156 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 200 >> 2] + 24 >> 2] + Math_imul(HEAP32[$1 + 124 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 124 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $3 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 144 >> 2] = $0; - HEAP32[$2 + 148 >> 2] = $3; - HEAPF32[$2 + 140 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 124 >> 2], 12) | 0) + 8 >> 2]; - b2Rot__b2Rot_28float_29($2 + 132 | 0, HEAPF32[$2 + 188 >> 2]); - b2Rot__b2Rot_28float_29($2 + 124 | 0, HEAPF32[$2 + 156 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 108 | 0, $1 + 92 | 0, $1 + 160 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 116 | 0, $2 + 132 | 0, $2 + 108 | 0); - $0 = HEAP32[$2 + 120 >> 2]; - $3 = HEAP32[$2 + 116 >> 2]; - HEAP32[$1 + 144 >> 2] = $3; - HEAP32[$1 + 148 >> 2] = $0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 92 | 0, $1 + 100 | 0, $1 + 168 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 100 | 0, $2 + 124 | 0, $2 + 92 | 0); - $3 = HEAP32[$2 + 104 >> 2]; - $0 = HEAP32[$2 + 100 >> 2]; - HEAP32[$1 + 152 >> 2] = $0; - HEAP32[$1 + 156 >> 2] = $3; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 76 | 0, $2 + 192 | 0, $1 + 144 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 84 | 0, $2 + 76 | 0, $1 + 68 | 0); - $0 = HEAP32[$2 + 88 >> 2]; - $3 = HEAP32[$2 + 84 >> 2]; - HEAP32[$1 + 128 >> 2] = $3; - HEAP32[$1 + 132 >> 2] = $0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 60 | 0, $2 + 160 | 0, $1 + 152 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 68 | 0, $2 + 60 | 0, $1 + 76 | 0); - $3 = HEAP32[$2 + 72 >> 2]; - $0 = HEAP32[$2 + 68 >> 2]; - HEAP32[$1 + 136 >> 2] = $0; - HEAP32[$1 + 140 >> 2] = $3; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Vec2__Length_28_29_20const($1 + 128 | 0), - HEAPF32[wasm2js_i32$0 + 56 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Vec2__Length_28_29_20const($1 + 136 | 0), - HEAPF32[wasm2js_i32$0 + 52 >> 2] = wasm2js_f32$0; - label$1: { - if (HEAPF32[$2 + 56 >> 2] > Math_fround(.04999999701976776)) { - b2Vec2__operator___28float_29($1 + 128 | 0, Math_fround(Math_fround(1) / HEAPF32[$2 + 56 >> 2])); - break label$1; - } - b2Vec2__SetZero_28_29($1 + 128 | 0); - } - label$3: { - if (HEAPF32[$2 + 52 >> 2] > Math_fround(.04999999701976776)) { - b2Vec2__operator___28float_29($1 + 136 | 0, Math_fround(Math_fround(1) / HEAPF32[$2 + 52 >> 2])); - break label$3; - } - b2Vec2__SetZero_28_29($1 + 136 | 0); - } - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 144 | 0, $1 + 128 | 0), - HEAPF32[wasm2js_i32$0 + 48 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 152 | 0, $1 + 136 | 0), - HEAPF32[wasm2js_i32$0 + 44 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 40 >> 2] = Math_fround(Math_fround(HEAPF32[$1 + 184 >> 2] * HEAPF32[$2 + 48 >> 2]) * HEAPF32[$2 + 48 >> 2]) + HEAPF32[$1 + 176 >> 2]; - HEAPF32[$2 + 36 >> 2] = Math_fround(Math_fround(HEAPF32[$1 + 188 >> 2] * HEAPF32[$2 + 44 >> 2]) * HEAPF32[$2 + 44 >> 2]) + HEAPF32[$1 + 180 >> 2]; - HEAPF32[$1 + 192 >> 2] = Math_fround(Math_fround(HEAPF32[$1 + 112 >> 2] * HEAPF32[$1 + 112 >> 2]) * HEAPF32[$2 + 36 >> 2]) + HEAPF32[$2 + 40 >> 2]; - if (HEAPF32[$1 + 192 >> 2] > Math_fround(0)) { - HEAPF32[$1 + 192 >> 2] = Math_fround(1) / HEAPF32[$1 + 192 >> 2]; - } - label$6: { - if (HEAP8[HEAP32[$2 + 200 >> 2] + 20 | 0] & 1) { - HEAPF32[$1 + 116 >> 2] = HEAPF32[$1 + 116 >> 2] * HEAPF32[HEAP32[$2 + 200 >> 2] + 8 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 28 | 0, Math_fround(-HEAPF32[$1 + 116 >> 2]), $1 + 128 | 0); - operator__28float_2c_20b2Vec2_20const__29($2 + 20 | 0, Math_fround(Math_fround(-HEAPF32[$1 + 112 >> 2]) * HEAPF32[$1 + 116 >> 2]), $1 + 136 | 0); - operator__28float_2c_20b2Vec2_20const__29($2 + 12 | 0, HEAPF32[$1 + 176 >> 2], $2 + 28 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 176 | 0, $2 + 12 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$1 + 184 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 144 | 0, $2 + 28 | 0)) + HEAPF32[$2 + 172 >> 2]), - HEAPF32[wasm2js_i32$0 + 172 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($2 + 4 | 0, HEAPF32[$1 + 180 >> 2], $2 + 20 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 144 | 0, $2 + 4 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$1 + 188 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 152 | 0, $2 + 20 | 0)) + HEAPF32[$2 + 140 >> 2]), - HEAPF32[wasm2js_i32$0 + 140 >> 2] = wasm2js_f32$0; - break label$6; - } - HEAPF32[$1 + 116 >> 2] = 0; - } - $0 = HEAP32[$2 + 180 >> 2]; - $3 = HEAP32[$2 + 176 >> 2]; - $4 = $3; - $3 = HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 120 >> 2], 12) | 0; - HEAP32[$3 >> 2] = $4; - HEAP32[$3 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 120 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 172 >> 2]; - $3 = HEAP32[$2 + 148 >> 2]; - $0 = HEAP32[$2 + 144 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 124 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $3; - HEAPF32[(HEAP32[HEAP32[$2 + 200 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 124 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 140 >> 2]; - __stack_pointer = $2 + 208 | 0; -} - -function b2MotorJoint__InitVelocityConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 224 | 0; - __stack_pointer = $2; - HEAP32[$2 + 220 >> 2] = $0; - HEAP32[$2 + 216 >> 2] = $1; - $3 = HEAP32[$2 + 220 >> 2]; - HEAP32[$3 + 104 >> 2] = HEAP32[HEAP32[$3 + 48 >> 2] + 8 >> 2]; - HEAP32[$3 + 108 >> 2] = HEAP32[HEAP32[$3 + 52 >> 2] + 8 >> 2]; - $4 = HEAP32[$3 + 48 >> 2]; - $0 = HEAP32[$4 + 28 >> 2]; - $1 = HEAP32[$4 + 32 >> 2]; - HEAP32[$3 + 128 >> 2] = $0; - HEAP32[$3 + 132 >> 2] = $1; - $4 = HEAP32[$3 + 52 >> 2]; - $1 = HEAP32[$4 + 28 >> 2]; - $0 = HEAP32[$4 + 32 >> 2]; - HEAP32[$3 + 136 >> 2] = $1; - HEAP32[$3 + 140 >> 2] = $0; - HEAPF32[$3 + 156 >> 2] = HEAPF32[HEAP32[$3 + 48 >> 2] + 120 >> 2]; - HEAPF32[$3 + 160 >> 2] = HEAPF32[HEAP32[$3 + 52 >> 2] + 120 >> 2]; - HEAPF32[$3 + 164 >> 2] = HEAPF32[HEAP32[$3 + 48 >> 2] + 128 >> 2]; - HEAPF32[$3 + 168 >> 2] = HEAPF32[HEAP32[$3 + 52 >> 2] + 128 >> 2]; - $4 = HEAP32[HEAP32[$2 + 216 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 104 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 208 >> 2] = $0; - HEAP32[$2 + 212 >> 2] = $1; - HEAPF32[$2 + 204 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 216 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 104 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 216 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 104 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 192 >> 2] = $1; - HEAP32[$2 + 196 >> 2] = $0; - HEAPF32[$2 + 188 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 216 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 104 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 216 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 176 >> 2] = $0; - HEAP32[$2 + 180 >> 2] = $1; - HEAPF32[$2 + 172 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 216 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 216 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 160 >> 2] = $1; - HEAP32[$2 + 164 >> 2] = $0; - HEAPF32[$2 + 156 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 216 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 12) | 0) + 8 >> 2]; - b2Rot__b2Rot_28float_29($2 + 148 | 0, HEAPF32[$2 + 204 >> 2]); - b2Rot__b2Rot_28float_29($2 + 140 | 0, HEAPF32[$2 + 172 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 124 | 0, $3 + 68 | 0, $3 + 128 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 132 | 0, $2 + 148 | 0, $2 + 124 | 0); - $1 = HEAP32[$2 + 136 >> 2]; - $0 = HEAP32[$2 + 132 >> 2]; - HEAP32[$3 + 112 >> 2] = $0; - HEAP32[$3 + 116 >> 2] = $1; - b2Vec2__operator__28_29_20const($2 + 108 | 0, $3 + 136 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 116 | 0, $2 + 140 | 0, $2 + 108 | 0); - $0 = HEAP32[$2 + 120 >> 2]; - $1 = HEAP32[$2 + 116 >> 2]; - HEAP32[$3 + 120 >> 2] = $1; - HEAP32[$3 + 124 >> 2] = $0; - HEAPF32[$2 + 104 >> 2] = HEAPF32[$3 + 156 >> 2]; - HEAPF32[$2 + 100 >> 2] = HEAPF32[$3 + 160 >> 2]; - HEAPF32[$2 + 96 >> 2] = HEAPF32[$3 + 164 >> 2]; - HEAPF32[$2 + 92 >> 2] = HEAPF32[$3 + 168 >> 2]; - b2Mat22__b2Mat22_28_29($2 + 76 | 0); - HEAPF32[$2 + 76 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 92 >> 2] * HEAPF32[$3 + 124 >> 2]) * HEAPF32[$3 + 124 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 96 >> 2] * HEAPF32[$3 + 116 >> 2]) * HEAPF32[$3 + 116 >> 2]) + Math_fround(HEAPF32[$2 + 104 >> 2] + HEAPF32[$2 + 100 >> 2])); - HEAPF32[$2 + 80 >> 2] = Math_fround(Math_fround(Math_fround(-HEAPF32[$2 + 96 >> 2]) * HEAPF32[$3 + 112 >> 2]) * HEAPF32[$3 + 116 >> 2]) - Math_fround(Math_fround(HEAPF32[$2 + 92 >> 2] * HEAPF32[$3 + 120 >> 2]) * HEAPF32[$3 + 124 >> 2]); - HEAPF32[$2 + 84 >> 2] = HEAPF32[$2 + 80 >> 2]; - HEAPF32[$2 + 88 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 92 >> 2] * HEAPF32[$3 + 120 >> 2]) * HEAPF32[$3 + 120 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 96 >> 2] * HEAPF32[$3 + 112 >> 2]) * HEAPF32[$3 + 112 >> 2]) + Math_fround(HEAPF32[$2 + 104 >> 2] + HEAPF32[$2 + 100 >> 2])); - b2Mat22__GetInverse_28_29_20const($2 + 60 | 0, $2 + 76 | 0); - $1 = HEAP32[$2 + 64 >> 2]; - $0 = HEAP32[$2 + 60 >> 2]; - HEAP32[$3 + 172 >> 2] = $0; - HEAP32[$3 + 176 >> 2] = $1; - $0 = HEAP32[$2 + 72 >> 2]; - $1 = HEAP32[$2 + 68 >> 2]; - HEAP32[$3 + 180 >> 2] = $1; - HEAP32[$3 + 184 >> 2] = $0; - HEAPF32[$3 + 188 >> 2] = HEAPF32[$2 + 96 >> 2] + HEAPF32[$2 + 92 >> 2]; - if (HEAPF32[$3 + 188 >> 2] > Math_fround(0)) { - HEAPF32[$3 + 188 >> 2] = Math_fround(1) / HEAPF32[$3 + 188 >> 2]; - } - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 36 | 0, $2 + 176 | 0, $3 + 120 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 44 | 0, $2 + 36 | 0, $2 + 208 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 52 | 0, $2 + 44 | 0, $3 + 112 | 0); - $1 = HEAP32[$2 + 56 >> 2]; - $0 = HEAP32[$2 + 52 >> 2]; - HEAP32[$3 + 144 >> 2] = $0; - HEAP32[$3 + 148 >> 2] = $1; - HEAPF32[$3 + 152 >> 2] = Math_fround(HEAPF32[$2 + 172 >> 2] - HEAPF32[$2 + 204 >> 2]) - HEAPF32[$3 + 76 >> 2]; - label$2: { - if (HEAP8[HEAP32[$2 + 216 >> 2] + 20 | 0] & 1) { - b2Vec2__operator___28float_29($3 + 80 | 0, HEAPF32[HEAP32[$2 + 216 >> 2] + 8 >> 2]); - HEAPF32[$3 + 88 >> 2] = HEAPF32[$3 + 88 >> 2] * HEAPF32[HEAP32[$2 + 216 >> 2] + 8 >> 2]; - b2Vec2__b2Vec2_28float_2c_20float_29($2 + 28 | 0, HEAPF32[$3 + 80 >> 2], HEAPF32[$3 + 84 >> 2]); - operator__28float_2c_20b2Vec2_20const__29($2 + 20 | 0, HEAPF32[$2 + 104 >> 2], $2 + 28 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 192 | 0, $2 + 20 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$2 + 96 >> 2]) * Math_fround(b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 112 | 0, $2 + 28 | 0) + HEAPF32[$3 + 88 >> 2])) + HEAPF32[$2 + 188 >> 2]), - HEAPF32[wasm2js_i32$0 + 188 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($2 + 12 | 0, HEAPF32[$2 + 100 >> 2], $2 + 28 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 160 | 0, $2 + 12 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$2 + 92 >> 2] * Math_fround(b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 120 | 0, $2 + 28 | 0) + HEAPF32[$3 + 88 >> 2])) + HEAPF32[$2 + 156 >> 2]), - HEAPF32[wasm2js_i32$0 + 156 >> 2] = wasm2js_f32$0; - break label$2; - } - b2Vec2__SetZero_28_29($3 + 80 | 0); - HEAPF32[$3 + 88 >> 2] = 0; - } - $0 = HEAP32[$2 + 196 >> 2]; - $1 = HEAP32[$2 + 192 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 216 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 104 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 216 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 104 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 188 >> 2]; - $1 = HEAP32[$2 + 164 >> 2]; - $0 = HEAP32[$2 + 160 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 216 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 216 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 156 >> 2]; - __stack_pointer = $2 + 224 | 0; -} -function emscripten__class__std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___2c_20emscripten__internal__NoBaseClass__20emscripten__register_vector_b2Vec2__28char_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 256 | 0; - __stack_pointer = $1; - HEAP32[$1 + 80 >> 2] = $0; - HEAP32[$1 + 76 >> 2] = 0; - HEAP32[$1 + 72 >> 2] = 434; - HEAP32[$1 + 68 >> 2] = 0; - HEAP32[$1 + 64 >> 2] = 435; - HEAP32[$1 + 60 >> 2] = 0; - HEAP32[$1 + 56 >> 2] = 436; - $0 = HEAP32[$1 + 80 >> 2]; - HEAP32[$1 + 104 >> 2] = $1 + 55; - HEAP32[$1 + 100 >> 2] = $0; - void_20emscripten__internal__NoBaseClass__verify_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28_29(); - HEAP32[$1 + 96 >> 2] = 437; - wasm2js_i32$0 = $1, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getUpcaster_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 92 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $1, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getDowncaster_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 88 >> 2] = wasm2js_i32$1; - HEAP32[$1 + 84 >> 2] = 438; - $0 = emscripten__internal__TypeID_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20void___get_28_29(); - $4 = emscripten__internal__NoBaseClass__get_28_29(); - HEAP32[$1 + 240 >> 2] = HEAP32[$1 + 96 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$1 + 96 >> 2]; - HEAP32[$1 + 112 >> 2] = HEAP32[$1 + 92 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $8 = HEAP32[$1 + 92 >> 2]; - HEAP32[$1 + 108 >> 2] = HEAP32[$1 + 88 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $10 = HEAP32[$1 + 88 >> 2]; - $11 = HEAP32[$1 + 100 >> 2]; - HEAP32[$1 + 244 >> 2] = HEAP32[$1 + 84 >> 2]; - _embind_register_class($0 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$1 + 84 >> 2]); - HEAP32[$1 + 116 >> 2] = $1 + 55; - HEAP32[$1 + 252 >> 2] = HEAP32[$1 + 116 >> 2]; - HEAP32[$1 + 248 >> 2] = 439; - $3 = HEAP32[$1 + 252 >> 2]; - void_20emscripten__internal__RegisterClassConstructor_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____20_28__29_28_29___invoke_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____20_28__29_28_29_29(HEAP32[$1 + 248 >> 2]); - $0 = HEAP32[$1 + 72 >> 2]; - HEAP32[$1 + 48 >> 2] = HEAP32[$1 + 76 >> 2]; - HEAP32[$1 + 44 >> 2] = $0; - $0 = HEAP32[$1 + 48 >> 2]; - $2 = HEAP32[$1 + 44 >> 2]; - HEAP32[$1 + 120 >> 2] = $2; - HEAP32[$1 + 124 >> 2] = $0; - $0 = HEAP32[$1 + 120 >> 2]; - $2 = HEAP32[$1 + 124 >> 2]; - HEAP32[$1 + 148 >> 2] = $3; - HEAP32[$1 + 144 >> 2] = 7208; - HEAP32[$1 + 140 >> 2] = $2; - HEAP32[$1 + 136 >> 2] = $0; - $3 = HEAP32[$1 + 148 >> 2]; - $4 = HEAP32[$1 + 144 >> 2]; - $0 = HEAP32[$1 + 136 >> 2]; - HEAP32[$1 + 132 >> 2] = HEAP32[$1 + 140 >> 2]; - HEAP32[$1 + 128 >> 2] = $0; - $2 = HEAP32[$1 + 132 >> 2]; - $0 = HEAP32[$1 + 128 >> 2]; - HEAP32[$1 + 16 >> 2] = $0; - HEAP32[$1 + 20 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28b2Vec2_20const__29___invoke_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28char_20const__2c_20void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28b2Vec2_20const__29_29($4, $1 + 16 | 0); - $0 = HEAP32[$1 + 64 >> 2]; - HEAP32[$1 + 40 >> 2] = HEAP32[$1 + 68 >> 2]; - HEAP32[$1 + 36 >> 2] = $0; - $0 = HEAP32[$1 + 40 >> 2]; - $2 = HEAP32[$1 + 36 >> 2]; - HEAP32[$1 + 152 >> 2] = $2; - HEAP32[$1 + 156 >> 2] = $0; - $0 = HEAP32[$1 + 152 >> 2]; - $2 = HEAP32[$1 + 156 >> 2]; - HEAP32[$1 + 180 >> 2] = $3; - HEAP32[$1 + 176 >> 2] = 8735; - HEAP32[$1 + 172 >> 2] = $2; - HEAP32[$1 + 168 >> 2] = $0; - $3 = HEAP32[$1 + 180 >> 2]; - $4 = HEAP32[$1 + 176 >> 2]; - $0 = HEAP32[$1 + 168 >> 2]; - HEAP32[$1 + 164 >> 2] = HEAP32[$1 + 172 >> 2]; - HEAP32[$1 + 160 >> 2] = $0; - $2 = HEAP32[$1 + 164 >> 2]; - $0 = HEAP32[$1 + 160 >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 + 12 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28unsigned_20long_2c_20b2Vec2_20const__29___invoke_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28char_20const__2c_20void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28unsigned_20long_2c_20b2Vec2_20const__29_29($4, $1 + 8 | 0); - $0 = HEAP32[$1 + 56 >> 2]; - HEAP32[$1 + 32 >> 2] = HEAP32[$1 + 60 >> 2]; - HEAP32[$1 + 28 >> 2] = $0; - $0 = HEAP32[$1 + 32 >> 2]; - $2 = HEAP32[$1 + 28 >> 2]; - HEAP32[$1 + 184 >> 2] = $2; - HEAP32[$1 + 188 >> 2] = $0; - $0 = HEAP32[$1 + 184 >> 2]; - $2 = HEAP32[$1 + 188 >> 2]; - HEAP32[$1 + 212 >> 2] = $3; - HEAP32[$1 + 208 >> 2] = 8763; - HEAP32[$1 + 204 >> 2] = $2; - HEAP32[$1 + 200 >> 2] = $0; - $3 = HEAP32[$1 + 212 >> 2]; - $4 = HEAP32[$1 + 208 >> 2]; - $0 = HEAP32[$1 + 200 >> 2]; - HEAP32[$1 + 196 >> 2] = HEAP32[$1 + 204 >> 2]; - HEAP32[$1 + 192 >> 2] = $0; - $2 = HEAP32[$1 + 196 >> 2]; - $0 = HEAP32[$1 + 192 >> 2]; - HEAP32[$1 >> 2] = $0; - HEAP32[$1 + 4 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_unsigned_20long_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28_29_20const___invoke_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28char_20const__2c_20unsigned_20long_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28_29_20const_29($4, $1); - HEAP32[$1 + 224 >> 2] = $3; - HEAP32[$1 + 220 >> 2] = 3203; - HEAP32[$1 + 216 >> 2] = 440; - $0 = HEAP32[$1 + 224 >> 2]; - void_20emscripten__internal__RegisterClassMethod_emscripten__val_20_28__29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long_29___invoke_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28char_20const__2c_20emscripten__val_20_28__29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long_29_29(HEAP32[$1 + 220 >> 2], HEAP32[$1 + 216 >> 2]); - HEAP32[$1 + 236 >> 2] = $0; - HEAP32[$1 + 232 >> 2] = 3150; - HEAP32[$1 + 228 >> 2] = 441; - void_20emscripten__internal__RegisterClassMethod_bool_20_28__29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const__29___invoke_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28char_20const__2c_20bool_20_28__29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const__29_29(HEAP32[$1 + 232 >> 2], HEAP32[$1 + 228 >> 2]); - __stack_pointer = $1 + 256 | 0; -} - -function b2ContactSolver__SolvePositionConstraints_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $1 = __stack_pointer - 272 | 0; - __stack_pointer = $1; - HEAP32[$1 + 268 >> 2] = $0; - $4 = HEAP32[$1 + 268 >> 2]; - HEAPF32[$1 + 264 >> 2] = 0; - HEAP32[$1 + 260 >> 2] = 0; - while (1) { - if (HEAP32[$1 + 260 >> 2] < HEAP32[$4 + 48 >> 2]) { - HEAP32[$1 + 256 >> 2] = HEAP32[$4 + 36 >> 2] + Math_imul(HEAP32[$1 + 260 >> 2], 88); - HEAP32[$1 + 252 >> 2] = HEAP32[HEAP32[$1 + 256 >> 2] + 32 >> 2]; - HEAP32[$1 + 248 >> 2] = HEAP32[HEAP32[$1 + 256 >> 2] + 36 >> 2]; - $2 = HEAP32[$1 + 256 >> 2]; - $3 = HEAP32[$2 + 48 >> 2]; - $0 = HEAP32[$2 + 52 >> 2]; - HEAP32[$1 + 240 >> 2] = $3; - HEAP32[$1 + 244 >> 2] = $0; - HEAPF32[$1 + 236 >> 2] = HEAPF32[HEAP32[$1 + 256 >> 2] + 40 >> 2]; - HEAPF32[$1 + 232 >> 2] = HEAPF32[HEAP32[$1 + 256 >> 2] + 64 >> 2]; - $2 = HEAP32[$1 + 256 >> 2]; - $0 = HEAP32[$2 + 56 >> 2]; - $3 = HEAP32[$2 + 60 >> 2]; - HEAP32[$1 + 224 >> 2] = $0; - HEAP32[$1 + 228 >> 2] = $3; - HEAPF32[$1 + 220 >> 2] = HEAPF32[HEAP32[$1 + 256 >> 2] + 44 >> 2]; - HEAPF32[$1 + 216 >> 2] = HEAPF32[HEAP32[$1 + 256 >> 2] + 68 >> 2]; - HEAP32[$1 + 212 >> 2] = HEAP32[HEAP32[$1 + 256 >> 2] + 84 >> 2]; - $2 = HEAP32[$4 + 24 >> 2] + Math_imul(HEAP32[$1 + 252 >> 2], 12) | 0; - $3 = HEAP32[$2 >> 2]; - $0 = HEAP32[$2 + 4 >> 2]; - HEAP32[$1 + 200 >> 2] = $3; - HEAP32[$1 + 204 >> 2] = $0; - HEAPF32[$1 + 196 >> 2] = HEAPF32[(HEAP32[$4 + 24 >> 2] + Math_imul(HEAP32[$1 + 252 >> 2], 12) | 0) + 8 >> 2]; - $2 = HEAP32[$4 + 24 >> 2] + Math_imul(HEAP32[$1 + 248 >> 2], 12) | 0; - $0 = HEAP32[$2 >> 2]; - $3 = HEAP32[$2 + 4 >> 2]; - HEAP32[$1 + 184 >> 2] = $0; - HEAP32[$1 + 188 >> 2] = $3; - HEAPF32[$1 + 180 >> 2] = HEAPF32[(HEAP32[$4 + 24 >> 2] + Math_imul(HEAP32[$1 + 248 >> 2], 12) | 0) + 8 >> 2]; - HEAP32[$1 + 176 >> 2] = 0; - while (1) { - if (HEAP32[$1 + 176 >> 2] < HEAP32[$1 + 212 >> 2]) { - b2Transform__b2Transform_28_29($1 + 160 | 0); - b2Transform__b2Transform_28_29($1 + 144 | 0); - b2Rot__Set_28float_29($1 + 168 | 0, HEAPF32[$1 + 196 >> 2]); - b2Rot__Set_28float_29($1 + 152 | 0, HEAPF32[$1 + 180 >> 2]); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($1 + 128 | 0, $1 + 168 | 0, $1 + 240 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 136 | 0, $1 + 200 | 0, $1 + 128 | 0); - $0 = HEAP32[$1 + 140 >> 2]; - $3 = HEAP32[$1 + 136 >> 2]; - $2 = $3; - $3 = $1 + 160 | 0; - HEAP32[$3 >> 2] = $2; - HEAP32[$3 + 4 >> 2] = $0; - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($1 + 112 | 0, $1 + 152 | 0, $1 + 224 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 120 | 0, $1 + 184 | 0, $1 + 112 | 0); - $3 = HEAP32[$1 + 124 >> 2]; - $0 = HEAP32[$1 + 120 >> 2]; - $2 = $0; - $0 = $1 + 144 | 0; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $3; - b2PositionSolverManifold__b2PositionSolverManifold_28_29($1 + 92 | 0); - b2PositionSolverManifold__Initialize_28b2ContactPositionConstraint__2c_20b2Transform_20const__2c_20b2Transform_20const__2c_20int_29($1 + 92 | 0, HEAP32[$1 + 256 >> 2], $1 + 160 | 0, $1 + 144 | 0, HEAP32[$1 + 176 >> 2]); - $2 = $1 + 92 | 0; - $3 = HEAP32[$2 >> 2]; - $0 = HEAP32[$2 + 4 >> 2]; - HEAP32[$1 + 80 >> 2] = $3; - HEAP32[$1 + 84 >> 2] = $0; - $2 = $1 + 92 | 0; - $0 = HEAP32[$2 + 8 >> 2]; - $3 = HEAP32[$2 + 12 >> 2]; - HEAP32[$1 + 72 >> 2] = $0; - HEAP32[$1 + 76 >> 2] = $3; - HEAPF32[$1 + 68 >> 2] = HEAPF32[$1 + 108 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 60 | 0, $1 + 72 | 0, $1 + 200 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 52 | 0, $1 + 72 | 0, $1 + 184 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = float_20b2Min_float__28float_2c_20float_29(HEAPF32[$1 + 264 >> 2], HEAPF32[$1 + 68 >> 2]), - HEAPF32[wasm2js_i32$0 + 264 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $1, wasm2js_f32$0 = float_20b2Clamp_float__28float_2c_20float_2c_20float_29(Math_fround(Math_fround(HEAPF32[$1 + 68 >> 2] + Math_fround(.004999999888241291)) * Math_fround(.20000000298023224)), Math_fround(-.20000000298023224), Math_fround(0)), - HEAPF32[wasm2js_i32$0 + 48 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 60 | 0, $1 + 80 | 0), - HEAPF32[wasm2js_i32$0 + 44 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 52 | 0, $1 + 80 | 0), - HEAPF32[wasm2js_i32$0 + 40 >> 2] = wasm2js_f32$0; - HEAPF32[$1 + 36 >> 2] = Math_fround(Math_fround(HEAPF32[$1 + 216 >> 2] * HEAPF32[$1 + 40 >> 2]) * HEAPF32[$1 + 40 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$1 + 232 >> 2] * HEAPF32[$1 + 44 >> 2]) * HEAPF32[$1 + 44 >> 2]) + Math_fround(HEAPF32[$1 + 236 >> 2] + HEAPF32[$1 + 220 >> 2])); - if (HEAPF32[$1 + 36 >> 2] > Math_fround(0)) { - $5 = Math_fround(Math_fround(-HEAPF32[$1 + 48 >> 2]) / HEAPF32[$1 + 36 >> 2]); - } else { - $5 = Math_fround(0); - } - HEAPF32[$1 + 32 >> 2] = $5; - operator__28float_2c_20b2Vec2_20const__29($1 + 24 | 0, HEAPF32[$1 + 32 >> 2], $1 + 80 | 0); - operator__28float_2c_20b2Vec2_20const__29($1 + 16 | 0, HEAPF32[$1 + 236 >> 2], $1 + 24 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($1 + 200 | 0, $1 + 16 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$1 + 232 >> 2]) * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 60 | 0, $1 + 24 | 0)) + HEAPF32[$1 + 196 >> 2]), - HEAPF32[wasm2js_i32$0 + 196 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($1 + 8 | 0, HEAPF32[$1 + 220 >> 2], $1 + 24 | 0); - b2Vec2__operator___28b2Vec2_20const__29($1 + 184 | 0, $1 + 8 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$1 + 216 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 52 | 0, $1 + 24 | 0)) + HEAPF32[$1 + 180 >> 2]), - HEAPF32[wasm2js_i32$0 + 180 >> 2] = wasm2js_f32$0; - HEAP32[$1 + 176 >> 2] = HEAP32[$1 + 176 >> 2] + 1; - continue; - } - break; - } - $0 = HEAP32[$1 + 204 >> 2]; - $3 = HEAP32[$1 + 200 >> 2]; - $2 = $3; - $3 = HEAP32[$4 + 24 >> 2] + Math_imul(HEAP32[$1 + 252 >> 2], 12) | 0; - HEAP32[$3 >> 2] = $2; - HEAP32[$3 + 4 >> 2] = $0; - HEAPF32[(HEAP32[$4 + 24 >> 2] + Math_imul(HEAP32[$1 + 252 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$1 + 196 >> 2]; - $3 = HEAP32[$1 + 188 >> 2]; - $0 = HEAP32[$1 + 184 >> 2]; - $2 = $0; - $0 = HEAP32[$4 + 24 >> 2] + Math_imul(HEAP32[$1 + 248 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $3; - HEAPF32[(HEAP32[$4 + 24 >> 2] + Math_imul(HEAP32[$1 + 248 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$1 + 180 >> 2]; - HEAP32[$1 + 260 >> 2] = HEAP32[$1 + 260 >> 2] + 1; - continue; - } - break; - } - __stack_pointer = $1 + 272 | 0; - return HEAPF32[$1 + 264 >> 2] >= Math_fround(-.014999999664723873); -} - -function emscripten__class__std____2__vector_int_2c_20std____2__allocator_int___2c_20emscripten__internal__NoBaseClass__20emscripten__register_vector_int__28char_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 256 | 0; - __stack_pointer = $1; - HEAP32[$1 + 80 >> 2] = $0; - HEAP32[$1 + 76 >> 2] = 0; - HEAP32[$1 + 72 >> 2] = 422; - HEAP32[$1 + 68 >> 2] = 0; - HEAP32[$1 + 64 >> 2] = 423; - HEAP32[$1 + 60 >> 2] = 0; - HEAP32[$1 + 56 >> 2] = 424; - $0 = HEAP32[$1 + 80 >> 2]; - HEAP32[$1 + 104 >> 2] = $1 + 55; - HEAP32[$1 + 100 >> 2] = $0; - void_20emscripten__internal__NoBaseClass__verify_std____2__vector_int_2c_20std____2__allocator_int____28_29(); - HEAP32[$1 + 96 >> 2] = 425; - wasm2js_i32$0 = $1, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getUpcaster_std____2__vector_int_2c_20std____2__allocator_int____28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 92 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $1, wasm2js_i32$1 = void_20_28_emscripten__internal__NoBaseClass__getDowncaster_std____2__vector_int_2c_20std____2__allocator_int____28_29_29_28_29(), - HEAP32[wasm2js_i32$0 + 88 >> 2] = wasm2js_i32$1; - HEAP32[$1 + 84 >> 2] = 426; - $0 = emscripten__internal__TypeID_std____2__vector_int_2c_20std____2__allocator_int___2c_20void___get_28_29(); - $2 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int____2c_20void___get_28_29(); - $3 = emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20void___get_28_29(); - $4 = emscripten__internal__NoBaseClass__get_28_29(); - HEAP32[$1 + 232 >> 2] = HEAP32[$1 + 96 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29(); - $6 = HEAP32[$1 + 96 >> 2]; - HEAP32[$1 + 240 >> 2] = HEAP32[$1 + 92 >> 2]; - $7 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $8 = HEAP32[$1 + 92 >> 2]; - HEAP32[$1 + 236 >> 2] = HEAP32[$1 + 88 >> 2]; - $9 = char_20const__20emscripten__internal__getGenericSignature_void__28_29(); - $10 = HEAP32[$1 + 88 >> 2]; - $11 = HEAP32[$1 + 100 >> 2]; - HEAP32[$1 + 244 >> 2] = HEAP32[$1 + 84 >> 2]; - _embind_register_class($0 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, $9 | 0, $10 | 0, $11 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$1 + 84 >> 2]); - HEAP32[$1 + 108 >> 2] = $1 + 55; - HEAP32[$1 + 252 >> 2] = HEAP32[$1 + 108 >> 2]; - HEAP32[$1 + 248 >> 2] = 427; - $3 = HEAP32[$1 + 252 >> 2]; - void_20emscripten__internal__RegisterClassConstructor_std____2__vector_int_2c_20std____2__allocator_int____20_28__29_28_29___invoke_std____2__vector_int_2c_20std____2__allocator_int____28std____2__vector_int_2c_20std____2__allocator_int____20_28__29_28_29_29(HEAP32[$1 + 248 >> 2]); - $0 = HEAP32[$1 + 72 >> 2]; - HEAP32[$1 + 48 >> 2] = HEAP32[$1 + 76 >> 2]; - HEAP32[$1 + 44 >> 2] = $0; - $0 = HEAP32[$1 + 48 >> 2]; - $2 = HEAP32[$1 + 44 >> 2]; - HEAP32[$1 + 112 >> 2] = $2; - HEAP32[$1 + 116 >> 2] = $0; - $0 = HEAP32[$1 + 112 >> 2]; - $2 = HEAP32[$1 + 116 >> 2]; - HEAP32[$1 + 140 >> 2] = $3; - HEAP32[$1 + 136 >> 2] = 7208; - HEAP32[$1 + 132 >> 2] = $2; - HEAP32[$1 + 128 >> 2] = $0; - $3 = HEAP32[$1 + 140 >> 2]; - $4 = HEAP32[$1 + 136 >> 2]; - $0 = HEAP32[$1 + 128 >> 2]; - HEAP32[$1 + 124 >> 2] = HEAP32[$1 + 132 >> 2]; - HEAP32[$1 + 120 >> 2] = $0; - $2 = HEAP32[$1 + 124 >> 2]; - $0 = HEAP32[$1 + 120 >> 2]; - HEAP32[$1 + 16 >> 2] = $0; - HEAP32[$1 + 20 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28int_20const__29___invoke_std____2__vector_int_2c_20std____2__allocator_int____28char_20const__2c_20void_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28int_20const__29_29($4, $1 + 16 | 0); - $0 = HEAP32[$1 + 64 >> 2]; - HEAP32[$1 + 40 >> 2] = HEAP32[$1 + 68 >> 2]; - HEAP32[$1 + 36 >> 2] = $0; - $0 = HEAP32[$1 + 40 >> 2]; - $2 = HEAP32[$1 + 36 >> 2]; - HEAP32[$1 + 144 >> 2] = $2; - HEAP32[$1 + 148 >> 2] = $0; - $0 = HEAP32[$1 + 144 >> 2]; - $2 = HEAP32[$1 + 148 >> 2]; - HEAP32[$1 + 172 >> 2] = $3; - HEAP32[$1 + 168 >> 2] = 8735; - HEAP32[$1 + 164 >> 2] = $2; - HEAP32[$1 + 160 >> 2] = $0; - $3 = HEAP32[$1 + 172 >> 2]; - $4 = HEAP32[$1 + 168 >> 2]; - $0 = HEAP32[$1 + 160 >> 2]; - HEAP32[$1 + 156 >> 2] = HEAP32[$1 + 164 >> 2]; - HEAP32[$1 + 152 >> 2] = $0; - $2 = HEAP32[$1 + 156 >> 2]; - $0 = HEAP32[$1 + 152 >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 + 12 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_void_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28unsigned_20long_2c_20int_20const__29___invoke_std____2__vector_int_2c_20std____2__allocator_int____28char_20const__2c_20void_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28unsigned_20long_2c_20int_20const__29_29($4, $1 + 8 | 0); - $0 = HEAP32[$1 + 56 >> 2]; - HEAP32[$1 + 32 >> 2] = HEAP32[$1 + 60 >> 2]; - HEAP32[$1 + 28 >> 2] = $0; - $0 = HEAP32[$1 + 32 >> 2]; - $2 = HEAP32[$1 + 28 >> 2]; - HEAP32[$1 + 176 >> 2] = $2; - HEAP32[$1 + 180 >> 2] = $0; - $0 = HEAP32[$1 + 176 >> 2]; - $2 = HEAP32[$1 + 180 >> 2]; - HEAP32[$1 + 204 >> 2] = $3; - HEAP32[$1 + 200 >> 2] = 8763; - HEAP32[$1 + 196 >> 2] = $2; - HEAP32[$1 + 192 >> 2] = $0; - $3 = HEAP32[$1 + 204 >> 2]; - $4 = HEAP32[$1 + 200 >> 2]; - $0 = HEAP32[$1 + 192 >> 2]; - HEAP32[$1 + 188 >> 2] = HEAP32[$1 + 196 >> 2]; - HEAP32[$1 + 184 >> 2] = $0; - $2 = HEAP32[$1 + 188 >> 2]; - $0 = HEAP32[$1 + 184 >> 2]; - HEAP32[$1 >> 2] = $0; - HEAP32[$1 + 4 >> 2] = $2; - void_20emscripten__internal__RegisterClassMethod_unsigned_20long_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28_29_20const___invoke_std____2__vector_int_2c_20std____2__allocator_int____28char_20const__2c_20unsigned_20long_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28_29_20const_29($4, $1); - HEAP32[$1 + 216 >> 2] = $3; - HEAP32[$1 + 212 >> 2] = 3203; - HEAP32[$1 + 208 >> 2] = 428; - $0 = HEAP32[$1 + 216 >> 2]; - void_20emscripten__internal__RegisterClassMethod_emscripten__val_20_28__29_28std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long_29___invoke_std____2__vector_int_2c_20std____2__allocator_int____28char_20const__2c_20emscripten__val_20_28__29_28std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long_29_29(HEAP32[$1 + 212 >> 2], HEAP32[$1 + 208 >> 2]); - HEAP32[$1 + 228 >> 2] = $0; - HEAP32[$1 + 224 >> 2] = 3150; - HEAP32[$1 + 220 >> 2] = 429; - void_20emscripten__internal__RegisterClassMethod_bool_20_28__29_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const__29___invoke_std____2__vector_int_2c_20std____2__allocator_int____28char_20const__2c_20bool_20_28__29_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const__29_29(HEAP32[$1 + 224 >> 2], HEAP32[$1 + 220 >> 2]); - __stack_pointer = $1 + 256 | 0; -} - -function b2ContactSolver__b2ContactSolver_28b2ContactSolverDef__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 80 | 0; - __stack_pointer = $2; - HEAP32[$2 + 72 >> 2] = $0; - HEAP32[$2 + 68 >> 2] = $1; - $4 = HEAP32[$2 + 72 >> 2]; - HEAP32[$2 + 76 >> 2] = $4; - $3 = HEAP32[$2 + 68 >> 2]; - $0 = HEAP32[$3 >> 2]; - $1 = HEAP32[$3 + 4 >> 2]; - HEAP32[$4 >> 2] = $0; - HEAP32[$4 + 4 >> 2] = $1; - $0 = HEAP32[$3 + 20 >> 2]; - $1 = HEAP32[$3 + 16 >> 2]; - HEAP32[$4 + 16 >> 2] = $1; - HEAP32[$4 + 20 >> 2] = $0; - $1 = HEAP32[$3 + 12 >> 2]; - $0 = HEAP32[$3 + 8 >> 2]; - HEAP32[$4 + 8 >> 2] = $0; - HEAP32[$4 + 12 >> 2] = $1; - HEAP32[$4 + 32 >> 2] = HEAP32[HEAP32[$2 + 68 >> 2] + 40 >> 2]; - HEAP32[$4 + 48 >> 2] = HEAP32[HEAP32[$2 + 68 >> 2] + 28 >> 2]; - wasm2js_i32$0 = $4, wasm2js_i32$1 = b2StackAllocator__Allocate_28int_29(HEAP32[$4 + 32 >> 2], Math_imul(HEAP32[$4 + 48 >> 2], 88)), - HEAP32[wasm2js_i32$0 + 36 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $4, wasm2js_i32$1 = b2StackAllocator__Allocate_28int_29(HEAP32[$4 + 32 >> 2], Math_imul(HEAP32[$4 + 48 >> 2], 156)), - HEAP32[wasm2js_i32$0 + 40 >> 2] = wasm2js_i32$1; - HEAP32[$4 + 24 >> 2] = HEAP32[HEAP32[$2 + 68 >> 2] + 32 >> 2]; - HEAP32[$4 + 28 >> 2] = HEAP32[HEAP32[$2 + 68 >> 2] + 36 >> 2]; - HEAP32[$4 + 44 >> 2] = HEAP32[HEAP32[$2 + 68 >> 2] + 24 >> 2]; - HEAP32[$2 + 64 >> 2] = 0; - while (1) { - if (HEAP32[$2 + 64 >> 2] < HEAP32[$4 + 48 >> 2]) { - HEAP32[$2 + 60 >> 2] = HEAP32[HEAP32[$4 + 44 >> 2] + (HEAP32[$2 + 64 >> 2] << 2) >> 2]; - HEAP32[$2 + 56 >> 2] = HEAP32[HEAP32[$2 + 60 >> 2] + 48 >> 2]; - HEAP32[$2 + 52 >> 2] = HEAP32[HEAP32[$2 + 60 >> 2] + 52 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Fixture__GetShape_28_29(HEAP32[$2 + 56 >> 2]), - HEAP32[wasm2js_i32$0 + 48 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Fixture__GetShape_28_29(HEAP32[$2 + 52 >> 2]), - HEAP32[wasm2js_i32$0 + 44 >> 2] = wasm2js_i32$1; - HEAPF32[$2 + 40 >> 2] = HEAPF32[HEAP32[$2 + 48 >> 2] + 8 >> 2]; - HEAPF32[$2 + 36 >> 2] = HEAPF32[HEAP32[$2 + 44 >> 2] + 8 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Fixture__GetBody_28_29(HEAP32[$2 + 56 >> 2]), - HEAP32[wasm2js_i32$0 + 32 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Fixture__GetBody_28_29(HEAP32[$2 + 52 >> 2]), - HEAP32[wasm2js_i32$0 + 28 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Contact__GetManifold_28_29(HEAP32[$2 + 60 >> 2]), - HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; - HEAP32[$2 + 20 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 60 >> 2]; - if (HEAP32[$2 + 20 >> 2] <= 0) { - __assert_fail(12507, 5644, 78, 4011); - wasm2js_trap(); - } else { - HEAP32[$2 + 16 >> 2] = HEAP32[$4 + 40 >> 2] + Math_imul(HEAP32[$2 + 64 >> 2], 156); - HEAPF32[HEAP32[$2 + 16 >> 2] + 136 >> 2] = HEAPF32[HEAP32[$2 + 60 >> 2] + 136 >> 2]; - HEAPF32[HEAP32[$2 + 16 >> 2] + 140 >> 2] = HEAPF32[HEAP32[$2 + 60 >> 2] + 140 >> 2]; - HEAPF32[HEAP32[$2 + 16 >> 2] + 144 >> 2] = HEAPF32[HEAP32[$2 + 60 >> 2] + 144 >> 2]; - HEAP32[HEAP32[$2 + 16 >> 2] + 112 >> 2] = HEAP32[HEAP32[$2 + 32 >> 2] + 8 >> 2]; - HEAP32[HEAP32[$2 + 16 >> 2] + 116 >> 2] = HEAP32[HEAP32[$2 + 28 >> 2] + 8 >> 2]; - HEAPF32[HEAP32[$2 + 16 >> 2] + 120 >> 2] = HEAPF32[HEAP32[$2 + 32 >> 2] + 120 >> 2]; - HEAPF32[HEAP32[$2 + 16 >> 2] + 124 >> 2] = HEAPF32[HEAP32[$2 + 28 >> 2] + 120 >> 2]; - HEAPF32[HEAP32[$2 + 16 >> 2] + 128 >> 2] = HEAPF32[HEAP32[$2 + 32 >> 2] + 128 >> 2]; - HEAPF32[HEAP32[$2 + 16 >> 2] + 132 >> 2] = HEAPF32[HEAP32[$2 + 28 >> 2] + 128 >> 2]; - HEAP32[HEAP32[$2 + 16 >> 2] + 152 >> 2] = HEAP32[$2 + 64 >> 2]; - HEAP32[HEAP32[$2 + 16 >> 2] + 148 >> 2] = HEAP32[$2 + 20 >> 2]; - b2Mat22__SetZero_28_29(HEAP32[$2 + 16 >> 2] + 96 | 0); - b2Mat22__SetZero_28_29(HEAP32[$2 + 16 >> 2] + 80 | 0); - HEAP32[$2 + 12 >> 2] = HEAP32[$4 + 36 >> 2] + Math_imul(HEAP32[$2 + 64 >> 2], 88); - HEAP32[HEAP32[$2 + 12 >> 2] + 32 >> 2] = HEAP32[HEAP32[$2 + 32 >> 2] + 8 >> 2]; - HEAP32[HEAP32[$2 + 12 >> 2] + 36 >> 2] = HEAP32[HEAP32[$2 + 28 >> 2] + 8 >> 2]; - HEAPF32[HEAP32[$2 + 12 >> 2] + 40 >> 2] = HEAPF32[HEAP32[$2 + 32 >> 2] + 120 >> 2]; - HEAPF32[HEAP32[$2 + 12 >> 2] + 44 >> 2] = HEAPF32[HEAP32[$2 + 28 >> 2] + 120 >> 2]; - $3 = HEAP32[$2 + 32 >> 2]; - $1 = HEAP32[$3 + 28 >> 2]; - $0 = HEAP32[$3 + 32 >> 2]; - $3 = $1; - $1 = HEAP32[$2 + 12 >> 2]; - HEAP32[$1 + 48 >> 2] = $3; - HEAP32[$1 + 52 >> 2] = $0; - $3 = HEAP32[$2 + 28 >> 2]; - $0 = HEAP32[$3 + 28 >> 2]; - $1 = HEAP32[$3 + 32 >> 2]; - $3 = $0; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 + 56 >> 2] = $3; - HEAP32[$0 + 60 >> 2] = $1; - HEAPF32[HEAP32[$2 + 12 >> 2] + 64 >> 2] = HEAPF32[HEAP32[$2 + 32 >> 2] + 128 >> 2]; - HEAPF32[HEAP32[$2 + 12 >> 2] + 68 >> 2] = HEAPF32[HEAP32[$2 + 28 >> 2] + 128 >> 2]; - $3 = HEAP32[$2 + 24 >> 2]; - $1 = HEAP32[$3 + 40 >> 2]; - $0 = HEAP32[$3 + 44 >> 2]; - $3 = $1; - $1 = HEAP32[$2 + 12 >> 2]; - HEAP32[$1 + 16 >> 2] = $3; - HEAP32[$1 + 20 >> 2] = $0; - $3 = HEAP32[$2 + 24 >> 2]; - $0 = HEAP32[$3 + 48 >> 2]; - $1 = HEAP32[$3 + 52 >> 2]; - $3 = $0; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 + 24 >> 2] = $3; - HEAP32[$0 + 28 >> 2] = $1; - HEAP32[HEAP32[$2 + 12 >> 2] + 84 >> 2] = HEAP32[$2 + 20 >> 2]; - HEAPF32[HEAP32[$2 + 12 >> 2] + 76 >> 2] = HEAPF32[$2 + 40 >> 2]; - HEAPF32[HEAP32[$2 + 12 >> 2] + 80 >> 2] = HEAPF32[$2 + 36 >> 2]; - HEAP32[HEAP32[$2 + 12 >> 2] + 72 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 56 >> 2]; - HEAP32[$2 + 8 >> 2] = 0; - while (1) { - if (HEAP32[$2 + 8 >> 2] < HEAP32[$2 + 20 >> 2]) { - HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 24 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 20); - HEAP32[$2 >> 2] = HEAP32[$2 + 16 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 36); - label$7: { - if (HEAP8[$4 + 20 | 0] & 1) { - HEAPF32[HEAP32[$2 >> 2] + 16 >> 2] = HEAPF32[$4 + 8 >> 2] * HEAPF32[HEAP32[$2 + 4 >> 2] + 8 >> 2]; - HEAPF32[HEAP32[$2 >> 2] + 20 >> 2] = HEAPF32[$4 + 8 >> 2] * HEAPF32[HEAP32[$2 + 4 >> 2] + 12 >> 2]; - break label$7; - } - HEAPF32[HEAP32[$2 >> 2] + 16 >> 2] = 0; - HEAPF32[HEAP32[$2 >> 2] + 20 >> 2] = 0; - } - b2Vec2__SetZero_28_29(HEAP32[$2 >> 2]); - b2Vec2__SetZero_28_29(HEAP32[$2 >> 2] + 8 | 0); - HEAPF32[HEAP32[$2 >> 2] + 24 >> 2] = 0; - HEAPF32[HEAP32[$2 >> 2] + 28 >> 2] = 0; - HEAPF32[HEAP32[$2 >> 2] + 32 >> 2] = 0; - $3 = HEAP32[$2 + 4 >> 2]; - $1 = HEAP32[$3 >> 2]; - $0 = HEAP32[$3 + 4 >> 2]; - $3 = $1; - $1 = HEAP32[$2 + 12 >> 2] + (HEAP32[$2 + 8 >> 2] << 3) | 0; - HEAP32[$1 >> 2] = $3; - HEAP32[$1 + 4 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = HEAP32[$2 + 8 >> 2] + 1; - continue; - } - break; - } - HEAP32[$2 + 64 >> 2] = HEAP32[$2 + 64 >> 2] + 1; - continue; - } - } - break; - } - __stack_pointer = $2 + 80 | 0; - return HEAP32[$2 + 76 >> 2]; -} - -function b2RopeJoint__InitVelocityConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, $5 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 192 | 0; - __stack_pointer = $2; - HEAP32[$2 + 188 >> 2] = $0; - HEAP32[$2 + 184 >> 2] = $1; - $1 = HEAP32[$2 + 188 >> 2]; - HEAP32[$1 + 96 >> 2] = HEAP32[HEAP32[$1 + 48 >> 2] + 8 >> 2]; - HEAP32[$1 + 100 >> 2] = HEAP32[HEAP32[$1 + 52 >> 2] + 8 >> 2]; - $4 = HEAP32[$1 + 48 >> 2]; - $0 = HEAP32[$4 + 28 >> 2]; - $3 = HEAP32[$4 + 32 >> 2]; - HEAP32[$1 + 128 >> 2] = $0; - HEAP32[$1 + 132 >> 2] = $3; - $4 = HEAP32[$1 + 52 >> 2]; - $3 = HEAP32[$4 + 28 >> 2]; - $0 = HEAP32[$4 + 32 >> 2]; - HEAP32[$1 + 136 >> 2] = $3; - HEAP32[$1 + 140 >> 2] = $0; - HEAPF32[$1 + 144 >> 2] = HEAPF32[HEAP32[$1 + 48 >> 2] + 120 >> 2]; - HEAPF32[$1 + 148 >> 2] = HEAPF32[HEAP32[$1 + 52 >> 2] + 120 >> 2]; - HEAPF32[$1 + 152 >> 2] = HEAPF32[HEAP32[$1 + 48 >> 2] + 128 >> 2]; - HEAPF32[$1 + 156 >> 2] = HEAPF32[HEAP32[$1 + 52 >> 2] + 128 >> 2]; - $4 = HEAP32[HEAP32[$2 + 184 >> 2] + 24 >> 2] + Math_imul(HEAP32[$1 + 96 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $3 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 176 >> 2] = $0; - HEAP32[$2 + 180 >> 2] = $3; - HEAPF32[$2 + 172 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 184 >> 2] + 24 >> 2] + Math_imul(HEAP32[$1 + 96 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 184 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 96 >> 2], 12) | 0; - $3 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 160 >> 2] = $3; - HEAP32[$2 + 164 >> 2] = $0; - HEAPF32[$2 + 156 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 184 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 96 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 184 >> 2] + 24 >> 2] + Math_imul(HEAP32[$1 + 100 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $3 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 144 >> 2] = $0; - HEAP32[$2 + 148 >> 2] = $3; - HEAPF32[$2 + 140 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 184 >> 2] + 24 >> 2] + Math_imul(HEAP32[$1 + 100 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 184 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 100 >> 2], 12) | 0; - $3 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 128 >> 2] = $3; - HEAP32[$2 + 132 >> 2] = $0; - HEAPF32[$2 + 124 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 184 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 100 >> 2], 12) | 0) + 8 >> 2]; - b2Rot__b2Rot_28float_29($2 + 116 | 0, HEAPF32[$2 + 172 >> 2]); - b2Rot__b2Rot_28float_29($2 + 108 | 0, HEAPF32[$2 + 140 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 92 | 0, $1 + 68 | 0, $1 + 128 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 100 | 0, $2 + 116 | 0, $2 + 92 | 0); - $3 = HEAP32[$2 + 104 >> 2]; - $0 = HEAP32[$2 + 100 >> 2]; - HEAP32[$1 + 112 >> 2] = $0; - HEAP32[$1 + 116 >> 2] = $3; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 76 | 0, $1 + 76 | 0, $1 + 136 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 84 | 0, $2 + 108 | 0, $2 + 76 | 0); - $0 = HEAP32[$2 + 88 >> 2]; - $3 = HEAP32[$2 + 84 >> 2]; - HEAP32[$1 + 120 >> 2] = $3; - HEAP32[$1 + 124 >> 2] = $0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 52 | 0, $2 + 144 | 0, $1 + 120 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 60 | 0, $2 + 52 | 0, $2 + 176 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 68 | 0, $2 + 60 | 0, $1 + 112 | 0); - $3 = HEAP32[$2 + 72 >> 2]; - $0 = HEAP32[$2 + 68 >> 2]; - HEAP32[$1 + 104 >> 2] = $0; - HEAP32[$1 + 108 >> 2] = $3; - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Vec2__Length_28_29_20const($1 + 104 | 0), - HEAPF32[wasm2js_i32$0 + 88 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 48 >> 2] = HEAPF32[$1 + 88 >> 2] - HEAPF32[$1 + 84 >> 2]; - label$1: { - if (HEAPF32[$2 + 48 >> 2] > Math_fround(0)) { - HEAP32[$1 + 164 >> 2] = 2; - break label$1; - } - HEAP32[$1 + 164 >> 2] = 0; - } - label$3: { - label$4: { - if (HEAPF32[$1 + 88 >> 2] > Math_fround(.004999999888241291)) { - b2Vec2__operator___28float_29($1 + 104 | 0, Math_fround(Math_fround(1) / HEAPF32[$1 + 88 >> 2])); - break label$4; - } - b2Vec2__SetZero_28_29($1 + 104 | 0); - HEAPF32[$1 + 160 >> 2] = 0; - HEAPF32[$1 + 92 >> 2] = 0; - break label$3; - } - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 112 | 0, $1 + 104 | 0), - HEAPF32[wasm2js_i32$0 + 44 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 120 | 0, $1 + 104 | 0), - HEAPF32[wasm2js_i32$0 + 40 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 36 >> 2] = Math_fround(Math_fround(HEAPF32[$1 + 156 >> 2] * HEAPF32[$2 + 40 >> 2]) * HEAPF32[$2 + 40 >> 2]) + Math_fround(Math_fround(Math_fround(Math_fround(HEAPF32[$1 + 152 >> 2] * HEAPF32[$2 + 44 >> 2]) * HEAPF32[$2 + 44 >> 2]) + HEAPF32[$1 + 144 >> 2]) + HEAPF32[$1 + 148 >> 2]); - if (HEAPF32[$2 + 36 >> 2] != Math_fround(0)) { - $5 = Math_fround(Math_fround(1) / HEAPF32[$2 + 36 >> 2]); - } else { - $5 = Math_fround(0); - } - HEAPF32[$1 + 160 >> 2] = $5; - label$8: { - if (HEAP8[HEAP32[$2 + 184 >> 2] + 20 | 0] & 1) { - HEAPF32[$1 + 92 >> 2] = HEAPF32[$1 + 92 >> 2] * HEAPF32[HEAP32[$2 + 184 >> 2] + 8 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 28 | 0, HEAPF32[$1 + 92 >> 2], $1 + 104 | 0); - operator__28float_2c_20b2Vec2_20const__29($2 + 20 | 0, HEAPF32[$1 + 144 >> 2], $2 + 28 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 160 | 0, $2 + 20 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$1 + 152 >> 2]) * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 112 | 0, $2 + 28 | 0)) + HEAPF32[$2 + 156 >> 2]), - HEAPF32[wasm2js_i32$0 + 156 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($2 + 12 | 0, HEAPF32[$1 + 148 >> 2], $2 + 28 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 128 | 0, $2 + 12 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$1 + 156 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 120 | 0, $2 + 28 | 0)) + HEAPF32[$2 + 124 >> 2]), - HEAPF32[wasm2js_i32$0 + 124 >> 2] = wasm2js_f32$0; - break label$8; - } - HEAPF32[$1 + 92 >> 2] = 0; - } - $0 = HEAP32[$2 + 164 >> 2]; - $3 = HEAP32[$2 + 160 >> 2]; - $4 = $3; - $3 = HEAP32[HEAP32[$2 + 184 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 96 >> 2], 12) | 0; - HEAP32[$3 >> 2] = $4; - HEAP32[$3 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 184 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 96 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 156 >> 2]; - $3 = HEAP32[$2 + 132 >> 2]; - $0 = HEAP32[$2 + 128 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 184 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 100 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $3; - HEAPF32[(HEAP32[HEAP32[$2 + 184 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 100 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 124 >> 2]; - } - __stack_pointer = $2 + 192 | 0; -} - -function b2PolygonShape__Set_28b2Vec2_20const__2c_20int_29($0, $1, $2) { - var $3 = 0, $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_f32$0 = Math_fround(0); - $3 = __stack_pointer - 240 | 0; - __stack_pointer = $3; - HEAP32[$3 + 236 >> 2] = $0; - HEAP32[$3 + 232 >> 2] = $1; - HEAP32[$3 + 228 >> 2] = $2; - $4 = HEAP32[$3 + 236 >> 2]; - if (!(HEAP32[$3 + 228 >> 2] <= 8 & HEAP32[$3 + 228 >> 2] >= 3)) { - __assert_fail(12223, 5849, 128, 3219); - wasm2js_trap(); - } - label$3: { - if (HEAP32[$3 + 228 >> 2] < 3) { - b2PolygonShape__SetAsBox_28float_2c_20float_29($4, Math_fround(1), Math_fround(1)); - break label$3; - } - wasm2js_i32$0 = $3, wasm2js_i32$1 = int_20b2Min_int__28int_2c_20int_29(HEAP32[$3 + 228 >> 2], 8), - HEAP32[wasm2js_i32$0 + 224 >> 2] = wasm2js_i32$1; - $0 = $3 + 160 | 0; - $1 = $0 - -64 | 0; - while (1) { - b2Vec2__b2Vec2_28_29($0); - $0 = $0 + 8 | 0; - if (($1 | 0) != ($0 | 0)) { - continue; - } - break; - } - HEAP32[$3 + 156 >> 2] = 0; - HEAP32[$3 + 152 >> 2] = 0; - while (1) { - if (HEAP32[$3 + 152 >> 2] < HEAP32[$3 + 224 >> 2]) { - $1 = HEAP32[$3 + 232 >> 2] + (HEAP32[$3 + 152 >> 2] << 3) | 0; - $0 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$3 + 144 >> 2] = $0; - HEAP32[$3 + 148 >> 2] = $1; - HEAP8[$3 + 143 | 0] = 1; - HEAP32[$3 + 136 >> 2] = 0; - while (1) { - if (HEAP32[$3 + 136 >> 2] < HEAP32[$3 + 156 >> 2]) { - if (b2DistanceSquared_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 144 | 0, ($3 + 160 | 0) + (HEAP32[$3 + 136 >> 2] << 3) | 0) < Math_fround(624999984211172e-20)) { - HEAP8[$3 + 143 | 0] = 0; - } else { - HEAP32[$3 + 136 >> 2] = HEAP32[$3 + 136 >> 2] + 1; - continue; - } - } - break; - } - if (HEAP8[$3 + 143 | 0] & 1) { - $5 = HEAP32[$3 + 156 >> 2]; - HEAP32[$3 + 156 >> 2] = $5 + 1; - $0 = HEAP32[$3 + 148 >> 2]; - $1 = HEAP32[$3 + 144 >> 2]; - $2 = $1; - $1 = ($3 + 160 | 0) + ($5 << 3) | 0; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - } - HEAP32[$3 + 152 >> 2] = HEAP32[$3 + 152 >> 2] + 1; - continue; - } - break; - } - HEAP32[$3 + 224 >> 2] = HEAP32[$3 + 156 >> 2]; - if (HEAP32[$3 + 224 >> 2] < 3) { - __assert_fail(9386, 5849, 164, 3219); - wasm2js_trap(); - } - HEAP32[$3 + 132 >> 2] = 0; - HEAPF32[$3 + 128 >> 2] = HEAPF32[$3 + 160 >> 2]; - HEAP32[$3 + 124 >> 2] = 1; - while (1) { - if (HEAP32[$3 + 124 >> 2] < HEAP32[$3 + 224 >> 2]) { - HEAPF32[$3 + 120 >> 2] = HEAPF32[($3 + 160 | 0) + (HEAP32[$3 + 124 >> 2] << 3) >> 2]; - if (!(!(HEAPF32[$3 + 120 >> 2] > HEAPF32[$3 + 128 >> 2]) & (!(HEAPF32[(($3 + 160 | 0) + (HEAP32[$3 + 124 >> 2] << 3) | 0) + 4 >> 2] < HEAPF32[(($3 + 160 | 0) + (HEAP32[$3 + 132 >> 2] << 3) | 0) + 4 >> 2]) | HEAPF32[$3 + 120 >> 2] != HEAPF32[$3 + 128 >> 2]))) { - HEAP32[$3 + 132 >> 2] = HEAP32[$3 + 124 >> 2]; - HEAPF32[$3 + 128 >> 2] = HEAPF32[$3 + 120 >> 2]; - } - HEAP32[$3 + 124 >> 2] = HEAP32[$3 + 124 >> 2] + 1; - continue; - } - break; - } - HEAP32[$3 + 76 >> 2] = 0; - HEAP32[$3 + 72 >> 2] = HEAP32[$3 + 132 >> 2]; - while (1) { - if (HEAP32[$3 + 76 >> 2] >= 8) { - __assert_fail(12265, 5849, 191, 3219); - wasm2js_trap(); - } - HEAP32[($3 + 80 | 0) + (HEAP32[$3 + 76 >> 2] << 2) >> 2] = HEAP32[$3 + 72 >> 2]; - HEAP32[$3 + 68 >> 2] = 0; - HEAP32[$3 + 64 >> 2] = 1; - while (1) { - if (HEAP32[$3 + 64 >> 2] < HEAP32[$3 + 224 >> 2]) { - label$22: { - if (HEAP32[$3 + 68 >> 2] == HEAP32[$3 + 72 >> 2]) { - HEAP32[$3 + 68 >> 2] = HEAP32[$3 + 64 >> 2]; - break label$22; - } - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 56 | 0, ($3 + 160 | 0) + (HEAP32[$3 + 68 >> 2] << 3) | 0, ($3 + 160 | 0) + (HEAP32[($3 + 80 | 0) + (HEAP32[$3 + 76 >> 2] << 2) >> 2] << 3) | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 48 | 0, ($3 + 160 | 0) + (HEAP32[$3 + 64 >> 2] << 3) | 0, ($3 + 160 | 0) + (HEAP32[($3 + 80 | 0) + (HEAP32[$3 + 76 >> 2] << 2) >> 2] << 3) | 0); - wasm2js_i32$0 = $3, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 56 | 0, $3 + 48 | 0), - HEAPF32[wasm2js_i32$0 + 44 >> 2] = wasm2js_f32$0; - if (HEAPF32[$3 + 44 >> 2] < Math_fround(0)) { - HEAP32[$3 + 68 >> 2] = HEAP32[$3 + 64 >> 2]; - } - label$25: { - if (HEAPF32[$3 + 44 >> 2] != Math_fround(0)) { - break label$25; - } - if (!(b2Vec2__LengthSquared_28_29_20const($3 + 48 | 0) > b2Vec2__LengthSquared_28_29_20const($3 + 56 | 0))) { - break label$25; - } - HEAP32[$3 + 68 >> 2] = HEAP32[$3 + 64 >> 2]; - } - } - HEAP32[$3 + 64 >> 2] = HEAP32[$3 + 64 >> 2] + 1; - continue; - } - break; - } - HEAP32[$3 + 76 >> 2] = HEAP32[$3 + 76 >> 2] + 1; - HEAP32[$3 + 72 >> 2] = HEAP32[$3 + 68 >> 2]; - if (HEAP32[$3 + 68 >> 2] != HEAP32[$3 + 132 >> 2]) { - continue; - } - break; - } - if (HEAP32[$3 + 76 >> 2] < 3) { - __assert_fail(9386, 5849, 230, 3219); - wasm2js_trap(); - } - HEAP32[$4 + 148 >> 2] = HEAP32[$3 + 76 >> 2]; - HEAP32[$3 + 40 >> 2] = 0; - while (1) { - if (HEAP32[$3 + 40 >> 2] < HEAP32[$3 + 76 >> 2]) { - $1 = ($3 + 160 | 0) + (HEAP32[($3 + 80 | 0) + (HEAP32[$3 + 40 >> 2] << 2) >> 2] << 3) | 0; - $0 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - $2 = $0; - $0 = ($4 + 20 | 0) + (HEAP32[$3 + 40 >> 2] << 3) | 0; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $1; - HEAP32[$3 + 40 >> 2] = HEAP32[$3 + 40 >> 2] + 1; - continue; - } - break; - } - HEAP32[$3 + 36 >> 2] = 0; - while (1) { - if (HEAP32[$3 + 36 >> 2] < HEAP32[$3 + 76 >> 2]) { - HEAP32[$3 + 32 >> 2] = HEAP32[$3 + 36 >> 2]; - if (HEAP32[$3 + 76 >> 2] > (HEAP32[$3 + 36 >> 2] + 1 | 0)) { - $0 = HEAP32[$3 + 36 >> 2] + 1 | 0; - } else { - $0 = 0; - } - HEAP32[$3 + 28 >> 2] = $0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 20 | 0, ($4 + 20 | 0) + (HEAP32[$3 + 28 >> 2] << 3) | 0, ($4 + 20 | 0) + (HEAP32[$3 + 32 >> 2] << 3) | 0); - if (b2Vec2__LengthSquared_28_29_20const($3 + 20 | 0) > Math_fround(14210854715202004e-30)) { - b2Cross_28b2Vec2_20const__2c_20float_29($3 + 12 | 0, $3 + 20 | 0, Math_fround(1)); - $0 = HEAP32[$3 + 16 >> 2]; - $1 = HEAP32[$3 + 12 >> 2]; - $2 = $1; - $1 = ($4 + 84 | 0) + (HEAP32[$3 + 36 >> 2] << 3) | 0; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - b2Vec2__Normalize_28_29(($4 + 84 | 0) + (HEAP32[$3 + 36 >> 2] << 3) | 0); - HEAP32[$3 + 36 >> 2] = HEAP32[$3 + 36 >> 2] + 1; - continue; - } else { - __assert_fail(11189, 5849, 249, 3219); - wasm2js_trap(); - } - } - break; - } - ComputeCentroid_28b2Vec2_20const__2c_20int_29($3 + 4 | 0, $4 + 20 | 0, HEAP32[$3 + 76 >> 2]); - $1 = HEAP32[$3 + 8 >> 2]; - $0 = HEAP32[$3 + 4 >> 2]; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 16 >> 2] = $1; - } - __stack_pointer = $3 + 240 | 0; -} - -function b2WorldManifold__Initialize_28b2Manifold_20const__2c_20b2Transform_20const__2c_20float_2c_20b2Transform_20const__2c_20float_29($0, $1, $2, $3, $4, $5) { - var $6 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $6 = __stack_pointer - 304 | 0; - __stack_pointer = $6; - HEAP32[$6 + 300 >> 2] = $0; - HEAP32[$6 + 296 >> 2] = $1; - HEAP32[$6 + 292 >> 2] = $2; - HEAPF32[$6 + 288 >> 2] = $3; - HEAP32[$6 + 284 >> 2] = $4; - HEAPF32[$6 + 280 >> 2] = $5; - $1 = HEAP32[$6 + 300 >> 2]; - label$1: { - if (!HEAP32[HEAP32[$6 + 296 >> 2] + 60 >> 2]) { - break label$1; - } - label$2: { - switch (HEAP32[HEAP32[$6 + 296 >> 2] + 56 >> 2]) { - case 0: - b2Vec2__Set_28float_2c_20float_29($1, Math_fround(1), Math_fround(0)); - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($6 + 272 | 0, HEAP32[$6 + 292 >> 2], HEAP32[$6 + 296 >> 2] + 48 | 0); - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($6 + 264 | 0, HEAP32[$6 + 284 >> 2], HEAP32[$6 + 296 >> 2]); - if (b2DistanceSquared_28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 272 | 0, $6 + 264 | 0) > Math_fround(14210854715202004e-30)) { - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 256 | 0, $6 + 264 | 0, $6 + 272 | 0); - $2 = HEAP32[$6 + 260 >> 2]; - $0 = HEAP32[$6 + 256 >> 2]; - HEAP32[$1 >> 2] = $0; - HEAP32[$1 + 4 >> 2] = $2; - b2Vec2__Normalize_28_29($1); - } - operator__28float_2c_20b2Vec2_20const__29($6 + 240 | 0, HEAPF32[$6 + 288 >> 2], $1); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($6 + 248 | 0, $6 + 272 | 0, $6 + 240 | 0); - operator__28float_2c_20b2Vec2_20const__29($6 + 224 | 0, HEAPF32[$6 + 280 >> 2], $1); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 232 | 0, $6 + 264 | 0, $6 + 224 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($6 + 208 | 0, $6 + 248 | 0, $6 + 232 | 0); - operator__28float_2c_20b2Vec2_20const__29($6 + 216 | 0, Math_fround(.5), $6 + 208 | 0); - $0 = HEAP32[$6 + 220 >> 2]; - $2 = HEAP32[$6 + 216 >> 2]; - HEAP32[$1 + 8 >> 2] = $2; - HEAP32[$1 + 12 >> 2] = $0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 200 | 0, $6 + 232 | 0, $6 + 248 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 200 | 0, $1), - HEAPF32[wasm2js_i32$0 + 24 >> 2] = wasm2js_f32$0; - break label$1; - - case 1: - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($6 + 192 | 0, HEAP32[$6 + 292 >> 2] + 8 | 0, HEAP32[$6 + 296 >> 2] + 40 | 0); - $2 = HEAP32[$6 + 196 >> 2]; - $0 = HEAP32[$6 + 192 >> 2]; - HEAP32[$1 >> 2] = $0; - HEAP32[$1 + 4 >> 2] = $2; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($6 + 184 | 0, HEAP32[$6 + 292 >> 2], HEAP32[$6 + 296 >> 2] + 48 | 0); - HEAP32[$6 + 180 >> 2] = 0; - while (1) { - if (HEAP32[$6 + 180 >> 2] < HEAP32[HEAP32[$6 + 296 >> 2] + 60 >> 2]) { - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($6 + 172 | 0, HEAP32[$6 + 284 >> 2], HEAP32[$6 + 296 >> 2] + Math_imul(HEAP32[$6 + 180 >> 2], 20) | 0); - $3 = HEAPF32[$6 + 288 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 148 | 0, $6 + 172 | 0, $6 + 184 | 0); - operator__28float_2c_20b2Vec2_20const__29($6 + 156 | 0, Math_fround($3 - b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 148 | 0, $1)), $1); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($6 + 164 | 0, $6 + 172 | 0, $6 + 156 | 0); - operator__28float_2c_20b2Vec2_20const__29($6 + 132 | 0, HEAPF32[$6 + 280 >> 2], $1); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 140 | 0, $6 + 172 | 0, $6 + 132 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($6 + 116 | 0, $6 + 164 | 0, $6 + 140 | 0); - operator__28float_2c_20b2Vec2_20const__29($6 + 124 | 0, Math_fround(.5), $6 + 116 | 0); - $0 = HEAP32[$6 + 128 >> 2]; - $2 = HEAP32[$6 + 124 >> 2]; - $4 = $2; - $2 = ($1 + 8 | 0) + (HEAP32[$6 + 180 >> 2] << 3) | 0; - HEAP32[$2 >> 2] = $4; - HEAP32[$2 + 4 >> 2] = $0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 108 | 0, $6 + 140 | 0, $6 + 164 | 0); - $3 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 108 | 0, $1); - HEAPF32[($1 + 24 | 0) + (HEAP32[$6 + 180 >> 2] << 2) >> 2] = $3; - HEAP32[$6 + 180 >> 2] = HEAP32[$6 + 180 >> 2] + 1; - continue; - } - break; - } - ; - break label$1; - - case 2: - break label$2; - - default: - break label$1; - } - } - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($6 + 100 | 0, HEAP32[$6 + 284 >> 2] + 8 | 0, HEAP32[$6 + 296 >> 2] + 40 | 0); - $2 = HEAP32[$6 + 104 >> 2]; - $0 = HEAP32[$6 + 100 >> 2]; - HEAP32[$1 >> 2] = $0; - HEAP32[$1 + 4 >> 2] = $2; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($6 + 92 | 0, HEAP32[$6 + 284 >> 2], HEAP32[$6 + 296 >> 2] + 48 | 0); - HEAP32[$6 + 88 >> 2] = 0; - while (1) { - if (HEAP32[$6 + 88 >> 2] < HEAP32[HEAP32[$6 + 296 >> 2] + 60 >> 2]) { - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($6 + 80 | 0, HEAP32[$6 + 292 >> 2], HEAP32[$6 + 296 >> 2] + Math_imul(HEAP32[$6 + 88 >> 2], 20) | 0); - $3 = HEAPF32[$6 + 280 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 56 | 0, $6 + 80 | 0, $6 + 92 | 0); - operator__28float_2c_20b2Vec2_20const__29($6 - -64 | 0, Math_fround($3 - b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 56 | 0, $1)), $1); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($6 + 72 | 0, $6 + 80 | 0, $6 - -64 | 0); - operator__28float_2c_20b2Vec2_20const__29($6 + 40 | 0, HEAPF32[$6 + 288 >> 2], $1); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 48 | 0, $6 + 80 | 0, $6 + 40 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($6 + 24 | 0, $6 + 48 | 0, $6 + 72 | 0); - operator__28float_2c_20b2Vec2_20const__29($6 + 32 | 0, Math_fround(.5), $6 + 24 | 0); - $0 = HEAP32[$6 + 36 >> 2]; - $2 = HEAP32[$6 + 32 >> 2]; - $4 = $2; - $2 = ($1 + 8 | 0) + (HEAP32[$6 + 88 >> 2] << 3) | 0; - HEAP32[$2 >> 2] = $4; - HEAP32[$2 + 4 >> 2] = $0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 16 | 0, $6 + 48 | 0, $6 + 72 | 0); - $3 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 16 | 0, $1); - HEAPF32[($1 + 24 | 0) + (HEAP32[$6 + 88 >> 2] << 2) >> 2] = $3; - HEAP32[$6 + 88 >> 2] = HEAP32[$6 + 88 >> 2] + 1; - continue; - } - break; - } - b2Vec2__operator__28_29_20const($6 + 8 | 0, $1); - $2 = HEAP32[$6 + 12 >> 2]; - $0 = HEAP32[$6 + 8 >> 2]; - HEAP32[$1 >> 2] = $0; - HEAP32[$1 + 4 >> 2] = $2; - } - __stack_pointer = $6 + 304 | 0; -} - -function b2FrictionJoint__InitVelocityConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 176 | 0; - __stack_pointer = $2; - HEAP32[$2 + 172 >> 2] = $0; - HEAP32[$2 + 168 >> 2] = $1; - $1 = HEAP32[$2 + 172 >> 2]; - HEAP32[$1 + 104 >> 2] = HEAP32[HEAP32[$1 + 48 >> 2] + 8 >> 2]; - HEAP32[$1 + 108 >> 2] = HEAP32[HEAP32[$1 + 52 >> 2] + 8 >> 2]; - $4 = HEAP32[$1 + 48 >> 2]; - $3 = HEAP32[$4 + 28 >> 2]; - $0 = HEAP32[$4 + 32 >> 2]; - HEAP32[$1 + 128 >> 2] = $3; - HEAP32[$1 + 132 >> 2] = $0; - $4 = HEAP32[$1 + 52 >> 2]; - $0 = HEAP32[$4 + 28 >> 2]; - $3 = HEAP32[$4 + 32 >> 2]; - HEAP32[$1 + 136 >> 2] = $0; - HEAP32[$1 + 140 >> 2] = $3; - HEAPF32[$1 + 144 >> 2] = HEAPF32[HEAP32[$1 + 48 >> 2] + 120 >> 2]; - HEAPF32[$1 + 148 >> 2] = HEAPF32[HEAP32[$1 + 52 >> 2] + 120 >> 2]; - HEAPF32[$1 + 152 >> 2] = HEAPF32[HEAP32[$1 + 48 >> 2] + 128 >> 2]; - HEAPF32[$1 + 156 >> 2] = HEAPF32[HEAP32[$1 + 52 >> 2] + 128 >> 2]; - HEAPF32[$2 + 164 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 168 >> 2] + 24 >> 2] + Math_imul(HEAP32[$1 + 104 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 104 >> 2], 12) | 0; - $3 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 152 >> 2] = $3; - HEAP32[$2 + 156 >> 2] = $0; - HEAPF32[$2 + 148 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 104 >> 2], 12) | 0) + 8 >> 2]; - HEAPF32[$2 + 144 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 168 >> 2] + 24 >> 2] + Math_imul(HEAP32[$1 + 108 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 108 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $3 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 136 >> 2] = $0; - HEAP32[$2 + 140 >> 2] = $3; - HEAPF32[$2 + 132 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 108 >> 2], 12) | 0) + 8 >> 2]; - b2Rot__b2Rot_28float_29($2 + 124 | 0, HEAPF32[$2 + 164 >> 2]); - b2Rot__b2Rot_28float_29($2 + 116 | 0, HEAPF32[$2 + 144 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 100 | 0, $1 + 68 | 0, $1 + 128 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 108 | 0, $2 + 124 | 0, $2 + 100 | 0); - $0 = HEAP32[$2 + 112 >> 2]; - $3 = HEAP32[$2 + 108 >> 2]; - HEAP32[$1 + 112 >> 2] = $3; - HEAP32[$1 + 116 >> 2] = $0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 84 | 0, $1 + 76 | 0, $1 + 136 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 92 | 0, $2 + 116 | 0, $2 + 84 | 0); - $3 = HEAP32[$2 + 96 >> 2]; - $0 = HEAP32[$2 + 92 >> 2]; - HEAP32[$1 + 120 >> 2] = $0; - HEAP32[$1 + 124 >> 2] = $3; - HEAPF32[$2 + 80 >> 2] = HEAPF32[$1 + 144 >> 2]; - HEAPF32[$2 + 76 >> 2] = HEAPF32[$1 + 148 >> 2]; - HEAPF32[$2 + 72 >> 2] = HEAPF32[$1 + 152 >> 2]; - HEAPF32[$2 + 68 >> 2] = HEAPF32[$1 + 156 >> 2]; - b2Mat22__b2Mat22_28_29($2 + 52 | 0); - HEAPF32[$2 + 52 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 68 >> 2] * HEAPF32[$1 + 124 >> 2]) * HEAPF32[$1 + 124 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 72 >> 2] * HEAPF32[$1 + 116 >> 2]) * HEAPF32[$1 + 116 >> 2]) + Math_fround(HEAPF32[$2 + 80 >> 2] + HEAPF32[$2 + 76 >> 2])); - HEAPF32[$2 + 56 >> 2] = Math_fround(Math_fround(Math_fround(-HEAPF32[$2 + 72 >> 2]) * HEAPF32[$1 + 112 >> 2]) * HEAPF32[$1 + 116 >> 2]) - Math_fround(Math_fround(HEAPF32[$2 + 68 >> 2] * HEAPF32[$1 + 120 >> 2]) * HEAPF32[$1 + 124 >> 2]); - HEAPF32[$2 + 60 >> 2] = HEAPF32[$2 + 56 >> 2]; - HEAPF32[$2 + 64 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 68 >> 2] * HEAPF32[$1 + 120 >> 2]) * HEAPF32[$1 + 120 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$2 + 72 >> 2] * HEAPF32[$1 + 112 >> 2]) * HEAPF32[$1 + 112 >> 2]) + Math_fround(HEAPF32[$2 + 80 >> 2] + HEAPF32[$2 + 76 >> 2])); - b2Mat22__GetInverse_28_29_20const($2 + 36 | 0, $2 + 52 | 0); - $0 = HEAP32[$2 + 40 >> 2]; - $3 = HEAP32[$2 + 36 >> 2]; - HEAP32[$1 + 160 >> 2] = $3; - HEAP32[$1 + 164 >> 2] = $0; - $3 = HEAP32[$2 + 48 >> 2]; - $0 = HEAP32[$2 + 44 >> 2]; - HEAP32[$1 + 168 >> 2] = $0; - HEAP32[$1 + 172 >> 2] = $3; - HEAPF32[$1 + 176 >> 2] = HEAPF32[$2 + 72 >> 2] + HEAPF32[$2 + 68 >> 2]; - if (HEAPF32[$1 + 176 >> 2] > Math_fround(0)) { - HEAPF32[$1 + 176 >> 2] = Math_fround(1) / HEAPF32[$1 + 176 >> 2]; - } - label$2: { - if (HEAP8[HEAP32[$2 + 168 >> 2] + 20 | 0] & 1) { - b2Vec2__operator___28float_29($1 + 84 | 0, HEAPF32[HEAP32[$2 + 168 >> 2] + 8 >> 2]); - HEAPF32[$1 + 92 >> 2] = HEAPF32[$1 + 92 >> 2] * HEAPF32[HEAP32[$2 + 168 >> 2] + 8 >> 2]; - b2Vec2__b2Vec2_28float_2c_20float_29($2 + 28 | 0, HEAPF32[$1 + 84 >> 2], HEAPF32[$1 + 88 >> 2]); - operator__28float_2c_20b2Vec2_20const__29($2 + 20 | 0, HEAPF32[$2 + 80 >> 2], $2 + 28 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 152 | 0, $2 + 20 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$2 + 72 >> 2]) * Math_fround(b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 112 | 0, $2 + 28 | 0) + HEAPF32[$1 + 92 >> 2])) + HEAPF32[$2 + 148 >> 2]), - HEAPF32[wasm2js_i32$0 + 148 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($2 + 12 | 0, HEAPF32[$2 + 76 >> 2], $2 + 28 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 136 | 0, $2 + 12 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$2 + 68 >> 2] * Math_fround(b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 120 | 0, $2 + 28 | 0) + HEAPF32[$1 + 92 >> 2])) + HEAPF32[$2 + 132 >> 2]), - HEAPF32[wasm2js_i32$0 + 132 >> 2] = wasm2js_f32$0; - break label$2; - } - b2Vec2__SetZero_28_29($1 + 84 | 0); - HEAPF32[$1 + 92 >> 2] = 0; - } - $0 = HEAP32[$2 + 156 >> 2]; - $3 = HEAP32[$2 + 152 >> 2]; - $4 = $3; - $3 = HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 104 >> 2], 12) | 0; - HEAP32[$3 >> 2] = $4; - HEAP32[$3 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 104 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 148 >> 2]; - $3 = HEAP32[$2 + 140 >> 2]; - $0 = HEAP32[$2 + 136 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 108 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $3; - HEAPF32[(HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 108 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 132 >> 2]; - __stack_pointer = $2 + 176 | 0; -} - -function b2WeldJoint__SolveVelocityConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 256 | 0; - __stack_pointer = $2; - HEAP32[$2 + 252 >> 2] = $0; - HEAP32[$2 + 248 >> 2] = $1; - $3 = HEAP32[$2 + 252 >> 2]; - $4 = HEAP32[HEAP32[$2 + 248 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 116 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 240 >> 2] = $0; - HEAP32[$2 + 244 >> 2] = $1; - HEAPF32[$2 + 236 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 248 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 116 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 248 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 120 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 224 >> 2] = $1; - HEAP32[$2 + 228 >> 2] = $0; - HEAPF32[$2 + 220 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 248 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 120 >> 2], 12) | 0) + 8 >> 2]; - HEAPF32[$2 + 216 >> 2] = HEAPF32[$3 + 156 >> 2]; - HEAPF32[$2 + 212 >> 2] = HEAPF32[$3 + 160 >> 2]; - HEAPF32[$2 + 208 >> 2] = HEAPF32[$3 + 164 >> 2]; - HEAPF32[$2 + 204 >> 2] = HEAPF32[$3 + 168 >> 2]; - label$1: { - if (HEAPF32[$3 + 68 >> 2] > Math_fround(0)) { - HEAPF32[$2 + 200 >> 2] = HEAPF32[$2 + 220 >> 2] - HEAPF32[$2 + 236 >> 2]; - HEAPF32[$2 + 196 >> 2] = Math_fround(-HEAPF32[$3 + 204 >> 2]) * Math_fround(Math_fround(HEAPF32[$3 + 100 >> 2] * HEAPF32[$3 + 112 >> 2]) + Math_fround(HEAPF32[$2 + 200 >> 2] + HEAPF32[$3 + 76 >> 2])); - HEAPF32[$3 + 112 >> 2] = HEAPF32[$3 + 112 >> 2] + HEAPF32[$2 + 196 >> 2]; - HEAPF32[$2 + 236 >> 2] = Math_fround(Math_fround(-HEAPF32[$2 + 208 >> 2]) * HEAPF32[$2 + 196 >> 2]) + HEAPF32[$2 + 236 >> 2]; - HEAPF32[$2 + 220 >> 2] = Math_fround(HEAPF32[$2 + 204 >> 2] * HEAPF32[$2 + 196 >> 2]) + HEAPF32[$2 + 220 >> 2]; - b2Cross_28float_2c_20b2Vec2_20const__29($2 + 164 | 0, HEAPF32[$2 + 220 >> 2], $3 + 132 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 172 | 0, $2 + 224 | 0, $2 + 164 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 180 | 0, $2 + 172 | 0, $2 + 240 | 0); - b2Cross_28float_2c_20b2Vec2_20const__29($2 + 156 | 0, HEAPF32[$2 + 236 >> 2], $3 + 124 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 188 | 0, $2 + 180 | 0, $2 + 156 | 0); - b2Mul22_28b2Mat33_20const__2c_20b2Vec2_20const__29($2 + 140 | 0, $3 + 172 | 0, $2 + 188 | 0); - b2Vec2__operator__28_29_20const($2 + 148 | 0, $2 + 140 | 0); - HEAPF32[$3 + 104 >> 2] = HEAPF32[$3 + 104 >> 2] + HEAPF32[$2 + 148 >> 2]; - HEAPF32[$3 + 108 >> 2] = HEAPF32[$3 + 108 >> 2] + HEAPF32[$2 + 152 >> 2]; - $1 = HEAP32[$2 + 152 >> 2]; - $0 = HEAP32[$2 + 148 >> 2]; - HEAP32[$2 + 128 >> 2] = $0; - HEAP32[$2 + 132 >> 2] = $1; - operator__28float_2c_20b2Vec2_20const__29($2 + 120 | 0, HEAPF32[$2 + 216 >> 2], $2 + 128 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 240 | 0, $2 + 120 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$2 + 208 >> 2]) * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 124 | 0, $2 + 128 | 0)) + HEAPF32[$2 + 236 >> 2]), - HEAPF32[wasm2js_i32$0 + 236 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($2 + 112 | 0, HEAPF32[$2 + 212 >> 2], $2 + 128 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 224 | 0, $2 + 112 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$2 + 204 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 132 | 0, $2 + 128 | 0)) + HEAPF32[$2 + 220 >> 2]), - HEAPF32[wasm2js_i32$0 + 220 >> 2] = wasm2js_f32$0; - break label$1; - } - b2Cross_28float_2c_20b2Vec2_20const__29($2 + 80 | 0, HEAPF32[$2 + 220 >> 2], $3 + 132 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 88 | 0, $2 + 224 | 0, $2 + 80 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 96 | 0, $2 + 88 | 0, $2 + 240 | 0); - b2Cross_28float_2c_20b2Vec2_20const__29($2 + 72 | 0, HEAPF32[$2 + 236 >> 2], $3 + 124 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 104 | 0, $2 + 96 | 0, $2 + 72 | 0); - HEAPF32[$2 + 68 >> 2] = HEAPF32[$2 + 220 >> 2] - HEAPF32[$2 + 236 >> 2]; - b2Vec3__b2Vec3_28float_2c_20float_2c_20float_29($2 + 56 | 0, HEAPF32[$2 + 104 >> 2], HEAPF32[$2 + 108 >> 2], HEAPF32[$2 + 68 >> 2]); - b2Mul_28b2Mat33_20const__2c_20b2Vec3_20const__29($2 + 32 | 0, $3 + 172 | 0, $2 + 56 | 0); - b2Vec3__operator__28_29_20const($2 + 44 | 0, $2 + 32 | 0); - b2Vec3__operator___28b2Vec3_20const__29($3 + 104 | 0, $2 + 44 | 0); - b2Vec2__b2Vec2_28float_2c_20float_29($2 + 24 | 0, HEAPF32[$2 + 44 >> 2], HEAPF32[$2 + 48 >> 2]); - operator__28float_2c_20b2Vec2_20const__29($2 + 16 | 0, HEAPF32[$2 + 216 >> 2], $2 + 24 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 240 | 0, $2 + 16 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$2 + 208 >> 2]) * Math_fround(b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 124 | 0, $2 + 24 | 0) + HEAPF32[$2 + 52 >> 2])) + HEAPF32[$2 + 236 >> 2]), - HEAPF32[wasm2js_i32$0 + 236 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($2 + 8 | 0, HEAPF32[$2 + 212 >> 2], $2 + 24 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 224 | 0, $2 + 8 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$2 + 204 >> 2] * Math_fround(b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 132 | 0, $2 + 24 | 0) + HEAPF32[$2 + 52 >> 2])) + HEAPF32[$2 + 220 >> 2]), - HEAPF32[wasm2js_i32$0 + 220 >> 2] = wasm2js_f32$0; - } - $0 = HEAP32[$2 + 244 >> 2]; - $1 = HEAP32[$2 + 240 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 248 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 116 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 248 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 116 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 236 >> 2]; - $1 = HEAP32[$2 + 228 >> 2]; - $0 = HEAP32[$2 + 224 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 248 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 120 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 248 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 120 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 220 >> 2]; - __stack_pointer = $2 + 256 | 0; -} - -function b2PulleyJoint__SolvePositionConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 192 | 0; - __stack_pointer = $2; - HEAP32[$2 + 188 >> 2] = $0; - HEAP32[$2 + 184 >> 2] = $1; - $3 = HEAP32[$2 + 188 >> 2]; - $4 = HEAP32[HEAP32[$2 + 184 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 120 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 176 >> 2] = $1; - HEAP32[$2 + 180 >> 2] = $0; - HEAPF32[$2 + 172 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 184 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 120 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 184 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 124 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 160 >> 2] = $0; - HEAP32[$2 + 164 >> 2] = $1; - HEAPF32[$2 + 156 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 184 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 124 >> 2], 12) | 0) + 8 >> 2]; - b2Rot__b2Rot_28float_29($2 + 148 | 0, HEAPF32[$2 + 172 >> 2]); - b2Rot__b2Rot_28float_29($2 + 140 | 0, HEAPF32[$2 + 156 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 124 | 0, $3 + 92 | 0, $3 + 160 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 132 | 0, $2 + 148 | 0, $2 + 124 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 108 | 0, $3 + 100 | 0, $3 + 168 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 116 | 0, $2 + 140 | 0, $2 + 108 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 92 | 0, $2 + 176 | 0, $2 + 132 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 100 | 0, $2 + 92 | 0, $3 + 68 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 76 | 0, $2 + 160 | 0, $2 + 116 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 84 | 0, $2 + 76 | 0, $3 + 76 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Vec2__Length_28_29_20const($2 + 100 | 0), - HEAPF32[wasm2js_i32$0 + 72 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Vec2__Length_28_29_20const($2 + 84 | 0), HEAPF32[wasm2js_i32$0 + 68 >> 2] = wasm2js_f32$0; - label$1: { - if (HEAPF32[$2 + 72 >> 2] > Math_fround(.04999999701976776)) { - b2Vec2__operator___28float_29($2 + 100 | 0, Math_fround(Math_fround(1) / HEAPF32[$2 + 72 >> 2])); - break label$1; - } - b2Vec2__SetZero_28_29($2 + 100 | 0); - } - label$3: { - if (HEAPF32[$2 + 68 >> 2] > Math_fround(.04999999701976776)) { - b2Vec2__operator___28float_29($2 + 84 | 0, Math_fround(Math_fround(1) / HEAPF32[$2 + 68 >> 2])); - break label$3; - } - b2Vec2__SetZero_28_29($2 + 84 | 0); - } - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 132 | 0, $2 + 100 | 0), - HEAPF32[wasm2js_i32$0 + 64 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 116 | 0, $2 + 84 | 0), - HEAPF32[wasm2js_i32$0 + 60 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 56 >> 2] = Math_fround(Math_fround(HEAPF32[$3 + 184 >> 2] * HEAPF32[$2 + 64 >> 2]) * HEAPF32[$2 + 64 >> 2]) + HEAPF32[$3 + 176 >> 2]; - HEAPF32[$2 + 52 >> 2] = Math_fround(Math_fround(HEAPF32[$3 + 188 >> 2] * HEAPF32[$2 + 60 >> 2]) * HEAPF32[$2 + 60 >> 2]) + HEAPF32[$3 + 180 >> 2]; - HEAPF32[$2 + 48 >> 2] = Math_fround(Math_fround(HEAPF32[$3 + 112 >> 2] * HEAPF32[$3 + 112 >> 2]) * HEAPF32[$2 + 52 >> 2]) + HEAPF32[$2 + 56 >> 2]; - if (HEAPF32[$2 + 48 >> 2] > Math_fround(0)) { - HEAPF32[$2 + 48 >> 2] = Math_fround(1) / HEAPF32[$2 + 48 >> 2]; - } - HEAPF32[$2 + 44 >> 2] = Math_fround(Math_fround(-HEAPF32[$3 + 112 >> 2]) * HEAPF32[$2 + 68 >> 2]) + Math_fround(HEAPF32[$3 + 108 >> 2] - HEAPF32[$2 + 72 >> 2]); - wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20b2Abs_float__28float_29(HEAPF32[$2 + 44 >> 2]), - HEAPF32[wasm2js_i32$0 + 40 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 36 >> 2] = Math_fround(-HEAPF32[$2 + 48 >> 2]) * HEAPF32[$2 + 44 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 28 | 0, Math_fround(-HEAPF32[$2 + 36 >> 2]), $2 + 100 | 0); - operator__28float_2c_20b2Vec2_20const__29($2 + 20 | 0, Math_fround(Math_fround(-HEAPF32[$3 + 112 >> 2]) * HEAPF32[$2 + 36 >> 2]), $2 + 84 | 0); - operator__28float_2c_20b2Vec2_20const__29($2 + 12 | 0, HEAPF32[$3 + 176 >> 2], $2 + 28 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 176 | 0, $2 + 12 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$3 + 184 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 132 | 0, $2 + 28 | 0)) + HEAPF32[$2 + 172 >> 2]), - HEAPF32[wasm2js_i32$0 + 172 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($2 + 4 | 0, HEAPF32[$3 + 180 >> 2], $2 + 20 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 160 | 0, $2 + 4 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$3 + 188 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 116 | 0, $2 + 20 | 0)) + HEAPF32[$2 + 156 >> 2]), - HEAPF32[wasm2js_i32$0 + 156 >> 2] = wasm2js_f32$0; - $0 = HEAP32[$2 + 180 >> 2]; - $1 = HEAP32[$2 + 176 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 184 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 120 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 184 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 120 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 172 >> 2]; - $1 = HEAP32[$2 + 164 >> 2]; - $0 = HEAP32[$2 + 160 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 184 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 124 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 184 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 124 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 156 >> 2]; - __stack_pointer = $2 + 192 | 0; - return HEAPF32[$2 + 40 >> 2] < Math_fround(.004999999888241291) | 0; -} - -function b2Fixture__Dump_28int_29($0, $1) { - var $2 = 0, $3 = Math_fround(0); - $2 = __stack_pointer - 496 | 0; - __stack_pointer = $2; - HEAP32[$2 + 492 >> 2] = $0; - HEAP32[$2 + 488 >> 2] = $1; - $0 = HEAP32[$2 + 492 >> 2]; - b2Log_28char_20const__2c_20____29(14068, 0); - HEAPF64[$2 + 448 >> 3] = HEAPF32[$0 + 16 >> 2]; - b2Log_28char_20const__2c_20____29(13156, $2 + 448 | 0); - HEAPF64[$2 + 432 >> 3] = HEAPF32[$0 + 20 >> 2]; - b2Log_28char_20const__2c_20____29(13125, $2 + 432 | 0); - HEAPF64[$2 + 416 >> 3] = HEAPF32[$0 >> 2]; - b2Log_28char_20const__2c_20____29(12916, $2 + 416 | 0); - HEAP32[$2 + 400 >> 2] = HEAP8[$0 + 38 | 0] & 1; - b2Log_28char_20const__2c_20____29(15283, $2 + 400 | 0); - HEAP32[$2 + 384 >> 2] = HEAPU16[$0 + 32 >> 1]; - b2Log_28char_20const__2c_20____29(15559, $2 + 384 | 0); - HEAP32[$2 + 368 >> 2] = HEAPU16[$0 + 34 >> 1]; - b2Log_28char_20const__2c_20____29(15601, $2 + 368 | 0); - HEAP32[$2 + 352 >> 2] = HEAP16[$0 + 36 >> 1]; - b2Log_28char_20const__2c_20____29(15639, $2 + 352 | 0); - label$1: { - label$2: { - label$3: { - switch (HEAP32[HEAP32[$0 + 12 >> 2] + 4 >> 2]) { - case 0: - HEAP32[$2 + 484 >> 2] = HEAP32[$0 + 12 >> 2]; - b2Log_28char_20const__2c_20____29(13777, 0); - HEAPF64[$2 + 16 >> 3] = HEAPF32[HEAP32[$2 + 484 >> 2] + 8 >> 2]; - b2Log_28char_20const__2c_20____29(13007, $2 + 16 | 0); - $0 = HEAP32[$2 + 484 >> 2]; - $3 = HEAPF32[$0 + 12 >> 2]; - HEAPF64[$2 + 40 >> 3] = HEAPF32[$0 + 16 >> 2]; - HEAPF64[$2 + 32 >> 3] = $3; - b2Log_28char_20const__2c_20____29(14472, $2 + 32 | 0); - break label$2; - - case 1: - HEAP32[$2 + 480 >> 2] = HEAP32[$0 + 12 >> 2]; - b2Log_28char_20const__2c_20____29(13803, 0); - HEAPF64[$2 + 96 >> 3] = HEAPF32[HEAP32[$2 + 480 >> 2] + 8 >> 2]; - b2Log_28char_20const__2c_20____29(13007, $2 + 96 | 0); - $0 = HEAP32[$2 + 480 >> 2]; - $3 = HEAPF32[$0 + 32 >> 2]; - HEAPF64[$2 + 80 >> 3] = HEAPF32[$0 + 28 >> 2]; - HEAPF64[$2 + 88 >> 3] = $3; - b2Log_28char_20const__2c_20____29(14925, $2 + 80 | 0); - $0 = HEAP32[$2 + 480 >> 2]; - $3 = HEAPF32[$0 + 16 >> 2]; - HEAPF64[$2 + 64 >> 3] = HEAPF32[$0 + 12 >> 2]; - HEAPF64[$2 + 72 >> 3] = $3; - b2Log_28char_20const__2c_20____29(14881, $2 - -64 | 0); - $0 = HEAP32[$2 + 480 >> 2]; - $3 = HEAPF32[$0 + 24 >> 2]; - HEAPF64[$2 + 48 >> 3] = HEAPF32[$0 + 20 >> 2]; - HEAPF64[$2 + 56 >> 3] = $3; - b2Log_28char_20const__2c_20____29(14837, $2 + 48 | 0); - $0 = HEAP32[$2 + 480 >> 2]; - $3 = HEAPF32[$0 + 36 >> 2]; - HEAPF64[$2 + 120 >> 3] = HEAPF32[$0 + 40 >> 2]; - HEAPF64[$2 + 112 >> 3] = $3; - b2Log_28char_20const__2c_20____29(14793, $2 + 112 | 0); - HEAP32[$2 + 128 >> 2] = HEAP8[HEAP32[$2 + 480 >> 2] + 44 | 0] & 1; - b2Log_28char_20const__2c_20____29(15494, $2 + 128 | 0); - HEAP32[$2 + 144 >> 2] = HEAP8[HEAP32[$2 + 480 >> 2] + 45 | 0] & 1; - b2Log_28char_20const__2c_20____29(15458, $2 + 144 | 0); - break label$2; - - case 2: - HEAP32[$2 + 476 >> 2] = HEAP32[$0 + 12 >> 2]; - b2Log_28char_20const__2c_20____29(13725, 0); - HEAP32[$2 + 208 >> 2] = 8; - b2Log_28char_20const__2c_20____29(14107, $2 + 208 | 0); - HEAP32[$2 + 472 >> 2] = 0; - while (1) { - if (HEAP32[$2 + 472 >> 2] < HEAP32[HEAP32[$2 + 476 >> 2] + 148 >> 2]) { - $0 = HEAP32[$2 + 472 >> 2]; - $1 = HEAP32[$2 + 476 >> 2] + ($0 << 3) | 0; - $3 = HEAPF32[$1 + 20 >> 2]; - HEAPF64[$2 + 176 >> 3] = HEAPF32[$1 + 24 >> 2]; - HEAPF64[$2 + 168 >> 3] = $3; - HEAP32[$2 + 160 >> 2] = $0; - b2Log_28char_20const__2c_20____29(14548, $2 + 160 | 0); - HEAP32[$2 + 472 >> 2] = HEAP32[$2 + 472 >> 2] + 1; - continue; - } - break; - } - ; - HEAP32[$2 + 192 >> 2] = HEAP32[HEAP32[$2 + 476 >> 2] + 148 >> 2]; - b2Log_28char_20const__2c_20____29(15678, $2 + 192 | 0); - break label$2; - - case 3: - break label$3; - - default: - break label$1; - } - } - HEAP32[$2 + 468 >> 2] = HEAP32[$0 + 12 >> 2]; - b2Log_28char_20const__2c_20____29(13752, 0); - HEAP32[$2 + 336 >> 2] = HEAP32[HEAP32[$2 + 468 >> 2] + 16 >> 2]; - b2Log_28char_20const__2c_20____29(14107, $2 + 336 | 0); - HEAP32[$2 + 464 >> 2] = 0; - while (1) { - if (HEAP32[$2 + 464 >> 2] < HEAP32[HEAP32[$2 + 468 >> 2] + 16 >> 2]) { - $0 = HEAP32[$2 + 464 >> 2]; - $1 = HEAP32[HEAP32[$2 + 468 >> 2] + 12 >> 2] + ($0 << 3) | 0; - $3 = HEAPF32[$1 >> 2]; - HEAPF64[$2 + 240 >> 3] = HEAPF32[$1 + 4 >> 2]; - HEAPF64[$2 + 232 >> 3] = $3; - HEAP32[$2 + 224 >> 2] = $0; - b2Log_28char_20const__2c_20____29(14548, $2 + 224 | 0); - HEAP32[$2 + 464 >> 2] = HEAP32[$2 + 464 >> 2] + 1; - continue; - } - break; - } - HEAP32[$2 + 272 >> 2] = HEAP32[HEAP32[$2 + 468 >> 2] + 16 >> 2]; - b2Log_28char_20const__2c_20____29(15702, $2 + 272 | 0); - $0 = HEAP32[$2 + 468 >> 2]; - $3 = HEAPF32[$0 + 24 >> 2]; - HEAPF64[$2 + 256 >> 3] = HEAPF32[$0 + 20 >> 2]; - HEAPF64[$2 + 264 >> 3] = $3; - b2Log_28char_20const__2c_20____29(14336, $2 + 256 | 0); - $0 = HEAP32[$2 + 468 >> 2]; - $3 = HEAPF32[$0 + 28 >> 2]; - HEAPF64[$2 + 296 >> 3] = HEAPF32[$0 + 32 >> 2]; - HEAPF64[$2 + 288 >> 3] = $3; - b2Log_28char_20const__2c_20____29(14383, $2 + 288 | 0); - HEAP32[$2 + 304 >> 2] = HEAP8[HEAP32[$2 + 468 >> 2] + 36 | 0] & 1; - b2Log_28char_20const__2c_20____29(15120, $2 + 304 | 0); - HEAP32[$2 + 320 >> 2] = HEAP8[HEAP32[$2 + 468 >> 2] + 37 | 0] & 1; - b2Log_28char_20const__2c_20____29(15159, $2 + 320 | 0); - } - b2Log_28char_20const__2c_20____29(15941, 0); - b2Log_28char_20const__2c_20____29(13701, 0); - b2Log_28char_20const__2c_20____29(15941, 0); - HEAP32[$2 >> 2] = HEAP32[$2 + 488 >> 2]; - b2Log_28char_20const__2c_20____29(15041, $2); - } - __stack_pointer = $2 + 496 | 0; -} - -function b2World__DrawShape_28b2Fixture__2c_20b2Transform_20const__2c_20b2Color_20const__29($0, $1, $2, $3) { - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $4 = __stack_pointer - 224 | 0; - __stack_pointer = $4; - HEAP32[$4 + 220 >> 2] = $0; - HEAP32[$4 + 216 >> 2] = $1; - HEAP32[$4 + 212 >> 2] = $2; - HEAP32[$4 + 208 >> 2] = $3; - $3 = HEAP32[$4 + 220 >> 2]; - label$1: { - label$2: { - switch (b2Fixture__GetType_28_29_20const(HEAP32[$4 + 216 >> 2]) | 0) { - case 0: - wasm2js_i32$0 = $4, wasm2js_i32$1 = b2Fixture__GetShape_28_29(HEAP32[$4 + 216 >> 2]), - HEAP32[wasm2js_i32$0 + 204 >> 2] = wasm2js_i32$1; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 196 | 0, HEAP32[$4 + 212 >> 2], HEAP32[$4 + 204 >> 2] + 12 | 0); - HEAPF32[$4 + 192 >> 2] = HEAPF32[HEAP32[$4 + 204 >> 2] + 8 >> 2]; - $0 = HEAP32[$4 + 212 >> 2]; - b2Vec2__b2Vec2_28float_2c_20float_29($4 + 176 | 0, Math_fround(1), Math_fround(0)); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($4 + 184 | 0, $0 + 8 | 0, $4 + 176 | 0); - $0 = HEAP32[$3 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 20 >> 2]]($0, $4 + 196 | 0, HEAPF32[$4 + 192 >> 2], $4 + 184 | 0, HEAP32[$4 + 208 >> 2]); - break label$1; - - case 1: - wasm2js_i32$0 = $4, wasm2js_i32$1 = b2Fixture__GetShape_28_29(HEAP32[$4 + 216 >> 2]), - HEAP32[wasm2js_i32$0 + 172 >> 2] = wasm2js_i32$1; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 164 | 0, HEAP32[$4 + 212 >> 2], HEAP32[$4 + 172 >> 2] + 12 | 0); - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 156 | 0, HEAP32[$4 + 212 >> 2], HEAP32[$4 + 172 >> 2] + 20 | 0); - $0 = HEAP32[$3 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0, $4 + 164 | 0, $4 + 156 | 0, HEAP32[$4 + 208 >> 2]); - break label$1; - - case 3: - wasm2js_i32$0 = $4, wasm2js_i32$1 = b2Fixture__GetShape_28_29(HEAP32[$4 + 216 >> 2]), - HEAP32[wasm2js_i32$0 + 152 >> 2] = wasm2js_i32$1; - HEAP32[$4 + 148 >> 2] = HEAP32[HEAP32[$4 + 152 >> 2] + 16 >> 2]; - HEAP32[$4 + 144 >> 2] = HEAP32[HEAP32[$4 + 152 >> 2] + 12 >> 2]; - b2Color__b2Color_28float_2c_20float_2c_20float_2c_20float_29($4 + 128 | 0, Math_fround(HEAPF32[HEAP32[$4 + 208 >> 2] >> 2] * Math_fround(.75)), Math_fround(HEAPF32[HEAP32[$4 + 208 >> 2] + 4 >> 2] * Math_fround(.75)), Math_fround(HEAPF32[HEAP32[$4 + 208 >> 2] + 8 >> 2] * Math_fround(.75)), HEAPF32[HEAP32[$4 + 208 >> 2] + 12 >> 2]); - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 120 | 0, HEAP32[$4 + 212 >> 2], HEAP32[$4 + 144 >> 2]); - $0 = HEAP32[$3 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 32 >> 2]]($0, $4 + 120 | 0, Math_fround(4), HEAP32[$4 + 208 >> 2]); - if (HEAP8[HEAP32[$4 + 152 >> 2] + 36 | 0] & 1) { - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 112 | 0, HEAP32[$4 + 212 >> 2], HEAP32[$4 + 152 >> 2] + 20 | 0); - $0 = HEAP32[$3 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0, $4 + 112 | 0, $4 + 120 | 0, $4 + 128 | 0); - $0 = HEAP32[$3 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0, $4 + 112 | 0, Math_fround(.10000000149011612), $4 + 128 | 0); - } - HEAP32[$4 + 108 >> 2] = 1; - while (1) { - if (HEAP32[$4 + 108 >> 2] < HEAP32[$4 + 148 >> 2]) { - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 100 | 0, HEAP32[$4 + 212 >> 2], HEAP32[$4 + 144 >> 2] + (HEAP32[$4 + 108 >> 2] << 3) | 0); - $0 = HEAP32[$3 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0, $4 + 120 | 0, $4 + 100 | 0, HEAP32[$4 + 208 >> 2]); - $0 = HEAP32[$3 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 32 >> 2]]($0, $4 + 100 | 0, Math_fround(4), HEAP32[$4 + 208 >> 2]); - $1 = HEAP32[$4 + 104 >> 2]; - $0 = HEAP32[$4 + 100 >> 2]; - HEAP32[$4 + 120 >> 2] = $0; - HEAP32[$4 + 124 >> 2] = $1; - HEAP32[$4 + 108 >> 2] = HEAP32[$4 + 108 >> 2] + 1; - continue; - } - break; - } - ; - if (HEAP8[HEAP32[$4 + 152 >> 2] + 37 | 0] & 1) { - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 92 | 0, HEAP32[$4 + 212 >> 2], HEAP32[$4 + 152 >> 2] + 28 | 0); - $0 = HEAP32[$3 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0, $4 + 120 | 0, $4 + 92 | 0, $4 + 128 | 0); - $0 = HEAP32[$3 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0, $4 + 92 | 0, Math_fround(.10000000149011612), $4 + 128 | 0); - } - break label$1; - - case 2: - break label$2; - - default: - break label$1; - } - } - wasm2js_i32$0 = $4, wasm2js_i32$1 = b2Fixture__GetShape_28_29(HEAP32[$4 + 216 >> 2]), - HEAP32[wasm2js_i32$0 + 88 >> 2] = wasm2js_i32$1; - HEAP32[$4 + 84 >> 2] = HEAP32[HEAP32[$4 + 88 >> 2] + 148 >> 2]; - if (HEAP32[$4 + 84 >> 2] > 8) { - __assert_fail(12248, 6252, 1103, 9591); - wasm2js_trap(); - } - $0 = $4 + 16 | 0; - $1 = $0 - -64 | 0; - while (1) { - b2Vec2__b2Vec2_28_29($0); - $0 = $0 + 8 | 0; - if (($1 | 0) != ($0 | 0)) { - continue; - } - break; - } - HEAP32[$4 + 12 >> 2] = 0; - while (1) { - if (HEAP32[$4 + 12 >> 2] < HEAP32[$4 + 84 >> 2]) { - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 4 | 0, HEAP32[$4 + 212 >> 2], (HEAP32[$4 + 88 >> 2] + 20 | 0) + (HEAP32[$4 + 12 >> 2] << 3) | 0); - $0 = HEAP32[$4 + 8 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - $2 = $1; - $1 = ($4 + 16 | 0) + (HEAP32[$4 + 12 >> 2] << 3) | 0; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - HEAP32[$4 + 12 >> 2] = HEAP32[$4 + 12 >> 2] + 1; - continue; - } - break; - } - $0 = HEAP32[$3 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 12 >> 2]]($0, $4 + 16 | 0, HEAP32[$4 + 84 >> 2], HEAP32[$4 + 208 >> 2]); - } - __stack_pointer = $4 + 224 | 0; -} - -function b2ContactManager__AddPair_28void__2c_20void__29($0, $1, $2) { - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 80 | 0; - __stack_pointer = $3; - HEAP32[$3 + 76 >> 2] = $0; - HEAP32[$3 + 72 >> 2] = $1; - HEAP32[$3 + 68 >> 2] = $2; - $0 = HEAP32[$3 + 76 >> 2]; - HEAP32[$3 + 64 >> 2] = HEAP32[$3 + 72 >> 2]; - HEAP32[$3 + 60 >> 2] = HEAP32[$3 + 68 >> 2]; - HEAP32[$3 + 56 >> 2] = HEAP32[HEAP32[$3 + 64 >> 2] + 16 >> 2]; - HEAP32[$3 + 52 >> 2] = HEAP32[HEAP32[$3 + 60 >> 2] + 16 >> 2]; - HEAP32[$3 + 48 >> 2] = HEAP32[HEAP32[$3 + 64 >> 2] + 20 >> 2]; - HEAP32[$3 + 44 >> 2] = HEAP32[HEAP32[$3 + 60 >> 2] + 20 >> 2]; - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2Fixture__GetBody_28_29(HEAP32[$3 + 56 >> 2]), - HEAP32[wasm2js_i32$0 + 40 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2Fixture__GetBody_28_29(HEAP32[$3 + 52 >> 2]), - HEAP32[wasm2js_i32$0 + 36 >> 2] = wasm2js_i32$1; - label$1: { - if (HEAP32[$3 + 40 >> 2] == HEAP32[$3 + 36 >> 2]) { - break label$1; - } - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2Body__GetContactList_28_29(HEAP32[$3 + 36 >> 2]), - HEAP32[wasm2js_i32$0 + 32 >> 2] = wasm2js_i32$1; - while (1) { - if (HEAP32[$3 + 32 >> 2]) { - if (HEAP32[HEAP32[$3 + 32 >> 2] >> 2] == HEAP32[$3 + 40 >> 2]) { - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2Contact__GetFixtureA_28_29(HEAP32[HEAP32[$3 + 32 >> 2] + 4 >> 2]), - HEAP32[wasm2js_i32$0 + 28 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2Contact__GetFixtureB_28_29(HEAP32[HEAP32[$3 + 32 >> 2] + 4 >> 2]), - HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2Contact__GetChildIndexA_28_29_20const(HEAP32[HEAP32[$3 + 32 >> 2] + 4 >> 2]), - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2Contact__GetChildIndexB_28_29_20const(HEAP32[HEAP32[$3 + 32 >> 2] + 4 >> 2]), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - if (!(HEAP32[$3 + 28 >> 2] != HEAP32[$3 + 56 >> 2] | HEAP32[$3 + 24 >> 2] != HEAP32[$3 + 52 >> 2] | (HEAP32[$3 + 20 >> 2] != HEAP32[$3 + 48 >> 2] | HEAP32[$3 + 16 >> 2] != HEAP32[$3 + 44 >> 2]))) { - break label$1; - } - if (!(HEAP32[$3 + 28 >> 2] != HEAP32[$3 + 52 >> 2] | HEAP32[$3 + 24 >> 2] != HEAP32[$3 + 56 >> 2] | (HEAP32[$3 + 20 >> 2] != HEAP32[$3 + 44 >> 2] | HEAP32[$3 + 16 >> 2] != HEAP32[$3 + 48 >> 2]))) { - break label$1; - } - } - HEAP32[$3 + 32 >> 2] = HEAP32[HEAP32[$3 + 32 >> 2] + 12 >> 2]; - continue; - } - break; - } - if (!(b2Body__ShouldCollide_28b2Body_20const__29_20const(HEAP32[$3 + 36 >> 2], HEAP32[$3 + 40 >> 2]) & 1)) { - break label$1; - } - label$7: { - if (!HEAP32[$0 + 68 >> 2]) { - break label$7; - } - $1 = HEAP32[$0 + 68 >> 2]; - if (FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 8 >> 2]]($1, HEAP32[$3 + 56 >> 2], HEAP32[$3 + 52 >> 2]) & 1) { - break label$7; - } - break label$1; - } - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2Contact__Create_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29(HEAP32[$3 + 56 >> 2], HEAP32[$3 + 48 >> 2], HEAP32[$3 + 52 >> 2], HEAP32[$3 + 44 >> 2], HEAP32[$0 + 76 >> 2]), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - if (!HEAP32[$3 + 12 >> 2]) { - break label$1; - } - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2Contact__GetFixtureA_28_29(HEAP32[$3 + 12 >> 2]), - HEAP32[wasm2js_i32$0 + 56 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2Contact__GetFixtureB_28_29(HEAP32[$3 + 12 >> 2]), - HEAP32[wasm2js_i32$0 + 52 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2Contact__GetChildIndexA_28_29_20const(HEAP32[$3 + 12 >> 2]), - HEAP32[wasm2js_i32$0 + 48 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2Contact__GetChildIndexB_28_29_20const(HEAP32[$3 + 12 >> 2]), - HEAP32[wasm2js_i32$0 + 44 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2Fixture__GetBody_28_29(HEAP32[$3 + 56 >> 2]), - HEAP32[wasm2js_i32$0 + 40 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2Fixture__GetBody_28_29(HEAP32[$3 + 52 >> 2]), - HEAP32[wasm2js_i32$0 + 36 >> 2] = wasm2js_i32$1; - HEAP32[HEAP32[$3 + 12 >> 2] + 8 >> 2] = 0; - HEAP32[HEAP32[$3 + 12 >> 2] + 12 >> 2] = HEAP32[$0 + 60 >> 2]; - if (HEAP32[$0 + 60 >> 2]) { - HEAP32[HEAP32[$0 + 60 >> 2] + 8 >> 2] = HEAP32[$3 + 12 >> 2]; - } - HEAP32[$0 + 60 >> 2] = HEAP32[$3 + 12 >> 2]; - HEAP32[HEAP32[$3 + 12 >> 2] + 20 >> 2] = HEAP32[$3 + 12 >> 2]; - HEAP32[HEAP32[$3 + 12 >> 2] + 16 >> 2] = HEAP32[$3 + 36 >> 2]; - HEAP32[HEAP32[$3 + 12 >> 2] + 24 >> 2] = 0; - HEAP32[HEAP32[$3 + 12 >> 2] + 28 >> 2] = HEAP32[HEAP32[$3 + 40 >> 2] + 112 >> 2]; - if (HEAP32[HEAP32[$3 + 40 >> 2] + 112 >> 2]) { - HEAP32[HEAP32[HEAP32[$3 + 40 >> 2] + 112 >> 2] + 8 >> 2] = HEAP32[$3 + 12 >> 2] + 16; - } - HEAP32[HEAP32[$3 + 40 >> 2] + 112 >> 2] = HEAP32[$3 + 12 >> 2] + 16; - HEAP32[HEAP32[$3 + 12 >> 2] + 36 >> 2] = HEAP32[$3 + 12 >> 2]; - HEAP32[HEAP32[$3 + 12 >> 2] + 32 >> 2] = HEAP32[$3 + 40 >> 2]; - HEAP32[HEAP32[$3 + 12 >> 2] + 40 >> 2] = 0; - HEAP32[HEAP32[$3 + 12 >> 2] + 44 >> 2] = HEAP32[HEAP32[$3 + 36 >> 2] + 112 >> 2]; - if (HEAP32[HEAP32[$3 + 36 >> 2] + 112 >> 2]) { - HEAP32[HEAP32[HEAP32[$3 + 36 >> 2] + 112 >> 2] + 8 >> 2] = HEAP32[$3 + 12 >> 2] + 32; - } - HEAP32[HEAP32[$3 + 36 >> 2] + 112 >> 2] = HEAP32[$3 + 12 >> 2] + 32; - label$11: { - if (b2Fixture__IsSensor_28_29_20const(HEAP32[$3 + 56 >> 2]) & 1) { - break label$11; - } - if (b2Fixture__IsSensor_28_29_20const(HEAP32[$3 + 52 >> 2]) & 1) { - break label$11; - } - b2Body__SetAwake_28bool_29(HEAP32[$3 + 40 >> 2], 1); - b2Body__SetAwake_28bool_29(HEAP32[$3 + 36 >> 2], 1); - } - HEAP32[$0 + 64 >> 2] = HEAP32[$0 + 64 >> 2] + 1; - } - __stack_pointer = $3 + 80 | 0; -} - -function void_20b2DynamicTree__RayCast_b2WorldRayCastWrapper__28b2WorldRayCastWrapper__2c_20b2RayCastInput_20const__29_20const($0, $1, $2) { - var $3 = 0, $4 = Math_fround(0), $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_f32$0 = Math_fround(0); - $3 = __stack_pointer - 1264 | 0; - __stack_pointer = $3; - HEAP32[$3 + 1260 >> 2] = $0; - HEAP32[$3 + 1256 >> 2] = $1; - HEAP32[$3 + 1252 >> 2] = $2; - $5 = HEAP32[$3 + 1260 >> 2]; - $2 = HEAP32[$3 + 1252 >> 2]; - $1 = HEAP32[$2 >> 2]; - $0 = HEAP32[$2 + 4 >> 2]; - HEAP32[$3 + 1240 >> 2] = $1; - HEAP32[$3 + 1244 >> 2] = $0; - $2 = HEAP32[$3 + 1252 >> 2]; - $0 = HEAP32[$2 + 8 >> 2]; - $1 = HEAP32[$2 + 12 >> 2]; - HEAP32[$3 + 1232 >> 2] = $0; - HEAP32[$3 + 1236 >> 2] = $1; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 1224 | 0, $3 + 1232 | 0, $3 + 1240 | 0); - if (!(b2Vec2__LengthSquared_28_29_20const($3 + 1224 | 0) > Math_fround(0))) { - __assert_fail(8274, 7594, 230, 2054); - wasm2js_trap(); - } - b2Vec2__Normalize_28_29($3 + 1224 | 0); - b2Cross_28float_2c_20b2Vec2_20const__29($3 + 1216 | 0, Math_fround(1), $3 + 1224 | 0); - b2Abs_28b2Vec2_20const__29($3 + 1208 | 0, $3 + 1216 | 0); - HEAPF32[$3 + 1204 >> 2] = HEAPF32[HEAP32[$3 + 1252 >> 2] + 16 >> 2]; - b2AABB__b2AABB_28_29($3 + 1188 | 0); - $4 = HEAPF32[$3 + 1204 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 1164 | 0, $3 + 1232 | 0, $3 + 1240 | 0); - operator__28float_2c_20b2Vec2_20const__29($3 + 1172 | 0, $4, $3 + 1164 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($3 + 1180 | 0, $3 + 1240 | 0, $3 + 1172 | 0); - b2Min_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 1156 | 0, $3 + 1240 | 0, $3 + 1180 | 0); - $0 = HEAP32[$3 + 1160 >> 2]; - $1 = HEAP32[$3 + 1156 >> 2]; - $2 = $1; - $1 = $3 + 1188 | 0; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - b2Max_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 1148 | 0, $3 + 1240 | 0, $3 + 1180 | 0); - $1 = HEAP32[$3 + 1152 >> 2]; - $0 = HEAP32[$3 + 1148 >> 2]; - $2 = $0; - $0 = $3 + 1188 | 0; - HEAP32[$0 + 8 >> 2] = $2; - HEAP32[$0 + 12 >> 2] = $1; - b2GrowableStack_int_2c_20256___b2GrowableStack_28_29($3 + 112 | 0); - b2GrowableStack_int_2c_20256___Push_28int_20const__29($3 + 112 | 0, $5); - label$2: { - while (1) { - if ((b2GrowableStack_int_2c_20256___GetCount_28_29($3 + 112 | 0) | 0) > 0) { - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2GrowableStack_int_2c_20256___Pop_28_29($3 + 112 | 0), - HEAP32[wasm2js_i32$0 + 108 >> 2] = wasm2js_i32$1; - if (HEAP32[$3 + 108 >> 2] == -1) { - continue; - } - HEAP32[$3 + 104 >> 2] = HEAP32[$5 + 4 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 40); - if (!(b2TestOverlap_28b2AABB_20const__2c_20b2AABB_20const__29(HEAP32[$3 + 104 >> 2], $3 + 1188 | 0) & 1)) { - continue; - } - b2AABB__GetCenter_28_29_20const($3 + 96 | 0, HEAP32[$3 + 104 >> 2]); - b2AABB__GetExtents_28_29_20const($3 + 88 | 0, HEAP32[$3 + 104 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 76 | 0, $3 + 1240 | 0, $3 + 96 | 0); - wasm2js_i32$0 = $3, wasm2js_f32$0 = Math_fround(float_20b2Abs_float__28float_29(b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 1216 | 0, $3 + 76 | 0)) - b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 1208 | 0, $3 + 88 | 0)), - HEAPF32[wasm2js_i32$0 + 84 >> 2] = wasm2js_f32$0; - if (HEAPF32[$3 + 84 >> 2] > Math_fround(0)) { - continue; - } - label$5: { - if (b2TreeNode__IsLeaf_28_29_20const(HEAP32[$3 + 104 >> 2]) & 1) { - b2RayCastInput__b2RayCastInput_28_29($3 + 56 | 0); - $2 = HEAP32[$3 + 1252 >> 2]; - $1 = HEAP32[$2 >> 2]; - $0 = HEAP32[$2 + 4 >> 2]; - $2 = $1; - $1 = $3 + 56 | 0; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - $2 = HEAP32[$3 + 1252 >> 2]; - $0 = HEAP32[$2 + 8 >> 2]; - $1 = HEAP32[$2 + 12 >> 2]; - $2 = $0; - $0 = $3 + 56 | 0; - HEAP32[$0 + 8 >> 2] = $2; - HEAP32[$0 + 12 >> 2] = $1; - HEAPF32[$3 + 72 >> 2] = HEAPF32[$3 + 1204 >> 2]; - wasm2js_i32$0 = $3, wasm2js_f32$0 = b2WorldRayCastWrapper__RayCastCallback_28b2RayCastInput_20const__2c_20int_29(HEAP32[$3 + 1256 >> 2], $3 + 56 | 0, HEAP32[$3 + 108 >> 2]), - HEAPF32[wasm2js_i32$0 + 52 >> 2] = wasm2js_f32$0; - if (HEAPF32[$3 + 52 >> 2] == Math_fround(0)) { - HEAP32[$3 + 48 >> 2] = 1; - break label$2; - } - if (HEAPF32[$3 + 52 >> 2] > Math_fround(0)) { - HEAPF32[$3 + 1204 >> 2] = HEAPF32[$3 + 52 >> 2]; - $4 = HEAPF32[$3 + 1204 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 24 | 0, $3 + 1232 | 0, $3 + 1240 | 0); - operator__28float_2c_20b2Vec2_20const__29($3 + 32 | 0, $4, $3 + 24 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($3 + 40 | 0, $3 + 1240 | 0, $3 + 32 | 0); - b2Min_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 16 | 0, $3 + 1240 | 0, $3 + 40 | 0); - $0 = HEAP32[$3 + 20 >> 2]; - $1 = HEAP32[$3 + 16 >> 2]; - $2 = $1; - $1 = $3 + 1188 | 0; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - b2Max_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 8 | 0, $3 + 1240 | 0, $3 + 40 | 0); - $1 = HEAP32[$3 + 12 >> 2]; - $0 = HEAP32[$3 + 8 >> 2]; - $2 = $0; - $0 = $3 + 1188 | 0; - HEAP32[$0 + 8 >> 2] = $2; - HEAP32[$0 + 12 >> 2] = $1; - } - break label$5; - } - b2GrowableStack_int_2c_20256___Push_28int_20const__29($3 + 112 | 0, HEAP32[$3 + 104 >> 2] + 24 | 0); - b2GrowableStack_int_2c_20256___Push_28int_20const__29($3 + 112 | 0, HEAP32[$3 + 104 >> 2] + 28 | 0); - } - continue; - } - break; - } - HEAP32[$3 + 48 >> 2] = 0; - } - b2GrowableStack_int_2c_20256____b2GrowableStack_28_29($3 + 112 | 0); - __stack_pointer = $3 + 1264 | 0; -} - -function b2WheelJoint__SolveVelocityConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, $5 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 176 | 0; - __stack_pointer = $2; - HEAP32[$2 + 172 >> 2] = $0; - HEAP32[$2 + 168 >> 2] = $1; - $3 = HEAP32[$2 + 172 >> 2]; - HEAPF32[$2 + 164 >> 2] = HEAPF32[$3 + 156 >> 2]; - HEAPF32[$2 + 160 >> 2] = HEAPF32[$3 + 160 >> 2]; - HEAPF32[$2 + 156 >> 2] = HEAPF32[$3 + 164 >> 2]; - HEAPF32[$2 + 152 >> 2] = HEAPF32[$3 + 168 >> 2]; - $4 = HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 132 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 144 >> 2] = $0; - HEAP32[$2 + 148 >> 2] = $1; - HEAPF32[$2 + 140 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 132 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 136 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 128 >> 2] = $1; - HEAP32[$2 + 132 >> 2] = $0; - HEAPF32[$2 + 124 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 136 >> 2], 12) | 0) + 8 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 112 | 0, $2 + 128 | 0, $2 + 144 | 0); - $5 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 172 | 0, $2 + 112 | 0); - HEAPF32[$2 + 120 >> 2] = Math_fround(Math_fround(-HEAPF32[$3 + 188 >> 2]) * HEAPF32[$2 + 140 >> 2]) + Math_fround(Math_fround(HEAPF32[$3 + 192 >> 2] * HEAPF32[$2 + 124 >> 2]) + $5); - HEAPF32[$2 + 108 >> 2] = Math_fround(-HEAPF32[$3 + 212 >> 2]) * Math_fround(Math_fround(HEAPF32[$3 + 220 >> 2] * HEAPF32[$3 + 116 >> 2]) + Math_fround(HEAPF32[$2 + 120 >> 2] + HEAPF32[$3 + 216 >> 2])); - HEAPF32[$3 + 116 >> 2] = HEAPF32[$3 + 116 >> 2] + HEAPF32[$2 + 108 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 100 | 0, HEAPF32[$2 + 108 >> 2], $3 + 172 | 0); - HEAPF32[$2 + 96 >> 2] = HEAPF32[$2 + 108 >> 2] * HEAPF32[$3 + 188 >> 2]; - HEAPF32[$2 + 92 >> 2] = HEAPF32[$2 + 108 >> 2] * HEAPF32[$3 + 192 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 84 | 0, HEAPF32[$2 + 164 >> 2], $2 + 100 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 144 | 0, $2 + 84 | 0); - HEAPF32[$2 + 140 >> 2] = Math_fround(Math_fround(-HEAPF32[$2 + 156 >> 2]) * HEAPF32[$2 + 96 >> 2]) + HEAPF32[$2 + 140 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 76 | 0, HEAPF32[$2 + 160 >> 2], $2 + 100 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 128 | 0, $2 + 76 | 0); - HEAPF32[$2 + 124 >> 2] = Math_fround(HEAPF32[$2 + 152 >> 2] * HEAPF32[$2 + 92 >> 2]) + HEAPF32[$2 + 124 >> 2]; - HEAPF32[$2 + 72 >> 2] = Math_fround(HEAPF32[$2 + 124 >> 2] - HEAPF32[$2 + 140 >> 2]) - HEAPF32[$3 + 124 >> 2]; - HEAPF32[$2 + 68 >> 2] = Math_fround(-HEAPF32[$3 + 208 >> 2]) * HEAPF32[$2 + 72 >> 2]; - HEAPF32[$2 + 64 >> 2] = HEAPF32[$3 + 112 >> 2]; - HEAPF32[$2 + 60 >> 2] = HEAPF32[HEAP32[$2 + 168 >> 2] >> 2] * HEAPF32[$3 + 120 >> 2]; - wasm2js_i32$0 = $3, wasm2js_f32$0 = float_20b2Clamp_float__28float_2c_20float_2c_20float_29(Math_fround(HEAPF32[$3 + 112 >> 2] + HEAPF32[$2 + 68 >> 2]), Math_fround(-HEAPF32[$2 + 60 >> 2]), HEAPF32[$2 + 60 >> 2]), - HEAPF32[wasm2js_i32$0 + 112 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 68 >> 2] = HEAPF32[$3 + 112 >> 2] - HEAPF32[$2 + 64 >> 2]; - HEAPF32[$2 + 140 >> 2] = Math_fround(Math_fround(-HEAPF32[$2 + 156 >> 2]) * HEAPF32[$2 + 68 >> 2]) + HEAPF32[$2 + 140 >> 2]; - HEAPF32[$2 + 124 >> 2] = Math_fround(HEAPF32[$2 + 152 >> 2] * HEAPF32[$2 + 68 >> 2]) + HEAPF32[$2 + 124 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 48 | 0, $2 + 128 | 0, $2 + 144 | 0); - $5 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 180 | 0, $2 + 48 | 0); - HEAPF32[$2 + 56 >> 2] = Math_fround(Math_fround(-HEAPF32[$3 + 196 >> 2]) * HEAPF32[$2 + 140 >> 2]) + Math_fround(Math_fround(HEAPF32[$3 + 200 >> 2] * HEAPF32[$2 + 124 >> 2]) + $5); - HEAPF32[$2 + 44 >> 2] = Math_fround(-HEAPF32[$3 + 204 >> 2]) * HEAPF32[$2 + 56 >> 2]; - HEAPF32[$3 + 108 >> 2] = HEAPF32[$3 + 108 >> 2] + HEAPF32[$2 + 44 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 36 | 0, HEAPF32[$2 + 44 >> 2], $3 + 180 | 0); - HEAPF32[$2 + 32 >> 2] = HEAPF32[$2 + 44 >> 2] * HEAPF32[$3 + 196 >> 2]; - HEAPF32[$2 + 28 >> 2] = HEAPF32[$2 + 44 >> 2] * HEAPF32[$3 + 200 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 20 | 0, HEAPF32[$2 + 164 >> 2], $2 + 36 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 144 | 0, $2 + 20 | 0); - HEAPF32[$2 + 140 >> 2] = Math_fround(Math_fround(-HEAPF32[$2 + 156 >> 2]) * HEAPF32[$2 + 32 >> 2]) + HEAPF32[$2 + 140 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 12 | 0, HEAPF32[$2 + 160 >> 2], $2 + 36 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 128 | 0, $2 + 12 | 0); - HEAPF32[$2 + 124 >> 2] = Math_fround(HEAPF32[$2 + 152 >> 2] * HEAPF32[$2 + 28 >> 2]) + HEAPF32[$2 + 124 >> 2]; - $1 = HEAP32[$2 + 148 >> 2]; - $0 = HEAP32[$2 + 144 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 132 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 132 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 140 >> 2]; - $0 = HEAP32[$2 + 132 >> 2]; - $1 = HEAP32[$2 + 128 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 136 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 136 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 124 >> 2]; - __stack_pointer = $2 + 176 | 0; -} - -function void_20std____2____tree_balance_after_insert_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____2c_20std____2____tree_node_base_void____29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - HEAP8[HEAP32[$2 + 8 >> 2] + 12 | 0] = HEAP32[$2 + 8 >> 2] == HEAP32[$2 + 12 >> 2]; - while (1) { - $0 = 0; - if (HEAP32[$2 + 8 >> 2] != HEAP32[$2 + 12 >> 2]) { - $0 = HEAPU8[std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 8 >> 2]) + 12 | 0] ^ -1; - } - label$3: { - if (!($0 & 1)) { - break label$3; - } - label$4: { - if (bool_20std____2____tree_is_left_child_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 8 >> 2])) & 1) { - wasm2js_i32$0 = $2, wasm2js_i32$1 = HEAP32[std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 8 >> 2])) + 4 >> 2], - HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - label$6: { - if (!(!HEAP32[$2 + 4 >> 2] | HEAP8[HEAP32[$2 + 4 >> 2] + 12 | 0] & 1)) { - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - HEAP8[HEAP32[$2 + 8 >> 2] + 12 | 0] = 1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - HEAP8[HEAP32[$2 + 8 >> 2] + 12 | 0] = HEAP32[$2 + 8 >> 2] == HEAP32[$2 + 12 >> 2]; - HEAP8[HEAP32[$2 + 4 >> 2] + 12 | 0] = 1; - break label$6; - } - if (!(bool_20std____2____tree_is_left_child_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(HEAP32[$2 + 8 >> 2]) & 1)) { - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - void_20std____2____tree_left_rotate_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(HEAP32[$2 + 8 >> 2]); - } - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - HEAP8[HEAP32[$2 + 8 >> 2] + 12 | 0] = 1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - HEAP8[HEAP32[$2 + 8 >> 2] + 12 | 0] = 0; - void_20std____2____tree_right_rotate_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(HEAP32[$2 + 8 >> 2]); - break label$3; - } - break label$4; - } - wasm2js_i32$0 = $2, wasm2js_i32$1 = HEAP32[HEAP32[std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 8 >> 2]) + 8 >> 2] >> 2], - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - label$9: { - if (!(!HEAP32[$2 >> 2] | HEAP8[HEAP32[$2 >> 2] + 12 | 0] & 1)) { - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - HEAP8[HEAP32[$2 + 8 >> 2] + 12 | 0] = 1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - HEAP8[HEAP32[$2 + 8 >> 2] + 12 | 0] = HEAP32[$2 + 8 >> 2] == HEAP32[$2 + 12 >> 2]; - HEAP8[HEAP32[$2 >> 2] + 12 | 0] = 1; - break label$9; - } - if (bool_20std____2____tree_is_left_child_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(HEAP32[$2 + 8 >> 2]) & 1) { - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - void_20std____2____tree_right_rotate_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(HEAP32[$2 + 8 >> 2]); - } - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - HEAP8[HEAP32[$2 + 8 >> 2] + 12 | 0] = 1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - HEAP8[HEAP32[$2 + 8 >> 2] + 12 | 0] = 0; - void_20std____2____tree_left_rotate_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(HEAP32[$2 + 8 >> 2]); - break label$3; - } - } - continue; - } - break; - } - __stack_pointer = $2 + 16 | 0; -} - -function b2GearJoint__SolveVelocityConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, $5 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 128 | 0; - __stack_pointer = $2; - HEAP32[$2 + 124 >> 2] = $0; - HEAP32[$2 + 120 >> 2] = $1; - $3 = HEAP32[$2 + 124 >> 2]; - $4 = HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 160 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 112 >> 2] = $0; - HEAP32[$2 + 116 >> 2] = $1; - HEAPF32[$2 + 108 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 160 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 164 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 96 >> 2] = $1; - HEAP32[$2 + 100 >> 2] = $0; - HEAPF32[$2 + 92 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 164 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 168 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 80 >> 2] = $0; - HEAP32[$2 + 84 >> 2] = $1; - HEAPF32[$2 + 76 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 168 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 172 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 64 >> 2] = $1; - HEAP32[$2 + 68 >> 2] = $0; - HEAPF32[$2 + 60 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 172 >> 2], 12) | 0) + 8 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 48 | 0, $2 + 112 | 0, $2 + 80 | 0); - $5 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 240 | 0, $2 + 48 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 40 | 0, $2 + 96 | 0, $2 - -64 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround($5 + b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 248 | 0, $2 + 40 | 0)), - HEAPF32[wasm2js_i32$0 + 56 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 56 >> 2] = HEAPF32[$2 + 56 >> 2] + Math_fround(Math_fround(Math_fround(HEAPF32[$3 + 256 >> 2] * HEAPF32[$2 + 108 >> 2]) - Math_fround(HEAPF32[$3 + 264 >> 2] * HEAPF32[$2 + 76 >> 2])) + Math_fround(Math_fround(HEAPF32[$3 + 260 >> 2] * HEAPF32[$2 + 92 >> 2]) - Math_fround(HEAPF32[$3 + 268 >> 2] * HEAPF32[$2 + 60 >> 2]))); - HEAPF32[$2 + 36 >> 2] = Math_fround(-HEAPF32[$3 + 272 >> 2]) * HEAPF32[$2 + 56 >> 2]; - HEAPF32[$3 + 156 >> 2] = HEAPF32[$3 + 156 >> 2] + HEAPF32[$2 + 36 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 28 | 0, Math_fround(HEAPF32[$3 + 208 >> 2] * HEAPF32[$2 + 36 >> 2]), $3 + 240 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 112 | 0, $2 + 28 | 0); - HEAPF32[$2 + 108 >> 2] = Math_fround(Math_fround(HEAPF32[$3 + 224 >> 2] * HEAPF32[$2 + 36 >> 2]) * HEAPF32[$3 + 256 >> 2]) + HEAPF32[$2 + 108 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 20 | 0, Math_fround(HEAPF32[$3 + 212 >> 2] * HEAPF32[$2 + 36 >> 2]), $3 + 248 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 96 | 0, $2 + 20 | 0); - HEAPF32[$2 + 92 >> 2] = Math_fround(Math_fround(HEAPF32[$3 + 228 >> 2] * HEAPF32[$2 + 36 >> 2]) * HEAPF32[$3 + 260 >> 2]) + HEAPF32[$2 + 92 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 12 | 0, Math_fround(HEAPF32[$3 + 216 >> 2] * HEAPF32[$2 + 36 >> 2]), $3 + 240 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 80 | 0, $2 + 12 | 0); - HEAPF32[$2 + 76 >> 2] = Math_fround(Math_fround(-Math_fround(HEAPF32[$3 + 232 >> 2] * HEAPF32[$2 + 36 >> 2])) * HEAPF32[$3 + 264 >> 2]) + HEAPF32[$2 + 76 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 4 | 0, Math_fround(HEAPF32[$3 + 220 >> 2] * HEAPF32[$2 + 36 >> 2]), $3 + 248 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 - -64 | 0, $2 + 4 | 0); - HEAPF32[$2 + 60 >> 2] = Math_fround(Math_fround(-Math_fround(HEAPF32[$3 + 236 >> 2] * HEAPF32[$2 + 36 >> 2])) * HEAPF32[$3 + 268 >> 2]) + HEAPF32[$2 + 60 >> 2]; - $1 = HEAP32[$2 + 116 >> 2]; - $0 = HEAP32[$2 + 112 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 160 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 160 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 108 >> 2]; - $0 = HEAP32[$2 + 100 >> 2]; - $1 = HEAP32[$2 + 96 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 164 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 164 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 92 >> 2]; - $1 = HEAP32[$2 + 84 >> 2]; - $0 = HEAP32[$2 + 80 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 168 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 168 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 76 >> 2]; - $0 = HEAP32[$2 + 68 >> 2]; - $1 = HEAP32[$2 + 64 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 172 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 172 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 60 >> 2]; - __stack_pointer = $2 + 128 | 0; -} - -function b2MotorJoint__SolveVelocityConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 192 | 0; - __stack_pointer = $2; - HEAP32[$2 + 188 >> 2] = $0; - HEAP32[$2 + 184 >> 2] = $1; - $3 = HEAP32[$2 + 188 >> 2]; - $1 = HEAP32[HEAP32[$2 + 184 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 104 >> 2], 12) | 0; - $0 = HEAP32[$1 >> 2]; - $4 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 176 >> 2] = $0; - HEAP32[$2 + 180 >> 2] = $4; - HEAPF32[$2 + 172 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 184 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 104 >> 2], 12) | 0) + 8 >> 2]; - $1 = HEAP32[HEAP32[$2 + 184 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 12) | 0; - $4 = HEAP32[$1 >> 2]; - $0 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 160 >> 2] = $4; - HEAP32[$2 + 164 >> 2] = $0; - HEAPF32[$2 + 156 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 184 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 12) | 0) + 8 >> 2]; - HEAPF32[$2 + 152 >> 2] = HEAPF32[$3 + 156 >> 2]; - HEAPF32[$2 + 148 >> 2] = HEAPF32[$3 + 160 >> 2]; - HEAPF32[$2 + 144 >> 2] = HEAPF32[$3 + 164 >> 2]; - HEAPF32[$2 + 140 >> 2] = HEAPF32[$3 + 168 >> 2]; - HEAPF32[$2 + 136 >> 2] = HEAPF32[HEAP32[$2 + 184 >> 2] >> 2]; - HEAPF32[$2 + 132 >> 2] = HEAPF32[HEAP32[$2 + 184 >> 2] + 4 >> 2]; - HEAPF32[$2 + 128 >> 2] = Math_fround(Math_fround(HEAPF32[$2 + 132 >> 2] * HEAPF32[$3 + 100 >> 2]) * HEAPF32[$3 + 152 >> 2]) + Math_fround(HEAPF32[$2 + 156 >> 2] - HEAPF32[$2 + 172 >> 2]); - HEAPF32[$2 + 124 >> 2] = Math_fround(-HEAPF32[$3 + 188 >> 2]) * HEAPF32[$2 + 128 >> 2]; - HEAPF32[$2 + 120 >> 2] = HEAPF32[$3 + 88 >> 2]; - HEAPF32[$2 + 116 >> 2] = HEAPF32[$2 + 136 >> 2] * HEAPF32[$3 + 96 >> 2]; - wasm2js_i32$0 = $3, wasm2js_f32$0 = float_20b2Clamp_float__28float_2c_20float_2c_20float_29(Math_fround(HEAPF32[$3 + 88 >> 2] + HEAPF32[$2 + 124 >> 2]), Math_fround(-HEAPF32[$2 + 116 >> 2]), HEAPF32[$2 + 116 >> 2]), - HEAPF32[wasm2js_i32$0 + 88 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 124 >> 2] = HEAPF32[$3 + 88 >> 2] - HEAPF32[$2 + 120 >> 2]; - HEAPF32[$2 + 172 >> 2] = Math_fround(Math_fround(-HEAPF32[$2 + 144 >> 2]) * HEAPF32[$2 + 124 >> 2]) + HEAPF32[$2 + 172 >> 2]; - HEAPF32[$2 + 156 >> 2] = Math_fround(HEAPF32[$2 + 140 >> 2] * HEAPF32[$2 + 124 >> 2]) + HEAPF32[$2 + 156 >> 2]; - b2Cross_28float_2c_20b2Vec2_20const__29($2 + 76 | 0, HEAPF32[$2 + 156 >> 2], $3 + 120 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 84 | 0, $2 + 160 | 0, $2 + 76 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 92 | 0, $2 + 84 | 0, $2 + 176 | 0); - b2Cross_28float_2c_20b2Vec2_20const__29($2 + 68 | 0, HEAPF32[$2 + 172 >> 2], $3 + 112 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 100 | 0, $2 + 92 | 0, $2 + 68 | 0); - operator__28float_2c_20b2Vec2_20const__29($2 + 60 | 0, Math_fround(HEAPF32[$2 + 132 >> 2] * HEAPF32[$3 + 100 >> 2]), $3 + 144 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 108 | 0, $2 + 100 | 0, $2 + 60 | 0); - b2Mul_28b2Mat22_20const__2c_20b2Vec2_20const__29($2 + 40 | 0, $3 + 172 | 0, $2 + 108 | 0); - b2Vec2__operator__28_29_20const($2 + 48 | 0, $2 + 40 | 0); - $4 = HEAP32[$3 + 84 >> 2]; - $0 = HEAP32[$3 + 80 >> 2]; - HEAP32[$2 + 32 >> 2] = $0; - HEAP32[$2 + 36 >> 2] = $4; - b2Vec2__operator___28b2Vec2_20const__29($3 + 80 | 0, $2 + 48 | 0); - HEAPF32[$2 + 28 >> 2] = HEAPF32[$2 + 136 >> 2] * HEAPF32[$3 + 92 >> 2]; - if (b2Vec2__LengthSquared_28_29_20const($3 + 80 | 0) > Math_fround(HEAPF32[$2 + 28 >> 2] * HEAPF32[$2 + 28 >> 2])) { - b2Vec2__Normalize_28_29($3 + 80 | 0); - b2Vec2__operator___28float_29($3 + 80 | 0, HEAPF32[$2 + 28 >> 2]); - } - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 20 | 0, $3 + 80 | 0, $2 + 32 | 0); - $0 = HEAP32[$2 + 24 >> 2]; - $4 = HEAP32[$2 + 20 >> 2]; - HEAP32[$2 + 48 >> 2] = $4; - HEAP32[$2 + 52 >> 2] = $0; - operator__28float_2c_20b2Vec2_20const__29($2 + 12 | 0, HEAPF32[$2 + 152 >> 2], $2 + 48 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 176 | 0, $2 + 12 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$2 + 144 >> 2]) * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 112 | 0, $2 + 48 | 0)) + HEAPF32[$2 + 172 >> 2]), - HEAPF32[wasm2js_i32$0 + 172 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($2 + 4 | 0, HEAPF32[$2 + 148 >> 2], $2 + 48 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 160 | 0, $2 + 4 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$2 + 140 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 120 | 0, $2 + 48 | 0)) + HEAPF32[$2 + 156 >> 2]), - HEAPF32[wasm2js_i32$0 + 156 >> 2] = wasm2js_f32$0; - $4 = HEAP32[$2 + 180 >> 2]; - $0 = HEAP32[$2 + 176 >> 2]; - $1 = $0; - $0 = HEAP32[HEAP32[$2 + 184 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 104 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $4; - HEAPF32[(HEAP32[HEAP32[$2 + 184 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 104 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 172 >> 2]; - $0 = HEAP32[$2 + 164 >> 2]; - $4 = HEAP32[$2 + 160 >> 2]; - $1 = $4; - $4 = HEAP32[HEAP32[$2 + 184 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 12) | 0; - HEAP32[$4 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 184 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 156 >> 2]; - __stack_pointer = $2 + 192 | 0; -} - -function b2Contact__Update_28b2ContactListener__29($0, $1) { - var $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 128 | 0; - __stack_pointer = $2; - HEAP32[$2 + 124 >> 2] = $0; - HEAP32[$2 + 120 >> 2] = $1; - $1 = HEAP32[$2 + 124 >> 2]; - $3 = HEAP32[$1 + 120 >> 2]; - $0 = HEAP32[$1 + 124 >> 2]; - HEAP32[$2 + 112 >> 2] = $3; - HEAP32[$2 + 116 >> 2] = $0; - $3 = HEAP32[$1 + 116 >> 2]; - $0 = HEAP32[$1 + 112 >> 2]; - HEAP32[$2 + 104 >> 2] = $0; - HEAP32[$2 + 108 >> 2] = $3; - $0 = HEAP32[$1 + 108 >> 2]; - $3 = HEAP32[$1 + 104 >> 2]; - HEAP32[$2 + 96 >> 2] = $3; - HEAP32[$2 + 100 >> 2] = $0; - $3 = HEAP32[$1 + 100 >> 2]; - $0 = HEAP32[$1 + 96 >> 2]; - HEAP32[$2 + 88 >> 2] = $0; - HEAP32[$2 + 92 >> 2] = $3; - $0 = HEAP32[$1 + 92 >> 2]; - $3 = HEAP32[$1 + 88 >> 2]; - HEAP32[$2 + 80 >> 2] = $3; - HEAP32[$2 + 84 >> 2] = $0; - $3 = HEAP32[$1 + 84 >> 2]; - $0 = HEAP32[$1 + 80 >> 2]; - HEAP32[$2 + 72 >> 2] = $0; - HEAP32[$2 + 76 >> 2] = $3; - $0 = HEAP32[$1 + 76 >> 2]; - $3 = HEAP32[$1 + 72 >> 2]; - HEAP32[$2 + 64 >> 2] = $3; - HEAP32[$2 + 68 >> 2] = $0; - $3 = HEAP32[$1 + 68 >> 2]; - $0 = HEAP32[$1 + 64 >> 2]; - HEAP32[$2 + 56 >> 2] = $0; - HEAP32[$2 + 60 >> 2] = $3; - HEAP32[$1 + 4 >> 2] = HEAP32[$1 + 4 >> 2] | 4; - HEAP8[$2 + 55 | 0] = 0; - HEAP8[$2 + 54 | 0] = (HEAP32[$1 + 4 >> 2] & 2) == 2; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Fixture__IsSensor_28_29_20const(HEAP32[$1 + 48 >> 2]) & 1, - HEAP8[wasm2js_i32$0 + 53 | 0] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Fixture__IsSensor_28_29_20const(HEAP32[$1 + 52 >> 2]) & 1, - HEAP8[wasm2js_i32$0 + 52 | 0] = wasm2js_i32$1; - $0 = 1; - $0 = HEAP8[$2 + 53 | 0] & 1 ? $0 : HEAPU8[$2 + 52 | 0]; - HEAP8[$2 + 51 | 0] = $0 & 1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Fixture__GetBody_28_29(HEAP32[$1 + 48 >> 2]), - HEAP32[wasm2js_i32$0 + 44 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Fixture__GetBody_28_29(HEAP32[$1 + 52 >> 2]), - HEAP32[wasm2js_i32$0 + 40 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Body__GetTransform_28_29_20const(HEAP32[$2 + 44 >> 2]), - HEAP32[wasm2js_i32$0 + 36 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Body__GetTransform_28_29_20const(HEAP32[$2 + 40 >> 2]), - HEAP32[wasm2js_i32$0 + 32 >> 2] = wasm2js_i32$1; - label$2: { - if (HEAP8[$2 + 51 | 0] & 1) { - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Fixture__GetShape_28_29(HEAP32[$1 + 48 >> 2]), - HEAP32[wasm2js_i32$0 + 28 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Fixture__GetShape_28_29(HEAP32[$1 + 52 >> 2]), - HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2TestOverlap_28b2Shape_20const__2c_20int_2c_20b2Shape_20const__2c_20int_2c_20b2Transform_20const__2c_20b2Transform_20const__29(HEAP32[$2 + 28 >> 2], HEAP32[$1 + 56 >> 2], HEAP32[$2 + 24 >> 2], HEAP32[$1 + 60 >> 2], HEAP32[$2 + 36 >> 2], HEAP32[$2 + 32 >> 2]) & 1, - HEAP8[wasm2js_i32$0 + 55 | 0] = wasm2js_i32$1; - HEAP32[$1 + 124 >> 2] = 0; - break label$2; - } - FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] >> 2]]($1, $1 - -64 | 0, HEAP32[$2 + 36 >> 2], HEAP32[$2 + 32 >> 2]); - HEAP8[$2 + 55 | 0] = HEAP32[$1 + 124 >> 2] > 0; - HEAP32[$2 + 20 >> 2] = 0; - while (1) { - if (HEAP32[$2 + 20 >> 2] < HEAP32[$1 + 124 >> 2]) { - HEAP32[$2 + 16 >> 2] = ($1 - -64 | 0) + Math_imul(HEAP32[$2 + 20 >> 2], 20); - HEAPF32[HEAP32[$2 + 16 >> 2] + 8 >> 2] = 0; - HEAPF32[HEAP32[$2 + 16 >> 2] + 12 >> 2] = 0; - HEAP32[$2 + 12 >> 2] = HEAP32[HEAP32[$2 + 16 >> 2] + 16 >> 2]; - HEAP32[$2 + 8 >> 2] = 0; - while (1) { - if (HEAP32[$2 + 8 >> 2] < HEAP32[$2 + 116 >> 2]) { - HEAP32[$2 + 4 >> 2] = ($2 + 56 | 0) + Math_imul(HEAP32[$2 + 8 >> 2], 20); - if (HEAP32[HEAP32[$2 + 4 >> 2] + 16 >> 2] == HEAP32[$2 + 12 >> 2]) { - HEAPF32[HEAP32[$2 + 16 >> 2] + 8 >> 2] = HEAPF32[HEAP32[$2 + 4 >> 2] + 8 >> 2]; - HEAPF32[HEAP32[$2 + 16 >> 2] + 12 >> 2] = HEAPF32[HEAP32[$2 + 4 >> 2] + 12 >> 2]; - } else { - HEAP32[$2 + 8 >> 2] = HEAP32[$2 + 8 >> 2] + 1; - continue; - } - } - break; - } - HEAP32[$2 + 20 >> 2] = HEAP32[$2 + 20 >> 2] + 1; - continue; - } - break; - } - if ((HEAP8[$2 + 55 | 0] & 1) != (HEAP8[$2 + 54 | 0] & 1)) { - b2Body__SetAwake_28bool_29(HEAP32[$2 + 44 >> 2], 1); - b2Body__SetAwake_28bool_29(HEAP32[$2 + 40 >> 2], 1); - } - } - label$11: { - if (HEAP8[$2 + 55 | 0] & 1) { - HEAP32[$1 + 4 >> 2] = HEAP32[$1 + 4 >> 2] | 2; - break label$11; - } - HEAP32[$1 + 4 >> 2] = HEAP32[$1 + 4 >> 2] & -3; - } - if (!(!HEAP32[$2 + 120 >> 2] | (!(HEAP8[$2 + 55 | 0] & 1) | HEAP8[$2 + 54 | 0] & 1))) { - $0 = HEAP32[$2 + 120 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 8 >> 2]]($0, $1); - } - if (!(!HEAP32[$2 + 120 >> 2] | (!(HEAP8[$2 + 54 | 0] & 1) | HEAP8[$2 + 55 | 0] & 1))) { - $0 = HEAP32[$2 + 120 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 12 >> 2]]($0, $1); - } - if (!(!HEAP32[$2 + 120 >> 2] | (!(HEAP8[$2 + 55 | 0] & 1) | HEAP8[$2 + 51 | 0] & 1))) { - $0 = HEAP32[$2 + 120 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0, $1, $2 + 56 | 0); - } - __stack_pointer = $2 + 128 | 0; -} - -function b2FrictionJoint__SolveVelocityConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 176 | 0; - __stack_pointer = $2; - HEAP32[$2 + 172 >> 2] = $0; - HEAP32[$2 + 168 >> 2] = $1; - $3 = HEAP32[$2 + 172 >> 2]; - $1 = HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 104 >> 2], 12) | 0; - $0 = HEAP32[$1 >> 2]; - $4 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 160 >> 2] = $0; - HEAP32[$2 + 164 >> 2] = $4; - HEAPF32[$2 + 156 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 104 >> 2], 12) | 0) + 8 >> 2]; - $1 = HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 12) | 0; - $4 = HEAP32[$1 >> 2]; - $0 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 144 >> 2] = $4; - HEAP32[$2 + 148 >> 2] = $0; - HEAPF32[$2 + 140 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 12) | 0) + 8 >> 2]; - HEAPF32[$2 + 136 >> 2] = HEAPF32[$3 + 144 >> 2]; - HEAPF32[$2 + 132 >> 2] = HEAPF32[$3 + 148 >> 2]; - HEAPF32[$2 + 128 >> 2] = HEAPF32[$3 + 152 >> 2]; - HEAPF32[$2 + 124 >> 2] = HEAPF32[$3 + 156 >> 2]; - HEAPF32[$2 + 120 >> 2] = HEAPF32[HEAP32[$2 + 168 >> 2] >> 2]; - HEAPF32[$2 + 116 >> 2] = HEAPF32[$2 + 140 >> 2] - HEAPF32[$2 + 156 >> 2]; - HEAPF32[$2 + 112 >> 2] = Math_fround(-HEAPF32[$3 + 176 >> 2]) * HEAPF32[$2 + 116 >> 2]; - HEAPF32[$2 + 108 >> 2] = HEAPF32[$3 + 92 >> 2]; - HEAPF32[$2 + 104 >> 2] = HEAPF32[$2 + 120 >> 2] * HEAPF32[$3 + 100 >> 2]; - wasm2js_i32$0 = $3, wasm2js_f32$0 = float_20b2Clamp_float__28float_2c_20float_2c_20float_29(Math_fround(HEAPF32[$3 + 92 >> 2] + HEAPF32[$2 + 112 >> 2]), Math_fround(-HEAPF32[$2 + 104 >> 2]), HEAPF32[$2 + 104 >> 2]), - HEAPF32[wasm2js_i32$0 + 92 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 112 >> 2] = HEAPF32[$3 + 92 >> 2] - HEAPF32[$2 + 108 >> 2]; - HEAPF32[$2 + 156 >> 2] = Math_fround(Math_fround(-HEAPF32[$2 + 128 >> 2]) * HEAPF32[$2 + 112 >> 2]) + HEAPF32[$2 + 156 >> 2]; - HEAPF32[$2 + 140 >> 2] = Math_fround(HEAPF32[$2 + 124 >> 2] * HEAPF32[$2 + 112 >> 2]) + HEAPF32[$2 + 140 >> 2]; - b2Cross_28float_2c_20b2Vec2_20const__29($2 + 72 | 0, HEAPF32[$2 + 140 >> 2], $3 + 120 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 80 | 0, $2 + 144 | 0, $2 + 72 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 88 | 0, $2 + 80 | 0, $2 + 160 | 0); - b2Cross_28float_2c_20b2Vec2_20const__29($2 - -64 | 0, HEAPF32[$2 + 156 >> 2], $3 + 112 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 96 | 0, $2 + 88 | 0, $2 - -64 | 0); - b2Mul_28b2Mat22_20const__2c_20b2Vec2_20const__29($2 + 48 | 0, $3 + 160 | 0, $2 + 96 | 0); - b2Vec2__operator__28_29_20const($2 + 56 | 0, $2 + 48 | 0); - $4 = HEAP32[$3 + 88 >> 2]; - $0 = HEAP32[$3 + 84 >> 2]; - HEAP32[$2 + 40 >> 2] = $0; - HEAP32[$2 + 44 >> 2] = $4; - b2Vec2__operator___28b2Vec2_20const__29($3 + 84 | 0, $2 + 56 | 0); - HEAPF32[$2 + 36 >> 2] = HEAPF32[$2 + 120 >> 2] * HEAPF32[$3 + 96 >> 2]; - if (b2Vec2__LengthSquared_28_29_20const($3 + 84 | 0) > Math_fround(HEAPF32[$2 + 36 >> 2] * HEAPF32[$2 + 36 >> 2])) { - b2Vec2__Normalize_28_29($3 + 84 | 0); - b2Vec2__operator___28float_29($3 + 84 | 0, HEAPF32[$2 + 36 >> 2]); - } - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 28 | 0, $3 + 84 | 0, $2 + 40 | 0); - $0 = HEAP32[$2 + 32 >> 2]; - $4 = HEAP32[$2 + 28 >> 2]; - HEAP32[$2 + 56 >> 2] = $4; - HEAP32[$2 + 60 >> 2] = $0; - operator__28float_2c_20b2Vec2_20const__29($2 + 20 | 0, HEAPF32[$2 + 136 >> 2], $2 + 56 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 160 | 0, $2 + 20 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$2 + 128 >> 2]) * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 112 | 0, $2 + 56 | 0)) + HEAPF32[$2 + 156 >> 2]), - HEAPF32[wasm2js_i32$0 + 156 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($2 + 12 | 0, HEAPF32[$2 + 132 >> 2], $2 + 56 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 144 | 0, $2 + 12 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$2 + 124 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 120 | 0, $2 + 56 | 0)) + HEAPF32[$2 + 140 >> 2]), - HEAPF32[wasm2js_i32$0 + 140 >> 2] = wasm2js_f32$0; - $4 = HEAP32[$2 + 164 >> 2]; - $0 = HEAP32[$2 + 160 >> 2]; - $1 = $0; - $0 = HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 104 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $4; - HEAPF32[(HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 104 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 156 >> 2]; - $0 = HEAP32[$2 + 148 >> 2]; - $4 = HEAP32[$2 + 144 >> 2]; - $1 = $4; - $4 = HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 12) | 0; - HEAP32[$4 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 168 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 140 >> 2]; - __stack_pointer = $2 + 176 | 0; -} - -function b2MouseJoint__InitVelocityConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, $5 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 144 | 0; - __stack_pointer = $2; - HEAP32[$2 + 140 >> 2] = $0; - HEAP32[$2 + 136 >> 2] = $1; - $1 = HEAP32[$2 + 140 >> 2]; - HEAP32[$1 + 116 >> 2] = HEAP32[HEAP32[$1 + 52 >> 2] + 8 >> 2]; - $4 = HEAP32[$1 + 52 >> 2]; - $0 = HEAP32[$4 + 28 >> 2]; - $3 = HEAP32[$4 + 32 >> 2]; - HEAP32[$1 + 128 >> 2] = $0; - HEAP32[$1 + 132 >> 2] = $3; - HEAPF32[$1 + 136 >> 2] = HEAPF32[HEAP32[$1 + 52 >> 2] + 120 >> 2]; - HEAPF32[$1 + 140 >> 2] = HEAPF32[HEAP32[$1 + 52 >> 2] + 128 >> 2]; - $4 = HEAP32[HEAP32[$2 + 136 >> 2] + 24 >> 2] + Math_imul(HEAP32[$1 + 116 >> 2], 12) | 0; - $3 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 128 >> 2] = $3; - HEAP32[$2 + 132 >> 2] = $0; - HEAPF32[$2 + 124 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 136 >> 2] + 24 >> 2] + Math_imul(HEAP32[$1 + 116 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 136 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 116 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $3 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 112 >> 2] = $0; - HEAP32[$2 + 116 >> 2] = $3; - HEAPF32[$2 + 108 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 136 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 116 >> 2], 12) | 0) + 8 >> 2]; - b2Rot__b2Rot_28float_29($2 + 100 | 0, HEAPF32[$2 + 124 >> 2]); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Body__GetMass_28_29_20const(HEAP32[$1 + 52 >> 2]), - HEAPF32[wasm2js_i32$0 + 96 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 92 >> 2] = HEAPF32[$1 + 84 >> 2] * Math_fround(6.2831854820251465); - $5 = HEAPF32[$2 + 96 >> 2]; - HEAPF32[$2 + 88 >> 2] = Math_fround(Math_fround($5 + $5) * HEAPF32[$1 + 88 >> 2]) * HEAPF32[$2 + 92 >> 2]; - HEAPF32[$2 + 84 >> 2] = HEAPF32[$2 + 96 >> 2] * Math_fround(HEAPF32[$2 + 92 >> 2] * HEAPF32[$2 + 92 >> 2]); - HEAPF32[$2 + 80 >> 2] = HEAPF32[HEAP32[$2 + 136 >> 2] >> 2]; - HEAPF32[$1 + 108 >> 2] = HEAPF32[$2 + 80 >> 2] * Math_fround(Math_fround(HEAPF32[$2 + 80 >> 2] * HEAPF32[$2 + 84 >> 2]) + HEAPF32[$2 + 88 >> 2]); - if (HEAPF32[$1 + 108 >> 2] != Math_fround(0)) { - HEAPF32[$1 + 108 >> 2] = Math_fround(1) / HEAPF32[$1 + 108 >> 2]; - } - HEAPF32[$1 + 92 >> 2] = Math_fround(HEAPF32[$2 + 80 >> 2] * HEAPF32[$2 + 84 >> 2]) * HEAPF32[$1 + 108 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 - -64 | 0, $1 + 68 | 0, $1 + 128 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 72 | 0, $2 + 100 | 0, $2 - -64 | 0); - $0 = HEAP32[$2 + 76 >> 2]; - $3 = HEAP32[$2 + 72 >> 2]; - HEAP32[$1 + 120 >> 2] = $3; - HEAP32[$1 + 124 >> 2] = $0; - b2Mat22__b2Mat22_28_29($2 + 48 | 0); - HEAPF32[$2 + 48 >> 2] = Math_fround(Math_fround(Math_fround(HEAPF32[$1 + 140 >> 2] * HEAPF32[$1 + 124 >> 2]) * HEAPF32[$1 + 124 >> 2]) + HEAPF32[$1 + 136 >> 2]) + HEAPF32[$1 + 108 >> 2]; - HEAPF32[$2 + 52 >> 2] = Math_fround(Math_fround(-HEAPF32[$1 + 140 >> 2]) * HEAPF32[$1 + 120 >> 2]) * HEAPF32[$1 + 124 >> 2]; - HEAPF32[$2 + 56 >> 2] = HEAPF32[$2 + 52 >> 2]; - HEAPF32[$2 + 60 >> 2] = Math_fround(Math_fround(Math_fround(HEAPF32[$1 + 140 >> 2] * HEAPF32[$1 + 120 >> 2]) * HEAPF32[$1 + 120 >> 2]) + HEAPF32[$1 + 136 >> 2]) + HEAPF32[$1 + 108 >> 2]; - b2Mat22__GetInverse_28_29_20const($2 + 32 | 0, $2 + 48 | 0); - $3 = HEAP32[$2 + 36 >> 2]; - $0 = HEAP32[$2 + 32 >> 2]; - HEAP32[$1 + 144 >> 2] = $0; - HEAP32[$1 + 148 >> 2] = $3; - $0 = HEAP32[$2 + 44 >> 2]; - $3 = HEAP32[$2 + 40 >> 2]; - HEAP32[$1 + 152 >> 2] = $3; - HEAP32[$1 + 156 >> 2] = $0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 16 | 0, $2 + 128 | 0, $1 + 120 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 24 | 0, $2 + 16 | 0, $1 + 76 | 0); - $3 = HEAP32[$2 + 28 >> 2]; - $0 = HEAP32[$2 + 24 >> 2]; - HEAP32[$1 + 160 >> 2] = $0; - HEAP32[$1 + 164 >> 2] = $3; - b2Vec2__operator___28float_29($1 + 160 | 0, HEAPF32[$1 + 92 >> 2]); - HEAPF32[$2 + 108 >> 2] = HEAPF32[$2 + 108 >> 2] * Math_fround(.9800000190734863); - label$2: { - if (HEAP8[HEAP32[$2 + 136 >> 2] + 20 | 0] & 1) { - b2Vec2__operator___28float_29($1 + 96 | 0, HEAPF32[HEAP32[$2 + 136 >> 2] + 8 >> 2]); - operator__28float_2c_20b2Vec2_20const__29($2 + 8 | 0, HEAPF32[$1 + 136 >> 2], $1 + 96 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 112 | 0, $2 + 8 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$1 + 140 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 120 | 0, $1 + 96 | 0)) + HEAPF32[$2 + 108 >> 2]), - HEAPF32[wasm2js_i32$0 + 108 >> 2] = wasm2js_f32$0; - break label$2; - } - b2Vec2__SetZero_28_29($1 + 96 | 0); - } - $0 = HEAP32[$2 + 116 >> 2]; - $3 = HEAP32[$2 + 112 >> 2]; - $4 = $3; - $3 = HEAP32[HEAP32[$2 + 136 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 116 >> 2], 12) | 0; - HEAP32[$3 >> 2] = $4; - HEAP32[$3 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 136 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 116 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 108 >> 2]; - __stack_pointer = $2 + 144 | 0; -} - -function b2SeparationFunction__FindMinSeparation_28int__2c_20int__2c_20float_29_20const($0, $1, $2, $3) { - var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $4 = __stack_pointer - 256 | 0; - __stack_pointer = $4; - HEAP32[$4 + 248 >> 2] = $0; - HEAP32[$4 + 244 >> 2] = $1; - HEAP32[$4 + 240 >> 2] = $2; - HEAPF32[$4 + 236 >> 2] = $3; - $2 = HEAP32[$4 + 248 >> 2]; - b2Transform__b2Transform_28_29($4 + 220 | 0); - b2Transform__b2Transform_28_29($4 + 204 | 0); - b2Sweep__GetTransform_28b2Transform__2c_20float_29_20const($2 + 8 | 0, $4 + 220 | 0, HEAPF32[$4 + 236 >> 2]); - b2Sweep__GetTransform_28b2Transform__2c_20float_29_20const($2 + 44 | 0, $4 + 204 | 0, HEAPF32[$4 + 236 >> 2]); - label$1: { - label$2: { - switch (HEAP32[$2 + 80 >> 2]) { - case 0: - b2MulT_28b2Rot_20const__2c_20b2Vec2_20const__29($4 + 196 | 0, $4 + 228 | 0, $2 + 92 | 0); - b2Vec2__operator__28_29_20const($4 + 180 | 0, $2 + 92 | 0); - b2MulT_28b2Rot_20const__2c_20b2Vec2_20const__29($4 + 188 | 0, $4 + 212 | 0, $4 + 180 | 0); - $0 = b2DistanceProxy__GetSupport_28b2Vec2_20const__29_20const(HEAP32[$2 >> 2], $4 + 196 | 0); - HEAP32[HEAP32[$4 + 244 >> 2] >> 2] = $0; - $0 = b2DistanceProxy__GetSupport_28b2Vec2_20const__29_20const(HEAP32[$2 + 4 >> 2], $4 + 188 | 0); - HEAP32[HEAP32[$4 + 240 >> 2] >> 2] = $0; - $5 = b2DistanceProxy__GetVertex_28int_29_20const(HEAP32[$2 >> 2], HEAP32[HEAP32[$4 + 244 >> 2] >> 2]); - $1 = HEAP32[$5 >> 2]; - $0 = HEAP32[$5 + 4 >> 2]; - HEAP32[$4 + 168 >> 2] = $1; - HEAP32[$4 + 172 >> 2] = $0; - $5 = b2DistanceProxy__GetVertex_28int_29_20const(HEAP32[$2 + 4 >> 2], HEAP32[HEAP32[$4 + 240 >> 2] >> 2]); - $0 = HEAP32[$5 >> 2]; - $1 = HEAP32[$5 + 4 >> 2]; - HEAP32[$4 + 160 >> 2] = $0; - HEAP32[$4 + 164 >> 2] = $1; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 152 | 0, $4 + 220 | 0, $4 + 168 | 0); - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 144 | 0, $4 + 204 | 0, $4 + 160 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 132 | 0, $4 + 144 | 0, $4 + 152 | 0); - wasm2js_i32$0 = $4, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 132 | 0, $2 + 92 | 0), - HEAPF32[wasm2js_i32$0 + 140 >> 2] = wasm2js_f32$0; - HEAPF32[$4 + 252 >> 2] = HEAPF32[$4 + 140 >> 2]; - break label$1; - - case 1: - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($4 + 124 | 0, $4 + 228 | 0, $2 + 92 | 0); - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 116 | 0, $4 + 220 | 0, $2 + 84 | 0); - b2Vec2__operator__28_29_20const($4 + 100 | 0, $4 + 124 | 0); - b2MulT_28b2Rot_20const__2c_20b2Vec2_20const__29($4 + 108 | 0, $4 + 212 | 0, $4 + 100 | 0); - HEAP32[HEAP32[$4 + 244 >> 2] >> 2] = -1; - $0 = b2DistanceProxy__GetSupport_28b2Vec2_20const__29_20const(HEAP32[$2 + 4 >> 2], $4 + 108 | 0); - HEAP32[HEAP32[$4 + 240 >> 2] >> 2] = $0; - $5 = b2DistanceProxy__GetVertex_28int_29_20const(HEAP32[$2 + 4 >> 2], HEAP32[HEAP32[$4 + 240 >> 2] >> 2]); - $1 = HEAP32[$5 >> 2]; - $0 = HEAP32[$5 + 4 >> 2]; - HEAP32[$4 + 88 >> 2] = $1; - HEAP32[$4 + 92 >> 2] = $0; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 80 | 0, $4 + 204 | 0, $4 + 88 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 68 | 0, $4 + 80 | 0, $4 + 116 | 0); - wasm2js_i32$0 = $4, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 68 | 0, $4 + 124 | 0), - HEAPF32[wasm2js_i32$0 + 76 >> 2] = wasm2js_f32$0; - HEAPF32[$4 + 252 >> 2] = HEAPF32[$4 + 76 >> 2]; - break label$1; - - case 2: - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($4 + 60 | 0, $4 + 212 | 0, $2 + 92 | 0); - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 52 | 0, $4 + 204 | 0, $2 + 84 | 0); - b2Vec2__operator__28_29_20const($4 + 36 | 0, $4 + 60 | 0); - b2MulT_28b2Rot_20const__2c_20b2Vec2_20const__29($4 + 44 | 0, $4 + 228 | 0, $4 + 36 | 0); - HEAP32[HEAP32[$4 + 240 >> 2] >> 2] = -1; - $0 = b2DistanceProxy__GetSupport_28b2Vec2_20const__29_20const(HEAP32[$2 >> 2], $4 + 44 | 0); - HEAP32[HEAP32[$4 + 244 >> 2] >> 2] = $0; - $5 = b2DistanceProxy__GetVertex_28int_29_20const(HEAP32[$2 >> 2], HEAP32[HEAP32[$4 + 244 >> 2] >> 2]); - $0 = HEAP32[$5 >> 2]; - $1 = HEAP32[$5 + 4 >> 2]; - HEAP32[$4 + 24 >> 2] = $0; - HEAP32[$4 + 28 >> 2] = $1; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 16 | 0, $4 + 220 | 0, $4 + 24 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 4 | 0, $4 + 16 | 0, $4 + 52 | 0); - wasm2js_i32$0 = $4, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 4 | 0, $4 + 60 | 0), - HEAPF32[wasm2js_i32$0 + 12 >> 2] = wasm2js_f32$0; - HEAPF32[$4 + 252 >> 2] = HEAPF32[$4 + 12 >> 2]; - break label$1; - - default: - break label$2; - } - } - __assert_fail(9386, 5435, 190, 6858); - wasm2js_trap(); - } - __stack_pointer = $4 + 256 | 0; - return HEAPF32[$4 + 252 >> 2]; -} - -function b2Simplex__ReadCache_28b2SimplexCache_20const__2c_20b2DistanceProxy_20const__2c_20b2Transform_20const__2c_20b2DistanceProxy_20const__2c_20b2Transform_20const__29($0, $1, $2, $3, $4, $5) { - var $6 = 0, $7 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $6 = __stack_pointer - 144 | 0; - __stack_pointer = $6; - HEAP32[$6 + 140 >> 2] = $0; - HEAP32[$6 + 136 >> 2] = $1; - HEAP32[$6 + 132 >> 2] = $2; - HEAP32[$6 + 128 >> 2] = $3; - HEAP32[$6 + 124 >> 2] = $4; - HEAP32[$6 + 120 >> 2] = $5; - $3 = HEAP32[$6 + 140 >> 2]; - if (HEAPU16[HEAP32[$6 + 136 >> 2] + 4 >> 1] > 3) { - __assert_fail(12284, 6125, 112, 9959); - wasm2js_trap(); - } - HEAP32[$3 + 108 >> 2] = HEAPU16[HEAP32[$6 + 136 >> 2] + 4 >> 1]; - HEAP32[$6 + 116 >> 2] = $3; - HEAP32[$6 + 112 >> 2] = 0; - while (1) { - if (HEAP32[$6 + 112 >> 2] < HEAP32[$3 + 108 >> 2]) { - HEAP32[$6 + 108 >> 2] = HEAP32[$6 + 116 >> 2] + Math_imul(HEAP32[$6 + 112 >> 2], 36); - HEAP32[HEAP32[$6 + 108 >> 2] + 28 >> 2] = HEAPU8[HEAP32[$6 + 112 >> 2] + (HEAP32[$6 + 136 >> 2] + 6 | 0) | 0]; - HEAP32[HEAP32[$6 + 108 >> 2] + 32 >> 2] = HEAPU8[HEAP32[$6 + 112 >> 2] + (HEAP32[$6 + 136 >> 2] + 9 | 0) | 0]; - $2 = b2DistanceProxy__GetVertex_28int_29_20const(HEAP32[$6 + 132 >> 2], HEAP32[HEAP32[$6 + 108 >> 2] + 28 >> 2]); - $0 = HEAP32[$2 >> 2]; - $1 = HEAP32[$2 + 4 >> 2]; - HEAP32[$6 + 96 >> 2] = $0; - HEAP32[$6 + 100 >> 2] = $1; - $2 = b2DistanceProxy__GetVertex_28int_29_20const(HEAP32[$6 + 124 >> 2], HEAP32[HEAP32[$6 + 108 >> 2] + 32 >> 2]); - $1 = HEAP32[$2 >> 2]; - $0 = HEAP32[$2 + 4 >> 2]; - HEAP32[$6 + 88 >> 2] = $1; - HEAP32[$6 + 92 >> 2] = $0; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($6 + 80 | 0, HEAP32[$6 + 128 >> 2], $6 + 96 | 0); - $1 = HEAP32[$6 + 84 >> 2]; - $0 = HEAP32[$6 + 80 >> 2]; - $2 = $0; - $0 = HEAP32[$6 + 108 >> 2]; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $1; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($6 + 72 | 0, HEAP32[$6 + 120 >> 2], $6 + 88 | 0); - $0 = HEAP32[$6 + 76 >> 2]; - $1 = HEAP32[$6 + 72 >> 2]; - $2 = $1; - $1 = HEAP32[$6 + 108 >> 2]; - HEAP32[$1 + 8 >> 2] = $2; - HEAP32[$1 + 12 >> 2] = $0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($6 - -64 | 0, HEAP32[$6 + 108 >> 2] + 8 | 0, HEAP32[$6 + 108 >> 2]); - $1 = HEAP32[$6 + 68 >> 2]; - $0 = HEAP32[$6 + 64 >> 2]; - $2 = $0; - $0 = HEAP32[$6 + 108 >> 2]; - HEAP32[$0 + 16 >> 2] = $2; - HEAP32[$0 + 20 >> 2] = $1; - HEAPF32[HEAP32[$6 + 108 >> 2] + 24 >> 2] = 0; - HEAP32[$6 + 112 >> 2] = HEAP32[$6 + 112 >> 2] + 1; - continue; - } - break; - } - if (HEAP32[$3 + 108 >> 2] > 1) { - HEAPF32[$6 + 60 >> 2] = HEAPF32[HEAP32[$6 + 136 >> 2] >> 2]; - wasm2js_i32$0 = $6, wasm2js_f32$0 = b2Simplex__GetMetric_28_29_20const($3), HEAPF32[wasm2js_i32$0 + 56 >> 2] = wasm2js_f32$0; - label$5: { - label$6: { - if (HEAPF32[$6 + 56 >> 2] < Math_fround(HEAPF32[$6 + 60 >> 2] * Math_fround(.5))) { - break label$6; - } - $7 = HEAPF32[$6 + 60 >> 2]; - if (HEAPF32[$6 + 56 >> 2] > Math_fround($7 + $7)) { - break label$6; - } - if (!(HEAPF32[$6 + 56 >> 2] < Math_fround(1.1920928955078125e-7))) { - break label$5; - } - } - HEAP32[$3 + 108 >> 2] = 0; - } - } - if (!HEAP32[$3 + 108 >> 2]) { - HEAP32[$6 + 52 >> 2] = HEAP32[$6 + 116 >> 2]; - HEAP32[HEAP32[$6 + 52 >> 2] + 28 >> 2] = 0; - HEAP32[HEAP32[$6 + 52 >> 2] + 32 >> 2] = 0; - $2 = b2DistanceProxy__GetVertex_28int_29_20const(HEAP32[$6 + 132 >> 2], 0); - $1 = HEAP32[$2 >> 2]; - $0 = HEAP32[$2 + 4 >> 2]; - HEAP32[$6 + 40 >> 2] = $1; - HEAP32[$6 + 44 >> 2] = $0; - $2 = b2DistanceProxy__GetVertex_28int_29_20const(HEAP32[$6 + 124 >> 2], 0); - $0 = HEAP32[$2 >> 2]; - $1 = HEAP32[$2 + 4 >> 2]; - HEAP32[$6 + 32 >> 2] = $0; - HEAP32[$6 + 36 >> 2] = $1; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($6 + 24 | 0, HEAP32[$6 + 128 >> 2], $6 + 40 | 0); - $0 = HEAP32[$6 + 28 >> 2]; - $1 = HEAP32[$6 + 24 >> 2]; - $2 = $1; - $1 = HEAP32[$6 + 52 >> 2]; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($6 + 16 | 0, HEAP32[$6 + 120 >> 2], $6 + 32 | 0); - $1 = HEAP32[$6 + 20 >> 2]; - $0 = HEAP32[$6 + 16 >> 2]; - $2 = $0; - $0 = HEAP32[$6 + 52 >> 2]; - HEAP32[$0 + 8 >> 2] = $2; - HEAP32[$0 + 12 >> 2] = $1; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 8 | 0, HEAP32[$6 + 52 >> 2] + 8 | 0, HEAP32[$6 + 52 >> 2]); - $0 = HEAP32[$6 + 12 >> 2]; - $1 = HEAP32[$6 + 8 >> 2]; - $2 = $1; - $1 = HEAP32[$6 + 52 >> 2]; - HEAP32[$1 + 16 >> 2] = $2; - HEAP32[$1 + 20 >> 2] = $0; - HEAPF32[HEAP32[$6 + 52 >> 2] + 24 >> 2] = 1; - HEAP32[$3 + 108 >> 2] = 1; - } - __stack_pointer = $6 + 144 | 0; -} - -function b2WheelJoint__SolvePositionConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, $5 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 176 | 0; - __stack_pointer = $2; - HEAP32[$2 + 172 >> 2] = $0; - HEAP32[$2 + 168 >> 2] = $1; - $3 = HEAP32[$2 + 172 >> 2]; - $4 = HEAP32[HEAP32[$2 + 168 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 132 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 160 >> 2] = $1; - HEAP32[$2 + 164 >> 2] = $0; - HEAPF32[$2 + 156 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 168 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 132 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 168 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 136 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 144 >> 2] = $0; - HEAP32[$2 + 148 >> 2] = $1; - HEAPF32[$2 + 140 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 168 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 136 >> 2], 12) | 0) + 8 >> 2]; - b2Rot__b2Rot_28float_29($2 + 132 | 0, HEAPF32[$2 + 156 >> 2]); - b2Rot__b2Rot_28float_29($2 + 124 | 0, HEAPF32[$2 + 140 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 108 | 0, $3 + 76 | 0, $3 + 140 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 116 | 0, $2 + 132 | 0, $2 + 108 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 92 | 0, $3 + 84 | 0, $3 + 148 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 100 | 0, $2 + 124 | 0, $2 + 92 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 68 | 0, $2 + 144 | 0, $2 + 160 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 76 | 0, $2 + 68 | 0, $2 + 100 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 84 | 0, $2 + 76 | 0, $2 + 116 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 60 | 0, $2 + 132 | 0, $3 + 100 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 48 | 0, $2 + 84 | 0, $2 + 116 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 48 | 0, $2 + 60 | 0), - HEAPF32[wasm2js_i32$0 + 56 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 100 | 0, $2 + 60 | 0), - HEAPF32[wasm2js_i32$0 + 44 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 84 | 0, $2 + 60 | 0), - HEAPF32[wasm2js_i32$0 + 40 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 36 >> 2] = Math_fround(Math_fround(HEAPF32[$3 + 168 >> 2] * HEAPF32[$3 + 200 >> 2]) * HEAPF32[$3 + 200 >> 2]) + Math_fround(Math_fround(Math_fround(HEAPF32[$3 + 164 >> 2] * HEAPF32[$3 + 196 >> 2]) * HEAPF32[$3 + 196 >> 2]) + Math_fround(HEAPF32[$3 + 156 >> 2] + HEAPF32[$3 + 160 >> 2])); - label$1: { - if (HEAPF32[$2 + 36 >> 2] != Math_fround(0)) { - HEAPF32[$2 + 32 >> 2] = Math_fround(-HEAPF32[$2 + 40 >> 2]) / HEAPF32[$2 + 36 >> 2]; - break label$1; - } - HEAPF32[$2 + 32 >> 2] = 0; - } - operator__28float_2c_20b2Vec2_20const__29($2 + 24 | 0, HEAPF32[$2 + 32 >> 2], $2 + 60 | 0); - HEAPF32[$2 + 20 >> 2] = HEAPF32[$2 + 32 >> 2] * HEAPF32[$2 + 56 >> 2]; - HEAPF32[$2 + 16 >> 2] = HEAPF32[$2 + 32 >> 2] * HEAPF32[$2 + 44 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 8 | 0, HEAPF32[$3 + 156 >> 2], $2 + 24 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 160 | 0, $2 + 8 | 0); - HEAPF32[$2 + 156 >> 2] = Math_fround(Math_fround(-HEAPF32[$3 + 164 >> 2]) * HEAPF32[$2 + 20 >> 2]) + HEAPF32[$2 + 156 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2, HEAPF32[$3 + 160 >> 2], $2 + 24 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 144 | 0, $2); - HEAPF32[$2 + 140 >> 2] = Math_fround(HEAPF32[$3 + 168 >> 2] * HEAPF32[$2 + 16 >> 2]) + HEAPF32[$2 + 140 >> 2]; - $0 = HEAP32[$2 + 164 >> 2]; - $1 = HEAP32[$2 + 160 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 168 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 132 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 168 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 132 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 156 >> 2]; - $1 = HEAP32[$2 + 148 >> 2]; - $0 = HEAP32[$2 + 144 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 168 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 136 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 168 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 136 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 140 >> 2]; - $5 = float_20b2Abs_float__28float_29(HEAPF32[$2 + 40 >> 2]); - __stack_pointer = $2 + 176 | 0; - return $5 <= Math_fround(.004999999888241291) | 0; -} - -function b2PolygonShape__ComputeMass_28b2MassData__2c_20float_29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0, $4 = 0, $5 = Math_fround(0), $6 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $3 = __stack_pointer - 128 | 0; - __stack_pointer = $3; - HEAP32[$3 + 124 >> 2] = $0; - HEAP32[$3 + 120 >> 2] = $1; - HEAPF32[$3 + 116 >> 2] = $2; - $0 = HEAP32[$3 + 124 >> 2]; - if (HEAP32[$0 + 148 >> 2] < 3) { - __assert_fail(12271, 5849, 391, 3615); - wasm2js_trap(); - } - b2Vec2__b2Vec2_28_29($3 + 108 | 0); - b2Vec2__Set_28float_2c_20float_29($3 + 108 | 0, Math_fround(0), Math_fround(0)); - HEAPF32[$3 + 104 >> 2] = 0; - HEAPF32[$3 + 100 >> 2] = 0; - b2Vec2__b2Vec2_28float_2c_20float_29($3 + 92 | 0, Math_fround(0), Math_fround(0)); - HEAP32[$3 + 88 >> 2] = 0; - while (1) { - if (HEAP32[$3 + 88 >> 2] < HEAP32[$0 + 148 >> 2]) { - b2Vec2__operator___28b2Vec2_20const__29($3 + 92 | 0, ($0 + 20 | 0) + (HEAP32[$3 + 88 >> 2] << 3) | 0); - HEAP32[$3 + 88 >> 2] = HEAP32[$3 + 88 >> 2] + 1; - continue; - } - break; - } - b2Vec2__operator___28float_29($3 + 92 | 0, Math_fround(Math_fround(1) / Math_fround(HEAP32[$0 + 148 >> 2]))); - HEAPF32[$3 + 84 >> 2] = .3333333432674408; - HEAP32[$3 + 80 >> 2] = 0; - while (1) { - if (HEAP32[$3 + 80 >> 2] < HEAP32[$0 + 148 >> 2]) { - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 72 | 0, ($0 + 20 | 0) + (HEAP32[$3 + 80 >> 2] << 3) | 0, $3 + 92 | 0); - label$6: { - if (HEAP32[$0 + 148 >> 2] > (HEAP32[$3 + 80 >> 2] + 1 | 0)) { - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 - -64 | 0, ((HEAP32[$3 + 80 >> 2] << 3) + $0 | 0) + 28 | 0, $3 + 92 | 0); - break label$6; - } - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 - -64 | 0, $0 + 20 | 0, $3 + 92 | 0); - } - wasm2js_i32$0 = $3, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 72 | 0, $3 - -64 | 0), - HEAPF32[wasm2js_i32$0 + 60 >> 2] = wasm2js_f32$0; - HEAPF32[$3 + 56 >> 2] = HEAPF32[$3 + 60 >> 2] * Math_fround(.5); - HEAPF32[$3 + 104 >> 2] = HEAPF32[$3 + 104 >> 2] + HEAPF32[$3 + 56 >> 2]; - $2 = HEAPF32[$3 + 56 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($3 + 40 | 0, $3 + 72 | 0, $3 - -64 | 0); - operator__28float_2c_20b2Vec2_20const__29($3 + 48 | 0, Math_fround($2 * Math_fround(.3333333432674408)), $3 + 40 | 0); - b2Vec2__operator___28b2Vec2_20const__29($3 + 108 | 0, $3 + 48 | 0); - HEAPF32[$3 + 36 >> 2] = HEAPF32[$3 + 72 >> 2]; - HEAPF32[$3 + 32 >> 2] = HEAPF32[$3 + 76 >> 2]; - HEAPF32[$3 + 28 >> 2] = HEAPF32[$3 + 64 >> 2]; - HEAPF32[$3 + 24 >> 2] = HEAPF32[$3 + 68 >> 2]; - HEAPF32[$3 + 20 >> 2] = Math_fround(HEAPF32[$3 + 28 >> 2] * HEAPF32[$3 + 28 >> 2]) + Math_fround(Math_fround(HEAPF32[$3 + 36 >> 2] * HEAPF32[$3 + 36 >> 2]) + Math_fround(HEAPF32[$3 + 28 >> 2] * HEAPF32[$3 + 36 >> 2])); - HEAPF32[$3 + 16 >> 2] = Math_fround(HEAPF32[$3 + 24 >> 2] * HEAPF32[$3 + 24 >> 2]) + Math_fround(Math_fround(HEAPF32[$3 + 32 >> 2] * HEAPF32[$3 + 32 >> 2]) + Math_fround(HEAPF32[$3 + 24 >> 2] * HEAPF32[$3 + 32 >> 2])); - HEAPF32[$3 + 100 >> 2] = Math_fround(Math_fround(HEAPF32[$3 + 60 >> 2] * Math_fround(.0833333358168602)) * Math_fround(HEAPF32[$3 + 20 >> 2] + HEAPF32[$3 + 16 >> 2])) + HEAPF32[$3 + 100 >> 2]; - HEAP32[$3 + 80 >> 2] = HEAP32[$3 + 80 >> 2] + 1; - continue; - } - break; - } - HEAPF32[HEAP32[$3 + 120 >> 2] >> 2] = HEAPF32[$3 + 116 >> 2] * HEAPF32[$3 + 104 >> 2]; - if (!(HEAPF32[$3 + 104 >> 2] > Math_fround(1.1920928955078125e-7))) { - __assert_fail(11167, 5849, 437, 3615); - wasm2js_trap(); - } - b2Vec2__operator___28float_29($3 + 108 | 0, Math_fround(Math_fround(1) / HEAPF32[$3 + 104 >> 2])); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($3 + 8 | 0, $3 + 108 | 0, $3 + 92 | 0); - $4 = HEAP32[$3 + 12 >> 2]; - $0 = HEAP32[$3 + 8 >> 2]; - $1 = $0; - $0 = HEAP32[$3 + 120 >> 2]; - HEAP32[$0 + 4 >> 2] = $1; - HEAP32[$0 + 8 >> 2] = $4; - HEAPF32[HEAP32[$3 + 120 >> 2] + 12 >> 2] = HEAPF32[$3 + 116 >> 2] * HEAPF32[$3 + 100 >> 2]; - $2 = HEAPF32[HEAP32[$3 + 120 >> 2] >> 2]; - $5 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$3 + 120 >> 2] + 4 | 0, HEAP32[$3 + 120 >> 2] + 4 | 0); - $0 = $3 + 108 | 0; - $6 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($0, $0); - $0 = HEAP32[$3 + 120 >> 2]; - HEAPF32[$0 + 12 >> 2] = Math_fround($2 * Math_fround($5 - $6)) + HEAPF32[$0 + 12 >> 2]; - __stack_pointer = $3 + 128 | 0; -} - -function b2PositionSolverManifold__Initialize_28b2ContactPositionConstraint__2c_20b2Transform_20const__2c_20b2Transform_20const__2c_20int_29($0, $1, $2, $3, $4) { - var $5 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $5 = __stack_pointer - 144 | 0; - __stack_pointer = $5; - HEAP32[$5 + 140 >> 2] = $0; - HEAP32[$5 + 136 >> 2] = $1; - HEAP32[$5 + 132 >> 2] = $2; - HEAP32[$5 + 128 >> 2] = $3; - HEAP32[$5 + 124 >> 2] = $4; - $1 = HEAP32[$5 + 140 >> 2]; - if (HEAP32[HEAP32[$5 + 136 >> 2] + 84 >> 2] <= 0) { - __assert_fail(12503, 5644, 627, 8768); - wasm2js_trap(); - } - label$2: { - label$3: { - switch (HEAP32[HEAP32[$5 + 136 >> 2] + 72 >> 2]) { - case 0: - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($5 + 116 | 0, HEAP32[$5 + 132 >> 2], HEAP32[$5 + 136 >> 2] + 24 | 0); - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($5 + 108 | 0, HEAP32[$5 + 128 >> 2], HEAP32[$5 + 136 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 100 | 0, $5 + 108 | 0, $5 + 116 | 0); - $2 = HEAP32[$5 + 104 >> 2]; - $0 = HEAP32[$5 + 100 >> 2]; - $3 = $0; - $0 = $1; - HEAP32[$0 >> 2] = $3; - HEAP32[$0 + 4 >> 2] = $2; - b2Vec2__Normalize_28_29($0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($5 + 84 | 0, $5 + 116 | 0, $5 + 108 | 0); - operator__28float_2c_20b2Vec2_20const__29($5 + 92 | 0, Math_fround(.5), $5 + 84 | 0); - $0 = HEAP32[$5 + 96 >> 2]; - $2 = HEAP32[$5 + 92 >> 2]; - $3 = $2; - $2 = $1; - HEAP32[$2 + 8 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = $0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 76 | 0, $5 + 108 | 0, $5 + 116 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 76 | 0, $2) - HEAPF32[HEAP32[$5 + 136 >> 2] + 76 >> 2]) - HEAPF32[HEAP32[$5 + 136 >> 2] + 80 >> 2]), - HEAPF32[wasm2js_i32$0 + 16 >> 2] = wasm2js_f32$0; - break label$2; - - case 1: - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($5 + 68 | 0, HEAP32[$5 + 132 >> 2] + 8 | 0, HEAP32[$5 + 136 >> 2] + 16 | 0); - $2 = HEAP32[$5 + 72 >> 2]; - $0 = HEAP32[$5 + 68 >> 2]; - $3 = $0; - $0 = $1; - HEAP32[$0 >> 2] = $3; - HEAP32[$0 + 4 >> 2] = $2; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($5 + 60 | 0, HEAP32[$5 + 132 >> 2], HEAP32[$5 + 136 >> 2] + 24 | 0); - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($5 + 52 | 0, HEAP32[$5 + 128 >> 2], HEAP32[$5 + 136 >> 2] + (HEAP32[$5 + 124 >> 2] << 3) | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 44 | 0, $5 + 52 | 0, $5 + 60 | 0); - wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround(Math_fround(b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 44 | 0, $0) - HEAPF32[HEAP32[$5 + 136 >> 2] + 76 >> 2]) - HEAPF32[HEAP32[$5 + 136 >> 2] + 80 >> 2]), - HEAPF32[wasm2js_i32$0 + 16 >> 2] = wasm2js_f32$0; - $0 = HEAP32[$5 + 56 >> 2]; - $2 = HEAP32[$5 + 52 >> 2]; - $3 = $2; - $2 = $1; - HEAP32[$2 + 8 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = $0; - break label$2; - - case 2: - break label$3; - - default: - break label$2; - } - } - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($5 + 36 | 0, HEAP32[$5 + 128 >> 2] + 8 | 0, HEAP32[$5 + 136 >> 2] + 16 | 0); - $2 = HEAP32[$5 + 40 >> 2]; - $0 = HEAP32[$5 + 36 >> 2]; - $3 = $0; - $0 = $1; - HEAP32[$0 >> 2] = $3; - HEAP32[$0 + 4 >> 2] = $2; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($5 + 28 | 0, HEAP32[$5 + 128 >> 2], HEAP32[$5 + 136 >> 2] + 24 | 0); - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($5 + 20 | 0, HEAP32[$5 + 132 >> 2], HEAP32[$5 + 136 >> 2] + (HEAP32[$5 + 124 >> 2] << 3) | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 12 | 0, $5 + 20 | 0, $5 + 28 | 0); - wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround(Math_fround(b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 12 | 0, $0) - HEAPF32[HEAP32[$5 + 136 >> 2] + 76 >> 2]) - HEAPF32[HEAP32[$5 + 136 >> 2] + 80 >> 2]), - HEAPF32[wasm2js_i32$0 + 16 >> 2] = wasm2js_f32$0; - $0 = HEAP32[$5 + 24 >> 2]; - $2 = HEAP32[$5 + 20 >> 2]; - $3 = $2; - $2 = $1; - HEAP32[$2 + 8 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = $0; - b2Vec2__operator__28_29_20const($5 + 4 | 0, $2); - $2 = HEAP32[$5 + 8 >> 2]; - $0 = HEAP32[$5 + 4 >> 2]; - $3 = $0; - $0 = $1; - HEAP32[$0 >> 2] = $3; - HEAP32[$0 + 4 >> 2] = $2; - } - __stack_pointer = $5 + 144 | 0; -} - -function b2DistanceJoint__SolvePositionConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0), wasm2js_i32$1 = 0; - $2 = __stack_pointer - 160 | 0; - __stack_pointer = $2; - HEAP32[$2 + 152 >> 2] = $0; - HEAP32[$2 + 148 >> 2] = $1; - $3 = HEAP32[$2 + 152 >> 2]; - label$1: { - if (HEAPF32[$3 + 68 >> 2] > Math_fround(0)) { - HEAP8[$2 + 159 | 0] = 1; - break label$1; - } - $4 = HEAP32[HEAP32[$2 + 148 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 136 >> 2] = $0; - HEAP32[$2 + 140 >> 2] = $1; - HEAPF32[$2 + 132 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 148 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 148 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 112 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 120 >> 2] = $1; - HEAP32[$2 + 124 >> 2] = $0; - HEAPF32[$2 + 116 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 148 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 112 >> 2], 12) | 0) + 8 >> 2]; - b2Rot__b2Rot_28float_29($2 + 108 | 0, HEAPF32[$2 + 132 >> 2]); - b2Rot__b2Rot_28float_29($2 + 100 | 0, HEAPF32[$2 + 116 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 84 | 0, $3 + 80 | 0, $3 + 140 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 92 | 0, $2 + 108 | 0, $2 + 84 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 68 | 0, $3 + 88 | 0, $3 + 148 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 76 | 0, $2 + 100 | 0, $2 + 68 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 44 | 0, $2 + 120 | 0, $2 + 76 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 52 | 0, $2 + 44 | 0, $2 + 136 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 60 | 0, $2 + 52 | 0, $2 + 92 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Vec2__Normalize_28_29($2 + 60 | 0), HEAPF32[wasm2js_i32$0 + 40 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 36 >> 2] = HEAPF32[$2 + 40 >> 2] - HEAPF32[$3 + 104 >> 2]; - wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20b2Clamp_float__28float_2c_20float_2c_20float_29(HEAPF32[$2 + 36 >> 2], Math_fround(-.20000000298023224), Math_fround(.20000000298023224)), - HEAPF32[wasm2js_i32$0 + 36 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 32 >> 2] = Math_fround(-HEAPF32[$3 + 172 >> 2]) * HEAPF32[$2 + 36 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 24 | 0, HEAPF32[$2 + 32 >> 2], $2 + 60 | 0); - operator__28float_2c_20b2Vec2_20const__29($2 + 16 | 0, HEAPF32[$3 + 156 >> 2], $2 + 24 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 136 | 0, $2 + 16 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$3 + 164 >> 2]) * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 92 | 0, $2 + 24 | 0)) + HEAPF32[$2 + 132 >> 2]), - HEAPF32[wasm2js_i32$0 + 132 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($2 + 8 | 0, HEAPF32[$3 + 160 >> 2], $2 + 24 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 120 | 0, $2 + 8 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$3 + 168 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 76 | 0, $2 + 24 | 0)) + HEAPF32[$2 + 116 >> 2]), - HEAPF32[wasm2js_i32$0 + 116 >> 2] = wasm2js_f32$0; - $1 = HEAP32[$2 + 140 >> 2]; - $0 = HEAP32[$2 + 136 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 148 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 148 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 132 >> 2]; - $0 = HEAP32[$2 + 124 >> 2]; - $1 = HEAP32[$2 + 120 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 148 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 112 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 148 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 112 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 116 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = float_20b2Abs_float__28float_29(HEAPF32[$2 + 36 >> 2]) < Math_fround(.004999999888241291), - HEAP8[wasm2js_i32$0 + 159 | 0] = wasm2js_i32$1; - } - __stack_pointer = $2 + 160 | 0; - return HEAP8[$2 + 159 | 0] & 1; -} - -function _ZN17compiler_builtins3int4udiv10divmod_u6417h6026910b5ed08e40E($0, $1, $2, $3) { - var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0; - label$1: { - label$2: { - label$3: { - label$4: { - label$5: { - label$6: { - label$7: { - label$8: { - label$9: { - label$11: { - $10 = $1; - $7 = $10; - if ($7) { - $4 = $2; - if (!$4) { - break label$11; - } - $9 = $3; - if (!$9) { - break label$9; - } - $7 = Math_clz32($9) - Math_clz32($7) | 0; - if ($7 >>> 0 <= 31) { - break label$8; - } - break label$2; - } - $5 = $3; - if (($5 | 0) == 1 | $5 >>> 0 > 1) { - break label$2; - } - i64toi32_i32$HIGH_BITS = 0; - $7 = $0; - $4 = $2; - $7 = ($7 >>> 0) / ($4 >>> 0) | 0; - $5 = $7; - return $5; - } - $5 = $3; - $4 = $5; - if (!$0) { - break label$7; - } - if (!$4) { - break label$6; - } - $9 = $4 - 1 | 0; - if ($9 & $4) { - break label$6; - } - $5 = 0; - $6 = $7 >>> __wasm_ctz_i32($4) | 0; - i64toi32_i32$HIGH_BITS = 0; - return $6; - } - $9 = $4 - 1 | 0; - if (!($9 & $4)) { - break label$5; - } - $7 = (Math_clz32($4) + 33 | 0) - Math_clz32($7) | 0; - $4 = 0 - $7 | 0; - break label$3; - } - $4 = 63 - $7 | 0; - $7 = $7 + 1 | 0; - break label$3; - } - $9 = ($7 >>> 0) / ($4 >>> 0) | 0; - i64toi32_i32$HIGH_BITS = 0; - $5 = $9; - return $5; - } - $7 = Math_clz32($4) - Math_clz32($7) | 0; - if ($7 >>> 0 < 31) { - break label$4; - } - break label$2; - } - if (($4 | 0) == 1) { - break label$1; - } - $5 = $1; - $6 = $0; - $9 = 0; - $10 = __wasm_ctz_i32($4); - $8 = $10 & 31; - if (($10 & 63) >>> 0 >= 32) { - $6 = $5 >>> $8 | 0; - } else { - $9 = $5 >>> $8 | 0; - $6 = ((1 << $8) - 1 & $5) << 32 - $8 | $6 >>> $8; - } - i64toi32_i32$HIGH_BITS = $9; - return $6; - } - $4 = 63 - $7 | 0; - $7 = $7 + 1 | 0; - } - $6 = $1; - $5 = $0; - $9 = 0; - $10 = $7 & 63; - $8 = $10 & 31; - if (($10 & 63) >>> 0 >= 32) { - $11 = $6 >>> $8 | 0; - } else { - $9 = $6 >>> $8 | 0; - $11 = ((1 << $8) - 1 & $6) << 32 - $8 | $5 >>> $8; - } - $12 = $9; - $9 = $1; - $6 = $0; - $10 = $4 & 63; - $8 = $10 & 31; - if (($10 & 63) >>> 0 >= 32) { - $5 = $6 << $8; - $0 = 0; - } else { - $5 = (1 << $8) - 1 & $6 >>> 32 - $8 | $9 << $8; - $0 = $6 << $8; - } - $1 = $5; - if ($7) { - $5 = $3; - $4 = $5 - 1 | 0; - $9 = $2; - $8 = $9 - 1 | 0; - $4 = ($8 | 0) != -1 ? $4 + 1 | 0 : $4; - $15 = $8; - $16 = $4; - while (1) { - $4 = $12; - $5 = $11; - $9 = $4 << 1 | $5 >>> 31; - $6 = $5 << 1; - $5 = $9; - $4 = $17; - $4 = $5 | $4; - $12 = $4; - $10 = $1 >>> 31 | 0; - $9 = $6; - $11 = $10 | $9; - $5 = $15; - $10 = $11; - $4 = $16; - $9 = $12; - $8 = $9 + ($5 >>> 0 < $10 >>> 0) | 0; - $8 = $4 - $8 | 0; - $13 = $8 >> 31; - $5 = $8 >> 31; - $14 = $5; - $4 = $3; - $4 = $5 & $4; - $6 = $4; - $5 = $10; - $10 = $2; - $8 = $13; - $10 = $10 & $8; - $9 = $5 - $10 | 0; - $11 = $9; - $4 = $12; - $8 = $6; - $6 = $8 + ($5 >>> 0 < $10 >>> 0) | 0; - $6 = $4 - $6 | 0; - $12 = $6; - $6 = $1; - $4 = $0; - $5 = $6 << 1 | $4 >>> 31; - $10 = $18; - $6 = $4 << 1; - $0 = $10 | $6; - $4 = $17; - $4 = $4 | $5; - $1 = $4; - $6 = 0; - $14 = $6; - $5 = $13; - $13 = $5 & 1; - $18 = $13; - $7 = $7 - 1 | 0; - if ($7) { - continue; - } - break; - } - } - $6 = $1; - $4 = $0; - $5 = $6 << 1 | $4 >>> 31; - $4 = $14; - $4 = $5 | $4; - i64toi32_i32$HIGH_BITS = $4; - $10 = $13; - $6 = $0 << 1; - $6 = $10 | $6; - return $6; - } - $0 = 0; - $1 = 0; - } - $6 = $1; - i64toi32_i32$HIGH_BITS = $6; - $4 = $0; - return $4; -} - -function b2Joint__Create_28b2JointDef_20const__2c_20b2BlockAllocator__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer + -64 | 0; - __stack_pointer = $2; - HEAP32[$2 + 60 >> 2] = $0; - HEAP32[$2 + 56 >> 2] = $1; - HEAP32[$2 + 52 >> 2] = 0; - label$1: { - label$2: { - switch (HEAP32[HEAP32[$2 + 60 >> 2] >> 2] - 1 | 0) { - case 2: - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$2 + 56 >> 2], 176), - HEAP32[wasm2js_i32$0 + 48 >> 2] = wasm2js_i32$1; - $0 = HEAP32[$2 + 48 >> 2]; - b2DistanceJoint__b2DistanceJoint_28b2DistanceJointDef_20const__29($0, HEAP32[$2 + 60 >> 2]); - HEAP32[$2 + 52 >> 2] = $0; - break label$1; - - case 4: - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$2 + 56 >> 2], 168), - HEAP32[wasm2js_i32$0 + 44 >> 2] = wasm2js_i32$1; - $0 = HEAP32[$2 + 44 >> 2]; - b2MouseJoint__b2MouseJoint_28b2MouseJointDef_20const__29($0, HEAP32[$2 + 60 >> 2]); - HEAP32[$2 + 52 >> 2] = $0; - break label$1; - - case 1: - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$2 + 56 >> 2], 256), - HEAP32[wasm2js_i32$0 + 40 >> 2] = wasm2js_i32$1; - $0 = HEAP32[$2 + 40 >> 2]; - b2PrismaticJoint__b2PrismaticJoint_28b2PrismaticJointDef_20const__29($0, HEAP32[$2 + 60 >> 2]); - HEAP32[$2 + 52 >> 2] = $0; - break label$1; - - case 0: - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$2 + 56 >> 2], 228), - HEAP32[wasm2js_i32$0 + 36 >> 2] = wasm2js_i32$1; - $0 = HEAP32[$2 + 36 >> 2]; - b2RevoluteJoint__b2RevoluteJoint_28b2RevoluteJointDef_20const__29($0, HEAP32[$2 + 60 >> 2]); - HEAP32[$2 + 52 >> 2] = $0; - break label$1; - - case 3: - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$2 + 56 >> 2], 196), - HEAP32[wasm2js_i32$0 + 32 >> 2] = wasm2js_i32$1; - $0 = HEAP32[$2 + 32 >> 2]; - b2PulleyJoint__b2PulleyJoint_28b2PulleyJointDef_20const__29($0, HEAP32[$2 + 60 >> 2]); - HEAP32[$2 + 52 >> 2] = $0; - break label$1; - - case 5: - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$2 + 56 >> 2], 276), - HEAP32[wasm2js_i32$0 + 28 >> 2] = wasm2js_i32$1; - $0 = HEAP32[$2 + 28 >> 2]; - b2GearJoint__b2GearJoint_28b2GearJointDef_20const__29($0, HEAP32[$2 + 60 >> 2]); - HEAP32[$2 + 52 >> 2] = $0; - break label$1; - - case 6: - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$2 + 56 >> 2], 224), - HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; - $0 = HEAP32[$2 + 24 >> 2]; - b2WheelJoint__b2WheelJoint_28b2WheelJointDef_20const__29($0, HEAP32[$2 + 60 >> 2]); - HEAP32[$2 + 52 >> 2] = $0; - break label$1; - - case 7: - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$2 + 56 >> 2], 208), - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - $0 = HEAP32[$2 + 20 >> 2]; - b2WeldJoint__b2WeldJoint_28b2WeldJointDef_20const__29($0, HEAP32[$2 + 60 >> 2]); - HEAP32[$2 + 52 >> 2] = $0; - break label$1; - - case 8: - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$2 + 56 >> 2], 180), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - $0 = HEAP32[$2 + 16 >> 2]; - b2FrictionJoint__b2FrictionJoint_28b2FrictionJointDef_20const__29($0, HEAP32[$2 + 60 >> 2]); - HEAP32[$2 + 52 >> 2] = $0; - break label$1; - - case 9: - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$2 + 56 >> 2], 168), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - $0 = HEAP32[$2 + 12 >> 2]; - b2RopeJoint__b2RopeJoint_28b2RopeJointDef_20const__29($0, HEAP32[$2 + 60 >> 2]); - HEAP32[$2 + 52 >> 2] = $0; - break label$1; - - case 10: - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$2 + 56 >> 2], 192), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - $0 = HEAP32[$2 + 8 >> 2]; - b2MotorJoint__b2MotorJoint_28b2MotorJointDef_20const__29($0, HEAP32[$2 + 60 >> 2]); - HEAP32[$2 + 52 >> 2] = $0; - break label$1; - - default: - break label$2; - } - } - __assert_fail(9386, 4788, 124, 9184); - wasm2js_trap(); - } - __stack_pointer = $2 - -64 | 0; - return HEAP32[$2 + 52 >> 2]; -} - -function b2EdgeShape__RayCast_28b2RayCastOutput__2c_20b2RayCastInput_20const__2c_20b2Transform_20const__2c_20int_29_20const($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $5 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $5 = __stack_pointer - 192 | 0; - __stack_pointer = $5; - HEAP32[$5 + 184 >> 2] = $0; - HEAP32[$5 + 180 >> 2] = $1; - HEAP32[$5 + 176 >> 2] = $2; - HEAP32[$5 + 172 >> 2] = $3; - HEAP32[$5 + 168 >> 2] = $4; - $1 = HEAP32[$5 + 184 >> 2]; - $0 = HEAP32[$5 + 172 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 152 | 0, HEAP32[$5 + 176 >> 2], HEAP32[$5 + 172 >> 2]); - b2MulT_28b2Rot_20const__2c_20b2Vec2_20const__29($5 + 160 | 0, $0 + 8 | 0, $5 + 152 | 0); - $0 = HEAP32[$5 + 172 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 136 | 0, HEAP32[$5 + 176 >> 2] + 8 | 0, HEAP32[$5 + 172 >> 2]); - b2MulT_28b2Rot_20const__2c_20b2Vec2_20const__29($5 + 144 | 0, $0 + 8 | 0, $5 + 136 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 128 | 0, $5 + 144 | 0, $5 + 160 | 0); - $2 = HEAP32[$1 + 12 >> 2]; - $0 = HEAP32[$1 + 16 >> 2]; - HEAP32[$5 + 120 >> 2] = $2; - HEAP32[$5 + 124 >> 2] = $0; - $2 = HEAP32[$1 + 24 >> 2]; - $0 = HEAP32[$1 + 20 >> 2]; - HEAP32[$5 + 112 >> 2] = $0; - HEAP32[$5 + 116 >> 2] = $2; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 104 | 0, $5 + 112 | 0, $5 + 120 | 0); - b2Vec2__b2Vec2_28float_2c_20float_29($5 + 96 | 0, HEAPF32[$5 + 108 >> 2], Math_fround(-HEAPF32[$5 + 104 >> 2])); - b2Vec2__Normalize_28_29($5 + 96 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 84 | 0, $5 + 120 | 0, $5 + 160 | 0); - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 96 | 0, $5 + 84 | 0), - HEAPF32[wasm2js_i32$0 + 92 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 96 | 0, $5 + 128 | 0), - HEAPF32[wasm2js_i32$0 + 80 >> 2] = wasm2js_f32$0; - label$1: { - if (HEAPF32[$5 + 80 >> 2] == Math_fround(0)) { - HEAP8[$5 + 191 | 0] = 0; - break label$1; - } - HEAPF32[$5 + 76 >> 2] = HEAPF32[$5 + 92 >> 2] / HEAPF32[$5 + 80 >> 2]; - if (HEAPF32[$5 + 76 >> 2] < Math_fround(0) | HEAPF32[HEAP32[$5 + 176 >> 2] + 16 >> 2] < HEAPF32[$5 + 76 >> 2]) { - HEAP8[$5 + 191 | 0] = 0; - break label$1; - } - operator__28float_2c_20b2Vec2_20const__29($5 + 60 | 0, HEAPF32[$5 + 76 >> 2], $5 + 128 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($5 + 68 | 0, $5 + 160 | 0, $5 + 60 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 52 | 0, $5 + 112 | 0, $5 + 120 | 0); - $0 = $5 + 52 | 0; - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($0, $0), - HEAPF32[wasm2js_i32$0 + 48 >> 2] = wasm2js_f32$0; - if (HEAPF32[$5 + 48 >> 2] == Math_fround(0)) { - HEAP8[$5 + 191 | 0] = 0; - break label$1; - } - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 36 | 0, $5 + 68 | 0, $5 + 120 | 0); - wasm2js_i32$0 = $5, wasm2js_f32$0 = Math_fround(b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 36 | 0, $5 + 52 | 0) / HEAPF32[$5 + 48 >> 2]), - HEAPF32[wasm2js_i32$0 + 44 >> 2] = wasm2js_f32$0; - if (HEAPF32[$5 + 44 >> 2] < Math_fround(0) | HEAPF32[$5 + 44 >> 2] > Math_fround(1)) { - HEAP8[$5 + 191 | 0] = 0; - break label$1; - } - HEAPF32[HEAP32[$5 + 180 >> 2] + 8 >> 2] = HEAPF32[$5 + 76 >> 2]; - label$8: { - if (HEAPF32[$5 + 92 >> 2] > Math_fround(0)) { - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($5 + 20 | 0, HEAP32[$5 + 172 >> 2] + 8 | 0, $5 + 96 | 0); - b2Vec2__operator__28_29_20const($5 + 28 | 0, $5 + 20 | 0); - $0 = HEAP32[$5 + 32 >> 2]; - $2 = HEAP32[$5 + 28 >> 2]; - $1 = $2; - $2 = HEAP32[$5 + 180 >> 2]; - HEAP32[$2 >> 2] = $1; - HEAP32[$2 + 4 >> 2] = $0; - break label$8; - } - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($5 + 12 | 0, HEAP32[$5 + 172 >> 2] + 8 | 0, $5 + 96 | 0); - $2 = HEAP32[$5 + 16 >> 2]; - $0 = HEAP32[$5 + 12 >> 2]; - $1 = $0; - $0 = HEAP32[$5 + 180 >> 2]; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - } - HEAP8[$5 + 191 | 0] = 1; - } - __stack_pointer = $5 + 192 | 0; - return HEAP8[$5 + 191 | 0] & 1; -} - -function b2ContactSolver__WarmStart_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $1 = __stack_pointer - 144 | 0; - __stack_pointer = $1; - HEAP32[$1 + 140 >> 2] = $0; - $4 = HEAP32[$1 + 140 >> 2]; - HEAP32[$1 + 136 >> 2] = 0; - while (1) { - if (HEAP32[$1 + 136 >> 2] < HEAP32[$4 + 48 >> 2]) { - HEAP32[$1 + 132 >> 2] = HEAP32[$4 + 40 >> 2] + Math_imul(HEAP32[$1 + 136 >> 2], 156); - HEAP32[$1 + 128 >> 2] = HEAP32[HEAP32[$1 + 132 >> 2] + 112 >> 2]; - HEAP32[$1 + 124 >> 2] = HEAP32[HEAP32[$1 + 132 >> 2] + 116 >> 2]; - HEAPF32[$1 + 120 >> 2] = HEAPF32[HEAP32[$1 + 132 >> 2] + 120 >> 2]; - HEAPF32[$1 + 116 >> 2] = HEAPF32[HEAP32[$1 + 132 >> 2] + 128 >> 2]; - HEAPF32[$1 + 112 >> 2] = HEAPF32[HEAP32[$1 + 132 >> 2] + 124 >> 2]; - HEAPF32[$1 + 108 >> 2] = HEAPF32[HEAP32[$1 + 132 >> 2] + 132 >> 2]; - HEAP32[$1 + 104 >> 2] = HEAP32[HEAP32[$1 + 132 >> 2] + 148 >> 2]; - $2 = HEAP32[$4 + 28 >> 2] + Math_imul(HEAP32[$1 + 128 >> 2], 12) | 0; - $0 = HEAP32[$2 >> 2]; - $3 = HEAP32[$2 + 4 >> 2]; - HEAP32[$1 + 96 >> 2] = $0; - HEAP32[$1 + 100 >> 2] = $3; - HEAPF32[$1 + 92 >> 2] = HEAPF32[(HEAP32[$4 + 28 >> 2] + Math_imul(HEAP32[$1 + 128 >> 2], 12) | 0) + 8 >> 2]; - $2 = HEAP32[$4 + 28 >> 2] + Math_imul(HEAP32[$1 + 124 >> 2], 12) | 0; - $3 = HEAP32[$2 >> 2]; - $0 = HEAP32[$2 + 4 >> 2]; - HEAP32[$1 + 80 >> 2] = $3; - HEAP32[$1 + 84 >> 2] = $0; - HEAPF32[$1 + 76 >> 2] = HEAPF32[(HEAP32[$4 + 28 >> 2] + Math_imul(HEAP32[$1 + 124 >> 2], 12) | 0) + 8 >> 2]; - $2 = HEAP32[$1 + 132 >> 2]; - $0 = HEAP32[$2 + 72 >> 2]; - $3 = HEAP32[$2 + 76 >> 2]; - HEAP32[$1 + 64 >> 2] = $0; - HEAP32[$1 + 68 >> 2] = $3; - b2Cross_28b2Vec2_20const__2c_20float_29($1 + 56 | 0, $1 - -64 | 0, Math_fround(1)); - HEAP32[$1 + 52 >> 2] = 0; - while (1) { - if (HEAP32[$1 + 52 >> 2] < HEAP32[$1 + 104 >> 2]) { - HEAP32[$1 + 48 >> 2] = HEAP32[$1 + 132 >> 2] + Math_imul(HEAP32[$1 + 52 >> 2], 36); - operator__28float_2c_20b2Vec2_20const__29($1 + 32 | 0, HEAPF32[HEAP32[$1 + 48 >> 2] + 16 >> 2], $1 - -64 | 0); - operator__28float_2c_20b2Vec2_20const__29($1 + 24 | 0, HEAPF32[HEAP32[$1 + 48 >> 2] + 20 >> 2], $1 + 56 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($1 + 40 | 0, $1 + 32 | 0, $1 + 24 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$1 + 116 >> 2]) * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 48 >> 2], $1 + 40 | 0)) + HEAPF32[$1 + 92 >> 2]), - HEAPF32[wasm2js_i32$0 + 92 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($1 + 16 | 0, HEAPF32[$1 + 120 >> 2], $1 + 40 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($1 + 96 | 0, $1 + 16 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$1 + 108 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$1 + 48 >> 2] + 8 | 0, $1 + 40 | 0)) + HEAPF32[$1 + 76 >> 2]), - HEAPF32[wasm2js_i32$0 + 76 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($1 + 8 | 0, HEAPF32[$1 + 112 >> 2], $1 + 40 | 0); - b2Vec2__operator___28b2Vec2_20const__29($1 + 80 | 0, $1 + 8 | 0); - HEAP32[$1 + 52 >> 2] = HEAP32[$1 + 52 >> 2] + 1; - continue; - } - break; - } - $0 = HEAP32[$1 + 100 >> 2]; - $3 = HEAP32[$1 + 96 >> 2]; - $2 = $3; - $3 = HEAP32[$4 + 28 >> 2] + Math_imul(HEAP32[$1 + 128 >> 2], 12) | 0; - HEAP32[$3 >> 2] = $2; - HEAP32[$3 + 4 >> 2] = $0; - HEAPF32[(HEAP32[$4 + 28 >> 2] + Math_imul(HEAP32[$1 + 128 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$1 + 92 >> 2]; - $3 = HEAP32[$1 + 84 >> 2]; - $0 = HEAP32[$1 + 80 >> 2]; - $2 = $0; - $0 = HEAP32[$4 + 28 >> 2] + Math_imul(HEAP32[$1 + 124 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $3; - HEAPF32[(HEAP32[$4 + 28 >> 2] + Math_imul(HEAP32[$1 + 124 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$1 + 76 >> 2]; - HEAP32[$1 + 136 >> 2] = HEAP32[$1 + 136 >> 2] + 1; - continue; - } - break; - } - __stack_pointer = $1 + 144 | 0; -} - -function b2RopeJoint__SolvePositionConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 144 | 0; - __stack_pointer = $2; - HEAP32[$2 + 140 >> 2] = $0; - HEAP32[$2 + 136 >> 2] = $1; - $3 = HEAP32[$2 + 140 >> 2]; - $4 = HEAP32[HEAP32[$2 + 136 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 96 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 128 >> 2] = $0; - HEAP32[$2 + 132 >> 2] = $1; - HEAPF32[$2 + 124 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 136 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 96 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 136 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 100 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 112 >> 2] = $1; - HEAP32[$2 + 116 >> 2] = $0; - HEAPF32[$2 + 108 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 136 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 100 >> 2], 12) | 0) + 8 >> 2]; - b2Rot__b2Rot_28float_29($2 + 100 | 0, HEAPF32[$2 + 124 >> 2]); - b2Rot__b2Rot_28float_29($2 + 92 | 0, HEAPF32[$2 + 108 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 76 | 0, $3 + 68 | 0, $3 + 128 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 84 | 0, $2 + 100 | 0, $2 + 76 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 60 | 0, $3 + 76 | 0, $3 + 136 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($2 + 68 | 0, $2 + 92 | 0, $2 + 60 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 36 | 0, $2 + 112 | 0, $2 + 68 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 44 | 0, $2 + 36 | 0, $2 + 128 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 52 | 0, $2 + 44 | 0, $2 + 84 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Vec2__Normalize_28_29($2 + 52 | 0), HEAPF32[wasm2js_i32$0 + 32 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 28 >> 2] = HEAPF32[$2 + 32 >> 2] - HEAPF32[$3 + 84 >> 2]; - wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20b2Clamp_float__28float_2c_20float_2c_20float_29(HEAPF32[$2 + 28 >> 2], Math_fround(0), Math_fround(.20000000298023224)), - HEAPF32[wasm2js_i32$0 + 28 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 24 >> 2] = Math_fround(-HEAPF32[$3 + 160 >> 2]) * HEAPF32[$2 + 28 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 16 | 0, HEAPF32[$2 + 24 >> 2], $2 + 52 | 0); - operator__28float_2c_20b2Vec2_20const__29($2 + 8 | 0, HEAPF32[$3 + 144 >> 2], $2 + 16 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 128 | 0, $2 + 8 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$3 + 152 >> 2]) * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 84 | 0, $2 + 16 | 0)) + HEAPF32[$2 + 124 >> 2]), - HEAPF32[wasm2js_i32$0 + 124 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($2, HEAPF32[$3 + 148 >> 2], $2 + 16 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 112 | 0, $2); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$3 + 156 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 68 | 0, $2 + 16 | 0)) + HEAPF32[$2 + 108 >> 2]), - HEAPF32[wasm2js_i32$0 + 108 >> 2] = wasm2js_f32$0; - $1 = HEAP32[$2 + 132 >> 2]; - $0 = HEAP32[$2 + 128 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 136 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 96 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 136 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 96 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 124 >> 2]; - $0 = HEAP32[$2 + 116 >> 2]; - $1 = HEAP32[$2 + 112 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 136 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 100 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 136 >> 2] + 24 >> 2] + Math_imul(HEAP32[$3 + 100 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 108 >> 2]; - __stack_pointer = $2 + 144 | 0; - return Math_fround(HEAPF32[$2 + 32 >> 2] - HEAPF32[$3 + 84 >> 2]) < Math_fround(.004999999888241291) | 0; -} - -function b2RopeJoint__SolveVelocityConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 128 | 0; - __stack_pointer = $2; - HEAP32[$2 + 124 >> 2] = $0; - HEAP32[$2 + 120 >> 2] = $1; - $3 = HEAP32[$2 + 124 >> 2]; - $4 = HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 96 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 112 >> 2] = $1; - HEAP32[$2 + 116 >> 2] = $0; - HEAPF32[$2 + 108 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 96 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 100 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 96 >> 2] = $0; - HEAP32[$2 + 100 >> 2] = $1; - HEAPF32[$2 + 92 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 100 >> 2], 12) | 0) + 8 >> 2]; - b2Cross_28float_2c_20b2Vec2_20const__29($2 + 76 | 0, HEAPF32[$2 + 108 >> 2], $3 + 112 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 84 | 0, $2 + 112 | 0, $2 + 76 | 0); - b2Cross_28float_2c_20b2Vec2_20const__29($2 + 60 | 0, HEAPF32[$2 + 92 >> 2], $3 + 120 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 68 | 0, $2 + 96 | 0, $2 + 60 | 0); - HEAPF32[$2 + 56 >> 2] = HEAPF32[$3 + 88 >> 2] - HEAPF32[$3 + 84 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 44 | 0, $2 + 68 | 0, $2 + 84 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 104 | 0, $2 + 44 | 0), - HEAPF32[wasm2js_i32$0 + 52 >> 2] = wasm2js_f32$0; - if (HEAPF32[$2 + 56 >> 2] < Math_fround(0)) { - HEAPF32[$2 + 52 >> 2] = Math_fround(HEAPF32[HEAP32[$2 + 120 >> 2] + 4 >> 2] * HEAPF32[$2 + 56 >> 2]) + HEAPF32[$2 + 52 >> 2]; - } - HEAPF32[$2 + 40 >> 2] = Math_fround(-HEAPF32[$3 + 160 >> 2]) * HEAPF32[$2 + 52 >> 2]; - HEAPF32[$2 + 36 >> 2] = HEAPF32[$3 + 92 >> 2]; - wasm2js_i32$0 = $3, wasm2js_f32$0 = float_20b2Min_float__28float_2c_20float_29(Math_fround(0), Math_fround(HEAPF32[$3 + 92 >> 2] + HEAPF32[$2 + 40 >> 2])), - HEAPF32[wasm2js_i32$0 + 92 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 40 >> 2] = HEAPF32[$3 + 92 >> 2] - HEAPF32[$2 + 36 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 28 | 0, HEAPF32[$2 + 40 >> 2], $3 + 104 | 0); - operator__28float_2c_20b2Vec2_20const__29($2 + 20 | 0, HEAPF32[$3 + 144 >> 2], $2 + 28 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 112 | 0, $2 + 20 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$3 + 152 >> 2]) * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 112 | 0, $2 + 28 | 0)) + HEAPF32[$2 + 108 >> 2]), - HEAPF32[wasm2js_i32$0 + 108 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($2 + 12 | 0, HEAPF32[$3 + 148 >> 2], $2 + 28 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 96 | 0, $2 + 12 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$3 + 156 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 120 | 0, $2 + 28 | 0)) + HEAPF32[$2 + 92 >> 2]), - HEAPF32[wasm2js_i32$0 + 92 >> 2] = wasm2js_f32$0; - $0 = HEAP32[$2 + 116 >> 2]; - $1 = HEAP32[$2 + 112 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 96 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 96 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 108 >> 2]; - $1 = HEAP32[$2 + 100 >> 2]; - $0 = HEAP32[$2 + 96 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 100 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 120 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 100 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 92 >> 2]; - __stack_pointer = $2 + 128 | 0; -} - -function __cxxabiv1____vmi_class_type_info__search_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_2c_20bool_29_20const($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $5 = 0, $6 = 0, $7 = 0, $8 = 0; - if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 + 8 >> 2], $4)) { - __cxxabiv1____class_type_info__process_static_type_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_29_20const($1, $1, $2, $3); - return; - } - label$2: { - if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 >> 2], $4)) { - if (!(HEAP32[$1 + 16 >> 2] != ($2 | 0) & HEAP32[$1 + 20 >> 2] != ($2 | 0))) { - if (($3 | 0) != 1) { - break label$2; - } - HEAP32[$1 + 32 >> 2] = 1; - return; - } - HEAP32[$1 + 32 >> 2] = $3; - if (HEAP32[$1 + 44 >> 2] != 4) { - $5 = $0 + 16 | 0; - $3 = $5 + (HEAP32[$0 + 12 >> 2] << 3) | 0; - label$7: { - label$8: { - while (1) { - label$10: { - if ($3 >>> 0 <= $5 >>> 0) { - break label$10; - } - HEAP16[$1 + 52 >> 1] = 0; - __cxxabiv1____base_class_type_info__search_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_2c_20bool_29_20const($5, $1, $2, $2, 1, $4); - if (HEAPU8[$1 + 54 | 0]) { - break label$10; - } - label$11: { - if (!HEAPU8[$1 + 53 | 0]) { - break label$11; - } - if (HEAPU8[$1 + 52 | 0]) { - $6 = 1; - if (HEAP32[$1 + 24 >> 2] == 1) { - break label$8; - } - $7 = 1; - $8 = 1; - if (HEAPU8[$0 + 8 | 0] & 2) { - break label$11; - } - break label$8; - } - $7 = 1; - $6 = $8; - if (!(HEAP8[$0 + 8 | 0] & 1)) { - break label$8; - } - } - $5 = $5 + 8 | 0; - continue; - } - break; - } - $6 = $8; - $5 = 4; - if (!($7 & 1)) { - break label$7; - } - } - $5 = 3; - } - HEAP32[$1 + 44 >> 2] = $5; - if ($6 & 1) { - break label$2; - } - } - HEAP32[$1 + 20 >> 2] = $2; - HEAP32[$1 + 40 >> 2] = HEAP32[$1 + 40 >> 2] + 1; - if (HEAP32[$1 + 36 >> 2] != 1 | HEAP32[$1 + 24 >> 2] != 2) { - break label$2; - } - HEAP8[$1 + 54 | 0] = 1; - return; - } - $6 = HEAP32[$0 + 12 >> 2]; - $7 = $0 + 16 | 0; - __cxxabiv1____base_class_type_info__search_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_2c_20bool_29_20const($7, $1, $2, $3, $4); - $5 = $0 + 24 | 0; - $6 = ($6 << 3) + $7 | 0; - if ($5 >>> 0 >= $6 >>> 0) { - break label$2; - } - $0 = HEAP32[$0 + 8 >> 2]; - if (!(!($0 & 2) & HEAP32[$1 + 36 >> 2] != 1)) { - while (1) { - if (HEAPU8[$1 + 54 | 0]) { - break label$2; - } - __cxxabiv1____base_class_type_info__search_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_2c_20bool_29_20const($5, $1, $2, $3, $4); - $5 = $5 + 8 | 0; - if ($6 >>> 0 > $5 >>> 0) { - continue; - } - break; - } - break label$2; - } - if (!($0 & 1)) { - while (1) { - if (HEAPU8[$1 + 54 | 0] | HEAP32[$1 + 36 >> 2] == 1) { - break label$2; - } - __cxxabiv1____base_class_type_info__search_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_2c_20bool_29_20const($5, $1, $2, $3, $4); - $5 = $5 + 8 | 0; - if ($6 >>> 0 > $5 >>> 0) { - continue; - } - break label$2; - } - } - while (1) { - if (HEAPU8[$1 + 54 | 0] | HEAP32[$1 + 36 >> 2] == 1 & HEAP32[$1 + 24 >> 2] == 1) { - break label$2; - } - __cxxabiv1____base_class_type_info__search_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_2c_20bool_29_20const($5, $1, $2, $3, $4); - $5 = $5 + 8 | 0; - if ($6 >>> 0 > $5 >>> 0) { - continue; - } - break; - } - } -} - -function b2ContactManager__Collide_28_29($0) { - var $1 = 0, $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer + -64 | 0; - __stack_pointer = $1; - HEAP32[$1 + 60 >> 2] = $0; - $0 = HEAP32[$1 + 60 >> 2]; - HEAP32[$1 + 56 >> 2] = HEAP32[$0 + 60 >> 2]; - while (1) { - if (HEAP32[$1 + 56 >> 2]) { - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Contact__GetFixtureA_28_29(HEAP32[$1 + 56 >> 2]), - HEAP32[wasm2js_i32$0 + 52 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Contact__GetFixtureB_28_29(HEAP32[$1 + 56 >> 2]), - HEAP32[wasm2js_i32$0 + 48 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Contact__GetChildIndexA_28_29_20const(HEAP32[$1 + 56 >> 2]), - HEAP32[wasm2js_i32$0 + 44 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Contact__GetChildIndexB_28_29_20const(HEAP32[$1 + 56 >> 2]), - HEAP32[wasm2js_i32$0 + 40 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Fixture__GetBody_28_29(HEAP32[$1 + 52 >> 2]), - HEAP32[wasm2js_i32$0 + 36 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Fixture__GetBody_28_29(HEAP32[$1 + 48 >> 2]), - HEAP32[wasm2js_i32$0 + 32 >> 2] = wasm2js_i32$1; - if (HEAP32[HEAP32[$1 + 56 >> 2] + 4 >> 2] & 8) { - if (!(b2Body__ShouldCollide_28b2Body_20const__29_20const(HEAP32[$1 + 32 >> 2], HEAP32[$1 + 36 >> 2]) & 1)) { - HEAP32[$1 + 28 >> 2] = HEAP32[$1 + 56 >> 2]; - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Contact__GetNext_28_29(HEAP32[$1 + 28 >> 2]), - HEAP32[wasm2js_i32$0 + 56 >> 2] = wasm2js_i32$1; - b2ContactManager__Destroy_28b2Contact__29($0, HEAP32[$1 + 28 >> 2]); - continue; - } - label$5: { - if (!HEAP32[$0 + 68 >> 2]) { - break label$5; - } - $2 = HEAP32[$0 + 68 >> 2]; - if (FUNCTION_TABLE[HEAP32[HEAP32[$2 >> 2] + 8 >> 2]]($2, HEAP32[$1 + 52 >> 2], HEAP32[$1 + 48 >> 2]) & 1) { - break label$5; - } - HEAP32[$1 + 24 >> 2] = HEAP32[$1 + 56 >> 2]; - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Contact__GetNext_28_29(HEAP32[$1 + 24 >> 2]), - HEAP32[wasm2js_i32$0 + 56 >> 2] = wasm2js_i32$1; - b2ContactManager__Destroy_28b2Contact__29($0, HEAP32[$1 + 24 >> 2]); - continue; - } - $2 = HEAP32[$1 + 56 >> 2]; - HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 4 >> 2] & -9; - } - $2 = 0; - if (b2Body__IsAwake_28_29_20const(HEAP32[$1 + 36 >> 2]) & 1) { - $2 = HEAP32[HEAP32[$1 + 36 >> 2] >> 2] != 0; - } - HEAP8[$1 + 23 | 0] = $2; - $2 = 0; - if (b2Body__IsAwake_28_29_20const(HEAP32[$1 + 32 >> 2]) & 1) { - $2 = HEAP32[HEAP32[$1 + 32 >> 2] >> 2] != 0; - } - HEAP8[$1 + 22 | 0] = $2; - if (!(HEAP8[$1 + 23 | 0] & 1 | HEAP8[$1 + 22 | 0] & 1)) { - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Contact__GetNext_28_29(HEAP32[$1 + 56 >> 2]), - HEAP32[wasm2js_i32$0 + 56 >> 2] = wasm2js_i32$1; - continue; - } - HEAP32[$1 + 16 >> 2] = HEAP32[(HEAP32[HEAP32[$1 + 52 >> 2] + 24 >> 2] + Math_imul(HEAP32[$1 + 44 >> 2], 28) | 0) + 24 >> 2]; - HEAP32[$1 + 12 >> 2] = HEAP32[(HEAP32[HEAP32[$1 + 48 >> 2] + 24 >> 2] + Math_imul(HEAP32[$1 + 40 >> 2], 28) | 0) + 24 >> 2]; - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2BroadPhase__TestOverlap_28int_2c_20int_29_20const($0, HEAP32[$1 + 16 >> 2], HEAP32[$1 + 12 >> 2]) & 1, - HEAP8[wasm2js_i32$0 + 11 | 0] = wasm2js_i32$1; - if (HEAP8[$1 + 11 | 0] & 1) { - b2Contact__Update_28b2ContactListener__29(HEAP32[$1 + 56 >> 2], HEAP32[$0 + 72 >> 2]); - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Contact__GetNext_28_29(HEAP32[$1 + 56 >> 2]), - HEAP32[wasm2js_i32$0 + 56 >> 2] = wasm2js_i32$1; - } else { - HEAP32[$1 + 4 >> 2] = HEAP32[$1 + 56 >> 2]; - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Contact__GetNext_28_29(HEAP32[$1 + 4 >> 2]), - HEAP32[wasm2js_i32$0 + 56 >> 2] = wasm2js_i32$1; - b2ContactManager__Destroy_28b2Contact__29($0, HEAP32[$1 + 4 >> 2]); - } - continue; - } - break; - } - __stack_pointer = $1 - -64 | 0; -} - -function std____2__pair_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____20std____2____unwrap_and_dispatch_5babi_v160004_5d_std____2____overload_std____2____move_loop_std____2___ClassicAlgPolicy__2c_20std____2____move_trivial__2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_200__28std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___29($0, $1, $2, $3) { - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $4 = __stack_pointer - 80 | 0; - __stack_pointer = $4; - HEAP32[$4 + 76 >> 2] = $1; - HEAP32[$4 + 72 >> 2] = $2; - HEAP32[$4 + 68 >> 2] = $3; - HEAP32[$4 + 56 >> 2] = HEAP32[$4 + 76 >> 2]; - HEAP32[$4 + 52 >> 2] = HEAP32[$4 + 72 >> 2]; - std____2__pair_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____20std____2____unwrap_range_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____28std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___29($4 + 60 | 0, HEAP32[$4 + 56 >> 2], HEAP32[$4 + 52 >> 2]); - HEAP32[$4 + 36 >> 2] = HEAP32[$4 + 60 >> 2]; - HEAP32[$4 + 32 >> 2] = HEAP32[($4 + 60 | 0) + 4 >> 2]; - HEAP32[$4 + 24 >> 2] = HEAP32[$4 + 68 >> 2]; - wasm2js_i32$0 = $4, wasm2js_i32$1 = decltype_28std____2____unwrap_iter_impl_std____2__reverse_iterator_b2Vec2___2c_20false_____unwrap_28std__declval_std____2__reverse_iterator_b2Vec2____28_29_29_29_20std____2____unwrap_iter_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2___2c_20std____2____unwrap_iter_impl_std____2__reverse_iterator_b2Vec2___2c_20false__2c_200__28std____2__reverse_iterator_b2Vec2___29(HEAP32[$4 + 24 >> 2]), - HEAP32[wasm2js_i32$0 + 28 >> 2] = wasm2js_i32$1; - std____2__pair_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____20std____2____move_loop_std____2___ClassicAlgPolicy___operator_28_29_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____28std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___29_20const($4 + 44 | 0, $4 + 43 | 0, HEAP32[$4 + 36 >> 2], HEAP32[$4 + 32 >> 2], HEAP32[$4 + 28 >> 2]); - HEAP32[$4 + 16 >> 2] = HEAP32[$4 + 76 >> 2]; - HEAP32[$4 + 12 >> 2] = HEAP32[$4 + 44 >> 2]; - wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2__reverse_iterator_b2Vec2___20std____2____rewrap_range_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____28std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___29(HEAP32[$4 + 16 >> 2], HEAP32[$4 + 12 >> 2]), - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - HEAP32[$4 + 4 >> 2] = HEAP32[$4 + 68 >> 2]; - HEAP32[$4 >> 2] = HEAP32[($4 + 44 | 0) + 4 >> 2]; - wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2__reverse_iterator_b2Vec2___20std____2____rewrap_iter_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2____unwrap_iter_impl_std____2__reverse_iterator_b2Vec2___2c_20false___28std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___29(HEAP32[$4 + 4 >> 2], HEAP32[$4 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - std____2__pair_std____2____unwrap_ref_decay_std____2__reverse_iterator_b2Vec2_____type_2c_20std____2____unwrap_ref_decay_std____2__reverse_iterator_b2Vec2_____type__20std____2__make_pair_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____28std____2__reverse_iterator_b2Vec2_____2c_20std____2__reverse_iterator_b2Vec2_____29($0, $4 + 20 | 0, $4 + 8 | 0); - __stack_pointer = $4 + 80 | 0; -} - -function b2AABB__RayCast_28b2RayCastOutput__2c_20b2RayCastInput_20const__29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, $4 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $3 = __stack_pointer - 80 | 0; - __stack_pointer = $3; - HEAP32[$3 + 72 >> 2] = $0; - HEAP32[$3 + 68 >> 2] = $1; - HEAP32[$3 + 64 >> 2] = $2; - $2 = HEAP32[$3 + 72 >> 2]; - HEAPF32[$3 + 60 >> 2] = -34028234663852886e22; - HEAPF32[$3 + 56 >> 2] = 34028234663852886e22; - $1 = HEAP32[$3 + 64 >> 2]; - $0 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$3 + 48 >> 2] = $0; - HEAP32[$3 + 52 >> 2] = $1; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 40 | 0, HEAP32[$3 + 64 >> 2] + 8 | 0, HEAP32[$3 + 64 >> 2]); - b2Abs_28b2Vec2_20const__29($3 + 32 | 0, $3 + 40 | 0); - b2Vec2__b2Vec2_28_29($3 + 24 | 0); - HEAP32[$3 + 20 >> 2] = 0; - label$1: { - while (1) { - if (HEAP32[$3 + 20 >> 2] < 2) { - label$4: { - if (HEAPF32[b2Vec2__operator_28_29_28int_29($3 + 32 | 0, HEAP32[$3 + 20 >> 2]) >> 2] < Math_fround(1.1920928955078125e-7)) { - if (!(HEAPF32[b2Vec2__operator_28_29_28int_29($3 + 48 | 0, HEAP32[$3 + 20 >> 2]) >> 2] < b2Vec2__operator_28_29_28int_29_20const($2, HEAP32[$3 + 20 >> 2]))) { - if (!(b2Vec2__operator_28_29_28int_29_20const($2 + 8 | 0, HEAP32[$3 + 20 >> 2]) < HEAPF32[b2Vec2__operator_28_29_28int_29($3 + 48 | 0, HEAP32[$3 + 20 >> 2]) >> 2])) { - break label$4; - } - } - HEAP8[$3 + 79 | 0] = 0; - break label$1; - } - wasm2js_i32$0 = $3, wasm2js_f32$0 = Math_fround(Math_fround(1) / HEAPF32[b2Vec2__operator_28_29_28int_29($3 + 40 | 0, HEAP32[$3 + 20 >> 2]) >> 2]), - HEAPF32[wasm2js_i32$0 + 16 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $3, wasm2js_f32$0 = Math_fround(Math_fround(b2Vec2__operator_28_29_28int_29_20const($2, HEAP32[$3 + 20 >> 2]) - HEAPF32[b2Vec2__operator_28_29_28int_29($3 + 48 | 0, HEAP32[$3 + 20 >> 2]) >> 2]) * HEAPF32[$3 + 16 >> 2]), - HEAPF32[wasm2js_i32$0 + 12 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $3, wasm2js_f32$0 = Math_fround(Math_fround(b2Vec2__operator_28_29_28int_29_20const($2 + 8 | 0, HEAP32[$3 + 20 >> 2]) - HEAPF32[b2Vec2__operator_28_29_28int_29($3 + 48 | 0, HEAP32[$3 + 20 >> 2]) >> 2]) * HEAPF32[$3 + 16 >> 2]), - HEAPF32[wasm2js_i32$0 + 8 >> 2] = wasm2js_f32$0; - HEAPF32[$3 + 4 >> 2] = -1; - if (HEAPF32[$3 + 12 >> 2] > HEAPF32[$3 + 8 >> 2]) { - void_20b2Swap_float__28float__2c_20float__29($3 + 12 | 0, $3 + 8 | 0); - HEAPF32[$3 + 4 >> 2] = 1; - } - if (HEAPF32[$3 + 12 >> 2] > HEAPF32[$3 + 60 >> 2]) { - b2Vec2__SetZero_28_29($3 + 24 | 0); - $4 = HEAPF32[$3 + 4 >> 2]; - wasm2js_i32$0 = b2Vec2__operator_28_29_28int_29($3 + 24 | 0, HEAP32[$3 + 20 >> 2]), - wasm2js_f32$0 = $4, HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; - HEAPF32[$3 + 60 >> 2] = HEAPF32[$3 + 12 >> 2]; - } - wasm2js_i32$0 = $3, wasm2js_f32$0 = float_20b2Min_float__28float_2c_20float_29(HEAPF32[$3 + 56 >> 2], HEAPF32[$3 + 8 >> 2]), - HEAPF32[wasm2js_i32$0 + 56 >> 2] = wasm2js_f32$0; - if (HEAPF32[$3 + 60 >> 2] > HEAPF32[$3 + 56 >> 2]) { - HEAP8[$3 + 79 | 0] = 0; - break label$1; - } - } - HEAP32[$3 + 20 >> 2] = HEAP32[$3 + 20 >> 2] + 1; - continue; - } - break; - } - if (HEAPF32[$3 + 60 >> 2] < Math_fround(0) | HEAPF32[HEAP32[$3 + 64 >> 2] + 16 >> 2] < HEAPF32[$3 + 60 >> 2]) { - HEAP8[$3 + 79 | 0] = 0; - break label$1; - } - HEAPF32[HEAP32[$3 + 68 >> 2] + 8 >> 2] = HEAPF32[$3 + 60 >> 2]; - $0 = HEAP32[$3 + 28 >> 2]; - $1 = HEAP32[$3 + 24 >> 2]; - $2 = $1; - $1 = HEAP32[$3 + 68 >> 2]; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - HEAP8[$3 + 79 | 0] = 1; - } - __stack_pointer = $3 + 80 | 0; - return HEAP8[$3 + 79 | 0] & 1; -} - -function b2Body__b2Body_28b2BodyDef_20const__2c_20b2World__29($0, $1, $2) { - var $3 = 0, $4 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 8 >> 2] = $0; - HEAP32[$3 + 4 >> 2] = $1; - HEAP32[$3 >> 2] = $2; - $1 = HEAP32[$3 + 8 >> 2]; - HEAP32[$3 + 12 >> 2] = $1; - b2Transform__b2Transform_28_29($1 + 12 | 0); - b2Sweep__b2Sweep_28_29($1 + 28 | 0); - b2Vec2__b2Vec2_28_29($1 - -64 | 0); - b2Vec2__b2Vec2_28_29($1 + 76 | 0); - if (!(b2Vec2__IsValid_28_29_20const(HEAP32[$3 + 4 >> 2] + 4 | 0) & 1)) { - __assert_fail(12786, 4319, 33, 1757); - wasm2js_trap(); - } - if (!(b2Vec2__IsValid_28_29_20const(HEAP32[$3 + 4 >> 2] + 16 | 0) & 1)) { - __assert_fail(12735, 4319, 34, 1757); - wasm2js_trap(); - } - if (!(b2IsValid_28float_29(HEAPF32[HEAP32[$3 + 4 >> 2] + 12 >> 2]) & 1)) { - __assert_fail(12647, 4319, 35, 1757); - wasm2js_trap(); - } - if (!(b2IsValid_28float_29(HEAPF32[HEAP32[$3 + 4 >> 2] + 24 >> 2]) & 1)) { - __assert_fail(12609, 4319, 36, 1757); - wasm2js_trap(); - } - if (!(b2IsValid_28float_29(HEAPF32[HEAP32[$3 + 4 >> 2] + 32 >> 2]) & 1 & HEAPF32[HEAP32[$3 + 4 >> 2] + 32 >> 2] >= Math_fround(0))) { - __assert_fail(8478, 4319, 37, 1757); - wasm2js_trap(); - } - if (!(b2IsValid_28float_29(HEAPF32[HEAP32[$3 + 4 >> 2] + 28 >> 2]) & 1 & HEAPF32[HEAP32[$3 + 4 >> 2] + 28 >> 2] >= Math_fround(0))) { - __assert_fail(8538, 4319, 38, 1757); - wasm2js_trap(); - } - HEAP16[$1 + 4 >> 1] = 0; - if (HEAP8[HEAP32[$3 + 4 >> 2] + 39 | 0] & 1) { - HEAP16[$1 + 4 >> 1] = HEAPU16[$1 + 4 >> 1] | 8; - } - if (HEAP8[HEAP32[$3 + 4 >> 2] + 38 | 0] & 1) { - HEAP16[$1 + 4 >> 1] = HEAPU16[$1 + 4 >> 1] | 16; - } - if (HEAP8[HEAP32[$3 + 4 >> 2] + 36 | 0] & 1) { - HEAP16[$1 + 4 >> 1] = HEAPU16[$1 + 4 >> 1] | 4; - } - if (HEAP8[HEAP32[$3 + 4 >> 2] + 37 | 0] & 1) { - HEAP16[$1 + 4 >> 1] = HEAPU16[$1 + 4 >> 1] | 2; - } - if (HEAP8[HEAP32[$3 + 4 >> 2] + 40 | 0] & 1) { - HEAP16[$1 + 4 >> 1] = HEAPU16[$1 + 4 >> 1] | 32; - } - HEAP32[$1 + 88 >> 2] = HEAP32[$3 >> 2]; - $4 = HEAP32[$3 + 4 >> 2]; - $2 = HEAP32[$4 + 4 >> 2]; - $0 = HEAP32[$4 + 8 >> 2]; - HEAP32[$1 + 12 >> 2] = $2; - HEAP32[$1 + 16 >> 2] = $0; - b2Rot__Set_28float_29($1 + 20 | 0, HEAPF32[HEAP32[$3 + 4 >> 2] + 12 >> 2]); - b2Vec2__SetZero_28_29($1 + 28 | 0); - $2 = HEAP32[$1 + 16 >> 2]; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[$1 + 36 >> 2] = $0; - HEAP32[$1 + 40 >> 2] = $2; - $0 = HEAP32[$1 + 16 >> 2]; - $2 = HEAP32[$1 + 12 >> 2]; - HEAP32[$1 + 44 >> 2] = $2; - HEAP32[$1 + 48 >> 2] = $0; - HEAPF32[$1 + 52 >> 2] = HEAPF32[HEAP32[$3 + 4 >> 2] + 12 >> 2]; - HEAPF32[$1 + 56 >> 2] = HEAPF32[HEAP32[$3 + 4 >> 2] + 12 >> 2]; - HEAPF32[$1 + 60 >> 2] = 0; - HEAP32[$1 + 108 >> 2] = 0; - HEAP32[$1 + 112 >> 2] = 0; - HEAP32[$1 + 92 >> 2] = 0; - HEAP32[$1 + 96 >> 2] = 0; - $4 = HEAP32[$3 + 4 >> 2]; - $0 = HEAP32[$4 + 16 >> 2]; - $2 = HEAP32[$4 + 20 >> 2]; - HEAP32[$1 + 64 >> 2] = $0; - HEAP32[$1 + 68 >> 2] = $2; - HEAPF32[$1 + 72 >> 2] = HEAPF32[HEAP32[$3 + 4 >> 2] + 24 >> 2]; - HEAPF32[$1 + 132 >> 2] = HEAPF32[HEAP32[$3 + 4 >> 2] + 28 >> 2]; - HEAPF32[$1 + 136 >> 2] = HEAPF32[HEAP32[$3 + 4 >> 2] + 32 >> 2]; - HEAPF32[$1 + 140 >> 2] = HEAPF32[HEAP32[$3 + 4 >> 2] + 48 >> 2]; - b2Vec2__SetZero_28_29($1 + 76 | 0); - HEAPF32[$1 + 84 >> 2] = 0; - HEAPF32[$1 + 144 >> 2] = 0; - HEAP32[$1 >> 2] = HEAP32[HEAP32[$3 + 4 >> 2] >> 2]; - label$14: { - if (HEAP32[HEAP32[$3 + 4 >> 2] >> 2] == 2) { - HEAPF32[$1 + 116 >> 2] = 1; - HEAPF32[$1 + 120 >> 2] = 1; - break label$14; - } - HEAPF32[$1 + 116 >> 2] = 0; - HEAPF32[$1 + 120 >> 2] = 0; - } - HEAPF32[$1 + 124 >> 2] = 0; - HEAPF32[$1 + 128 >> 2] = 0; - HEAP32[$1 + 148 >> 2] = HEAP32[HEAP32[$3 + 4 >> 2] + 44 >> 2]; - HEAP32[$1 + 100 >> 2] = 0; - HEAP32[$1 + 104 >> 2] = 0; - __stack_pointer = $3 + 16 | 0; - return HEAP32[$3 + 12 >> 2]; -} - -function b2World__DrawJoint_28b2Joint__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 112 | 0; - __stack_pointer = $2; - HEAP32[$2 + 108 >> 2] = $0; - HEAP32[$2 + 104 >> 2] = $1; - $1 = HEAP32[$2 + 108 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Joint__GetBodyA_28_29(HEAP32[$2 + 104 >> 2]), - HEAP32[wasm2js_i32$0 + 100 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Joint__GetBodyB_28_29(HEAP32[$2 + 104 >> 2]), - HEAP32[wasm2js_i32$0 + 96 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Body__GetTransform_28_29_20const(HEAP32[$2 + 100 >> 2]), - HEAP32[wasm2js_i32$0 + 92 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Body__GetTransform_28_29_20const(HEAP32[$2 + 96 >> 2]), - HEAP32[wasm2js_i32$0 + 88 >> 2] = wasm2js_i32$1; - $3 = HEAP32[$2 + 92 >> 2]; - $4 = HEAP32[$3 >> 2]; - $0 = HEAP32[$3 + 4 >> 2]; - HEAP32[$2 + 80 >> 2] = $4; - HEAP32[$2 + 84 >> 2] = $0; - $3 = HEAP32[$2 + 88 >> 2]; - $0 = HEAP32[$3 >> 2]; - $4 = HEAP32[$3 + 4 >> 2]; - HEAP32[$2 + 72 >> 2] = $0; - HEAP32[$2 + 76 >> 2] = $4; - $0 = HEAP32[$2 + 104 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($2 - -64 | 0, $0); - $0 = HEAP32[$2 + 104 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($2 + 56 | 0, $0); - b2Color__b2Color_28float_2c_20float_2c_20float_2c_20float_29($2 + 40 | 0, Math_fround(.5), Math_fround(.800000011920929), Math_fround(.800000011920929), Math_fround(1)); - label$1: { - label$2: { - switch (b2Joint__GetType_28_29_20const(HEAP32[$2 + 104 >> 2]) - 3 | 0) { - case 0: - $0 = HEAP32[$1 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0, $2 - -64 | 0, $2 + 56 | 0, $2 + 40 | 0); - break label$1; - - case 1: - HEAP32[$2 + 36 >> 2] = HEAP32[$2 + 104 >> 2]; - b2PulleyJoint__GetGroundAnchorA_28_29_20const($2 + 28 | 0, HEAP32[$2 + 36 >> 2]); - b2PulleyJoint__GetGroundAnchorB_28_29_20const($2 + 20 | 0, HEAP32[$2 + 36 >> 2]); - $0 = HEAP32[$1 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0, $2 + 28 | 0, $2 - -64 | 0, $2 + 40 | 0); - $0 = HEAP32[$1 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0, $2 + 20 | 0, $2 + 56 | 0, $2 + 40 | 0); - $0 = HEAP32[$1 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0, $2 + 28 | 0, $2 + 20 | 0, $2 + 40 | 0); - break label$1; - - case 2: - b2Color__b2Color_28_29($2 + 4 | 0); - b2Color__Set_28float_2c_20float_2c_20float_2c_20float_29($2 + 4 | 0, Math_fround(0), Math_fround(1), Math_fround(0), Math_fround(1)); - $0 = HEAP32[$1 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 32 >> 2]]($0, $2 - -64 | 0, Math_fround(4), $2 + 4 | 0); - $0 = HEAP32[$1 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 32 >> 2]]($0, $2 + 56 | 0, Math_fround(4), $2 + 4 | 0); - b2Color__Set_28float_2c_20float_2c_20float_2c_20float_29($2 + 4 | 0, Math_fround(.800000011920929), Math_fround(.800000011920929), Math_fround(.800000011920929), Math_fround(1)); - $0 = HEAP32[$1 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0, $2 - -64 | 0, $2 + 56 | 0, $2 + 4 | 0); - break label$1; - - default: - break label$2; - } - } - $0 = HEAP32[$1 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0, $2 + 80 | 0, $2 - -64 | 0, $2 + 40 | 0); - $0 = HEAP32[$1 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0, $2 - -64 | 0, $2 + 56 | 0, $2 + 40 | 0); - $0 = HEAP32[$1 + 102980 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0, $2 + 72 | 0, $2 + 56 | 0, $2 + 40 | 0); - } - __stack_pointer = $2 + 112 | 0; -} - -function std____2__pair_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____20std____2____unwrap_and_dispatch_5babi_v160004_5d_std____2____overload_std____2____move_loop_std____2___ClassicAlgPolicy__2c_20std____2____move_trivial__2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_200__28std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___29($0, $1, $2, $3) { - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $4 = __stack_pointer - 80 | 0; - __stack_pointer = $4; - HEAP32[$4 + 76 >> 2] = $1; - HEAP32[$4 + 72 >> 2] = $2; - HEAP32[$4 + 68 >> 2] = $3; - HEAP32[$4 + 56 >> 2] = HEAP32[$4 + 76 >> 2]; - HEAP32[$4 + 52 >> 2] = HEAP32[$4 + 72 >> 2]; - std____2__pair_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____20std____2____unwrap_range_5babi_v160004_5d_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____28std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___29($4 + 60 | 0, HEAP32[$4 + 56 >> 2], HEAP32[$4 + 52 >> 2]); - HEAP32[$4 + 36 >> 2] = HEAP32[$4 + 60 >> 2]; - HEAP32[$4 + 32 >> 2] = HEAP32[($4 + 60 | 0) + 4 >> 2]; - HEAP32[$4 + 24 >> 2] = HEAP32[$4 + 68 >> 2]; - wasm2js_i32$0 = $4, wasm2js_i32$1 = decltype_28std____2____unwrap_iter_impl_std____2__reverse_iterator_int___2c_20false_____unwrap_28std__declval_std____2__reverse_iterator_int____28_29_29_29_20std____2____unwrap_iter_5babi_v160004_5d_std____2__reverse_iterator_int___2c_20std____2____unwrap_iter_impl_std____2__reverse_iterator_int___2c_20false__2c_200__28std____2__reverse_iterator_int___29(HEAP32[$4 + 24 >> 2]), - HEAP32[wasm2js_i32$0 + 28 >> 2] = wasm2js_i32$1; - std____2__pair_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____20std____2____move_loop_std____2___ClassicAlgPolicy___operator_28_29_5babi_v160004_5d_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____28std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___29_20const($4 + 44 | 0, $4 + 43 | 0, HEAP32[$4 + 36 >> 2], HEAP32[$4 + 32 >> 2], HEAP32[$4 + 28 >> 2]); - HEAP32[$4 + 16 >> 2] = HEAP32[$4 + 76 >> 2]; - HEAP32[$4 + 12 >> 2] = HEAP32[$4 + 44 >> 2]; - wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2__reverse_iterator_int___20std____2____rewrap_range_5babi_v160004_5d_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____28std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___29(HEAP32[$4 + 16 >> 2], HEAP32[$4 + 12 >> 2]), - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - HEAP32[$4 + 4 >> 2] = HEAP32[$4 + 68 >> 2]; - HEAP32[$4 >> 2] = HEAP32[($4 + 44 | 0) + 4 >> 2]; - wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2__reverse_iterator_int___20std____2____rewrap_iter_5babi_v160004_5d_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2____unwrap_iter_impl_std____2__reverse_iterator_int___2c_20false___28std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___29(HEAP32[$4 + 4 >> 2], HEAP32[$4 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - std____2__pair_std____2____unwrap_ref_decay_std____2__reverse_iterator_int_____type_2c_20std____2____unwrap_ref_decay_std____2__reverse_iterator_int_____type__20std____2__make_pair_5babi_v160004_5d_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____28std____2__reverse_iterator_int_____2c_20std____2__reverse_iterator_int_____29($0, $4 + 20 | 0, $4 + 8 | 0); - __stack_pointer = $4 + 80 | 0; -} - -function b2PulleyJoint__SolveVelocityConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, $5 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 112 | 0; - __stack_pointer = $2; - HEAP32[$2 + 108 >> 2] = $0; - HEAP32[$2 + 104 >> 2] = $1; - $3 = HEAP32[$2 + 108 >> 2]; - $4 = HEAP32[HEAP32[$2 + 104 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 120 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 96 >> 2] = $0; - HEAP32[$2 + 100 >> 2] = $1; - HEAPF32[$2 + 92 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 104 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 120 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 104 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 124 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 80 >> 2] = $1; - HEAP32[$2 + 84 >> 2] = $0; - HEAPF32[$2 + 76 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 104 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 124 >> 2], 12) | 0) + 8 >> 2]; - b2Cross_28float_2c_20b2Vec2_20const__29($2 + 60 | 0, HEAPF32[$2 + 92 >> 2], $3 + 144 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 68 | 0, $2 + 96 | 0, $2 + 60 | 0); - b2Cross_28float_2c_20b2Vec2_20const__29($2 + 44 | 0, HEAPF32[$2 + 76 >> 2], $3 + 152 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 52 | 0, $2 + 80 | 0, $2 + 44 | 0); - $5 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 128 | 0, $2 + 68 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$3 + 112 >> 2]) * b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 136 | 0, $2 + 52 | 0)) - $5), - HEAPF32[wasm2js_i32$0 + 40 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 36 >> 2] = Math_fround(-HEAPF32[$3 + 192 >> 2]) * HEAPF32[$2 + 40 >> 2]; - HEAPF32[$3 + 116 >> 2] = HEAPF32[$3 + 116 >> 2] + HEAPF32[$2 + 36 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 28 | 0, Math_fround(-HEAPF32[$2 + 36 >> 2]), $3 + 128 | 0); - operator__28float_2c_20b2Vec2_20const__29($2 + 20 | 0, Math_fround(Math_fround(-HEAPF32[$3 + 112 >> 2]) * HEAPF32[$2 + 36 >> 2]), $3 + 136 | 0); - operator__28float_2c_20b2Vec2_20const__29($2 + 12 | 0, HEAPF32[$3 + 176 >> 2], $2 + 28 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 96 | 0, $2 + 12 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$3 + 184 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 144 | 0, $2 + 28 | 0)) + HEAPF32[$2 + 92 >> 2]), - HEAPF32[wasm2js_i32$0 + 92 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($2 + 4 | 0, HEAPF32[$3 + 180 >> 2], $2 + 20 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 80 | 0, $2 + 4 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$3 + 188 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 152 | 0, $2 + 20 | 0)) + HEAPF32[$2 + 76 >> 2]), - HEAPF32[wasm2js_i32$0 + 76 >> 2] = wasm2js_f32$0; - $1 = HEAP32[$2 + 100 >> 2]; - $0 = HEAP32[$2 + 96 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 104 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 120 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 104 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 120 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 92 >> 2]; - $0 = HEAP32[$2 + 84 >> 2]; - $1 = HEAP32[$2 + 80 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 104 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 124 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 104 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 124 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 76 >> 2]; - __stack_pointer = $2 + 112 | 0; -} - -function b2SeparationFunction__Evaluate_28int_2c_20int_2c_20float_29_20const($0, $1, $2, $3) { - var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $4 = __stack_pointer - 208 | 0; - __stack_pointer = $4; - HEAP32[$4 + 200 >> 2] = $0; - HEAP32[$4 + 196 >> 2] = $1; - HEAP32[$4 + 192 >> 2] = $2; - HEAPF32[$4 + 188 >> 2] = $3; - $2 = HEAP32[$4 + 200 >> 2]; - b2Transform__b2Transform_28_29($4 + 172 | 0); - b2Transform__b2Transform_28_29($4 + 156 | 0); - b2Sweep__GetTransform_28b2Transform__2c_20float_29_20const($2 + 8 | 0, $4 + 172 | 0, HEAPF32[$4 + 188 >> 2]); - b2Sweep__GetTransform_28b2Transform__2c_20float_29_20const($2 + 44 | 0, $4 + 156 | 0, HEAPF32[$4 + 188 >> 2]); - label$1: { - label$2: { - switch (HEAP32[$2 + 80 >> 2]) { - case 0: - $5 = b2DistanceProxy__GetVertex_28int_29_20const(HEAP32[$2 >> 2], HEAP32[$4 + 196 >> 2]); - $1 = HEAP32[$5 >> 2]; - $0 = HEAP32[$5 + 4 >> 2]; - HEAP32[$4 + 144 >> 2] = $1; - HEAP32[$4 + 148 >> 2] = $0; - $5 = b2DistanceProxy__GetVertex_28int_29_20const(HEAP32[$2 + 4 >> 2], HEAP32[$4 + 192 >> 2]); - $0 = HEAP32[$5 >> 2]; - $1 = HEAP32[$5 + 4 >> 2]; - HEAP32[$4 + 136 >> 2] = $0; - HEAP32[$4 + 140 >> 2] = $1; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 128 | 0, $4 + 172 | 0, $4 + 144 | 0); - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 120 | 0, $4 + 156 | 0, $4 + 136 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 108 | 0, $4 + 120 | 0, $4 + 128 | 0); - wasm2js_i32$0 = $4, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 108 | 0, $2 + 92 | 0), - HEAPF32[wasm2js_i32$0 + 116 >> 2] = wasm2js_f32$0; - HEAPF32[$4 + 204 >> 2] = HEAPF32[$4 + 116 >> 2]; - break label$1; - - case 1: - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($4 + 100 | 0, $4 + 180 | 0, $2 + 92 | 0); - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 92 | 0, $4 + 172 | 0, $2 + 84 | 0); - $5 = b2DistanceProxy__GetVertex_28int_29_20const(HEAP32[$2 + 4 >> 2], HEAP32[$4 + 192 >> 2]); - $1 = HEAP32[$5 >> 2]; - $0 = HEAP32[$5 + 4 >> 2]; - HEAP32[$4 + 80 >> 2] = $1; - HEAP32[$4 + 84 >> 2] = $0; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 72 | 0, $4 + 156 | 0, $4 + 80 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 60 | 0, $4 + 72 | 0, $4 + 92 | 0); - wasm2js_i32$0 = $4, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 60 | 0, $4 + 100 | 0), - HEAPF32[wasm2js_i32$0 + 68 >> 2] = wasm2js_f32$0; - HEAPF32[$4 + 204 >> 2] = HEAPF32[$4 + 68 >> 2]; - break label$1; - - case 2: - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($4 + 52 | 0, $4 + 164 | 0, $2 + 92 | 0); - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 44 | 0, $4 + 156 | 0, $2 + 84 | 0); - $5 = b2DistanceProxy__GetVertex_28int_29_20const(HEAP32[$2 >> 2], HEAP32[$4 + 196 >> 2]); - $0 = HEAP32[$5 >> 2]; - $1 = HEAP32[$5 + 4 >> 2]; - HEAP32[$4 + 32 >> 2] = $0; - HEAP32[$4 + 36 >> 2] = $1; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 24 | 0, $4 + 172 | 0, $4 + 32 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 12 | 0, $4 + 24 | 0, $4 + 44 | 0); - wasm2js_i32$0 = $4, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 12 | 0, $4 + 52 | 0), - HEAPF32[wasm2js_i32$0 + 20 >> 2] = wasm2js_f32$0; - HEAPF32[$4 + 204 >> 2] = HEAPF32[$4 + 20 >> 2]; - break label$1; - - default: - break label$2; - } - } - __assert_fail(9386, 5435, 243, 9175); - wasm2js_trap(); - } - __stack_pointer = $4 + 208 | 0; - return HEAPF32[$4 + 204 >> 2]; -} - -function b2PolygonShape__RayCast_28b2RayCastOutput__2c_20b2RayCastInput_20const__2c_20b2Transform_20const__2c_20int_29_20const($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $5 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $5 = __stack_pointer - 112 | 0; - __stack_pointer = $5; - HEAP32[$5 + 104 >> 2] = $0; - HEAP32[$5 + 100 >> 2] = $1; - HEAP32[$5 + 96 >> 2] = $2; - HEAP32[$5 + 92 >> 2] = $3; - HEAP32[$5 + 88 >> 2] = $4; - $0 = HEAP32[$5 + 104 >> 2]; - $1 = HEAP32[$5 + 92 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 72 | 0, HEAP32[$5 + 96 >> 2], HEAP32[$5 + 92 >> 2]); - b2MulT_28b2Rot_20const__2c_20b2Vec2_20const__29($5 + 80 | 0, $1 + 8 | 0, $5 + 72 | 0); - $1 = HEAP32[$5 + 92 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 56 | 0, HEAP32[$5 + 96 >> 2] + 8 | 0, HEAP32[$5 + 92 >> 2]); - b2MulT_28b2Rot_20const__2c_20b2Vec2_20const__29($5 - -64 | 0, $1 + 8 | 0, $5 + 56 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 48 | 0, $5 - -64 | 0, $5 + 80 | 0); - HEAPF32[$5 + 44 >> 2] = 0; - HEAPF32[$5 + 40 >> 2] = HEAPF32[HEAP32[$5 + 96 >> 2] + 16 >> 2]; - HEAP32[$5 + 36 >> 2] = -1; - HEAP32[$5 + 32 >> 2] = 0; - label$1: { - while (1) { - if (HEAP32[$5 + 32 >> 2] < HEAP32[$0 + 148 >> 2]) { - $1 = HEAP32[$5 + 32 >> 2] << 3; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 20 | 0, ($0 + 20 | 0) + (HEAP32[$5 + 32 >> 2] << 3) | 0, $5 + 80 | 0); - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + ($0 + 84 | 0) | 0, $5 + 20 | 0), - HEAPF32[wasm2js_i32$0 + 28 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29(($0 + 84 | 0) + (HEAP32[$5 + 32 >> 2] << 3) | 0, $5 + 48 | 0), - HEAPF32[wasm2js_i32$0 + 16 >> 2] = wasm2js_f32$0; - label$4: { - if (HEAPF32[$5 + 16 >> 2] == Math_fround(0)) { - if (HEAPF32[$5 + 28 >> 2] < Math_fround(0)) { - HEAP8[$5 + 111 | 0] = 0; - break label$1; - } - break label$4; - } - label$7: { - if (!(!(HEAPF32[$5 + 16 >> 2] < Math_fround(0)) | !(HEAPF32[$5 + 28 >> 2] < Math_fround(HEAPF32[$5 + 44 >> 2] * HEAPF32[$5 + 16 >> 2])))) { - HEAPF32[$5 + 44 >> 2] = HEAPF32[$5 + 28 >> 2] / HEAPF32[$5 + 16 >> 2]; - HEAP32[$5 + 36 >> 2] = HEAP32[$5 + 32 >> 2]; - break label$7; - } - if (!(!(HEAPF32[$5 + 16 >> 2] > Math_fround(0)) | !(HEAPF32[$5 + 28 >> 2] < Math_fround(HEAPF32[$5 + 40 >> 2] * HEAPF32[$5 + 16 >> 2])))) { - HEAPF32[$5 + 40 >> 2] = HEAPF32[$5 + 28 >> 2] / HEAPF32[$5 + 16 >> 2]; - } - } - } - if (HEAPF32[$5 + 40 >> 2] < HEAPF32[$5 + 44 >> 2]) { - HEAP8[$5 + 111 | 0] = 0; - break label$1; - } else { - HEAP32[$5 + 32 >> 2] = HEAP32[$5 + 32 >> 2] + 1; - continue; - } - } - break; - } - if (!(HEAPF32[$5 + 44 >> 2] <= HEAPF32[HEAP32[$5 + 96 >> 2] + 16 >> 2] & HEAPF32[$5 + 44 >> 2] >= Math_fround(0))) { - __assert_fail(6767, 5849, 334, 2054); - wasm2js_trap(); - } - if (HEAP32[$5 + 36 >> 2] >= 0) { - HEAPF32[HEAP32[$5 + 100 >> 2] + 8 >> 2] = HEAPF32[$5 + 44 >> 2]; - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($5 + 8 | 0, HEAP32[$5 + 92 >> 2] + 8 | 0, ($0 + 84 | 0) + (HEAP32[$5 + 36 >> 2] << 3) | 0); - $2 = HEAP32[$5 + 12 >> 2]; - $0 = HEAP32[$5 + 8 >> 2]; - $1 = $0; - $0 = HEAP32[$5 + 100 >> 2]; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - HEAP8[$5 + 111 | 0] = 1; - break label$1; - } - HEAP8[$5 + 111 | 0] = 0; - } - __stack_pointer = $5 + 112 | 0; - return HEAP8[$5 + 111 | 0] & 1; -} - -function b2DynamicTree__MoveProxy_28int_2c_20b2AABB_20const__2c_20b2Vec2_20const__29($0, $1, $2, $3) { - var $4 = 0, $5 = 0; - $4 = __stack_pointer - 128 | 0; - __stack_pointer = $4; - HEAP32[$4 + 120 >> 2] = $0; - HEAP32[$4 + 116 >> 2] = $1; - HEAP32[$4 + 112 >> 2] = $2; - HEAP32[$4 + 108 >> 2] = $3; - $5 = HEAP32[$4 + 120 >> 2]; - if (!(HEAP32[$4 + 116 >> 2] < HEAP32[$5 + 12 >> 2] & HEAP32[$4 + 116 >> 2] >= 0)) { - __assert_fail(1389, 6056, 137, 1091); - wasm2js_trap(); - } - if (!(b2TreeNode__IsLeaf_28_29_20const(HEAP32[$5 + 4 >> 2] + Math_imul(HEAP32[$4 + 116 >> 2], 40) | 0) & 1)) { - __assert_fail(12709, 6056, 139, 1091); - wasm2js_trap(); - } - b2AABB__b2AABB_28_29($4 + 92 | 0); - b2Vec2__b2Vec2_28float_2c_20float_29($4 + 84 | 0, Math_fround(.10000000149011612), Math_fround(.10000000149011612)); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 76 | 0, HEAP32[$4 + 112 >> 2], $4 + 84 | 0); - $0 = HEAP32[$4 + 80 >> 2]; - $1 = HEAP32[$4 + 76 >> 2]; - $2 = $1; - $1 = $4 + 92 | 0; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($4 + 68 | 0, HEAP32[$4 + 112 >> 2] + 8 | 0, $4 + 84 | 0); - $1 = HEAP32[$4 + 72 >> 2]; - $0 = HEAP32[$4 + 68 >> 2]; - $2 = $0; - $0 = $4 + 92 | 0; - HEAP32[$0 + 8 >> 2] = $2; - HEAP32[$0 + 12 >> 2] = $1; - operator__28float_2c_20b2Vec2_20const__29($4 + 60 | 0, Math_fround(4), HEAP32[$4 + 108 >> 2]); - label$4: { - if (HEAPF32[$4 + 60 >> 2] < Math_fround(0)) { - HEAPF32[$4 + 92 >> 2] = HEAPF32[$4 + 92 >> 2] + HEAPF32[$4 + 60 >> 2]; - break label$4; - } - HEAPF32[$4 + 100 >> 2] = HEAPF32[$4 + 100 >> 2] + HEAPF32[$4 + 60 >> 2]; - } - label$6: { - if (HEAPF32[$4 + 64 >> 2] < Math_fround(0)) { - HEAPF32[$4 + 96 >> 2] = HEAPF32[$4 + 96 >> 2] + HEAPF32[$4 + 64 >> 2]; - break label$6; - } - HEAPF32[$4 + 104 >> 2] = HEAPF32[$4 + 104 >> 2] + HEAPF32[$4 + 64 >> 2]; - } - HEAP32[$4 + 56 >> 2] = HEAP32[$5 + 4 >> 2] + Math_imul(HEAP32[$4 + 116 >> 2], 40); - label$8: { - if (b2AABB__Contains_28b2AABB_20const__29_20const(HEAP32[$4 + 56 >> 2], HEAP32[$4 + 112 >> 2]) & 1) { - b2AABB__b2AABB_28_29($4 + 40 | 0); - operator__28float_2c_20b2Vec2_20const__29($4 + 24 | 0, Math_fround(4), $4 + 84 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 32 | 0, $4 + 92 | 0, $4 + 24 | 0); - $0 = HEAP32[$4 + 36 >> 2]; - $1 = HEAP32[$4 + 32 >> 2]; - $2 = $1; - $1 = $4 + 40 | 0; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - operator__28float_2c_20b2Vec2_20const__29($4 + 8 | 0, Math_fround(4), $4 + 84 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($4 + 16 | 0, $4 + 100 | 0, $4 + 8 | 0); - $1 = HEAP32[$4 + 20 >> 2]; - $0 = HEAP32[$4 + 16 >> 2]; - $2 = $0; - $0 = $4 + 40 | 0; - HEAP32[$0 + 8 >> 2] = $2; - HEAP32[$0 + 12 >> 2] = $1; - if (b2AABB__Contains_28b2AABB_20const__29_20const($4 + 40 | 0, HEAP32[$4 + 56 >> 2]) & 1) { - HEAP8[$4 + 127 | 0] = 0; - break label$8; - } - } - b2DynamicTree__RemoveLeaf_28int_29($5, HEAP32[$4 + 116 >> 2]); - $0 = HEAP32[$4 + 96 >> 2]; - $1 = HEAP32[$4 + 92 >> 2]; - $3 = $1; - $2 = HEAP32[$5 + 4 >> 2] + Math_imul(HEAP32[$4 + 116 >> 2], 40) | 0; - $1 = $2; - HEAP32[$1 >> 2] = $3; - HEAP32[$1 + 4 >> 2] = $0; - $1 = HEAP32[$4 + 104 >> 2]; - $0 = HEAP32[$4 + 100 >> 2]; - $3 = $0; - $0 = $2; - HEAP32[$0 + 8 >> 2] = $3; - HEAP32[$0 + 12 >> 2] = $1; - b2DynamicTree__InsertLeaf_28int_29($5, HEAP32[$4 + 116 >> 2]); - HEAP8[(HEAP32[$5 + 4 >> 2] + Math_imul(HEAP32[$4 + 116 >> 2], 40) | 0) + 36 | 0] = 1; - HEAP8[$4 + 127 | 0] = 1; - } - __stack_pointer = $4 + 128 | 0; - return HEAP8[$4 + 127 | 0] & 1; -} - -function b2DistanceJoint__SolveVelocityConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 112 | 0; - __stack_pointer = $2; - HEAP32[$2 + 108 >> 2] = $0; - HEAP32[$2 + 104 >> 2] = $1; - $3 = HEAP32[$2 + 108 >> 2]; - $4 = HEAP32[HEAP32[$2 + 104 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 12) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 96 >> 2] = $0; - HEAP32[$2 + 100 >> 2] = $1; - HEAPF32[$2 + 92 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 104 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 12) | 0) + 8 >> 2]; - $4 = HEAP32[HEAP32[$2 + 104 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 112 >> 2], 12) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$2 + 80 >> 2] = $1; - HEAP32[$2 + 84 >> 2] = $0; - HEAPF32[$2 + 76 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 104 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 112 >> 2], 12) | 0) + 8 >> 2]; - b2Cross_28float_2c_20b2Vec2_20const__29($2 + 60 | 0, HEAPF32[$2 + 92 >> 2], $3 + 124 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 68 | 0, $2 + 96 | 0, $2 + 60 | 0); - b2Cross_28float_2c_20b2Vec2_20const__29($2 + 44 | 0, HEAPF32[$2 + 76 >> 2], $3 + 132 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 52 | 0, $2 + 80 | 0, $2 + 44 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 32 | 0, $2 + 52 | 0, $2 + 68 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 116 | 0, $2 + 32 | 0), - HEAPF32[wasm2js_i32$0 + 40 >> 2] = wasm2js_f32$0; - HEAPF32[$2 + 28 >> 2] = Math_fround(-HEAPF32[$3 + 172 >> 2]) * Math_fround(Math_fround(HEAPF32[$3 + 96 >> 2] * HEAPF32[$3 + 100 >> 2]) + Math_fround(HEAPF32[$2 + 40 >> 2] + HEAPF32[$3 + 76 >> 2])); - HEAPF32[$3 + 100 >> 2] = HEAPF32[$3 + 100 >> 2] + HEAPF32[$2 + 28 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 20 | 0, HEAPF32[$2 + 28 >> 2], $3 + 116 | 0); - operator__28float_2c_20b2Vec2_20const__29($2 + 12 | 0, HEAPF32[$3 + 156 >> 2], $2 + 20 | 0); - b2Vec2__operator___28b2Vec2_20const__29_1($2 + 96 | 0, $2 + 12 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$3 + 164 >> 2]) * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 124 | 0, $2 + 20 | 0)) + HEAPF32[$2 + 92 >> 2]), - HEAPF32[wasm2js_i32$0 + 92 >> 2] = wasm2js_f32$0; - operator__28float_2c_20b2Vec2_20const__29($2 + 4 | 0, HEAPF32[$3 + 160 >> 2], $2 + 20 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 80 | 0, $2 + 4 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$3 + 168 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 132 | 0, $2 + 20 | 0)) + HEAPF32[$2 + 76 >> 2]), - HEAPF32[wasm2js_i32$0 + 76 >> 2] = wasm2js_f32$0; - $1 = HEAP32[$2 + 100 >> 2]; - $0 = HEAP32[$2 + 96 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 104 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $1; - HEAPF32[(HEAP32[HEAP32[$2 + 104 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 108 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 92 >> 2]; - $0 = HEAP32[$2 + 84 >> 2]; - $1 = HEAP32[$2 + 80 >> 2]; - $4 = $1; - $1 = HEAP32[HEAP32[$2 + 104 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 112 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - HEAPF32[(HEAP32[HEAP32[$2 + 104 >> 2] + 28 >> 2] + Math_imul(HEAP32[$3 + 112 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 76 >> 2]; - __stack_pointer = $2 + 112 | 0; -} - -function __trunctfdf2($0, $1, $2, $3) { - var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0; - $12 = __stack_pointer - 32 | 0; - __stack_pointer = $12; - $6 = $3; - $8 = $6 & 2147483647; - $9 = $8; - $4 = $2; - $2 = $4; - $6 = $4; - $5 = $6; - $7 = 1006698496; - $7 = $8 - $7 | 0; - $6 = $7; - $7 = $8; - $5 = 1140785152; - $5 = $7 - $5 | 0; - $8 = $5; - $5 = $6; - label$1: { - if (($8 | 0) == ($5 | 0) & $4 >>> 0 < $4 >>> 0 | $5 >>> 0 < $8 >>> 0) { - $7 = $3; - $5 = $7 << 4 | $2 >>> 28; - $4 = $5; - $5 = $1; - $8 = $5 >>> 28 | 0; - $5 = $2 << 4; - $2 = $8 | $5; - $7 = $10; - $7 = $4 | $7; - $9 = $7; - $7 = $1; - $5 = $7 & 268435455; - $1 = $5; - $7 = $0; - if (($5 | 0) == 134217728 & ($7 | 0) != 0 | $5 >>> 0 > 134217728) { - $7 = $9; - $4 = $7 + 1073741824 | 0; - $8 = $2; - $6 = $8 + 1 | 0; - $4 = $6 ? $4 : $4 + 1 | 0; - $11 = $6; - $10 = $4; - break label$1; - } - $7 = $2; - $5 = $7; - $11 = $5; - $4 = $9; - $6 = -1073741824; - $6 = $4 - $6 | 0; - $10 = $6; - $4 = $0; - $6 = $1; - if ($4 | ($6 | 0) != 134217728) { - break label$1; - } - $4 = $11; - $7 = $2 & 1; - $8 = $4 + $7 | 0; - $6 = $10; - $4 = $13; - $5 = $6 + $4 | 0; - $11 = $8; - $5 = $7 >>> 0 > $8 >>> 0 ? $5 + 1 | 0 : $5; - $10 = $5; - break label$1; - } - $5 = $1; - $4 = !($5 | $0); - $5 = $9; - $5 = $5 >>> 0 < 2147418112; - $6 = $9; - if (!(!$2 & ($6 | 0) == 2147418112 ? $4 : $5)) { - $7 = $3; - $4 = $2; - $6 = $7 << 4 | $4 >>> 28; - $0 = $4 << 4; - $4 = $6; - $6 = $1; - $5 = $6 >>> 28 | 0; - $7 = $10; - $7 = $4 | $7; - $6 = $0; - $4 = $6 | $5; - $6 = $7 & 524287; - $11 = $4; - $4 = $6 | 2146959360; - $10 = $4; - break label$1; - } - $10 = 2146435072; - $4 = $9; - if ($4 >>> 0 > 1140785151) { - break label$1; - } - $10 = 0; - $6 = $9; - $7 = $6 >>> 16 | 0; - if ($7 >>> 0 < 15249) { - break label$1; - } - $4 = $3; - $5 = $4 & 65535; - $6 = $2; - $6 = $5 | 65536; - $9 = $6; - $6 = $1; - $4 = $9; - __ashlti3($12 + 16 | 0, $0, $6, $2, $4, $7 - 15233 | 0); - $4 = $6; - $6 = $9; - __lshrti3($12, $0, $4, $2, $6, 15361 - $7 | 0); - $5 = $12; - $6 = HEAP32[$5 + 8 >> 2]; - $4 = HEAP32[$5 + 12 >> 2]; - $1 = $6 << 4; - $6 = $4 << 4 | $6 >>> 28; - $0 = $6; - $4 = $12; - $6 = HEAP32[$4 >> 2]; - $5 = HEAP32[$4 + 4 >> 2]; - $9 = $5; - $2 = $6; - $7 = $5 >>> 28 | 0; - $5 = $1; - $11 = $5 | $7; - $6 = $0; - $4 = $13; - $4 = $6 | $4; - $10 = $4; - $6 = $12; - $4 = HEAP32[$6 + 16 >> 2]; - $0 = $4; - $5 = HEAP32[$6 + 20 >> 2]; - $1 = $5; - $5 = HEAP32[$6 + 24 >> 2]; - $7 = $5; - $4 = HEAP32[$6 + 28 >> 2]; - $5 = $4; - $4 = $1; - $5 = $4 | $5; - $6 = $0; - $4 = $6 | $7; - $0 = ($5 | $4) != 0; - $4 = $9; - $5 = $4 & 268435455; - $7 = $2; - $6 = $7; - $4 = $0; - $2 = $6 | $4; - $7 = $5; - $9 = $5; - $5 = $2; - if (($7 | 0) == 134217728 & ($5 | 0) != 0 | $7 >>> 0 > 134217728) { - $5 = $10; - $6 = $11; - $4 = $6 + 1 | 0; - $8 = $4 ? $5 : $5 + 1 | 0; - $11 = $4; - $10 = $8; - break label$1; - } - $8 = $9; - if ($2 | ($8 | 0) != 134217728) { - break label$1; - } - $4 = $11; - $6 = $4; - $5 = $6 & 1; - $7 = $6 + $5 | 0; - $8 = 0; - $4 = $10; - $4 = $8 + $4 | 0; - $11 = $7; - $4 = $7 >>> 0 < $6 >>> 0 ? $4 + 1 | 0 : $4; - $10 = $4; - } - __stack_pointer = $12 + 32 | 0; - $4 = $3; - $5 = $4 & -2147483648; - $6 = 0; - $4 = $11; - wasm2js_scratch_store_i32(0, $6 | $4); - $8 = $5; - $5 = $10; - $8 = $8 | $5; - wasm2js_scratch_store_i32(1, $8 | 0); - return +wasm2js_scratch_load_f64(); -} - -function b2Body__ResetMassData_28_29($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $3 = 0, $4 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 80 | 0; - __stack_pointer = $2; - HEAP32[$2 + 76 >> 2] = $0; - $1 = HEAP32[$2 + 76 >> 2]; - HEAPF32[$1 + 116 >> 2] = 0; - HEAPF32[$1 + 120 >> 2] = 0; - HEAPF32[$1 + 124 >> 2] = 0; - HEAPF32[$1 + 128 >> 2] = 0; - b2Vec2__SetZero_28_29($1 + 28 | 0); - label$1: { - if (!(HEAP32[$1 >> 2] != 1 ? HEAP32[$1 >> 2] : 0)) { - $3 = HEAP32[$1 + 16 >> 2]; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[$1 + 36 >> 2] = $0; - HEAP32[$1 + 40 >> 2] = $3; - $0 = HEAP32[$1 + 16 >> 2]; - $3 = HEAP32[$1 + 12 >> 2]; - HEAP32[$1 + 44 >> 2] = $3; - HEAP32[$1 + 48 >> 2] = $0; - HEAPF32[$1 + 52 >> 2] = HEAPF32[$1 + 56 >> 2]; - break label$1; - } - if (HEAP32[$1 >> 2] != 2) { - __assert_fail(1732, 4319, 306, 10638); - wasm2js_trap(); - } - $3 = HEAP32[7519]; - $0 = HEAP32[7518]; - HEAP32[$2 + 64 >> 2] = $0; - HEAP32[$2 + 68 >> 2] = $3; - HEAP32[$2 + 60 >> 2] = HEAP32[$1 + 100 >> 2]; - while (1) { - if (HEAP32[$2 + 60 >> 2]) { - if (HEAPF32[HEAP32[$2 + 60 >> 2] >> 2] != Math_fround(0)) { - b2MassData__b2MassData_28_29($2 + 44 | 0); - b2Fixture__GetMassData_28b2MassData__29_20const(HEAP32[$2 + 60 >> 2], $2 + 44 | 0); - HEAPF32[$1 + 116 >> 2] = HEAPF32[$1 + 116 >> 2] + HEAPF32[$2 + 44 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($2 + 36 | 0, HEAPF32[$2 + 44 >> 2], $2 + 48 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 - -64 | 0, $2 + 36 | 0); - HEAPF32[$1 + 124 >> 2] = HEAPF32[$1 + 124 >> 2] + HEAPF32[$2 + 56 >> 2]; - } - HEAP32[$2 + 60 >> 2] = HEAP32[HEAP32[$2 + 60 >> 2] + 4 >> 2]; - continue; - } - break; - } - if (HEAPF32[$1 + 116 >> 2] > Math_fround(0)) { - HEAPF32[$1 + 120 >> 2] = Math_fround(1) / HEAPF32[$1 + 116 >> 2]; - b2Vec2__operator___28float_29($2 - -64 | 0, HEAPF32[$1 + 120 >> 2]); - } - label$9: { - if (!(!(HEAPF32[$1 + 124 >> 2] > Math_fround(0)) | HEAPU16[$1 + 4 >> 1] & 16)) { - $0 = $2 - -64 | 0; - wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$1 + 116 >> 2]) * b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($0, $0)) + HEAPF32[$1 + 124 >> 2]), - HEAPF32[wasm2js_i32$0 + 124 >> 2] = wasm2js_f32$0; - if (!(HEAPF32[$1 + 124 >> 2] > Math_fround(0))) { - __assert_fail(8263, 4319, 335, 10638); - wasm2js_trap(); - } - HEAPF32[$1 + 128 >> 2] = Math_fround(1) / HEAPF32[$1 + 124 >> 2]; - break label$9; - } - HEAPF32[$1 + 124 >> 2] = 0; - HEAPF32[$1 + 128 >> 2] = 0; - } - $0 = HEAP32[$1 + 48 >> 2]; - $3 = HEAP32[$1 + 44 >> 2]; - HEAP32[$2 + 24 >> 2] = $3; - HEAP32[$2 + 28 >> 2] = $0; - $3 = HEAP32[$2 + 68 >> 2]; - $0 = HEAP32[$2 + 64 >> 2]; - HEAP32[$1 + 28 >> 2] = $0; - HEAP32[$1 + 32 >> 2] = $3; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($2 + 16 | 0, $1 + 12 | 0, $1 + 28 | 0); - $0 = HEAP32[$2 + 20 >> 2]; - $3 = HEAP32[$2 + 16 >> 2]; - HEAP32[$1 + 44 >> 2] = $3; - HEAP32[$1 + 48 >> 2] = $0; - $3 = HEAP32[$1 + 48 >> 2]; - $0 = HEAP32[$1 + 44 >> 2]; - HEAP32[$1 + 36 >> 2] = $0; - HEAP32[$1 + 40 >> 2] = $3; - $4 = HEAPF32[$1 + 72 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2, $1 + 44 | 0, $2 + 24 | 0); - b2Cross_28float_2c_20b2Vec2_20const__29($2 + 8 | 0, $4, $2); - b2Vec2__operator___28b2Vec2_20const__29($1 - -64 | 0, $2 + 8 | 0); - } - __stack_pointer = $2 + 80 | 0; -} - -function std____2__pair_std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__2c_20bool__20std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______emplace_unique_key_args_b2Fixture__2c_20b2Fixture__20const___28b2Fixture__20const__2c_20b2Fixture__20const__29($0, $1, $2, $3) { - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $4 = __stack_pointer - 48 | 0; - __stack_pointer = $4; - HEAP32[$4 + 44 >> 2] = $1; - HEAP32[$4 + 40 >> 2] = $2; - HEAP32[$4 + 36 >> 2] = $3; - $1 = HEAP32[$4 + 44 >> 2]; - wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2____tree_node_base_void_____20std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______find_equal_b2Fixture___28std____2____tree_end_node_std____2____tree_node_base_void_______2c_20b2Fixture__20const__29($1, $4 + 32 | 0, HEAP32[$4 + 40 >> 2]), - HEAP32[wasm2js_i32$0 + 28 >> 2] = wasm2js_i32$1; - HEAP32[$4 + 24 >> 2] = HEAP32[HEAP32[$4 + 28 >> 2] >> 2]; - HEAP8[$4 + 23 | 0] = 0; - if (!HEAP32[HEAP32[$4 + 28 >> 2] >> 2]) { - std____2__unique_ptr_std____2____tree_node_b2Fixture__2c_20void___2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______20std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______construct_node_b2Fixture__20const___28b2Fixture__20const__29($4 + 8 | 0, $1, HEAP32[$4 + 36 >> 2]); - std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______insert_node_at_28std____2____tree_end_node_std____2____tree_node_base_void______2c_20std____2____tree_node_base_void_____2c_20std____2____tree_node_base_void____29($1, HEAP32[$4 + 32 >> 2], HEAP32[$4 + 28 >> 2], std____2__unique_ptr_std____2____tree_node_b2Fixture__2c_20void___2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______get_5babi_v160004_5d_28_29_20const($4 + 8 | 0)); - wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2__unique_ptr_std____2____tree_node_b2Fixture__2c_20void___2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______release_5babi_v160004_5d_28_29($4 + 8 | 0), - HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; - HEAP8[$4 + 23 | 0] = 1; - std____2__unique_ptr_std____2____tree_node_b2Fixture__2c_20void___2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void________unique_ptr_5babi_v160004_5d_28_29($4 + 8 | 0); - } - std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long_____tree_iterator_5babi_v160004_5d_28std____2____tree_node_b2Fixture__2c_20void____29($4 + 4 | 0, HEAP32[$4 + 24 >> 2]); - std____2__pair_std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__2c_20bool___pair_5babi_v160004_5d_std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__2c_20bool__2c_20_28void__290__28std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long____2c_20bool__29($0, $4 + 4 | 0, $4 + 23 | 0); - __stack_pointer = $4 + 48 | 0; -} - -function b2World__DestroyJoint_28b2Joint__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - $0 = HEAP32[$2 + 28 >> 2]; - if (b2World__IsLocked_28_29_20const($0) & 1) { - __assert_fail(9372, 6252, 282, 2683); - wasm2js_trap(); - } - label$2: { - if (b2World__IsLocked_28_29_20const($0) & 1) { - break label$2; - } - HEAP8[$2 + 23 | 0] = HEAP8[HEAP32[$2 + 24 >> 2] + 61 | 0] & 1; - if (HEAP32[HEAP32[$2 + 24 >> 2] + 8 >> 2]) { - HEAP32[HEAP32[HEAP32[$2 + 24 >> 2] + 8 >> 2] + 12 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 12 >> 2]; - } - if (HEAP32[HEAP32[$2 + 24 >> 2] + 12 >> 2]) { - HEAP32[HEAP32[HEAP32[$2 + 24 >> 2] + 12 >> 2] + 8 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 8 >> 2]; - } - if (HEAP32[$2 + 24 >> 2] == HEAP32[$0 + 102952 >> 2]) { - HEAP32[$0 + 102952 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 12 >> 2]; - } - HEAP32[$2 + 16 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 48 >> 2]; - HEAP32[$2 + 12 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 52 >> 2]; - b2Body__SetAwake_28bool_29(HEAP32[$2 + 16 >> 2], 1); - b2Body__SetAwake_28bool_29(HEAP32[$2 + 12 >> 2], 1); - if (HEAP32[HEAP32[$2 + 24 >> 2] + 24 >> 2]) { - HEAP32[HEAP32[HEAP32[$2 + 24 >> 2] + 24 >> 2] + 12 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 28 >> 2]; - } - if (HEAP32[HEAP32[$2 + 24 >> 2] + 28 >> 2]) { - HEAP32[HEAP32[HEAP32[$2 + 24 >> 2] + 28 >> 2] + 8 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 24 >> 2]; - } - if (HEAP32[HEAP32[$2 + 16 >> 2] + 108 >> 2] == (HEAP32[$2 + 24 >> 2] + 16 | 0)) { - HEAP32[HEAP32[$2 + 16 >> 2] + 108 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 28 >> 2]; - } - HEAP32[HEAP32[$2 + 24 >> 2] + 24 >> 2] = 0; - HEAP32[HEAP32[$2 + 24 >> 2] + 28 >> 2] = 0; - if (HEAP32[HEAP32[$2 + 24 >> 2] + 40 >> 2]) { - HEAP32[HEAP32[HEAP32[$2 + 24 >> 2] + 40 >> 2] + 12 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 44 >> 2]; - } - if (HEAP32[HEAP32[$2 + 24 >> 2] + 44 >> 2]) { - HEAP32[HEAP32[HEAP32[$2 + 24 >> 2] + 44 >> 2] + 8 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 40 >> 2]; - } - if (HEAP32[HEAP32[$2 + 12 >> 2] + 108 >> 2] == (HEAP32[$2 + 24 >> 2] + 32 | 0)) { - HEAP32[HEAP32[$2 + 12 >> 2] + 108 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 44 >> 2]; - } - HEAP32[HEAP32[$2 + 24 >> 2] + 40 >> 2] = 0; - HEAP32[HEAP32[$2 + 24 >> 2] + 44 >> 2] = 0; - b2Joint__Destroy_28b2Joint__2c_20b2BlockAllocator__29(HEAP32[$2 + 24 >> 2], $0); - if (HEAP32[$0 + 102960 >> 2] <= 0) { - __assert_fail(12522, 6252, 354, 2683); - wasm2js_trap(); - } - HEAP32[$0 + 102960 >> 2] = HEAP32[$0 + 102960 >> 2] - 1; - if (HEAP8[$2 + 23 | 0] & 1) { - break label$2; - } - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Body__GetContactList_28_29(HEAP32[$2 + 12 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - while (1) { - if (HEAP32[$2 + 8 >> 2]) { - if (HEAP32[HEAP32[$2 + 8 >> 2] >> 2] == HEAP32[$2 + 16 >> 2]) { - b2Contact__FlagForFiltering_28_29(HEAP32[HEAP32[$2 + 8 >> 2] + 4 >> 2]); - } - HEAP32[$2 + 8 >> 2] = HEAP32[HEAP32[$2 + 8 >> 2] + 12 >> 2]; - continue; - } - break; - } - } - __stack_pointer = $2 + 32 | 0; -} - -function b2World__DestroyBody_28b2Body__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - $0 = HEAP32[$2 + 28 >> 2]; - if (HEAP32[$0 + 102956 >> 2] <= 0) { - __assert_fail(12462, 6252, 141, 1663); - wasm2js_trap(); - } - if (b2World__IsLocked_28_29_20const($0) & 1) { - __assert_fail(9372, 6252, 142, 1663); - wasm2js_trap(); - } - if (!(b2World__IsLocked_28_29_20const($0) & 1)) { - HEAP32[$2 + 20 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 108 >> 2]; - while (1) { - if (HEAP32[$2 + 20 >> 2]) { - HEAP32[$2 + 16 >> 2] = HEAP32[$2 + 20 >> 2]; - HEAP32[$2 + 20 >> 2] = HEAP32[HEAP32[$2 + 20 >> 2] + 12 >> 2]; - if (HEAP32[$0 + 102976 >> 2]) { - $1 = HEAP32[$0 + 102976 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 8 >> 2]]($1, HEAP32[HEAP32[$2 + 16 >> 2] + 4 >> 2]); - } - b2World__DestroyJoint_28b2Joint__29($0, HEAP32[HEAP32[$2 + 16 >> 2] + 4 >> 2]); - HEAP32[HEAP32[$2 + 24 >> 2] + 108 >> 2] = HEAP32[$2 + 20 >> 2]; - continue; - } - break; - } - HEAP32[HEAP32[$2 + 24 >> 2] + 108 >> 2] = 0; - HEAP32[$2 + 12 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 112 >> 2]; - while (1) { - if (HEAP32[$2 + 12 >> 2]) { - HEAP32[$2 + 8 >> 2] = HEAP32[$2 + 12 >> 2]; - HEAP32[$2 + 12 >> 2] = HEAP32[HEAP32[$2 + 12 >> 2] + 12 >> 2]; - b2ContactManager__Destroy_28b2Contact__29($0 + 102868 | 0, HEAP32[HEAP32[$2 + 8 >> 2] + 4 >> 2]); - continue; - } - break; - } - HEAP32[HEAP32[$2 + 24 >> 2] + 112 >> 2] = 0; - HEAP32[$2 + 4 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 100 >> 2]; - while (1) { - if (HEAP32[$2 + 4 >> 2]) { - HEAP32[$2 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$2 + 4 >> 2] = HEAP32[HEAP32[$2 + 4 >> 2] + 4 >> 2]; - if (HEAP32[$0 + 102976 >> 2]) { - $1 = HEAP32[$0 + 102976 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 12 >> 2]]($1, HEAP32[$2 >> 2]); - } - b2Fixture__DestroyProxies_28b2BroadPhase__29(HEAP32[$2 >> 2], $0 + 102868 | 0); - b2Fixture__Destroy_28b2BlockAllocator__29(HEAP32[$2 >> 2], $0); - b2BlockAllocator__Free_28void__2c_20int_29($0, HEAP32[$2 >> 2], 44); - HEAP32[HEAP32[$2 + 24 >> 2] + 100 >> 2] = HEAP32[$2 + 4 >> 2]; - $1 = HEAP32[$2 + 24 >> 2]; - HEAP32[$1 + 104 >> 2] = HEAP32[$1 + 104 >> 2] - 1; - continue; - } - break; - } - HEAP32[HEAP32[$2 + 24 >> 2] + 100 >> 2] = 0; - HEAP32[HEAP32[$2 + 24 >> 2] + 104 >> 2] = 0; - if (HEAP32[HEAP32[$2 + 24 >> 2] + 92 >> 2]) { - HEAP32[HEAP32[HEAP32[$2 + 24 >> 2] + 92 >> 2] + 96 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 96 >> 2]; - } - if (HEAP32[HEAP32[$2 + 24 >> 2] + 96 >> 2]) { - HEAP32[HEAP32[HEAP32[$2 + 24 >> 2] + 96 >> 2] + 92 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 92 >> 2]; - } - if (HEAP32[$2 + 24 >> 2] == HEAP32[$0 + 102948 >> 2]) { - HEAP32[$0 + 102948 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 96 >> 2]; - } - HEAP32[$0 + 102956 >> 2] = HEAP32[$0 + 102956 >> 2] - 1; - b2Body___b2Body_28_29(HEAP32[$2 + 24 >> 2]); - b2BlockAllocator__Free_28void__2c_20int_29($0, HEAP32[$2 + 24 >> 2], 152); - } - __stack_pointer = $2 + 32 | 0; -} - -function b2BlockAllocator__Allocate_28int_29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer + -64 | 0; - __stack_pointer = $2; - HEAP32[$2 + 56 >> 2] = $0; - HEAP32[$2 + 52 >> 2] = $1; - $0 = HEAP32[$2 + 56 >> 2]; - label$1: { - if (!HEAP32[$2 + 52 >> 2]) { - HEAP32[$2 + 60 >> 2] = 0; - break label$1; - } - if (HEAP32[$2 + 52 >> 2] <= 0) { - __assert_fail(8759, 5506, 118, 9191); - wasm2js_trap(); - } - if (HEAP32[$2 + 52 >> 2] > 640) { - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Alloc_28int_29(HEAP32[$2 + 52 >> 2]), HEAP32[wasm2js_i32$0 + 60 >> 2] = wasm2js_i32$1; - break label$1; - } - HEAP32[$2 + 48 >> 2] = HEAPU8[HEAP32[$2 + 52 >> 2] + 29428 | 0]; - if (!(HEAP32[$2 + 48 >> 2] < 14 & HEAP32[$2 + 48 >> 2] >= 0)) { - __assert_fail(2323, 5506, 126, 9191); - wasm2js_trap(); - } - if (HEAP32[($0 + 12 | 0) + (HEAP32[$2 + 48 >> 2] << 2) >> 2]) { - HEAP32[$2 + 44 >> 2] = HEAP32[($0 + 12 | 0) + (HEAP32[$2 + 48 >> 2] << 2) >> 2]; - HEAP32[($0 + 12 | 0) + (HEAP32[$2 + 48 >> 2] << 2) >> 2] = HEAP32[HEAP32[$2 + 44 >> 2] >> 2]; - HEAP32[$2 + 60 >> 2] = HEAP32[$2 + 44 >> 2]; - break label$1; - } - if (HEAP32[$0 + 4 >> 2] == HEAP32[$0 + 8 >> 2]) { - HEAP32[$2 + 40 >> 2] = HEAP32[$0 >> 2]; - HEAP32[$0 + 8 >> 2] = HEAP32[$0 + 8 >> 2] + 128; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2Alloc_28int_29(HEAP32[$0 + 8 >> 2] << 3), - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - __memcpy(HEAP32[$0 >> 2], HEAP32[$2 + 40 >> 2], HEAP32[$0 + 4 >> 2] << 3); - __memset(HEAP32[$0 >> 2] + (HEAP32[$0 + 4 >> 2] << 3) | 0, 0, 1024); - b2Free_28void__29(HEAP32[$2 + 40 >> 2]); - } - HEAP32[$2 + 36 >> 2] = HEAP32[$0 >> 2] + (HEAP32[$0 + 4 >> 2] << 3); - $1 = b2Alloc_28int_29(16384); - HEAP32[HEAP32[$2 + 36 >> 2] + 4 >> 2] = $1; - HEAP32[$2 + 32 >> 2] = HEAP32[(HEAP32[$2 + 48 >> 2] << 2) + 18400 >> 2]; - HEAP32[HEAP32[$2 + 36 >> 2] >> 2] = HEAP32[$2 + 32 >> 2]; - HEAP32[$2 + 28 >> 2] = 16384 / HEAP32[$2 + 32 >> 2]; - if ((Math_imul(HEAP32[$2 + 28 >> 2], HEAP32[$2 + 32 >> 2]) | 0) > 16384) { - __assert_fail(8794, 5506, 154, 9191); - wasm2js_trap(); - } - HEAP32[$2 + 24 >> 2] = 0; - while (1) { - if (HEAP32[$2 + 24 >> 2] < (HEAP32[$2 + 28 >> 2] - 1 | 0)) { - HEAP32[$2 + 20 >> 2] = HEAP32[HEAP32[$2 + 36 >> 2] + 4 >> 2] + Math_imul(HEAP32[$2 + 32 >> 2], HEAP32[$2 + 24 >> 2]); - HEAP32[$2 + 16 >> 2] = HEAP32[HEAP32[$2 + 36 >> 2] + 4 >> 2] + Math_imul(HEAP32[$2 + 32 >> 2], HEAP32[$2 + 24 >> 2] + 1 | 0); - HEAP32[HEAP32[$2 + 20 >> 2] >> 2] = HEAP32[$2 + 16 >> 2]; - HEAP32[$2 + 24 >> 2] = HEAP32[$2 + 24 >> 2] + 1; - continue; - } - break; - } - HEAP32[$2 + 12 >> 2] = HEAP32[HEAP32[$2 + 36 >> 2] + 4 >> 2] + Math_imul(HEAP32[$2 + 32 >> 2], HEAP32[$2 + 28 >> 2] - 1 | 0); - HEAP32[HEAP32[$2 + 12 >> 2] >> 2] = 0; - HEAP32[($0 + 12 | 0) + (HEAP32[$2 + 48 >> 2] << 2) >> 2] = HEAP32[HEAP32[HEAP32[$2 + 36 >> 2] + 4 >> 2] >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] + 1; - HEAP32[$2 + 60 >> 2] = HEAP32[HEAP32[$2 + 36 >> 2] + 4 >> 2]; - } - __stack_pointer = $2 - -64 | 0; - return HEAP32[$2 + 60 >> 2]; -} - -function std____2__unique_ptr_std____2____tree_node_b2Fixture__2c_20void___2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______20std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______construct_node_b2Fixture__20const___28b2Fixture__20const__29($0, $1, $2) { - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $1; - HEAP32[$3 + 24 >> 2] = $2; - wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______node_alloc_5babi_v160004_5d_28_29(HEAP32[$3 + 28 >> 2]), - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - HEAP8[$3 + 19 | 0] = 0; - $1 = std____2__allocator_traits_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______allocate_5babi_v160004_5d_28std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____2c_20unsigned_20long_29(HEAP32[$3 + 20 >> 2], 1); - std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void________tree_node_destructor_5babi_v160004_5d_28std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____2c_20bool_29($3 + 8 | 0, HEAP32[$3 + 20 >> 2], 0); - std____2__unique_ptr_std____2____tree_node_b2Fixture__2c_20void___2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______unique_ptr_5babi_v160004_5d_true_2c_20void__28std____2____tree_node_b2Fixture__2c_20void____2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______2c_20true_____good_rval_ref_type_29($0, $1, $3 + 8 | 0); - void_20std____2__allocator_traits_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______construct_5babi_v160004_5d_b2Fixture__2c_20b2Fixture__20const__2c_20void__28std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____2c_20b2Fixture___2c_20b2Fixture__20const__29(HEAP32[$3 + 20 >> 2], std____2____tree_key_value_types_b2Fixture______get_ptr_5babi_v160004_5d_28b2Fixture___29(std____2__unique_ptr_std____2____tree_node_b2Fixture__2c_20void___2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______operator___5babi_v160004_5d_28_29_20const($0) + 16 | 0), HEAP32[$3 + 24 >> 2]); - wasm2js_i32$0 = std____2__unique_ptr_std____2____tree_node_b2Fixture__2c_20void___2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______get_deleter_5babi_v160004_5d_28_29($0), - wasm2js_i32$1 = 1, HEAP8[wasm2js_i32$0 + 4 | 0] = wasm2js_i32$1; - HEAP8[$3 + 19 | 0] = 1; - if (!(HEAP8[$3 + 19 | 0] & 1)) { - std____2__unique_ptr_std____2____tree_node_b2Fixture__2c_20void___2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void________unique_ptr_5babi_v160004_5d_28_29($0); - } - __stack_pointer = $3 + 32 | 0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______swap_out_circular_buffer_28std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_____29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - $0 = HEAP32[$2 + 28 >> 2]; - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______annotate_delete_5babi_v160004_5d_28_29_20const($0); - $1 = std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______alloc_5babi_v160004_5d_28_29($0); - std____2__reverse_iterator_b2Vec2____reverse_iterator_5babi_v160004_5d_28b2Vec2__29($2 + 16 | 0, HEAP32[$0 + 4 >> 2]); - std____2__reverse_iterator_b2Vec2____reverse_iterator_5babi_v160004_5d_28b2Vec2__29($2 + 12 | 0, HEAP32[$0 >> 2]); - std____2__reverse_iterator_b2Vec2____reverse_iterator_5babi_v160004_5d_28b2Vec2__29($2 + 8 | 0, HEAP32[HEAP32[$2 + 24 >> 2] + 4 >> 2]); - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__reverse_iterator_b2Vec2___20std____2____uninitialized_allocator_move_if_noexcept_5babi_v160004_5d_std____2__allocator_b2Vec2__2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20b2Vec2_2c_20void__28std____2__allocator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___29($1, HEAP32[$2 + 16 >> 2], HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - $1 = std____2__reverse_iterator_b2Vec2____base_5babi_v160004_5d_28_29_20const($2 + 20 | 0); - HEAP32[HEAP32[$2 + 24 >> 2] + 4 >> 2] = $1; - std____2__enable_if_is_move_constructible_b2Vec2____value_20___20is_move_assignable_b2Vec2____value_2c_20void___type_20std____2__swap_5babi_v160004_5d_b2Vec2___28b2Vec2___2c_20b2Vec2___29($0, HEAP32[$2 + 24 >> 2] + 4 | 0); - std____2__enable_if_is_move_constructible_b2Vec2____value_20___20is_move_assignable_b2Vec2____value_2c_20void___type_20std____2__swap_5babi_v160004_5d_b2Vec2___28b2Vec2___2c_20b2Vec2___29($0 + 4 | 0, HEAP32[$2 + 24 >> 2] + 8 | 0); - std____2__enable_if_is_move_constructible_b2Vec2____value_20___20is_move_assignable_b2Vec2____value_2c_20void___type_20std____2__swap_5babi_v160004_5d_b2Vec2___28b2Vec2___2c_20b2Vec2___29(std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______end_cap_5babi_v160004_5d_28_29($0), std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_______end_cap_5babi_v160004_5d_28_29(HEAP32[$2 + 24 >> 2])); - HEAP32[HEAP32[$2 + 24 >> 2] >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 4 >> 2]; - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______annotate_new_5babi_v160004_5d_28unsigned_20long_29_20const($0, std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____size_5babi_v160004_5d_28_29_20const($0)); - void_20std____2____debug_db_invalidate_all_5babi_v160004_5d_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____29($0); - __stack_pointer = $2 + 32 | 0; -} - -function b2FindIncidentEdge_28b2ClipVertex__2c_20b2PolygonShape_20const__2c_20b2Transform_20const__2c_20int_2c_20b2PolygonShape_20const__2c_20b2Transform_20const__29($0, $1, $2, $3, $4, $5) { - var $6 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $6 = __stack_pointer - 96 | 0; - __stack_pointer = $6; - HEAP32[$6 + 92 >> 2] = $0; - HEAP32[$6 + 88 >> 2] = $1; - HEAP32[$6 + 84 >> 2] = $2; - HEAP32[$6 + 80 >> 2] = $3; - HEAP32[$6 + 76 >> 2] = $4; - HEAP32[$6 + 72 >> 2] = $5; - HEAP32[$6 + 68 >> 2] = HEAP32[$6 + 88 >> 2] + 84; - HEAP32[$6 + 64 >> 2] = HEAP32[HEAP32[$6 + 76 >> 2] + 148 >> 2]; - HEAP32[$6 + 60 >> 2] = HEAP32[$6 + 76 >> 2] + 20; - HEAP32[$6 + 56 >> 2] = HEAP32[$6 + 76 >> 2] + 84; - if (!(HEAP32[$6 + 80 >> 2] < HEAP32[HEAP32[$6 + 88 >> 2] + 148 >> 2] & HEAP32[$6 + 80 >> 2] >= 0)) { - __assert_fail(2118, 5714, 78, 10010); - wasm2js_trap(); - } - $0 = HEAP32[$6 + 72 >> 2]; - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($6 + 40 | 0, HEAP32[$6 + 84 >> 2] + 8 | 0, HEAP32[$6 + 68 >> 2] + (HEAP32[$6 + 80 >> 2] << 3) | 0); - b2MulT_28b2Rot_20const__2c_20b2Vec2_20const__29($6 + 48 | 0, $0 + 8 | 0, $6 + 40 | 0); - HEAP32[$6 + 36 >> 2] = 0; - HEAPF32[$6 + 32 >> 2] = 34028234663852886e22; - HEAP32[$6 + 28 >> 2] = 0; - while (1) { - if (HEAP32[$6 + 28 >> 2] < HEAP32[$6 + 64 >> 2]) { - wasm2js_i32$0 = $6, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($6 + 48 | 0, HEAP32[$6 + 56 >> 2] + (HEAP32[$6 + 28 >> 2] << 3) | 0), - HEAPF32[wasm2js_i32$0 + 24 >> 2] = wasm2js_f32$0; - if (HEAPF32[$6 + 24 >> 2] < HEAPF32[$6 + 32 >> 2]) { - HEAPF32[$6 + 32 >> 2] = HEAPF32[$6 + 24 >> 2]; - HEAP32[$6 + 36 >> 2] = HEAP32[$6 + 28 >> 2]; - } - HEAP32[$6 + 28 >> 2] = HEAP32[$6 + 28 >> 2] + 1; - continue; - } - break; - } - HEAP32[$6 + 20 >> 2] = HEAP32[$6 + 36 >> 2]; - if (HEAP32[$6 + 64 >> 2] > (HEAP32[$6 + 20 >> 2] + 1 | 0)) { - $0 = HEAP32[$6 + 20 >> 2] + 1 | 0; - } else { - $0 = 0; - } - HEAP32[$6 + 16 >> 2] = $0; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($6 + 8 | 0, HEAP32[$6 + 72 >> 2], HEAP32[$6 + 60 >> 2] + (HEAP32[$6 + 20 >> 2] << 3) | 0); - $0 = HEAP32[$6 + 12 >> 2]; - $1 = HEAP32[$6 + 8 >> 2]; - $2 = $1; - $1 = HEAP32[$6 + 92 >> 2]; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - HEAP8[HEAP32[$6 + 92 >> 2] + 8 | 0] = HEAP32[$6 + 80 >> 2]; - HEAP8[HEAP32[$6 + 92 >> 2] + 9 | 0] = HEAP32[$6 + 20 >> 2]; - HEAP8[HEAP32[$6 + 92 >> 2] + 10 | 0] = 1; - HEAP8[HEAP32[$6 + 92 >> 2] + 11 | 0] = 0; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($6, HEAP32[$6 + 72 >> 2], HEAP32[$6 + 60 >> 2] + (HEAP32[$6 + 16 >> 2] << 3) | 0); - $1 = HEAP32[$6 + 4 >> 2]; - $0 = HEAP32[$6 >> 2]; - $2 = $0; - $0 = HEAP32[$6 + 92 >> 2]; - HEAP32[$0 + 12 >> 2] = $2; - HEAP32[$0 + 16 >> 2] = $1; - HEAP8[HEAP32[$6 + 92 >> 2] + 20 | 0] = HEAP32[$6 + 80 >> 2]; - HEAP8[HEAP32[$6 + 92 >> 2] + 21 | 0] = HEAP32[$6 + 16 >> 2]; - HEAP8[HEAP32[$6 + 92 >> 2] + 22 | 0] = 1; - HEAP8[HEAP32[$6 + 92 >> 2] + 23 | 0] = 0; - __stack_pointer = $6 + 96 | 0; -} - -function b2DynamicTree__RemoveLeaf_28int_29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - $0 = HEAP32[$2 + 28 >> 2]; - label$1: { - if (HEAP32[$2 + 24 >> 2] == HEAP32[$0 >> 2]) { - HEAP32[$0 >> 2] = -1; - break label$1; - } - HEAP32[$2 + 20 >> 2] = HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 24 >> 2], 40) | 0) + 20 >> 2]; - HEAP32[$2 + 16 >> 2] = HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 20 >> 2], 40) | 0) + 20 >> 2]; - label$3: { - if (HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 20 >> 2], 40) | 0) + 24 >> 2] == HEAP32[$2 + 24 >> 2]) { - HEAP32[$2 + 12 >> 2] = HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 20 >> 2], 40) | 0) + 28 >> 2]; - break label$3; - } - HEAP32[$2 + 12 >> 2] = HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 20 >> 2], 40) | 0) + 24 >> 2]; - } - if (HEAP32[$2 + 16 >> 2] != -1) { - label$6: { - if (HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 16 >> 2], 40) | 0) + 24 >> 2] == HEAP32[$2 + 20 >> 2]) { - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 16 >> 2], 40) | 0) + 24 >> 2] = HEAP32[$2 + 12 >> 2]; - break label$6; - } - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 16 >> 2], 40) | 0) + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - } - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 12 >> 2], 40) | 0) + 20 >> 2] = HEAP32[$2 + 16 >> 2]; - b2DynamicTree__FreeNode_28int_29($0, HEAP32[$2 + 20 >> 2]); - HEAP32[$2 + 8 >> 2] = HEAP32[$2 + 16 >> 2]; - while (1) { - if (HEAP32[$2 + 8 >> 2] != -1) { - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2DynamicTree__Balance_28int_29($0, HEAP32[$2 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - HEAP32[$2 + 4 >> 2] = HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 40) | 0) + 24 >> 2]; - HEAP32[$2 >> 2] = HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 40) | 0) + 28 >> 2]; - b2AABB__Combine_28b2AABB_20const__2c_20b2AABB_20const__29(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 40) | 0, HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 4 >> 2], 40) | 0, HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 >> 2], 40) | 0); - $1 = int_20b2Max_int__28int_2c_20int_29(HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 4 >> 2], 40) | 0) + 32 >> 2], HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 >> 2], 40) | 0) + 32 >> 2]); - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 40) | 0) + 32 >> 2] = $1 + 1; - HEAP32[$2 + 8 >> 2] = HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 40) | 0) + 20 >> 2]; - continue; - } - break; - } - break label$1; - } - HEAP32[$0 >> 2] = HEAP32[$2 + 12 >> 2]; - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 12 >> 2], 40) | 0) + 20 >> 2] = -1; - b2DynamicTree__FreeNode_28int_29($0, HEAP32[$2 + 20 >> 2]); - } - __stack_pointer = $2 + 32 | 0; -} - -function b2Simplex__GetWitnessPoints_28b2Vec2__2c_20b2Vec2__29_20const($0, $1, $2) { - var $3 = 0, $4 = 0; - $3 = __stack_pointer - 112 | 0; - __stack_pointer = $3; - HEAP32[$3 + 108 >> 2] = $0; - HEAP32[$3 + 104 >> 2] = $1; - HEAP32[$3 + 100 >> 2] = $2; - label$1: { - label$2: { - label$3: { - label$4: { - label$5: { - label$6: { - $2 = HEAP32[$3 + 108 >> 2]; - switch (HEAP32[$2 + 108 >> 2]) { - case 3: - break label$3; - - case 2: - break label$4; - - case 1: - break label$5; - - case 0: - break label$6; - - default: - break label$2; - } - } - __assert_fail(9386, 6125, 228, 3487); - wasm2js_trap(); - } - $0 = HEAP32[$2 + 4 >> 2]; - $1 = HEAP32[$2 >> 2]; - $4 = $1; - $1 = HEAP32[$3 + 104 >> 2]; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - $1 = HEAP32[$2 + 12 >> 2]; - $0 = HEAP32[$2 + 8 >> 2]; - $2 = $0; - $0 = HEAP32[$3 + 100 >> 2]; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $1; - break label$1; - } - operator__28float_2c_20b2Vec2_20const__29($3 + 84 | 0, HEAPF32[$2 + 24 >> 2], $2); - operator__28float_2c_20b2Vec2_20const__29($3 + 76 | 0, HEAPF32[$2 + 60 >> 2], $2 + 36 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($3 + 92 | 0, $3 + 84 | 0, $3 + 76 | 0); - $0 = HEAP32[$3 + 96 >> 2]; - $1 = HEAP32[$3 + 92 >> 2]; - $4 = $1; - $1 = HEAP32[$3 + 104 >> 2]; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - operator__28float_2c_20b2Vec2_20const__29($3 + 60 | 0, HEAPF32[$2 + 24 >> 2], $2 + 8 | 0); - operator__28float_2c_20b2Vec2_20const__29($3 + 52 | 0, HEAPF32[$2 + 60 >> 2], $2 + 44 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($3 + 68 | 0, $3 + 60 | 0, $3 + 52 | 0); - $1 = HEAP32[$3 + 72 >> 2]; - $0 = HEAP32[$3 + 68 >> 2]; - $2 = $0; - $0 = HEAP32[$3 + 100 >> 2]; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $1; - break label$1; - } - operator__28float_2c_20b2Vec2_20const__29($3 + 28 | 0, HEAPF32[$2 + 24 >> 2], $2); - operator__28float_2c_20b2Vec2_20const__29($3 + 20 | 0, HEAPF32[$2 + 60 >> 2], $2 + 36 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($3 + 36 | 0, $3 + 28 | 0, $3 + 20 | 0); - operator__28float_2c_20b2Vec2_20const__29($3 + 12 | 0, HEAPF32[$2 + 96 >> 2], $2 + 72 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($3 + 44 | 0, $3 + 36 | 0, $3 + 12 | 0); - $0 = HEAP32[$3 + 48 >> 2]; - $1 = HEAP32[$3 + 44 >> 2]; - $2 = $1; - $1 = HEAP32[$3 + 104 >> 2]; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - $1 = HEAP32[$3 + 104 >> 2]; - $0 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - $2 = $0; - $0 = HEAP32[$3 + 100 >> 2]; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $1; - break label$1; - } - __assert_fail(9386, 6125, 247, 3487); - wasm2js_trap(); - } - __stack_pointer = $3 + 112 | 0; -} - -function std____2__vector_int_2c_20std____2__allocator_int______swap_out_circular_buffer_28std____2____split_buffer_int_2c_20std____2__allocator_int_____29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - $0 = HEAP32[$2 + 28 >> 2]; - std____2__vector_int_2c_20std____2__allocator_int______annotate_delete_5babi_v160004_5d_28_29_20const($0); - $1 = std____2__vector_int_2c_20std____2__allocator_int______alloc_5babi_v160004_5d_28_29($0); - std____2__reverse_iterator_int____reverse_iterator_5babi_v160004_5d_28int__29($2 + 16 | 0, HEAP32[$0 + 4 >> 2]); - std____2__reverse_iterator_int____reverse_iterator_5babi_v160004_5d_28int__29($2 + 12 | 0, HEAP32[$0 >> 2]); - std____2__reverse_iterator_int____reverse_iterator_5babi_v160004_5d_28int__29($2 + 8 | 0, HEAP32[HEAP32[$2 + 24 >> 2] + 4 >> 2]); - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__reverse_iterator_int___20std____2____uninitialized_allocator_move_if_noexcept_5babi_v160004_5d_std____2__allocator_int__2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20int_2c_20void__28std____2__allocator_int___2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___29($1, HEAP32[$2 + 16 >> 2], HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - $1 = std____2__reverse_iterator_int____base_5babi_v160004_5d_28_29_20const($2 + 20 | 0); - HEAP32[HEAP32[$2 + 24 >> 2] + 4 >> 2] = $1; - std____2__enable_if_is_move_constructible_int____value_20___20is_move_assignable_int____value_2c_20void___type_20std____2__swap_5babi_v160004_5d_int___28int___2c_20int___29($0, HEAP32[$2 + 24 >> 2] + 4 | 0); - std____2__enable_if_is_move_constructible_int____value_20___20is_move_assignable_int____value_2c_20void___type_20std____2__swap_5babi_v160004_5d_int___28int___2c_20int___29($0 + 4 | 0, HEAP32[$2 + 24 >> 2] + 8 | 0); - std____2__enable_if_is_move_constructible_int____value_20___20is_move_assignable_int____value_2c_20void___type_20std____2__swap_5babi_v160004_5d_int___28int___2c_20int___29(std____2__vector_int_2c_20std____2__allocator_int______end_cap_5babi_v160004_5d_28_29($0), std____2____split_buffer_int_2c_20std____2__allocator_int_______end_cap_5babi_v160004_5d_28_29(HEAP32[$2 + 24 >> 2])); - HEAP32[HEAP32[$2 + 24 >> 2] >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 4 >> 2]; - std____2__vector_int_2c_20std____2__allocator_int______annotate_new_5babi_v160004_5d_28unsigned_20long_29_20const($0, std____2__vector_int_2c_20std____2__allocator_int____size_5babi_v160004_5d_28_29_20const($0)); - void_20std____2____debug_db_invalidate_all_5babi_v160004_5d_std____2__vector_int_2c_20std____2__allocator_int____28std____2__vector_int_2c_20std____2__allocator_int____29($0); - __stack_pointer = $2 + 32 | 0; -} - -function b2World__CreateJoint_28b2JointDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - $0 = HEAP32[$2 + 24 >> 2]; - if (b2World__IsLocked_28_29_20const($0) & 1) { - __assert_fail(9372, 6252, 222, 2776); - wasm2js_trap(); - } - label$2: { - if (b2World__IsLocked_28_29_20const($0) & 1) { - HEAP32[$2 + 28 >> 2] = 0; - break label$2; - } - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Joint__Create_28b2JointDef_20const__2c_20b2BlockAllocator__29(HEAP32[$2 + 20 >> 2], $0), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - HEAP32[HEAP32[$2 + 16 >> 2] + 8 >> 2] = 0; - HEAP32[HEAP32[$2 + 16 >> 2] + 12 >> 2] = HEAP32[$0 + 102952 >> 2]; - if (HEAP32[$0 + 102952 >> 2]) { - HEAP32[HEAP32[$0 + 102952 >> 2] + 8 >> 2] = HEAP32[$2 + 16 >> 2]; - } - HEAP32[$0 + 102952 >> 2] = HEAP32[$2 + 16 >> 2]; - HEAP32[$0 + 102960 >> 2] = HEAP32[$0 + 102960 >> 2] + 1; - HEAP32[HEAP32[$2 + 16 >> 2] + 20 >> 2] = HEAP32[$2 + 16 >> 2]; - HEAP32[HEAP32[$2 + 16 >> 2] + 16 >> 2] = HEAP32[HEAP32[$2 + 16 >> 2] + 52 >> 2]; - HEAP32[HEAP32[$2 + 16 >> 2] + 24 >> 2] = 0; - HEAP32[HEAP32[$2 + 16 >> 2] + 28 >> 2] = HEAP32[HEAP32[HEAP32[$2 + 16 >> 2] + 48 >> 2] + 108 >> 2]; - if (HEAP32[HEAP32[HEAP32[$2 + 16 >> 2] + 48 >> 2] + 108 >> 2]) { - HEAP32[HEAP32[HEAP32[HEAP32[$2 + 16 >> 2] + 48 >> 2] + 108 >> 2] + 8 >> 2] = HEAP32[$2 + 16 >> 2] + 16; - } - HEAP32[HEAP32[HEAP32[$2 + 16 >> 2] + 48 >> 2] + 108 >> 2] = HEAP32[$2 + 16 >> 2] + 16; - HEAP32[HEAP32[$2 + 16 >> 2] + 36 >> 2] = HEAP32[$2 + 16 >> 2]; - HEAP32[HEAP32[$2 + 16 >> 2] + 32 >> 2] = HEAP32[HEAP32[$2 + 16 >> 2] + 48 >> 2]; - HEAP32[HEAP32[$2 + 16 >> 2] + 40 >> 2] = 0; - HEAP32[HEAP32[$2 + 16 >> 2] + 44 >> 2] = HEAP32[HEAP32[HEAP32[$2 + 16 >> 2] + 52 >> 2] + 108 >> 2]; - if (HEAP32[HEAP32[HEAP32[$2 + 16 >> 2] + 52 >> 2] + 108 >> 2]) { - HEAP32[HEAP32[HEAP32[HEAP32[$2 + 16 >> 2] + 52 >> 2] + 108 >> 2] + 8 >> 2] = HEAP32[$2 + 16 >> 2] + 32; - } - HEAP32[HEAP32[HEAP32[$2 + 16 >> 2] + 52 >> 2] + 108 >> 2] = HEAP32[$2 + 16 >> 2] + 32; - HEAP32[$2 + 12 >> 2] = HEAP32[HEAP32[$2 + 20 >> 2] + 8 >> 2]; - HEAP32[$2 + 8 >> 2] = HEAP32[HEAP32[$2 + 20 >> 2] + 12 >> 2]; - if (!(HEAP8[HEAP32[$2 + 20 >> 2] + 16 | 0] & 1)) { - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Body__GetContactList_28_29(HEAP32[$2 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - while (1) { - if (HEAP32[$2 + 4 >> 2]) { - if (HEAP32[HEAP32[$2 + 4 >> 2] >> 2] == HEAP32[$2 + 12 >> 2]) { - b2Contact__FlagForFiltering_28_29(HEAP32[HEAP32[$2 + 4 >> 2] + 4 >> 2]); - } - HEAP32[$2 + 4 >> 2] = HEAP32[HEAP32[$2 + 4 >> 2] + 12 >> 2]; - continue; - } - break; - } - } - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 16 >> 2]; - } - __stack_pointer = $2 + 32 | 0; - return HEAP32[$2 + 28 >> 2]; -} - -function b2ClipSegmentToLine_28b2ClipVertex__2c_20b2ClipVertex_20const__2c_20b2Vec2_20const__2c_20float_2c_20int_29($0, $1, $2, $3, $4) { - var $5 = 0, $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $5 = __stack_pointer + -64 | 0; - __stack_pointer = $5; - HEAP32[$5 + 60 >> 2] = $0; - HEAP32[$5 + 56 >> 2] = $1; - HEAP32[$5 + 52 >> 2] = $2; - HEAPF32[$5 + 48 >> 2] = $3; - HEAP32[$5 + 44 >> 2] = $4; - HEAP32[$5 + 40 >> 2] = 0; - wasm2js_i32$0 = $5, wasm2js_f32$0 = Math_fround(b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$5 + 52 >> 2], HEAP32[$5 + 56 >> 2]) - HEAPF32[$5 + 48 >> 2]), - HEAPF32[wasm2js_i32$0 + 36 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $5, wasm2js_f32$0 = Math_fround(b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$5 + 52 >> 2], HEAP32[$5 + 56 >> 2] + 12 | 0) - HEAPF32[$5 + 48 >> 2]), - HEAPF32[wasm2js_i32$0 + 32 >> 2] = wasm2js_f32$0; - if (HEAPF32[$5 + 36 >> 2] <= Math_fround(0)) { - $0 = HEAP32[$5 + 56 >> 2]; - $7 = HEAP32[$5 + 60 >> 2]; - $6 = HEAP32[$5 + 40 >> 2]; - HEAP32[$5 + 40 >> 2] = $6 + 1; - $1 = HEAP32[$0 >> 2]; - $2 = HEAP32[$0 + 4 >> 2]; - $4 = $1; - $1 = Math_imul($6, 12) + $7 | 0; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $2; - HEAP32[$1 + 8 >> 2] = HEAP32[$0 + 8 >> 2]; - } - if (HEAPF32[$5 + 32 >> 2] <= Math_fround(0)) { - $0 = HEAP32[$5 + 56 >> 2]; - $7 = HEAP32[$5 + 60 >> 2]; - $6 = HEAP32[$5 + 40 >> 2]; - HEAP32[$5 + 40 >> 2] = $6 + 1; - $2 = HEAP32[$0 + 12 >> 2]; - $1 = HEAP32[$0 + 16 >> 2]; - $4 = $2; - $2 = Math_imul($6, 12) + $7 | 0; - HEAP32[$2 >> 2] = $4; - HEAP32[$2 + 4 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = HEAP32[$0 + 20 >> 2]; - } - if (Math_fround(HEAPF32[$5 + 36 >> 2] * HEAPF32[$5 + 32 >> 2]) < Math_fround(0)) { - HEAPF32[$5 + 28 >> 2] = HEAPF32[$5 + 36 >> 2] / Math_fround(HEAPF32[$5 + 36 >> 2] - HEAPF32[$5 + 32 >> 2]); - $0 = HEAP32[$5 + 56 >> 2]; - $3 = HEAPF32[$5 + 28 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 4 | 0, HEAP32[$5 + 56 >> 2] + 12 | 0, HEAP32[$5 + 56 >> 2]); - operator__28float_2c_20b2Vec2_20const__29($5 + 12 | 0, $3, $5 + 4 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($5 + 20 | 0, $0, $5 + 12 | 0); - $2 = HEAP32[$5 + 24 >> 2]; - $1 = HEAP32[$5 + 20 >> 2]; - $0 = $1; - $1 = HEAP32[$5 + 60 >> 2] + Math_imul(HEAP32[$5 + 40 >> 2], 12) | 0; - HEAP32[$1 >> 2] = $0; - HEAP32[$1 + 4 >> 2] = $2; - HEAP8[(HEAP32[$5 + 60 >> 2] + Math_imul(HEAP32[$5 + 40 >> 2], 12) | 0) + 8 | 0] = HEAP32[$5 + 44 >> 2]; - HEAP8[(HEAP32[$5 + 60 >> 2] + Math_imul(HEAP32[$5 + 40 >> 2], 12) | 0) + 9 | 0] = HEAPU8[HEAP32[$5 + 56 >> 2] + 9 | 0]; - HEAP8[(HEAP32[$5 + 60 >> 2] + Math_imul(HEAP32[$5 + 40 >> 2], 12) | 0) + 10 | 0] = 0; - HEAP8[(HEAP32[$5 + 60 >> 2] + Math_imul(HEAP32[$5 + 40 >> 2], 12) | 0) + 11 | 0] = 1; - HEAP32[$5 + 40 >> 2] = HEAP32[$5 + 40 >> 2] + 1; - } - __stack_pointer = $5 - -64 | 0; - return HEAP32[$5 + 40 >> 2]; -} - -function __cxxabiv1____pointer_type_info__can_catch_28__cxxabiv1____shim_type_info_20const__2c_20void___29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, $4 = 0, $5 = 0, $6 = 0; - $3 = __stack_pointer + -64 | 0; - __stack_pointer = $3; - label$1: { - if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($1, 24560, 0)) { - HEAP32[$2 >> 2] = 0; - $5 = 1; - break label$1; - } - if (__cxxabiv1____pbase_type_info__can_catch_28__cxxabiv1____shim_type_info_20const__2c_20void___29_20const($0, $1, $1)) { - $5 = 1; - $1 = HEAP32[$2 >> 2]; - if (!$1) { - break label$1; - } - HEAP32[$2 >> 2] = HEAP32[$1 >> 2]; - break label$1; - } - label$4: { - if (!$1) { - break label$4; - } - $1 = __dynamic_cast($1, 24196, 24340, 0); - if (!$1) { - break label$1; - } - $4 = HEAP32[$2 >> 2]; - if ($4) { - HEAP32[$2 >> 2] = HEAP32[$4 >> 2]; - } - $4 = HEAP32[$1 + 8 >> 2]; - $6 = HEAP32[$0 + 8 >> 2]; - if ($4 & ($6 ^ -1) & 7 | ($4 ^ -1) & $6 & 96) { - break label$1; - } - $5 = 1; - if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29(HEAP32[$0 + 12 >> 2], HEAP32[$1 + 12 >> 2], 0)) { - break label$1; - } - if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29(HEAP32[$0 + 12 >> 2], 24548, 0)) { - $1 = HEAP32[$1 + 12 >> 2]; - if (!$1) { - break label$1; - } - $5 = !__dynamic_cast($1, 24196, 24392, 0); - break label$1; - } - $4 = HEAP32[$0 + 12 >> 2]; - if (!$4) { - break label$4; - } - $5 = 0; - $6 = __dynamic_cast($4, 24196, 24340, 0); - if ($6) { - if (!(HEAP8[$0 + 8 | 0] & 1)) { - break label$1; - } - $5 = __cxxabiv1____pointer_type_info__can_catch_nested_28__cxxabiv1____shim_type_info_20const__29_20const($6, HEAP32[$1 + 12 >> 2]); - break label$1; - } - $6 = __dynamic_cast($4, 24196, 24452, 0); - if ($6) { - if (!(HEAP8[$0 + 8 | 0] & 1)) { - break label$1; - } - $5 = __cxxabiv1____pointer_to_member_type_info__can_catch_nested_28__cxxabiv1____shim_type_info_20const__29_20const($6, HEAP32[$1 + 12 >> 2]); - break label$1; - } - $0 = __dynamic_cast($4, 24196, 24244, 0); - if (!$0) { - break label$1; - } - $1 = HEAP32[$1 + 12 >> 2]; - if (!$1) { - break label$1; - } - $1 = __dynamic_cast($1, 24196, 24244, 0); - if (!$1) { - break label$1; - } - __memset($3 + 12 | 0, 0, 52); - HEAP32[$3 + 56 >> 2] = 1; - HEAP32[$3 + 20 >> 2] = -1; - HEAP32[$3 + 16 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 28 >> 2]]($1, $3 + 8 | 0, HEAP32[$2 >> 2], 1); - $1 = HEAP32[$3 + 32 >> 2]; - if (!(!HEAP32[$2 >> 2] | ($1 | 0) != 1)) { - HEAP32[$2 >> 2] = HEAP32[$3 + 24 >> 2]; - } - $5 = ($1 | 0) == 1; - break label$1; - } - $5 = 0; - } - __stack_pointer = $3 - -64 | 0; - return $5 | 0; -} - -function std____2____tree_node_base_void_____20std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______find_equal_b2Fixture___28std____2____tree_end_node_std____2____tree_node_base_void_______2c_20b2Fixture__20const__29($0, $1, $2) { - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 24 >> 2] = $0; - HEAP32[$3 + 20 >> 2] = $1; - HEAP32[$3 + 16 >> 2] = $2; - $0 = HEAP32[$3 + 24 >> 2]; - wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______root_5babi_v160004_5d_28_29_20const($0), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______root_ptr_28_29_20const($0), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - label$1: { - if (HEAP32[$3 + 12 >> 2]) { - while (1) { - if (std____2__less_b2Fixture____operator_28_29_5babi_v160004_5d_28b2Fixture__20const__2c_20b2Fixture__20const__29_20const(std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____value_comp_5babi_v160004_5d_28_29($0), HEAP32[$3 + 16 >> 2], HEAP32[$3 + 12 >> 2] + 16 | 0) & 1) { - if (HEAP32[HEAP32[$3 + 12 >> 2] >> 2]) { - HEAP32[$3 + 8 >> 2] = HEAP32[$3 + 12 >> 2]; - HEAP32[$3 + 12 >> 2] = HEAP32[HEAP32[$3 + 12 >> 2] >> 2]; - continue; - } - HEAP32[HEAP32[$3 + 20 >> 2] >> 2] = HEAP32[$3 + 12 >> 2]; - HEAP32[$3 + 28 >> 2] = HEAP32[HEAP32[$3 + 20 >> 2] >> 2]; - break label$1; - } - label$6: { - if (std____2__less_b2Fixture____operator_28_29_5babi_v160004_5d_28b2Fixture__20const__2c_20b2Fixture__20const__29_20const(std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____value_comp_5babi_v160004_5d_28_29($0), HEAP32[$3 + 12 >> 2] + 16 | 0, HEAP32[$3 + 16 >> 2]) & 1) { - if (HEAP32[HEAP32[$3 + 12 >> 2] + 4 >> 2]) { - HEAP32[$3 + 8 >> 2] = HEAP32[$3 + 12 >> 2] + 4; - HEAP32[$3 + 12 >> 2] = HEAP32[HEAP32[$3 + 12 >> 2] + 4 >> 2]; - break label$6; - } - HEAP32[HEAP32[$3 + 20 >> 2] >> 2] = HEAP32[$3 + 12 >> 2]; - HEAP32[$3 + 28 >> 2] = HEAP32[$3 + 12 >> 2] + 4; - break label$1; - } - HEAP32[HEAP32[$3 + 20 >> 2] >> 2] = HEAP32[$3 + 12 >> 2]; - HEAP32[$3 + 28 >> 2] = HEAP32[$3 + 8 >> 2]; - break label$1; - } - continue; - } - } - $0 = std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______end_node_5babi_v160004_5d_28_29($0); - HEAP32[HEAP32[$3 + 20 >> 2] >> 2] = $0; - HEAP32[$3 + 28 >> 2] = HEAP32[HEAP32[$3 + 20 >> 2] >> 2]; - } - __stack_pointer = $3 + 32 | 0; - return HEAP32[$3 + 28 >> 2]; -} - -function b2MouseJoint__SolveVelocityConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 112 | 0; - __stack_pointer = $2; - HEAP32[$2 + 108 >> 2] = $0; - HEAP32[$2 + 104 >> 2] = $1; - $1 = HEAP32[$2 + 108 >> 2]; - $0 = HEAP32[HEAP32[$2 + 104 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 116 >> 2], 12) | 0; - $3 = HEAP32[$0 >> 2]; - $0 = HEAP32[$0 + 4 >> 2]; - HEAP32[$2 + 96 >> 2] = $3; - HEAP32[$2 + 100 >> 2] = $0; - HEAPF32[$2 + 92 >> 2] = HEAPF32[(HEAP32[HEAP32[$2 + 104 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 116 >> 2], 12) | 0) + 8 >> 2]; - b2Cross_28float_2c_20b2Vec2_20const__29($2 + 76 | 0, HEAPF32[$2 + 92 >> 2], $1 + 120 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 84 | 0, $2 + 96 | 0, $2 + 76 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 40 | 0, $2 + 84 | 0, $1 + 160 | 0); - operator__28float_2c_20b2Vec2_20const__29($2 + 32 | 0, HEAPF32[$1 + 108 >> 2], $1 + 96 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 48 | 0, $2 + 40 | 0, $2 + 32 | 0); - b2Vec2__operator__28_29_20const($2 + 56 | 0, $2 + 48 | 0); - b2Mul_28b2Mat22_20const__2c_20b2Vec2_20const__29($2 - -64 | 0, $1 + 144 | 0, $2 + 56 | 0); - $3 = HEAP32[$1 + 100 >> 2]; - $0 = HEAP32[$1 + 96 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 28 >> 2] = $3; - b2Vec2__operator___28b2Vec2_20const__29($1 + 96 | 0, $2 - -64 | 0); - HEAPF32[$2 + 20 >> 2] = HEAPF32[HEAP32[$2 + 104 >> 2] >> 2] * HEAPF32[$1 + 104 >> 2]; - if (b2Vec2__LengthSquared_28_29_20const($1 + 96 | 0) > Math_fround(HEAPF32[$2 + 20 >> 2] * HEAPF32[$2 + 20 >> 2])) { - b2Vec2__operator___28float_29($1 + 96 | 0, Math_fround(HEAPF32[$2 + 20 >> 2] / b2Vec2__Length_28_29_20const($1 + 96 | 0))); - } - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 12 | 0, $1 + 96 | 0, $2 + 24 | 0); - $0 = HEAP32[$2 + 16 >> 2]; - $3 = HEAP32[$2 + 12 >> 2]; - HEAP32[$2 + 64 >> 2] = $3; - HEAP32[$2 + 68 >> 2] = $0; - operator__28float_2c_20b2Vec2_20const__29($2 + 4 | 0, HEAPF32[$1 + 136 >> 2], $2 - -64 | 0); - b2Vec2__operator___28b2Vec2_20const__29($2 + 96 | 0, $2 + 4 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(Math_fround(HEAPF32[$1 + 140 >> 2] * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 120 | 0, $2 - -64 | 0)) + HEAPF32[$2 + 92 >> 2]), - HEAPF32[wasm2js_i32$0 + 92 >> 2] = wasm2js_f32$0; - $3 = HEAP32[$2 + 100 >> 2]; - $0 = HEAP32[$2 + 96 >> 2]; - $4 = $0; - $0 = HEAP32[HEAP32[$2 + 104 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 116 >> 2], 12) | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $3; - HEAPF32[(HEAP32[HEAP32[$2 + 104 >> 2] + 28 >> 2] + Math_imul(HEAP32[$1 + 116 >> 2], 12) | 0) + 8 >> 2] = HEAPF32[$2 + 92 >> 2]; - __stack_pointer = $2 + 112 | 0; -} - -function b2CircleShape__RayCast_28b2RayCastOutput__2c_20b2RayCastInput_20const__2c_20b2Transform_20const__2c_20int_29_20const($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $5 = 0, $6 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $5 = __stack_pointer - 96 | 0; - __stack_pointer = $5; - HEAP32[$5 + 88 >> 2] = $0; - HEAP32[$5 + 84 >> 2] = $1; - HEAP32[$5 + 80 >> 2] = $2; - HEAP32[$5 + 76 >> 2] = $3; - HEAP32[$5 + 72 >> 2] = $4; - $1 = HEAP32[$5 + 76 >> 2]; - $0 = HEAP32[$5 + 88 >> 2]; - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($5 + 56 | 0, HEAP32[$5 + 76 >> 2] + 8 | 0, $0 + 12 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($5 - -64 | 0, $1, $5 + 56 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 48 | 0, HEAP32[$5 + 80 >> 2], $5 - -64 | 0); - $1 = $5 + 48 | 0; - $6 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($1, $1); - HEAPF32[$5 + 44 >> 2] = Math_fround(Math_fround(-HEAPF32[$0 + 8 >> 2]) * HEAPF32[$0 + 8 >> 2]) + $6; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 36 | 0, HEAP32[$5 + 80 >> 2] + 8 | 0, HEAP32[$5 + 80 >> 2]); - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 48 | 0, $5 + 36 | 0), - HEAPF32[wasm2js_i32$0 + 32 >> 2] = wasm2js_f32$0; - $0 = $5 + 36 | 0; - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($0, $0), - HEAPF32[wasm2js_i32$0 + 28 >> 2] = wasm2js_f32$0; - HEAPF32[$5 + 24 >> 2] = Math_fround(HEAPF32[$5 + 32 >> 2] * HEAPF32[$5 + 32 >> 2]) - Math_fround(HEAPF32[$5 + 28 >> 2] * HEAPF32[$5 + 44 >> 2]); - label$1: { - if (HEAPF32[$5 + 24 >> 2] < Math_fround(0) | HEAPF32[$5 + 28 >> 2] < Math_fround(1.1920928955078125e-7)) { - HEAP8[$5 + 95 | 0] = 0; - break label$1; - } - HEAPF32[$5 + 20 >> 2] = -Math_fround(HEAPF32[$5 + 32 >> 2] + Math_fround(Math_sqrt(HEAPF32[$5 + 24 >> 2]))); - if (!(!(HEAPF32[$5 + 20 >> 2] >= Math_fround(0)) | !(HEAPF32[$5 + 20 >> 2] <= Math_fround(HEAPF32[HEAP32[$5 + 80 >> 2] + 16 >> 2] * HEAPF32[$5 + 28 >> 2])))) { - HEAPF32[$5 + 20 >> 2] = HEAPF32[$5 + 20 >> 2] / HEAPF32[$5 + 28 >> 2]; - HEAPF32[HEAP32[$5 + 84 >> 2] + 8 >> 2] = HEAPF32[$5 + 20 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($5 + 4 | 0, HEAPF32[$5 + 20 >> 2], $5 + 36 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($5 + 12 | 0, $5 + 48 | 0, $5 + 4 | 0); - $2 = HEAP32[$5 + 16 >> 2]; - $0 = HEAP32[$5 + 12 >> 2]; - $1 = $0; - $0 = HEAP32[$5 + 84 >> 2]; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - b2Vec2__Normalize_28_29(HEAP32[$5 + 84 >> 2]); - HEAP8[$5 + 95 | 0] = 1; - break label$1; - } - HEAP8[$5 + 95 | 0] = 0; - } - __stack_pointer = $5 + 96 | 0; - return HEAP8[$5 + 95 | 0] & 1; -} - -function b2Body__DestroyFixture_28b2Fixture__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 48 | 0; - __stack_pointer = $2; - HEAP32[$2 + 44 >> 2] = $0; - HEAP32[$2 + 40 >> 2] = $1; - $0 = HEAP32[$2 + 44 >> 2]; - label$1: { - if (!HEAP32[$2 + 40 >> 2]) { - break label$1; - } - if (b2World__IsLocked_28_29_20const(HEAP32[$0 + 88 >> 2]) & 1) { - __assert_fail(9363, 4319, 223, 9396); - wasm2js_trap(); - } - if (b2World__IsLocked_28_29_20const(HEAP32[$0 + 88 >> 2]) & 1) { - break label$1; - } - if (HEAP32[HEAP32[$2 + 40 >> 2] + 8 >> 2] != ($0 | 0)) { - __assert_fail(3636, 4319, 229, 9396); - wasm2js_trap(); - } - if (HEAP32[$0 + 104 >> 2] <= 0) { - __assert_fail(12539, 4319, 232, 9396); - wasm2js_trap(); - } - HEAP32[$2 + 36 >> 2] = $0 + 100; - HEAP8[$2 + 35 | 0] = 0; - while (1) { - if (HEAP32[HEAP32[$2 + 36 >> 2] >> 2]) { - if (HEAP32[HEAP32[$2 + 36 >> 2] >> 2] == HEAP32[$2 + 40 >> 2]) { - HEAP32[HEAP32[$2 + 36 >> 2] >> 2] = HEAP32[HEAP32[$2 + 40 >> 2] + 4 >> 2]; - HEAP8[$2 + 35 | 0] = 1; - } else { - HEAP32[$2 + 36 >> 2] = HEAP32[HEAP32[$2 + 36 >> 2] >> 2] + 4; - continue; - } - } - break; - } - if (!(HEAP8[$2 + 35 | 0] & 1)) { - __assert_fail(10238, 4319, 248, 9396); - wasm2js_trap(); - } - HEAP32[$2 + 28 >> 2] = HEAP32[$0 + 112 >> 2]; - while (1) { - if (HEAP32[$2 + 28 >> 2]) { - HEAP32[$2 + 24 >> 2] = HEAP32[HEAP32[$2 + 28 >> 2] + 4 >> 2]; - HEAP32[$2 + 28 >> 2] = HEAP32[HEAP32[$2 + 28 >> 2] + 12 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Contact__GetFixtureA_28_29(HEAP32[$2 + 24 >> 2]), - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Contact__GetFixtureB_28_29(HEAP32[$2 + 24 >> 2]), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - if (!(HEAP32[$2 + 40 >> 2] != HEAP32[$2 + 20 >> 2] & HEAP32[$2 + 40 >> 2] != HEAP32[$2 + 16 >> 2])) { - b2ContactManager__Destroy_28b2Contact__29(HEAP32[$0 + 88 >> 2] + 102868 | 0, HEAP32[$2 + 24 >> 2]); - } - continue; - } - break; - } - HEAP32[$2 + 12 >> 2] = HEAP32[$0 + 88 >> 2]; - if (HEAPU16[$0 + 4 >> 1] & 32) { - HEAP32[$2 + 8 >> 2] = HEAP32[$0 + 88 >> 2] + 102868; - b2Fixture__DestroyProxies_28b2BroadPhase__29(HEAP32[$2 + 40 >> 2], HEAP32[$2 + 8 >> 2]); - } - HEAP32[HEAP32[$2 + 40 >> 2] + 8 >> 2] = 0; - HEAP32[HEAP32[$2 + 40 >> 2] + 4 >> 2] = 0; - b2Fixture__Destroy_28b2BlockAllocator__29(HEAP32[$2 + 40 >> 2], HEAP32[$2 + 12 >> 2]); - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 40 >> 2], 44); - HEAP32[$0 + 104 >> 2] = HEAP32[$0 + 104 >> 2] - 1; - b2Body__ResetMassData_28_29($0); - } - __stack_pointer = $2 + 48 | 0; -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______init_28char_20const__2c_20unsigned_20long_29($0, $1, $2) { - var $3 = 0, $4 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____max_size_5babi_v160004_5d_28_29_20const($0) >>> 0 >= $2 >>> 0) { - label$2: { - if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______fits_in_sso_5babi_v160004_5d_28unsigned_20long_29($2)) { - std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_short_size_5babi_v160004_5d_28unsigned_20long_29($0, $2); - $4 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_short_pointer_5babi_v160004_5d_28_29($0); - break label$2; - } - std____2____allocation_result_std____2__allocator_traits_std____2__allocator_char____pointer__20std____2____allocate_at_least_5babi_v160004_5d_std____2__allocator_char___28std____2__allocator_char___2c_20unsigned_20long_29($3 + 8 | 0, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_5babi_v160004_5d_28_29($0), std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______recommend_5babi_v160004_5d_28unsigned_20long_29($2) + 1 | 0); - $4 = HEAP32[$3 + 8 >> 2]; - std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______begin_lifetime_5babi_v160004_5d_28char__2c_20unsigned_20long_29($4, HEAP32[$3 + 12 >> 2]); - std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_pointer_5babi_v160004_5d_28char__29($0, $4); - std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_cap_5babi_v160004_5d_28unsigned_20long_29($0, HEAP32[$3 + 12 >> 2]); - std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_size_5babi_v160004_5d_28unsigned_20long_29($0, $2); - } - std____2__char_traits_char___copy_28char__2c_20char_20const__2c_20unsigned_20long_29(char__20std____2____to_address_5babi_v160004_5d_char__28char__29($4), $1, $2); - HEAP8[$3 + 7 | 0] = 0; - std____2__char_traits_char___assign_28char__2c_20char_20const__29($2 + $4 | 0, $3 + 7 | 0); - __stack_pointer = $3 + 16 | 0; - return; - } - std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______throw_length_error_5babi_v160004_5d_28_29_20const($0); - wasm2js_trap(); -} - -function b2ContactManager__Destroy_28b2Contact__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - $0 = HEAP32[$2 + 28 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Contact__GetFixtureA_28_29(HEAP32[$2 + 24 >> 2]), - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Contact__GetFixtureB_28_29(HEAP32[$2 + 24 >> 2]), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Fixture__GetBody_28_29(HEAP32[$2 + 20 >> 2]), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Fixture__GetBody_28_29(HEAP32[$2 + 16 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - label$1: { - if (!HEAP32[$0 + 72 >> 2]) { - break label$1; - } - if (!(b2Contact__IsTouching_28_29_20const(HEAP32[$2 + 24 >> 2]) & 1)) { - break label$1; - } - $1 = HEAP32[$0 + 72 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 12 >> 2]]($1, HEAP32[$2 + 24 >> 2]); - } - if (HEAP32[HEAP32[$2 + 24 >> 2] + 8 >> 2]) { - HEAP32[HEAP32[HEAP32[$2 + 24 >> 2] + 8 >> 2] + 12 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 12 >> 2]; - } - if (HEAP32[HEAP32[$2 + 24 >> 2] + 12 >> 2]) { - HEAP32[HEAP32[HEAP32[$2 + 24 >> 2] + 12 >> 2] + 8 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 8 >> 2]; - } - if (HEAP32[$2 + 24 >> 2] == HEAP32[$0 + 60 >> 2]) { - HEAP32[$0 + 60 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 12 >> 2]; - } - if (HEAP32[HEAP32[$2 + 24 >> 2] + 24 >> 2]) { - HEAP32[HEAP32[HEAP32[$2 + 24 >> 2] + 24 >> 2] + 12 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 28 >> 2]; - } - if (HEAP32[HEAP32[$2 + 24 >> 2] + 28 >> 2]) { - HEAP32[HEAP32[HEAP32[$2 + 24 >> 2] + 28 >> 2] + 8 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 24 >> 2]; - } - if (HEAP32[HEAP32[$2 + 12 >> 2] + 112 >> 2] == (HEAP32[$2 + 24 >> 2] + 16 | 0)) { - HEAP32[HEAP32[$2 + 12 >> 2] + 112 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 28 >> 2]; - } - if (HEAP32[HEAP32[$2 + 24 >> 2] + 40 >> 2]) { - HEAP32[HEAP32[HEAP32[$2 + 24 >> 2] + 40 >> 2] + 12 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 44 >> 2]; - } - if (HEAP32[HEAP32[$2 + 24 >> 2] + 44 >> 2]) { - HEAP32[HEAP32[HEAP32[$2 + 24 >> 2] + 44 >> 2] + 8 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 40 >> 2]; - } - if (HEAP32[HEAP32[$2 + 8 >> 2] + 112 >> 2] == (HEAP32[$2 + 24 >> 2] + 32 | 0)) { - HEAP32[HEAP32[$2 + 8 >> 2] + 112 >> 2] = HEAP32[HEAP32[$2 + 24 >> 2] + 44 >> 2]; - } - b2Contact__Destroy_28b2Contact__2c_20b2BlockAllocator__29(HEAP32[$2 + 24 >> 2], HEAP32[$0 + 76 >> 2]); - HEAP32[$0 + 64 >> 2] = HEAP32[$0 + 64 >> 2] - 1; - __stack_pointer = $2 + 32 | 0; -} - -function ComputeCentroid_28b2Vec2_20const__2c_20int_29($0, $1, $2) { - var $3 = 0, $4 = 0, $5 = 0, $6 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $3 = __stack_pointer - 112 | 0; - __stack_pointer = $3; - HEAP32[$3 + 108 >> 2] = $1; - HEAP32[$3 + 104 >> 2] = $2; - if (HEAP32[$3 + 104 >> 2] < 3) { - __assert_fail(12273, 5849, 82, 10330); - wasm2js_trap(); - } - b2Vec2__b2Vec2_28_29($0); - b2Vec2__Set_28float_2c_20float_29($0, Math_fround(0), Math_fround(0)); - HEAPF32[$3 + 100 >> 2] = 0; - b2Vec2__b2Vec2_28float_2c_20float_29($3 + 92 | 0, Math_fround(0), Math_fround(0)); - HEAPF32[$3 + 88 >> 2] = .3333333432674408; - HEAP32[$3 + 84 >> 2] = 0; - while (1) { - if (HEAP32[$3 + 84 >> 2] < HEAP32[$3 + 104 >> 2]) { - $5 = HEAP32[$3 + 96 >> 2]; - $1 = HEAP32[$3 + 92 >> 2]; - HEAP32[$3 + 72 >> 2] = $1; - HEAP32[$3 + 76 >> 2] = $5; - $4 = HEAP32[$3 + 108 >> 2] + (HEAP32[$3 + 84 >> 2] << 3) | 0; - $5 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - HEAP32[$3 + 64 >> 2] = $5; - HEAP32[$3 + 68 >> 2] = $1; - $2 = $3; - if (HEAP32[$3 + 104 >> 2] > (HEAP32[$3 + 84 >> 2] + 1 | 0)) { - $4 = HEAP32[$3 + 108 >> 2] + (HEAP32[$3 + 84 >> 2] + 1 << 3) | 0; - } else { - $4 = HEAP32[$3 + 108 >> 2]; - } - $1 = HEAP32[$4 >> 2]; - $5 = HEAP32[$4 + 4 >> 2]; - $4 = $1; - $1 = $2; - HEAP32[$1 + 56 >> 2] = $4; - HEAP32[$1 + 60 >> 2] = $5; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 48 | 0, $3 - -64 | 0, $3 + 72 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 40 | 0, $3 + 56 | 0, $3 + 72 | 0); - wasm2js_i32$0 = $3, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 48 | 0, $3 + 40 | 0), - HEAPF32[wasm2js_i32$0 + 36 >> 2] = wasm2js_f32$0; - HEAPF32[$3 + 32 >> 2] = HEAPF32[$3 + 36 >> 2] * Math_fround(.5); - HEAPF32[$3 + 100 >> 2] = HEAPF32[$3 + 100 >> 2] + HEAPF32[$3 + 32 >> 2]; - $6 = HEAPF32[$3 + 32 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($3 + 8 | 0, $3 + 72 | 0, $3 - -64 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($3 + 16 | 0, $3 + 8 | 0, $3 + 56 | 0); - operator__28float_2c_20b2Vec2_20const__29($3 + 24 | 0, Math_fround($6 * Math_fround(.3333333432674408)), $3 + 16 | 0); - b2Vec2__operator___28b2Vec2_20const__29($0, $3 + 24 | 0); - HEAP32[$3 + 84 >> 2] = HEAP32[$3 + 84 >> 2] + 1; - continue; - } - break; - } - if (!(HEAPF32[$3 + 100 >> 2] > Math_fround(1.1920928955078125e-7))) { - __assert_fail(11167, 5849, 121, 10330); - wasm2js_trap(); - } - b2Vec2__operator___28float_29($0, Math_fround(Math_fround(1) / HEAPF32[$3 + 100 >> 2])); - __stack_pointer = $3 + 112 | 0; -} - -function b2EPCollider__ComputePolygonSeparation_28_29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 80 | 0; - __stack_pointer = $2; - HEAP32[$2 + 76 >> 2] = $1; - $1 = HEAP32[$2 + 76 >> 2]; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = -1; - HEAPF32[$0 + 8 >> 2] = -34028234663852886e22; - b2Vec2__b2Vec2_28float_2c_20float_29($2 + 68 | 0, Math_fround(-HEAPF32[$1 + 216 >> 2]), HEAPF32[$1 + 212 >> 2]); - HEAP32[$2 + 64 >> 2] = 0; - while (1) { - if (HEAP32[$2 + 64 >> 2] < HEAP32[$1 + 128 >> 2]) { - b2Vec2__operator__28_29_20const($2 + 56 | 0, ($1 - -64 | 0) + (HEAP32[$2 + 64 >> 2] << 3) | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 44 | 0, (HEAP32[$2 + 64 >> 2] << 3) + $1 | 0, $1 + 164 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 56 | 0, $2 + 44 | 0), - HEAPF32[wasm2js_i32$0 + 52 >> 2] = wasm2js_f32$0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 32 | 0, (HEAP32[$2 + 64 >> 2] << 3) + $1 | 0, $1 + 172 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 56 | 0, $2 + 32 | 0), - HEAPF32[wasm2js_i32$0 + 40 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20b2Min_float__28float_2c_20float_29(HEAPF32[$2 + 52 >> 2], HEAPF32[$2 + 40 >> 2]), - HEAPF32[wasm2js_i32$0 + 28 >> 2] = wasm2js_f32$0; - if (HEAPF32[$2 + 28 >> 2] > HEAPF32[$1 + 244 >> 2]) { - HEAP32[$0 >> 2] = 2; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 64 >> 2]; - HEAPF32[$0 + 8 >> 2] = HEAPF32[$2 + 28 >> 2]; - } else { - label$5: { - label$6: { - if (b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 56 | 0, $2 + 68 | 0) >= Math_fround(0)) { - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 20 | 0, $2 + 56 | 0, $1 + 236 | 0); - if (b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 20 | 0, $1 + 212 | 0) < Math_fround(-.03490658849477768)) { - break label$5; - } - break label$6; - } - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 12 | 0, $2 + 56 | 0, $1 + 228 | 0); - if (b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 12 | 0, $1 + 212 | 0) < Math_fround(-.03490658849477768)) { - break label$5; - } - } - if (HEAPF32[$2 + 28 >> 2] > HEAPF32[$0 + 8 >> 2]) { - HEAP32[$0 >> 2] = 2; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 64 >> 2]; - HEAPF32[$0 + 8 >> 2] = HEAPF32[$2 + 28 >> 2]; - } - } - HEAP32[$2 + 64 >> 2] = HEAP32[$2 + 64 >> 2] + 1; - continue; - } - } - break; - } - __stack_pointer = $2 + 80 | 0; -} - -function b2PrismaticJoint__GetJointSpeed_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $3 = 0, $4 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $1 = __stack_pointer - 160 | 0; - __stack_pointer = $1; - HEAP32[$1 + 156 >> 2] = $0; - $0 = HEAP32[$1 + 156 >> 2]; - HEAP32[$1 + 152 >> 2] = HEAP32[$0 + 48 >> 2]; - HEAP32[$1 + 148 >> 2] = HEAP32[$0 + 52 >> 2]; - $2 = HEAP32[$1 + 152 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 132 | 0, $0 + 68 | 0, HEAP32[$1 + 152 >> 2] + 28 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($1 + 140 | 0, $2 + 20 | 0, $1 + 132 | 0); - $2 = HEAP32[$1 + 148 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 116 | 0, $0 + 76 | 0, HEAP32[$1 + 148 >> 2] + 28 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($1 + 124 | 0, $2 + 20 | 0, $1 + 116 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($1 + 108 | 0, HEAP32[$1 + 152 >> 2] + 44 | 0, $1 + 140 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($1 + 100 | 0, HEAP32[$1 + 148 >> 2] + 44 | 0, $1 + 124 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 92 | 0, $1 + 100 | 0, $1 + 108 | 0); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($1 + 84 | 0, HEAP32[$1 + 152 >> 2] + 20 | 0, $0 + 84 | 0); - $2 = HEAP32[$1 + 152 >> 2]; - $3 = HEAP32[$2 + 64 >> 2]; - $0 = HEAP32[$2 + 68 >> 2]; - HEAP32[$1 + 72 >> 2] = $3; - HEAP32[$1 + 76 >> 2] = $0; - $2 = HEAP32[$1 + 148 >> 2]; - $0 = HEAP32[$2 + 64 >> 2]; - $3 = HEAP32[$2 + 68 >> 2]; - HEAP32[$1 + 64 >> 2] = $0; - HEAP32[$1 + 68 >> 2] = $3; - HEAPF32[$1 + 60 >> 2] = HEAPF32[HEAP32[$1 + 152 >> 2] + 72 >> 2]; - HEAPF32[$1 + 56 >> 2] = HEAPF32[HEAP32[$1 + 148 >> 2] + 72 >> 2]; - b2Cross_28float_2c_20b2Vec2_20const__29($1 + 44 | 0, HEAPF32[$1 + 60 >> 2], $1 + 84 | 0); - $4 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 92 | 0, $1 + 44 | 0); - b2Cross_28float_2c_20b2Vec2_20const__29($1 + 12 | 0, HEAPF32[$1 + 56 >> 2], $1 + 124 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($1 + 20 | 0, $1 - -64 | 0, $1 + 12 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 28 | 0, $1 + 20 | 0, $1 + 72 | 0); - b2Cross_28float_2c_20b2Vec2_20const__29($1 + 4 | 0, HEAPF32[$1 + 60 >> 2], $1 + 140 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 36 | 0, $1 + 28 | 0, $1 + 4 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround($4 + b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 84 | 0, $1 + 36 | 0)), - HEAPF32[wasm2js_i32$0 + 52 >> 2] = wasm2js_f32$0; - __stack_pointer = $1 + 160 | 0; - return Math_fround(HEAPF32[$1 + 52 >> 2]); -} - -function std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____find_b2Fixture___28b2Fixture__20const__29($0, $1) { - var $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - $0 = HEAP32[$2 + 24 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______lower_bound_b2Fixture___28b2Fixture__20const__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20std____2____tree_end_node_std____2____tree_node_base_void______29($0, HEAP32[$2 + 20 >> 2], std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______root_5babi_v160004_5d_28_29_20const($0), std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______end_node_5babi_v160004_5d_28_29($0)), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____end_5babi_v160004_5d_28_29($0), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - if (std____2__operator___5babi_v160004_5d_28std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20const__2c_20std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20const__29_1($2 + 16 | 0, $2 + 12 | 0) & 1) { - $3 = std____2__less_b2Fixture____operator_28_29_5babi_v160004_5d_28b2Fixture__20const__2c_20b2Fixture__20const__29_20const(std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____value_comp_5babi_v160004_5d_28_29($0), HEAP32[$2 + 20 >> 2], std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long___operator__5babi_v160004_5d_28_29_20const($2 + 16 | 0)) ^ -1; - } - label$2: { - if ($3 & 1) { - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 16 >> 2]; - break label$2; - } - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____end_5babi_v160004_5d_28_29($0), - HEAP32[wasm2js_i32$0 + 28 >> 2] = wasm2js_i32$1; - } - __stack_pointer = $2 + 32 | 0; - return HEAP32[$2 + 28 >> 2]; -} - -function emscripten__internal__WireTypePack_unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float____WireTypePack_28unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float__29($0, $1, $2, $3, $4) { - var $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $5 = __stack_pointer - 80 | 0; - __stack_pointer = $5; - HEAP32[$5 + 20 >> 2] = $0; - HEAP32[$5 + 16 >> 2] = $1; - HEAP32[$5 + 12 >> 2] = $2; - HEAP32[$5 + 8 >> 2] = $3; - HEAP32[$5 + 4 >> 2] = $4; - $0 = HEAP32[$5 + 20 >> 2]; - wasm2js_i32$0 = $5, wasm2js_i32$1 = std____2__array_emscripten__internal__GenericWireType_2c_204ul___data_5babi_v160004_5d_28_29($0), - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - $1 = HEAP32[$5 + 16 >> 2]; - $2 = HEAP32[$5 + 12 >> 2]; - $3 = HEAP32[$5 + 8 >> 2]; - $4 = HEAP32[$5 + 4 >> 2]; - HEAP32[$5 + 40 >> 2] = $5; - HEAP32[$5 + 36 >> 2] = $1; - HEAP32[$5 + 32 >> 2] = $2; - HEAP32[$5 + 28 >> 2] = $3; - HEAP32[$5 + 24 >> 2] = $4; - void_20emscripten__internal__writeGenericWireType_unsigned_20int__28emscripten__internal__GenericWireType___2c_20unsigned_20int_29(HEAP32[$5 + 40 >> 2], emscripten__internal__BindingType_unsigned_20int_2c_20void___toWireType_28unsigned_20int_20const__29(HEAP32[$5 + 36 >> 2])); - $1 = HEAP32[$5 + 32 >> 2]; - $2 = HEAP32[$5 + 28 >> 2]; - $3 = HEAP32[$5 + 24 >> 2]; - HEAP32[$5 + 56 >> 2] = HEAP32[$5 + 40 >> 2]; - HEAP32[$5 + 52 >> 2] = $1; - HEAP32[$5 + 48 >> 2] = $2; - HEAP32[$5 + 44 >> 2] = $3; - void_20emscripten__internal__writeGenericWireType_b2Vec2__28emscripten__internal__GenericWireType___2c_20b2Vec2__29(HEAP32[$5 + 56 >> 2], emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(HEAP32[$5 + 52 >> 2])); - $1 = HEAP32[$5 + 48 >> 2]; - $2 = HEAP32[$5 + 44 >> 2]; - HEAP32[$5 + 68 >> 2] = HEAP32[$5 + 56 >> 2]; - HEAP32[$5 + 64 >> 2] = $1; - HEAP32[$5 + 60 >> 2] = $2; - void_20emscripten__internal__writeGenericWireType_b2Vec2__28emscripten__internal__GenericWireType___2c_20b2Vec2__29(HEAP32[$5 + 68 >> 2], emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(HEAP32[$5 + 64 >> 2])); - $1 = HEAP32[$5 + 60 >> 2]; - HEAP32[$5 + 76 >> 2] = HEAP32[$5 + 68 >> 2]; - HEAP32[$5 + 72 >> 2] = $1; - emscripten__internal__writeGenericWireType_28emscripten__internal__GenericWireType___2c_20float_29(HEAP32[$5 + 76 >> 2], emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29(HEAP32[$5 + 72 >> 2])); - emscripten__internal__writeGenericWireTypes_28emscripten__internal__GenericWireType___29(HEAP32[$5 + 76 >> 2]); - __stack_pointer = $5 + 80 | 0; - return $0; -} - -function __memcpy($0, $1, $2) { - var $3 = 0, $4 = 0, $5 = 0; - if ($2 >>> 0 >= 512) { - emscripten_memcpy_big($0 | 0, $1 | 0, $2 | 0); - return $0; - } - $4 = $0 + $2 | 0; - label$2: { - if (!(($0 ^ $1) & 3)) { - label$4: { - if (!($0 & 3)) { - $2 = $0; - break label$4; - } - if (!$2) { - $2 = $0; - break label$4; - } - $2 = $0; - while (1) { - HEAP8[$2 | 0] = HEAPU8[$1 | 0]; - $1 = $1 + 1 | 0; - $2 = $2 + 1 | 0; - if (!($2 & 3)) { - break label$4; - } - if ($2 >>> 0 < $4 >>> 0) { - continue; - } - break; - } - } - $3 = $4 & -4; - label$8: { - if ($3 >>> 0 < 64) { - break label$8; - } - $5 = $3 + -64 | 0; - if ($5 >>> 0 < $2 >>> 0) { - break label$8; - } - while (1) { - HEAP32[$2 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$2 + 4 >> 2] = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 8 >> 2] = HEAP32[$1 + 8 >> 2]; - HEAP32[$2 + 12 >> 2] = HEAP32[$1 + 12 >> 2]; - HEAP32[$2 + 16 >> 2] = HEAP32[$1 + 16 >> 2]; - HEAP32[$2 + 20 >> 2] = HEAP32[$1 + 20 >> 2]; - HEAP32[$2 + 24 >> 2] = HEAP32[$1 + 24 >> 2]; - HEAP32[$2 + 28 >> 2] = HEAP32[$1 + 28 >> 2]; - HEAP32[$2 + 32 >> 2] = HEAP32[$1 + 32 >> 2]; - HEAP32[$2 + 36 >> 2] = HEAP32[$1 + 36 >> 2]; - HEAP32[$2 + 40 >> 2] = HEAP32[$1 + 40 >> 2]; - HEAP32[$2 + 44 >> 2] = HEAP32[$1 + 44 >> 2]; - HEAP32[$2 + 48 >> 2] = HEAP32[$1 + 48 >> 2]; - HEAP32[$2 + 52 >> 2] = HEAP32[$1 + 52 >> 2]; - HEAP32[$2 + 56 >> 2] = HEAP32[$1 + 56 >> 2]; - HEAP32[$2 + 60 >> 2] = HEAP32[$1 + 60 >> 2]; - $1 = $1 - -64 | 0; - $2 = $2 - -64 | 0; - if ($5 >>> 0 >= $2 >>> 0) { - continue; - } - break; - } - } - if ($2 >>> 0 >= $3 >>> 0) { - break label$2; - } - while (1) { - HEAP32[$2 >> 2] = HEAP32[$1 >> 2]; - $1 = $1 + 4 | 0; - $2 = $2 + 4 | 0; - if ($3 >>> 0 > $2 >>> 0) { - continue; - } - break; - } - break label$2; - } - if ($4 >>> 0 < 4) { - $2 = $0; - break label$2; - } - $3 = $4 - 4 | 0; - if ($3 >>> 0 < $0 >>> 0) { - $2 = $0; - break label$2; - } - $2 = $0; - while (1) { - HEAP8[$2 | 0] = HEAPU8[$1 | 0]; - HEAP8[$2 + 1 | 0] = HEAPU8[$1 + 1 | 0]; - HEAP8[$2 + 2 | 0] = HEAPU8[$1 + 2 | 0]; - HEAP8[$2 + 3 | 0] = HEAPU8[$1 + 3 | 0]; - $1 = $1 + 4 | 0; - $2 = $2 + 4 | 0; - if ($3 >>> 0 >= $2 >>> 0) { - continue; - } - break; - } - } - if ($2 >>> 0 < $4 >>> 0) { - while (1) { - HEAP8[$2 | 0] = HEAPU8[$1 | 0]; - $1 = $1 + 1 | 0; - $2 = $2 + 1 | 0; - if (($4 | 0) != ($2 | 0)) { - continue; - } - break; - } - } - return $0; -} - -function emscripten__internal__WireTypePack_b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const____WireTypePack_28b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const__29($0, $1, $2, $3, $4) { - var $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $5 = __stack_pointer - 80 | 0; - __stack_pointer = $5; - HEAP32[$5 + 20 >> 2] = $0; - HEAP32[$5 + 16 >> 2] = $1; - HEAP32[$5 + 12 >> 2] = $2; - HEAP32[$5 + 8 >> 2] = $3; - HEAP32[$5 + 4 >> 2] = $4; - $0 = HEAP32[$5 + 20 >> 2]; - wasm2js_i32$0 = $5, wasm2js_i32$1 = std____2__array_emscripten__internal__GenericWireType_2c_204ul___data_5babi_v160004_5d_28_29($0), - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - $1 = HEAP32[$5 + 16 >> 2]; - $2 = HEAP32[$5 + 12 >> 2]; - $3 = HEAP32[$5 + 8 >> 2]; - $4 = HEAP32[$5 + 4 >> 2]; - HEAP32[$5 + 40 >> 2] = $5; - HEAP32[$5 + 36 >> 2] = $1; - HEAP32[$5 + 32 >> 2] = $2; - HEAP32[$5 + 28 >> 2] = $3; - HEAP32[$5 + 24 >> 2] = $4; - void_20emscripten__internal__writeGenericWireType_b2Vec2__28emscripten__internal__GenericWireType___2c_20b2Vec2__29(HEAP32[$5 + 40 >> 2], emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(HEAP32[$5 + 36 >> 2])); - $1 = HEAP32[$5 + 32 >> 2]; - $2 = HEAP32[$5 + 28 >> 2]; - $3 = HEAP32[$5 + 24 >> 2]; - HEAP32[$5 + 56 >> 2] = HEAP32[$5 + 40 >> 2]; - HEAP32[$5 + 52 >> 2] = $1; - HEAP32[$5 + 48 >> 2] = $2; - HEAP32[$5 + 44 >> 2] = $3; - emscripten__internal__writeGenericWireType_28emscripten__internal__GenericWireType___2c_20float_29(HEAP32[$5 + 56 >> 2], emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29(HEAP32[$5 + 52 >> 2])); - $1 = HEAP32[$5 + 48 >> 2]; - $2 = HEAP32[$5 + 44 >> 2]; - HEAP32[$5 + 68 >> 2] = HEAP32[$5 + 56 >> 2]; - HEAP32[$5 + 64 >> 2] = $1; - HEAP32[$5 + 60 >> 2] = $2; - void_20emscripten__internal__writeGenericWireType_b2Vec2__28emscripten__internal__GenericWireType___2c_20b2Vec2__29(HEAP32[$5 + 68 >> 2], emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(HEAP32[$5 + 64 >> 2])); - $1 = HEAP32[$5 + 60 >> 2]; - HEAP32[$5 + 76 >> 2] = HEAP32[$5 + 68 >> 2]; - HEAP32[$5 + 72 >> 2] = $1; - void_20emscripten__internal__writeGenericWireType_b2Color__28emscripten__internal__GenericWireType___2c_20b2Color__29(HEAP32[$5 + 76 >> 2], emscripten__internal__GenericBindingType_b2Color___toWireType_28b2Color_20const__29(HEAP32[$5 + 72 >> 2])); - emscripten__internal__writeGenericWireTypes_28emscripten__internal__GenericWireType___29(HEAP32[$5 + 76 >> 2]); - __stack_pointer = $5 + 80 | 0; - return $0; -} - -function b2World__Dump_28_29($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $3 = Math_fround(0); - $1 = __stack_pointer + -64 | 0; - __stack_pointer = $1; - HEAP32[$1 + 60 >> 2] = $0; - $0 = HEAP32[$1 + 60 >> 2]; - if (!(HEAP8[$0 + 102989 | 0] & 1)) { - $3 = HEAPF32[$0 + 102964 >> 2]; - HEAPF64[$1 + 8 >> 3] = HEAPF32[$0 + 102968 >> 2]; - HEAPF64[$1 >> 3] = $3; - b2Log_28char_20const__2c_20____29(14969, $1); - b2Log_28char_20const__2c_20____29(14267, 0); - HEAP32[$1 + 16 >> 2] = HEAP32[$0 + 102956 >> 2]; - b2Log_28char_20const__2c_20____29(15734, $1 + 16 | 0); - HEAP32[$1 + 32 >> 2] = HEAP32[$0 + 102960 >> 2]; - b2Log_28char_20const__2c_20____29(15794, $1 + 32 | 0); - HEAP32[$1 + 56 >> 2] = 0; - HEAP32[$1 + 52 >> 2] = HEAP32[$0 + 102948 >> 2]; - while (1) { - if (HEAP32[$1 + 52 >> 2]) { - HEAP32[HEAP32[$1 + 52 >> 2] + 8 >> 2] = HEAP32[$1 + 56 >> 2]; - b2Body__Dump_28_29(HEAP32[$1 + 52 >> 2]); - HEAP32[$1 + 56 >> 2] = HEAP32[$1 + 56 >> 2] + 1; - HEAP32[$1 + 52 >> 2] = HEAP32[HEAP32[$1 + 52 >> 2] + 96 >> 2]; - continue; - } - break; - } - HEAP32[$1 + 56 >> 2] = 0; - HEAP32[$1 + 48 >> 2] = HEAP32[$0 + 102952 >> 2]; - while (1) { - if (HEAP32[$1 + 48 >> 2]) { - HEAP32[HEAP32[$1 + 48 >> 2] + 56 >> 2] = HEAP32[$1 + 56 >> 2]; - HEAP32[$1 + 56 >> 2] = HEAP32[$1 + 56 >> 2] + 1; - HEAP32[$1 + 48 >> 2] = HEAP32[HEAP32[$1 + 48 >> 2] + 12 >> 2]; - continue; - } - break; - } - HEAP32[$1 + 44 >> 2] = HEAP32[$0 + 102952 >> 2]; - while (1) { - if (HEAP32[$1 + 44 >> 2]) { - if (HEAP32[HEAP32[$1 + 44 >> 2] + 4 >> 2] != 6) { - b2Log_28char_20const__2c_20____29(12846, 0); - $2 = HEAP32[$1 + 44 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$2 >> 2] + 16 >> 2]]($2); - b2Log_28char_20const__2c_20____29(12841, 0); - } - HEAP32[$1 + 44 >> 2] = HEAP32[HEAP32[$1 + 44 >> 2] + 12 >> 2]; - continue; - } - break; - } - HEAP32[$1 + 40 >> 2] = HEAP32[$0 + 102952 >> 2]; - while (1) { - if (HEAP32[$1 + 40 >> 2]) { - if (HEAP32[HEAP32[$1 + 40 >> 2] + 4 >> 2] == 6) { - b2Log_28char_20const__2c_20____29(12846, 0); - $0 = HEAP32[$1 + 40 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0); - b2Log_28char_20const__2c_20____29(12841, 0); - } - HEAP32[$1 + 40 >> 2] = HEAP32[HEAP32[$1 + 40 >> 2] + 12 >> 2]; - continue; - } - break; - } - b2Log_28char_20const__2c_20____29(14233, 0); - b2Log_28char_20const__2c_20____29(14250, 0); - b2Log_28char_20const__2c_20____29(12849, 0); - b2Log_28char_20const__2c_20____29(12868, 0); - } - __stack_pointer = $1 - -64 | 0; -} - -function emscripten__internal__Invoker_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20bool_2c_20unsigned_20short_2c_20unsigned_20short_2c_20short___invoke_28void_20_28__29_28unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20bool_2c_20unsigned_20short_2c_20unsigned_20short_2c_20short_29_2c_20unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20bool_2c_20unsigned_20short_2c_20unsigned_20short_2c_20short_29($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = Math_fround($4); - $5 = Math_fround($5); - $6 = Math_fround($6); - $7 = $7 | 0; - $8 = $8 | 0; - $9 = $9 | 0; - $10 = $10 | 0; - var $11 = 0; - $11 = __stack_pointer - 48 | 0; - __stack_pointer = $11; - HEAP32[$11 + 44 >> 2] = $0; - HEAP32[$11 + 40 >> 2] = $1; - HEAP32[$11 + 36 >> 2] = $2; - HEAP32[$11 + 32 >> 2] = $3; - HEAPF32[$11 + 28 >> 2] = $4; - HEAPF32[$11 + 24 >> 2] = $5; - HEAPF32[$11 + 20 >> 2] = $6; - HEAP8[$11 + 19 | 0] = $7; - HEAP16[$11 + 16 >> 1] = $8; - HEAP16[$11 + 14 >> 1] = $9; - HEAP16[$11 + 12 >> 1] = $10; - $0 = HEAP32[$11 + 44 >> 2]; - FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$11 + 40 >> 2]), emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$11 + 36 >> 2]), emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$11 + 32 >> 2]), emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$11 + 28 >> 2]), emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$11 + 24 >> 2]), emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$11 + 20 >> 2]), emscripten__internal__BindingType_bool_2c_20void___fromWireType_28bool_29(HEAP8[$11 + 19 | 0] & 1) & 1, emscripten__internal__BindingType_unsigned_20short_2c_20void___fromWireType_28unsigned_20short_29(HEAPU16[$11 + 16 >> 1]) & 65535, emscripten__internal__BindingType_unsigned_20short_2c_20void___fromWireType_28unsigned_20short_29(HEAPU16[$11 + 14 >> 1]) & 65535, emscripten__internal__BindingType_short_2c_20void___fromWireType_28short_29(HEAPU16[$11 + 12 >> 1] << 16 >> 16) << 16 >> 16); - __stack_pointer = $11 + 48 | 0; -} - -function b2Body__Dump_28_29($0) { - $0 = $0 | 0; - var $1 = 0, $2 = Math_fround(0); - $1 = __stack_pointer - 224 | 0; - __stack_pointer = $1; - HEAP32[$1 + 220 >> 2] = $0; - $0 = HEAP32[$1 + 220 >> 2]; - HEAP32[$1 + 216 >> 2] = HEAP32[$0 + 8 >> 2]; - b2Log_28char_20const__2c_20____29(12846, 0); - b2Log_28char_20const__2c_20____29(14090, 0); - HEAP32[$1 + 176 >> 2] = HEAP32[$0 >> 2]; - b2Log_28char_20const__2c_20____29(15530, $1 + 176 | 0); - $2 = HEAPF32[$0 + 12 >> 2]; - HEAPF64[$1 + 168 >> 3] = HEAPF32[$0 + 16 >> 2]; - HEAPF64[$1 + 160 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14510, $1 + 160 | 0); - HEAPF64[$1 + 144 >> 3] = HEAPF32[$0 + 56 >> 2]; - b2Log_28char_20const__2c_20____29(13425, $1 + 144 | 0); - $2 = HEAPF32[$0 + 64 >> 2]; - HEAPF64[$1 + 136 >> 3] = HEAPF32[$0 + 68 >> 2]; - HEAPF64[$1 + 128 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14292, $1 + 128 | 0); - HEAPF64[$1 + 112 >> 3] = HEAPF32[$0 + 72 >> 2]; - b2Log_28char_20const__2c_20____29(12943, $1 + 112 | 0); - HEAPF64[$1 + 96 >> 3] = HEAPF32[$0 + 132 >> 2]; - b2Log_28char_20const__2c_20____29(13335, $1 + 96 | 0); - HEAPF64[$1 + 80 >> 3] = HEAPF32[$0 + 136 >> 2]; - b2Log_28char_20const__2c_20____29(13303, $1 + 80 | 0); - HEAP32[$1 + 64 >> 2] = HEAPU16[$0 + 4 >> 1] & 4; - b2Log_28char_20const__2c_20____29(15312, $1 - -64 | 0); - HEAP32[$1 + 48 >> 2] = HEAPU16[$0 + 4 >> 1] & 2; - b2Log_28char_20const__2c_20____29(15373, $1 + 48 | 0); - HEAP32[$1 + 32 >> 2] = HEAPU16[$0 + 4 >> 1] & 16; - b2Log_28char_20const__2c_20____29(15341, $1 + 32 | 0); - HEAP32[$1 + 16 >> 2] = HEAPU16[$0 + 4 >> 1] & 8; - b2Log_28char_20const__2c_20____29(15228, $1 + 16 | 0); - HEAP32[$1 >> 2] = HEAPU16[$0 + 4 >> 1] & 32; - b2Log_28char_20const__2c_20____29(15432, $1); - HEAPF64[$1 + 192 >> 3] = HEAPF32[$0 + 140 >> 2]; - b2Log_28char_20const__2c_20____29(13536, $1 + 192 | 0); - HEAP32[$1 + 208 >> 2] = HEAP32[$0 + 8 >> 2]; - b2Log_28char_20const__2c_20____29(15078, $1 + 208 | 0); - b2Log_28char_20const__2c_20____29(15941, 0); - HEAP32[$1 + 212 >> 2] = HEAP32[$0 + 100 >> 2]; - while (1) { - if (HEAP32[$1 + 212 >> 2]) { - b2Log_28char_20const__2c_20____29(12844, 0); - b2Fixture__Dump_28int_29(HEAP32[$1 + 212 >> 2], HEAP32[$1 + 216 >> 2]); - b2Log_28char_20const__2c_20____29(12839, 0); - HEAP32[$1 + 212 >> 2] = HEAP32[HEAP32[$1 + 212 >> 2] + 4 >> 2]; - continue; - } - break; - } - b2Log_28char_20const__2c_20____29(12841, 0); - __stack_pointer = $1 + 224 | 0; -} - -function b2PolygonShape__SetAsBox_28float_2c_20float_2c_20b2Vec2_20const__2c_20float_29($0, $1, $2, $3, $4) { - var $5 = 0, $6 = 0, $7 = 0; - $5 = __stack_pointer + -64 | 0; - __stack_pointer = $5; - HEAP32[$5 + 60 >> 2] = $0; - HEAPF32[$5 + 56 >> 2] = $1; - HEAPF32[$5 + 52 >> 2] = $2; - HEAP32[$5 + 48 >> 2] = $3; - HEAPF32[$5 + 44 >> 2] = $4; - $6 = HEAP32[$5 + 60 >> 2]; - HEAP32[$6 + 148 >> 2] = 4; - b2Vec2__Set_28float_2c_20float_29($6 + 20 | 0, Math_fround(-HEAPF32[$5 + 56 >> 2]), Math_fround(-HEAPF32[$5 + 52 >> 2])); - b2Vec2__Set_28float_2c_20float_29($6 + 28 | 0, HEAPF32[$5 + 56 >> 2], Math_fround(-HEAPF32[$5 + 52 >> 2])); - b2Vec2__Set_28float_2c_20float_29($6 + 36 | 0, HEAPF32[$5 + 56 >> 2], HEAPF32[$5 + 52 >> 2]); - b2Vec2__Set_28float_2c_20float_29($6 + 44 | 0, Math_fround(-HEAPF32[$5 + 56 >> 2]), HEAPF32[$5 + 52 >> 2]); - b2Vec2__Set_28float_2c_20float_29($6 + 84 | 0, Math_fround(0), Math_fround(-1)); - b2Vec2__Set_28float_2c_20float_29($6 + 92 | 0, Math_fround(1), Math_fround(0)); - b2Vec2__Set_28float_2c_20float_29($6 + 100 | 0, Math_fround(0), Math_fround(1)); - b2Vec2__Set_28float_2c_20float_29($6 + 108 | 0, Math_fround(-1), Math_fround(0)); - $7 = HEAP32[$5 + 48 >> 2]; - $3 = HEAP32[$7 >> 2]; - $0 = HEAP32[$7 + 4 >> 2]; - HEAP32[$6 + 12 >> 2] = $3; - HEAP32[$6 + 16 >> 2] = $0; - b2Transform__b2Transform_28_29($5 + 28 | 0); - $7 = HEAP32[$5 + 48 >> 2]; - $0 = HEAP32[$7 >> 2]; - $3 = HEAP32[$7 + 4 >> 2]; - $7 = $0; - $0 = $5 + 28 | 0; - HEAP32[$0 >> 2] = $7; - HEAP32[$0 + 4 >> 2] = $3; - b2Rot__Set_28float_29($5 + 36 | 0, HEAPF32[$5 + 44 >> 2]); - HEAP32[$5 + 24 >> 2] = 0; - while (1) { - if (HEAP32[$5 + 24 >> 2] < HEAP32[$6 + 148 >> 2]) { - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($5 + 16 | 0, $5 + 28 | 0, ($6 + 20 | 0) + (HEAP32[$5 + 24 >> 2] << 3) | 0); - $0 = HEAP32[$5 + 20 >> 2]; - $3 = HEAP32[$5 + 16 >> 2]; - $7 = $3; - $3 = ($6 + 20 | 0) + (HEAP32[$5 + 24 >> 2] << 3) | 0; - HEAP32[$3 >> 2] = $7; - HEAP32[$3 + 4 >> 2] = $0; - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($5 + 8 | 0, $5 + 36 | 0, ($6 + 84 | 0) + (HEAP32[$5 + 24 >> 2] << 3) | 0); - $3 = HEAP32[$5 + 12 >> 2]; - $0 = HEAP32[$5 + 8 >> 2]; - $7 = $0; - $0 = ($6 + 84 | 0) + (HEAP32[$5 + 24 >> 2] << 3) | 0; - HEAP32[$0 >> 2] = $7; - HEAP32[$0 + 4 >> 2] = $3; - HEAP32[$5 + 24 >> 2] = HEAP32[$5 + 24 >> 2] + 1; - continue; - } - break; - } - __stack_pointer = $5 - -64 | 0; -} - -function b2Mat33__GetSymInverse33_28b2Mat33__29_20const($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 48 | 0; - __stack_pointer = $2; - HEAP32[$2 + 44 >> 2] = $0; - HEAP32[$2 + 40 >> 2] = $1; - $0 = HEAP32[$2 + 44 >> 2]; - b2Cross_28b2Vec3_20const__2c_20b2Vec3_20const__29($2 + 24 | 0, $0 + 12 | 0, $0 + 24 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Dot_28b2Vec3_20const__2c_20b2Vec3_20const__29($0, $2 + 24 | 0), - HEAPF32[wasm2js_i32$0 + 36 >> 2] = wasm2js_f32$0; - if (HEAPF32[$2 + 36 >> 2] != Math_fround(0)) { - HEAPF32[$2 + 36 >> 2] = Math_fround(1) / HEAPF32[$2 + 36 >> 2]; - } - HEAPF32[$2 + 20 >> 2] = HEAPF32[$0 >> 2]; - HEAPF32[$2 + 16 >> 2] = HEAPF32[$0 + 12 >> 2]; - HEAPF32[$2 + 12 >> 2] = HEAPF32[$0 + 24 >> 2]; - HEAPF32[$2 + 8 >> 2] = HEAPF32[$0 + 16 >> 2]; - HEAPF32[$2 + 4 >> 2] = HEAPF32[$0 + 28 >> 2]; - HEAPF32[$2 >> 2] = HEAPF32[$0 + 32 >> 2]; - HEAPF32[HEAP32[$2 + 40 >> 2] >> 2] = HEAPF32[$2 + 36 >> 2] * Math_fround(Math_fround(HEAPF32[$2 + 8 >> 2] * HEAPF32[$2 >> 2]) - Math_fround(HEAPF32[$2 + 4 >> 2] * HEAPF32[$2 + 4 >> 2])); - HEAPF32[HEAP32[$2 + 40 >> 2] + 4 >> 2] = HEAPF32[$2 + 36 >> 2] * Math_fround(Math_fround(HEAPF32[$2 + 12 >> 2] * HEAPF32[$2 + 4 >> 2]) - Math_fround(HEAPF32[$2 + 16 >> 2] * HEAPF32[$2 >> 2])); - HEAPF32[HEAP32[$2 + 40 >> 2] + 8 >> 2] = HEAPF32[$2 + 36 >> 2] * Math_fround(Math_fround(HEAPF32[$2 + 16 >> 2] * HEAPF32[$2 + 4 >> 2]) - Math_fround(HEAPF32[$2 + 12 >> 2] * HEAPF32[$2 + 8 >> 2])); - HEAPF32[HEAP32[$2 + 40 >> 2] + 12 >> 2] = HEAPF32[HEAP32[$2 + 40 >> 2] + 4 >> 2]; - HEAPF32[HEAP32[$2 + 40 >> 2] + 16 >> 2] = HEAPF32[$2 + 36 >> 2] * Math_fround(Math_fround(HEAPF32[$2 + 20 >> 2] * HEAPF32[$2 >> 2]) - Math_fround(HEAPF32[$2 + 12 >> 2] * HEAPF32[$2 + 12 >> 2])); - HEAPF32[HEAP32[$2 + 40 >> 2] + 20 >> 2] = HEAPF32[$2 + 36 >> 2] * Math_fround(Math_fround(HEAPF32[$2 + 12 >> 2] * HEAPF32[$2 + 16 >> 2]) - Math_fround(HEAPF32[$2 + 20 >> 2] * HEAPF32[$2 + 4 >> 2])); - HEAPF32[HEAP32[$2 + 40 >> 2] + 24 >> 2] = HEAPF32[HEAP32[$2 + 40 >> 2] + 8 >> 2]; - HEAPF32[HEAP32[$2 + 40 >> 2] + 28 >> 2] = HEAPF32[HEAP32[$2 + 40 >> 2] + 20 >> 2]; - HEAPF32[HEAP32[$2 + 40 >> 2] + 32 >> 2] = HEAPF32[$2 + 36 >> 2] * Math_fround(Math_fround(HEAPF32[$2 + 20 >> 2] * HEAPF32[$2 + 8 >> 2]) - Math_fround(HEAPF32[$2 + 16 >> 2] * HEAPF32[$2 + 16 >> 2])); - __stack_pointer = $2 + 48 | 0; -} - -function b2Body__SetMassData_28b2MassData_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 48 | 0; - __stack_pointer = $2; - HEAP32[$2 + 44 >> 2] = $0; - HEAP32[$2 + 40 >> 2] = $1; - $0 = HEAP32[$2 + 44 >> 2]; - if (b2World__IsLocked_28_29_20const(HEAP32[$0 + 88 >> 2]) & 1) { - __assert_fail(9363, 4319, 356, 10652); - wasm2js_trap(); - } - if (!(b2World__IsLocked_28_29_20const(HEAP32[$0 + 88 >> 2]) & 1 | HEAP32[$0 >> 2] != 2)) { - HEAPF32[$0 + 120 >> 2] = 0; - HEAPF32[$0 + 124 >> 2] = 0; - HEAPF32[$0 + 128 >> 2] = 0; - HEAPF32[$0 + 116 >> 2] = HEAPF32[HEAP32[$2 + 40 >> 2] >> 2]; - if (HEAPF32[$0 + 116 >> 2] <= Math_fround(0)) { - HEAPF32[$0 + 116 >> 2] = 1; - } - HEAPF32[$0 + 120 >> 2] = Math_fround(1) / HEAPF32[$0 + 116 >> 2]; - if (!(!(HEAPF32[HEAP32[$2 + 40 >> 2] + 12 >> 2] > Math_fround(0)) | HEAPU16[$0 + 4 >> 1] & 16)) { - $4 = HEAPF32[HEAP32[$2 + 40 >> 2] + 12 >> 2]; - wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround(Math_fround(Math_fround(-HEAPF32[$0 + 116 >> 2]) * b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$2 + 40 >> 2] + 4 | 0, HEAP32[$2 + 40 >> 2] + 4 | 0)) + $4), - HEAPF32[wasm2js_i32$0 + 124 >> 2] = wasm2js_f32$0; - if (!(HEAPF32[$0 + 124 >> 2] > Math_fround(0))) { - __assert_fail(8263, 4319, 382, 10652); - wasm2js_trap(); - } - HEAPF32[$0 + 128 >> 2] = Math_fround(1) / HEAPF32[$0 + 124 >> 2]; - } - $1 = HEAP32[$0 + 48 >> 2]; - $3 = HEAP32[$0 + 44 >> 2]; - HEAP32[$2 + 32 >> 2] = $3; - HEAP32[$2 + 36 >> 2] = $1; - $3 = HEAP32[$2 + 40 >> 2]; - $1 = HEAP32[$3 + 4 >> 2]; - $3 = HEAP32[$3 + 8 >> 2]; - HEAP32[$0 + 28 >> 2] = $1; - HEAP32[$0 + 32 >> 2] = $3; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($2 + 24 | 0, $0 + 12 | 0, $0 + 28 | 0); - $1 = HEAP32[$2 + 28 >> 2]; - $3 = HEAP32[$2 + 24 >> 2]; - HEAP32[$0 + 44 >> 2] = $3; - HEAP32[$0 + 48 >> 2] = $1; - $3 = HEAP32[$0 + 48 >> 2]; - $1 = HEAP32[$0 + 44 >> 2]; - HEAP32[$0 + 36 >> 2] = $1; - HEAP32[$0 + 40 >> 2] = $3; - $4 = HEAPF32[$0 + 72 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 8 | 0, $0 + 44 | 0, $2 + 32 | 0); - b2Cross_28float_2c_20b2Vec2_20const__29($2 + 16 | 0, $4, $2 + 8 | 0); - b2Vec2__operator___28b2Vec2_20const__29($0 - -64 | 0, $2 + 16 | 0); - } - __stack_pointer = $2 + 48 | 0; -} - -function b2FindMaxSeparation_28int__2c_20b2PolygonShape_20const__2c_20b2Transform_20const__2c_20b2PolygonShape_20const__2c_20b2Transform_20const__29($0, $1, $2, $3, $4) { - var $5 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $5 = __stack_pointer - 112 | 0; - __stack_pointer = $5; - HEAP32[$5 + 108 >> 2] = $0; - HEAP32[$5 + 104 >> 2] = $1; - HEAP32[$5 + 100 >> 2] = $2; - HEAP32[$5 + 96 >> 2] = $3; - HEAP32[$5 + 92 >> 2] = $4; - HEAP32[$5 + 88 >> 2] = HEAP32[HEAP32[$5 + 104 >> 2] + 148 >> 2]; - HEAP32[$5 + 84 >> 2] = HEAP32[HEAP32[$5 + 96 >> 2] + 148 >> 2]; - HEAP32[$5 + 80 >> 2] = HEAP32[$5 + 104 >> 2] + 84; - HEAP32[$5 + 76 >> 2] = HEAP32[$5 + 104 >> 2] + 20; - HEAP32[$5 + 72 >> 2] = HEAP32[$5 + 96 >> 2] + 20; - b2MulT_28b2Transform_20const__2c_20b2Transform_20const__29($5 + 56 | 0, HEAP32[$5 + 92 >> 2], HEAP32[$5 + 100 >> 2]); - HEAP32[$5 + 52 >> 2] = 0; - HEAPF32[$5 + 48 >> 2] = -34028234663852886e22; - HEAP32[$5 + 44 >> 2] = 0; - while (1) { - if (HEAP32[$5 + 44 >> 2] < HEAP32[$5 + 88 >> 2]) { - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($5 + 36 | 0, $5 - -64 | 0, HEAP32[$5 + 80 >> 2] + (HEAP32[$5 + 44 >> 2] << 3) | 0); - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($5 + 28 | 0, $5 + 56 | 0, HEAP32[$5 + 76 >> 2] + (HEAP32[$5 + 44 >> 2] << 3) | 0); - HEAPF32[$5 + 24 >> 2] = 34028234663852886e22; - HEAP32[$5 + 20 >> 2] = 0; - while (1) { - if (HEAP32[$5 + 20 >> 2] < HEAP32[$5 + 84 >> 2]) { - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 8 | 0, HEAP32[$5 + 72 >> 2] + (HEAP32[$5 + 20 >> 2] << 3) | 0, $5 + 28 | 0); - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 36 | 0, $5 + 8 | 0), - HEAPF32[wasm2js_i32$0 + 16 >> 2] = wasm2js_f32$0; - if (HEAPF32[$5 + 16 >> 2] < HEAPF32[$5 + 24 >> 2]) { - HEAPF32[$5 + 24 >> 2] = HEAPF32[$5 + 16 >> 2]; - } - HEAP32[$5 + 20 >> 2] = HEAP32[$5 + 20 >> 2] + 1; - continue; - } - break; - } - if (HEAPF32[$5 + 24 >> 2] > HEAPF32[$5 + 48 >> 2]) { - HEAPF32[$5 + 48 >> 2] = HEAPF32[$5 + 24 >> 2]; - HEAP32[$5 + 52 >> 2] = HEAP32[$5 + 44 >> 2]; - } - HEAP32[$5 + 44 >> 2] = HEAP32[$5 + 44 >> 2] + 1; - continue; - } - break; - } - HEAP32[HEAP32[$5 + 108 >> 2] >> 2] = HEAP32[$5 + 52 >> 2]; - __stack_pointer = $5 + 112 | 0; - return HEAPF32[$5 + 48 >> 2]; -} - -function b2World__Step_28float_2c_20int_2c_20int_29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = Math_fround($1); - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $4 = __stack_pointer - 48 | 0; - __stack_pointer = $4; - HEAP32[$4 + 44 >> 2] = $0; - HEAPF32[$4 + 40 >> 2] = $1; - HEAP32[$4 + 36 >> 2] = $2; - HEAP32[$4 + 32 >> 2] = $3; - $0 = HEAP32[$4 + 44 >> 2]; - b2Timer__b2Timer_28_29($4 + 31 | 0); - if (HEAP8[$0 + 102988 | 0] & 1) { - b2ContactManager__FindNewContacts_28_29($0 + 102868 | 0); - HEAP8[$0 + 102988 | 0] = 0; - } - HEAP8[$0 + 102989 | 0] = 1; - HEAPF32[$4 + 4 >> 2] = HEAPF32[$4 + 40 >> 2]; - HEAP32[$4 + 16 >> 2] = HEAP32[$4 + 36 >> 2]; - HEAP32[$4 + 20 >> 2] = HEAP32[$4 + 32 >> 2]; - label$2: { - if (HEAPF32[$4 + 40 >> 2] > Math_fround(0)) { - HEAPF32[$4 + 8 >> 2] = Math_fround(1) / HEAPF32[$4 + 40 >> 2]; - break label$2; - } - HEAPF32[$4 + 8 >> 2] = 0; - } - HEAPF32[$4 + 12 >> 2] = HEAPF32[$0 + 102984 >> 2] * HEAPF32[$4 + 40 >> 2]; - HEAP8[$4 + 24 | 0] = HEAP8[$0 + 102991 | 0] & 1; - b2Timer__b2Timer_28_29($4 + 3 | 0); - b2ContactManager__Collide_28_29($0 + 102868 | 0); - wasm2js_i32$0 = $0, wasm2js_f32$0 = b2Timer__GetMilliseconds_28_29_20const($4 + 3 | 0), - HEAPF32[wasm2js_i32$0 + 103e3 >> 2] = wasm2js_f32$0; - if (!(!(HEAP8[$0 + 102994 | 0] & 1) | !(HEAPF32[$4 + 4 >> 2] > Math_fround(0)))) { - b2Timer__b2Timer_28_29($4 + 2 | 0); - b2World__Solve_28b2TimeStep_20const__29($0, $4 + 4 | 0); - wasm2js_i32$0 = $0, wasm2js_f32$0 = b2Timer__GetMilliseconds_28_29_20const($4 + 2 | 0), - HEAPF32[wasm2js_i32$0 + 103004 >> 2] = wasm2js_f32$0; - } - if (!(!(HEAP8[$0 + 102992 | 0] & 1) | !(HEAPF32[$4 + 4 >> 2] > Math_fround(0)))) { - b2Timer__b2Timer_28_29($4 + 1 | 0); - b2World__SolveTOI_28b2TimeStep_20const__29($0, $4 + 4 | 0); - wasm2js_i32$0 = $0, wasm2js_f32$0 = b2Timer__GetMilliseconds_28_29_20const($4 + 1 | 0), - HEAPF32[wasm2js_i32$0 + 103024 >> 2] = wasm2js_f32$0; - } - if (HEAPF32[$4 + 4 >> 2] > Math_fround(0)) { - HEAPF32[$0 + 102984 >> 2] = HEAPF32[$4 + 8 >> 2]; - } - if (HEAP8[$0 + 102990 | 0] & 1) { - b2World__ClearForces_28_29($0); - } - HEAP8[$0 + 102989 | 0] = 0; - wasm2js_i32$0 = $0, wasm2js_f32$0 = b2Timer__GetMilliseconds_28_29_20const($4 + 31 | 0), - HEAPF32[wasm2js_i32$0 + 102996 >> 2] = wasm2js_f32$0; - __stack_pointer = $4 + 48 | 0; -} - -function b2DistanceProxy__Set_28b2Shape_20const__2c_20int_29($0, $1, $2) { - var $3 = 0, $4 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $0; - HEAP32[$3 + 24 >> 2] = $1; - HEAP32[$3 + 20 >> 2] = $2; - $1 = HEAP32[$3 + 28 >> 2]; - label$1: { - label$2: { - switch (b2Shape__GetType_28_29_20const(HEAP32[$3 + 24 >> 2]) | 0) { - case 0: - HEAP32[$3 + 16 >> 2] = HEAP32[$3 + 24 >> 2]; - HEAP32[$1 + 16 >> 2] = HEAP32[$3 + 16 >> 2] + 12; - HEAP32[$1 + 20 >> 2] = 1; - HEAPF32[$1 + 24 >> 2] = HEAPF32[HEAP32[$3 + 16 >> 2] + 8 >> 2]; - break label$1; - - case 2: - HEAP32[$3 + 12 >> 2] = HEAP32[$3 + 24 >> 2]; - HEAP32[$1 + 16 >> 2] = HEAP32[$3 + 12 >> 2] + 20; - HEAP32[$1 + 20 >> 2] = HEAP32[HEAP32[$3 + 12 >> 2] + 148 >> 2]; - HEAPF32[$1 + 24 >> 2] = HEAPF32[HEAP32[$3 + 12 >> 2] + 8 >> 2]; - break label$1; - - case 3: - HEAP32[$3 + 8 >> 2] = HEAP32[$3 + 24 >> 2]; - if (!(HEAP32[$3 + 20 >> 2] < HEAP32[HEAP32[$3 + 8 >> 2] + 16 >> 2] & HEAP32[$3 + 20 >> 2] >= 0)) { - __assert_fail(2081, 6125, 57, 3219); - wasm2js_trap(); - } - $4 = HEAP32[HEAP32[$3 + 8 >> 2] + 12 >> 2] + (HEAP32[$3 + 20 >> 2] << 3) | 0; - $0 = HEAP32[$4 >> 2]; - $2 = HEAP32[$4 + 4 >> 2]; - HEAP32[$1 >> 2] = $0; - HEAP32[$1 + 4 >> 2] = $2; - label$9: { - if (HEAP32[HEAP32[$3 + 8 >> 2] + 16 >> 2] > (HEAP32[$3 + 20 >> 2] + 1 | 0)) { - $4 = HEAP32[HEAP32[$3 + 8 >> 2] + 12 >> 2] + (HEAP32[$3 + 20 >> 2] + 1 << 3) | 0; - $2 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - HEAP32[$1 + 8 >> 2] = $2; - HEAP32[$1 + 12 >> 2] = $0; - break label$9; - } - $4 = HEAP32[HEAP32[$3 + 8 >> 2] + 12 >> 2]; - $0 = HEAP32[$4 >> 2]; - $2 = HEAP32[$4 + 4 >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 + 12 >> 2] = $2; - } - HEAP32[$1 + 16 >> 2] = $1; - HEAP32[$1 + 20 >> 2] = 2; - HEAPF32[$1 + 24 >> 2] = HEAPF32[HEAP32[$3 + 8 >> 2] + 8 >> 2]; - break label$1; - - case 1: - HEAP32[$3 + 4 >> 2] = HEAP32[$3 + 24 >> 2]; - HEAP32[$1 + 16 >> 2] = HEAP32[$3 + 4 >> 2] + 12; - HEAP32[$1 + 20 >> 2] = 2; - HEAPF32[$1 + 24 >> 2] = HEAPF32[HEAP32[$3 + 4 >> 2] + 8 >> 2]; - break label$1; - - default: - break label$2; - } - } - __assert_fail(9386, 6125, 85, 3219); - wasm2js_trap(); - } - __stack_pointer = $3 + 32 | 0; -} - -function b2DynamicTree__AllocateNode_28_29($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if (HEAP32[$0 + 16 >> 2] == -1) { - if (HEAP32[$0 + 8 >> 2] != HEAP32[$0 + 12 >> 2]) { - __assert_fail(1359, 6056, 61, 10047); - wasm2js_trap(); - } - HEAP32[$1 + 8 >> 2] = HEAP32[$0 + 4 >> 2]; - HEAP32[$0 + 12 >> 2] = HEAP32[$0 + 12 >> 2] << 1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2Alloc_28int_29(Math_imul(HEAP32[$0 + 12 >> 2], 40)), - HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - __memcpy(HEAP32[$0 + 4 >> 2], HEAP32[$1 + 8 >> 2], Math_imul(HEAP32[$0 + 8 >> 2], 40)); - b2Free_28void__29(HEAP32[$1 + 8 >> 2]); - HEAP32[$1 + 4 >> 2] = HEAP32[$0 + 8 >> 2]; - while (1) { - if (HEAP32[$1 + 4 >> 2] < (HEAP32[$0 + 12 >> 2] - 1 | 0)) { - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$1 + 4 >> 2], 40) | 0) + 20 >> 2] = HEAP32[$1 + 4 >> 2] + 1; - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$1 + 4 >> 2], 40) | 0) + 32 >> 2] = -1; - HEAP32[$1 + 4 >> 2] = HEAP32[$1 + 4 >> 2] + 1; - continue; - } - break; - } - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$0 + 12 >> 2] - 1 | 0, 40) | 0) + 20 >> 2] = -1; - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$0 + 12 >> 2] - 1 | 0, 40) | 0) + 32 >> 2] = -1; - HEAP32[$0 + 16 >> 2] = HEAP32[$0 + 8 >> 2]; - } - HEAP32[$1 >> 2] = HEAP32[$0 + 16 >> 2]; - HEAP32[$0 + 16 >> 2] = HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$1 >> 2], 40) | 0) + 20 >> 2]; - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$1 >> 2], 40) | 0) + 20 >> 2] = -1; - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$1 >> 2], 40) | 0) + 24 >> 2] = -1; - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$1 >> 2], 40) | 0) + 28 >> 2] = -1; - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$1 >> 2], 40) | 0) + 32 >> 2] = 0; - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$1 >> 2], 40) | 0) + 16 >> 2] = 0; - HEAP8[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$1 >> 2], 40) | 0) + 36 | 0] = 0; - HEAP32[$0 + 8 >> 2] = HEAP32[$0 + 8 >> 2] + 1; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 >> 2]; -} - -function b2ChainShape__GetChildEdge_28b2EdgeShape__2c_20int_29_20const($0, $1, $2) { - var $3 = 0, $4 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $2 = HEAP32[$3 + 12 >> 2]; - if (!(HEAP32[$3 + 4 >> 2] < (HEAP32[$2 + 16 >> 2] - 1 | 0) & HEAP32[$3 + 4 >> 2] >= 0)) { - __assert_fail(12399, 5919, 123, 10029); - wasm2js_trap(); - } - HEAP32[HEAP32[$3 + 8 >> 2] + 4 >> 2] = 1; - HEAPF32[HEAP32[$3 + 8 >> 2] + 8 >> 2] = HEAPF32[$2 + 8 >> 2]; - $4 = HEAP32[$2 + 12 >> 2] + (HEAP32[$3 + 4 >> 2] << 3) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - $4 = $0; - $0 = HEAP32[$3 + 8 >> 2]; - HEAP32[$0 + 12 >> 2] = $4; - HEAP32[$0 + 16 >> 2] = $1; - $4 = HEAP32[$2 + 12 >> 2] + (HEAP32[$3 + 4 >> 2] + 1 << 3) | 0; - $1 = HEAP32[$4 >> 2]; - $0 = HEAP32[$4 + 4 >> 2]; - $4 = $1; - $1 = HEAP32[$3 + 8 >> 2]; - HEAP32[$1 + 20 >> 2] = $4; - HEAP32[$1 + 24 >> 2] = $0; - label$3: { - if (HEAP32[$3 + 4 >> 2] > 0) { - $4 = HEAP32[$2 + 12 >> 2] + (HEAP32[$3 + 4 >> 2] - 1 << 3) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - $4 = $0; - $0 = HEAP32[$3 + 8 >> 2]; - HEAP32[$0 + 28 >> 2] = $4; - HEAP32[$0 + 32 >> 2] = $1; - HEAP8[HEAP32[$3 + 8 >> 2] + 44 | 0] = 1; - break label$3; - } - $0 = HEAP32[$2 + 24 >> 2]; - $1 = HEAP32[$2 + 20 >> 2]; - $4 = $1; - $1 = HEAP32[$3 + 8 >> 2]; - HEAP32[$1 + 28 >> 2] = $4; - HEAP32[$1 + 32 >> 2] = $0; - HEAP8[HEAP32[$3 + 8 >> 2] + 44 | 0] = HEAP8[$2 + 36 | 0] & 1; - } - label$5: { - if (HEAP32[$3 + 4 >> 2] < (HEAP32[$2 + 16 >> 2] - 2 | 0)) { - $4 = HEAP32[$2 + 12 >> 2] + (HEAP32[$3 + 4 >> 2] + 2 << 3) | 0; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - $2 = $0; - $0 = HEAP32[$3 + 8 >> 2]; - HEAP32[$0 + 36 >> 2] = $2; - HEAP32[$0 + 40 >> 2] = $1; - HEAP8[HEAP32[$3 + 8 >> 2] + 45 | 0] = 1; - break label$5; - } - $0 = HEAP32[$2 + 32 >> 2]; - $1 = HEAP32[$2 + 28 >> 2]; - $4 = $1; - $1 = HEAP32[$3 + 8 >> 2]; - HEAP32[$1 + 36 >> 2] = $4; - HEAP32[$1 + 40 >> 2] = $0; - HEAP8[HEAP32[$3 + 8 >> 2] + 45 | 0] = HEAP8[$2 + 37 | 0] & 1; - } - __stack_pointer = $3 + 16 | 0; -} - -function b2MouseJoint__b2MouseJoint_28b2MouseJointDef_20const__29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - $1 = HEAP32[$2 + 24 >> 2]; - HEAP32[$2 + 28 >> 2] = $1; - b2Joint__b2Joint_28b2JointDef_20const__29($1, HEAP32[$2 + 20 >> 2]); - HEAP32[$1 >> 2] = 19288; - b2Vec2__b2Vec2_28_29($1 + 68 | 0); - b2Vec2__b2Vec2_28_29($1 + 76 | 0); - b2Vec2__b2Vec2_28_29($1 + 96 | 0); - b2Vec2__b2Vec2_28_29($1 + 120 | 0); - b2Vec2__b2Vec2_28_29($1 + 128 | 0); - b2Mat22__b2Mat22_28_29($1 + 144 | 0); - b2Vec2__b2Vec2_28_29($1 + 160 | 0); - if (!(b2Vec2__IsValid_28_29_20const(HEAP32[$2 + 20 >> 2] + 20 | 0) & 1)) { - __assert_fail(12764, 4650, 38, 2788); - wasm2js_trap(); - } - if (!(b2IsValid_28float_29(HEAPF32[HEAP32[$2 + 20 >> 2] + 28 >> 2]) & 1 & HEAPF32[HEAP32[$2 + 20 >> 2] + 28 >> 2] >= Math_fround(0))) { - __assert_fail(8666, 4650, 39, 2788); - wasm2js_trap(); - } - if (!(b2IsValid_28float_29(HEAPF32[HEAP32[$2 + 20 >> 2] + 32 >> 2]) & 1 & HEAPF32[HEAP32[$2 + 20 >> 2] + 32 >> 2] >= Math_fround(0))) { - __assert_fail(8299, 4650, 40, 2788); - wasm2js_trap(); - } - if (!(b2IsValid_28float_29(HEAPF32[HEAP32[$2 + 20 >> 2] + 36 >> 2]) & 1 & HEAPF32[HEAP32[$2 + 20 >> 2] + 36 >> 2] >= Math_fround(0))) { - __assert_fail(8420, 4650, 41, 2788); - wasm2js_trap(); - } - $0 = HEAP32[$2 + 20 >> 2]; - $3 = HEAP32[$0 + 20 >> 2]; - $0 = HEAP32[$0 + 24 >> 2]; - HEAP32[$1 + 76 >> 2] = $3; - HEAP32[$1 + 80 >> 2] = $0; - b2MulT_28b2Transform_20const__2c_20b2Vec2_20const__29($2 + 12 | 0, b2Body__GetTransform_28_29_20const(HEAP32[$1 + 52 >> 2]), $1 + 76 | 0); - $3 = HEAP32[$2 + 16 >> 2]; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$1 + 68 >> 2] = $0; - HEAP32[$1 + 72 >> 2] = $3; - HEAPF32[$1 + 104 >> 2] = HEAPF32[HEAP32[$2 + 20 >> 2] + 28 >> 2]; - b2Vec2__SetZero_28_29($1 + 96 | 0); - HEAPF32[$1 + 84 >> 2] = HEAPF32[HEAP32[$2 + 20 >> 2] + 32 >> 2]; - HEAPF32[$1 + 88 >> 2] = HEAPF32[HEAP32[$2 + 20 >> 2] + 36 >> 2]; - HEAPF32[$1 + 92 >> 2] = 0; - HEAPF32[$1 + 108 >> 2] = 0; - __stack_pointer = $2 + 32 | 0; - return HEAP32[$2 + 28 >> 2]; -} - -function std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____erase_28std____2____tree_const_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $1; - HEAP32[$2 + 20 >> 2] = $0; - $0 = HEAP32[$2 + 20 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_const_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long_____get_np_5babi_v160004_5d_28_29_20const($2 + 24 | 0), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______remove_node_pointer_28std____2____tree_node_b2Fixture__2c_20void____29($0, HEAP32[$2 + 16 >> 2]), - HEAP32[wasm2js_i32$0 + 28 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______node_alloc_5babi_v160004_5d_28_29($0), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - void_20std____2__allocator_traits_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______destroy_5babi_v160004_5d_b2Fixture__2c_20void_2c_20void__28std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____2c_20b2Fixture___29(HEAP32[$2 + 12 >> 2], std____2____tree_key_value_types_b2Fixture______get_ptr_5babi_v160004_5d_28b2Fixture___29(std____2____tree_const_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long___operator__5babi_v160004_5d_28_29_20const($2 + 24 | 0))); - std____2__allocator_traits_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______deallocate_5babi_v160004_5d_28std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20unsigned_20long_29(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 16 >> 2], 1); - __stack_pointer = $2 + 32 | 0; - return HEAP32[$2 + 28 >> 2]; -} - -function std____2__pair_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____20std____2____move_loop_std____2___ClassicAlgPolicy___operator_28_29_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____28std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___29_20const($0, $1, $2, $3, $4) { - var $5 = 0; - $5 = __stack_pointer - 16 | 0; - __stack_pointer = $5; - HEAP32[$5 + 12 >> 2] = $2; - HEAP32[$5 + 8 >> 2] = $3; - HEAP32[$5 + 4 >> 2] = $4; - HEAP32[$5 >> 2] = $1; - while (1) { - if (bool_20std____2__operator___5babi_v160004_5d_b2Vec2__2c_20b2Vec2___28std____2__reverse_iterator_b2Vec2___20const__2c_20std____2__reverse_iterator_b2Vec2___20const__29($5 + 12 | 0, $5 + 8 | 0) & 1) { - $1 = std____2__enable_if_is_reference_decltype_28_std__declval_std____2__reverse_iterator_b2Vec2_____28_29_29___value_2c_20decltype_28std__move_28_std__declval_std____2__reverse_iterator_b2Vec2_____28_29_29_29___type_20std____2___IterOps_std____2___ClassicAlgPolicy_____iter_move_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2_____28std____2__reverse_iterator_b2Vec2____29($5 + 12 | 0); - $2 = std____2__reverse_iterator_b2Vec2____operator__5babi_v160004_5d_28_29_20const($5 + 4 | 0); - $3 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$2 + 4 >> 2] = $3; - std____2__reverse_iterator_b2Vec2____operator___5babi_v160004_5d_28_29($5 + 12 | 0); - std____2__reverse_iterator_b2Vec2____operator___5babi_v160004_5d_28_29($5 + 4 | 0); - continue; - } - break; - } - std____2__pair_std____2____unwrap_ref_decay_std____2__reverse_iterator_b2Vec2_____type_2c_20std____2____unwrap_ref_decay_std____2__reverse_iterator_b2Vec2_____type__20std____2__make_pair_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____28std____2__reverse_iterator_b2Vec2_____2c_20std____2__reverse_iterator_b2Vec2_____29($0, $5 + 12 | 0, $5 + 4 | 0); - __stack_pointer = $5 + 16 | 0; -} - -function unsigned_20long_20std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______erase_unique_b2Fixture___28b2Fixture__20const__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - $0 = HEAP32[$2 + 24 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____find_b2Fixture___28b2Fixture__20const__29($0, HEAP32[$2 + 20 >> 2]), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____end_5babi_v160004_5d_28_29($0), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - label$1: { - if (std____2__operator___5babi_v160004_5d_28std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20const__2c_20std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20const__29($2 + 16 | 0, $2 + 12 | 0) & 1) { - HEAP32[$2 + 28 >> 2] = 0; - break label$1; - } - HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 16 >> 2]; - std____2____tree_const_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long_____tree_const_iterator_5babi_v160004_5d_28std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__29($2 + 8 | 0, HEAP32[$2 + 4 >> 2]); - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____erase_28std____2____tree_const_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__29($0, HEAP32[$2 + 8 >> 2]), - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - HEAP32[$2 + 28 >> 2] = 1; - } - __stack_pointer = $2 + 32 | 0; - return HEAP32[$2 + 28 >> 2]; -} - -function void_20b2BroadPhase__UpdatePairs_b2ContactManager__28b2ContactManager__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 48 | 0; - __stack_pointer = $2; - HEAP32[$2 + 44 >> 2] = $0; - HEAP32[$2 + 40 >> 2] = $1; - $0 = HEAP32[$2 + 44 >> 2]; - HEAP32[$0 + 52 >> 2] = 0; - HEAP32[$2 + 36 >> 2] = 0; - while (1) { - if (HEAP32[$2 + 36 >> 2] < HEAP32[$0 + 40 >> 2]) { - HEAP32[$0 + 56 >> 2] = HEAP32[HEAP32[$0 + 32 >> 2] + (HEAP32[$2 + 36 >> 2] << 2) >> 2]; - if (HEAP32[$0 + 56 >> 2] != -1) { - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2DynamicTree__GetFatAABB_28int_29_20const($0, HEAP32[$0 + 56 >> 2]), - HEAP32[wasm2js_i32$0 + 32 >> 2] = wasm2js_i32$1; - void_20b2DynamicTree__Query_b2BroadPhase__28b2BroadPhase__2c_20b2AABB_20const__29_20const($0, $0, HEAP32[$2 + 32 >> 2]); - } - HEAP32[$2 + 36 >> 2] = HEAP32[$2 + 36 >> 2] + 1; - continue; - } - break; - } - HEAP32[$2 + 28 >> 2] = 0; - while (1) { - if (HEAP32[$2 + 28 >> 2] < HEAP32[$0 + 52 >> 2]) { - HEAP32[$2 + 24 >> 2] = HEAP32[$0 + 44 >> 2] + (HEAP32[$2 + 28 >> 2] << 3); - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2DynamicTree__GetUserData_28int_29_20const($0, HEAP32[HEAP32[$2 + 24 >> 2] >> 2]), - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2DynamicTree__GetUserData_28int_29_20const($0, HEAP32[HEAP32[$2 + 24 >> 2] + 4 >> 2]), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - b2ContactManager__AddPair_28void__2c_20void__29(HEAP32[$2 + 40 >> 2], HEAP32[$2 + 20 >> 2], HEAP32[$2 + 16 >> 2]); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 28 >> 2] + 1; - continue; - } - break; - } - HEAP32[$2 + 12 >> 2] = 0; - while (1) { - if (HEAP32[$2 + 12 >> 2] < HEAP32[$0 + 40 >> 2]) { - HEAP32[$2 + 8 >> 2] = HEAP32[HEAP32[$0 + 32 >> 2] + (HEAP32[$2 + 12 >> 2] << 2) >> 2]; - if (HEAP32[$2 + 8 >> 2] != -1) { - b2DynamicTree__ClearMoved_28int_29($0, HEAP32[$2 + 8 >> 2]); - } - HEAP32[$2 + 12 >> 2] = HEAP32[$2 + 12 >> 2] + 1; - continue; - } - break; - } - HEAP32[$0 + 40 >> 2] = 0; - __stack_pointer = $2 + 48 | 0; -} - -function b2PrismaticJoint__b2PrismaticJoint_28b2PrismaticJointDef_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Joint__b2Joint_28b2JointDef_20const__29($1, HEAP32[$2 + 8 >> 2]); - HEAP32[$1 >> 2] = 19480; - b2Vec2__b2Vec2_28_29($1 + 68 | 0); - b2Vec2__b2Vec2_28_29($1 + 76 | 0); - b2Vec2__b2Vec2_28_29($1 + 84 | 0); - b2Vec2__b2Vec2_28_29($1 + 92 | 0); - b2Vec3__b2Vec3_28_29($1 + 104 | 0); - b2Vec2__b2Vec2_28_29($1 + 152 | 0); - b2Vec2__b2Vec2_28_29($1 + 160 | 0); - b2Vec2__b2Vec2_28_29($1 + 184 | 0); - b2Vec2__b2Vec2_28_29($1 + 192 | 0); - b2Mat33__b2Mat33_28_29($1 + 216 | 0); - $3 = HEAP32[$2 + 8 >> 2]; - $4 = HEAP32[$3 + 20 >> 2]; - $0 = HEAP32[$3 + 24 >> 2]; - HEAP32[$1 + 68 >> 2] = $4; - HEAP32[$1 + 72 >> 2] = $0; - $3 = HEAP32[$2 + 8 >> 2]; - $0 = HEAP32[$3 + 28 >> 2]; - $4 = HEAP32[$3 + 32 >> 2]; - HEAP32[$1 + 76 >> 2] = $0; - HEAP32[$1 + 80 >> 2] = $4; - $3 = HEAP32[$2 + 8 >> 2]; - $4 = HEAP32[$3 + 36 >> 2]; - $0 = HEAP32[$3 + 40 >> 2]; - HEAP32[$1 + 84 >> 2] = $4; - HEAP32[$1 + 88 >> 2] = $0; - b2Vec2__Normalize_28_29($1 + 84 | 0); - b2Cross_28float_2c_20b2Vec2_20const__29($2, Math_fround(1), $1 + 84 | 0); - $4 = HEAP32[$2 + 4 >> 2]; - $0 = HEAP32[$2 >> 2]; - HEAP32[$1 + 92 >> 2] = $0; - HEAP32[$1 + 96 >> 2] = $4; - HEAPF32[$1 + 100 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 44 >> 2]; - b2Vec3__SetZero_28_29($1 + 104 | 0); - HEAPF32[$1 + 252 >> 2] = 0; - HEAPF32[$1 + 116 >> 2] = 0; - HEAPF32[$1 + 120 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 52 >> 2]; - HEAPF32[$1 + 124 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 56 >> 2]; - HEAPF32[$1 + 128 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 64 >> 2]; - HEAPF32[$1 + 132 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 68 >> 2]; - HEAP8[$1 + 136 | 0] = HEAP8[HEAP32[$2 + 8 >> 2] + 48 | 0] & 1; - HEAP8[$1 + 137 | 0] = HEAP8[HEAP32[$2 + 8 >> 2] + 60 | 0] & 1; - HEAP32[$1 + 140 >> 2] = 0; - b2Vec2__SetZero_28_29($1 + 184 | 0); - b2Vec2__SetZero_28_29($1 + 192 | 0); - __stack_pointer = $2 + 16 | 0; - return $1; -} - -function b2Body__SetType_28b2BodyType_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - $0 = HEAP32[$2 + 28 >> 2]; - if (b2World__IsLocked_28_29_20const(HEAP32[$0 + 88 >> 2]) & 1) { - __assert_fail(9363, 4319, 117, 9500); - wasm2js_trap(); - } - label$2: { - if (b2World__IsLocked_28_29_20const(HEAP32[$0 + 88 >> 2]) & 1 | HEAP32[$0 >> 2] == HEAP32[$2 + 24 >> 2]) { - break label$2; - } - HEAP32[$0 >> 2] = HEAP32[$2 + 24 >> 2]; - b2Body__ResetMassData_28_29($0); - if (!HEAP32[$0 >> 2]) { - b2Vec2__SetZero_28_29($0 - -64 | 0); - HEAPF32[$0 + 72 >> 2] = 0; - HEAPF32[$0 + 52 >> 2] = HEAPF32[$0 + 56 >> 2]; - $1 = HEAP32[$0 + 48 >> 2]; - HEAP32[$0 + 36 >> 2] = HEAP32[$0 + 44 >> 2]; - HEAP32[$0 + 40 >> 2] = $1; - b2Body__SynchronizeFixtures_28_29($0); - } - b2Body__SetAwake_28bool_29($0, 1); - b2Vec2__SetZero_28_29($0 + 76 | 0); - HEAPF32[$0 + 84 >> 2] = 0; - HEAP32[$2 + 20 >> 2] = HEAP32[$0 + 112 >> 2]; - while (1) { - if (HEAP32[$2 + 20 >> 2]) { - HEAP32[$2 + 16 >> 2] = HEAP32[$2 + 20 >> 2]; - HEAP32[$2 + 20 >> 2] = HEAP32[HEAP32[$2 + 20 >> 2] + 12 >> 2]; - b2ContactManager__Destroy_28b2Contact__29(HEAP32[$0 + 88 >> 2] + 102868 | 0, HEAP32[HEAP32[$2 + 16 >> 2] + 4 >> 2]); - continue; - } - break; - } - HEAP32[$0 + 112 >> 2] = 0; - HEAP32[$2 + 12 >> 2] = HEAP32[$0 + 88 >> 2] + 102868; - HEAP32[$2 + 8 >> 2] = HEAP32[$0 + 100 >> 2]; - while (1) { - if (!HEAP32[$2 + 8 >> 2]) { - break label$2; - } - HEAP32[$2 + 4 >> 2] = HEAP32[HEAP32[$2 + 8 >> 2] + 28 >> 2]; - HEAP32[$2 >> 2] = 0; - while (1) { - if (HEAP32[$2 >> 2] < HEAP32[$2 + 4 >> 2]) { - b2BroadPhase__TouchProxy_28int_29(HEAP32[$2 + 12 >> 2], HEAP32[(HEAP32[HEAP32[$2 + 8 >> 2] + 24 >> 2] + Math_imul(HEAP32[$2 >> 2], 28) | 0) + 24 >> 2]); - HEAP32[$2 >> 2] = HEAP32[$2 >> 2] + 1; - continue; - } - break; - } - HEAP32[$2 + 8 >> 2] = HEAP32[HEAP32[$2 + 8 >> 2] + 4 >> 2]; - continue; - } - } - __stack_pointer = $2 + 32 | 0; -} - -function b2PrismaticJoint__Dump_28_29($0) { - $0 = $0 | 0; - var $1 = 0, $2 = Math_fround(0); - $1 = __stack_pointer - 224 | 0; - __stack_pointer = $1; - HEAP32[$1 + 220 >> 2] = $0; - $0 = HEAP32[$1 + 220 >> 2]; - HEAP32[$1 + 216 >> 2] = HEAP32[HEAP32[$0 + 48 >> 2] + 8 >> 2]; - HEAP32[$1 + 212 >> 2] = HEAP32[HEAP32[$0 + 52 >> 2] + 8 >> 2]; - b2Log_28char_20const__2c_20____29(14041, 0); - HEAP32[$1 + 176 >> 2] = HEAP32[$1 + 216 >> 2]; - b2Log_28char_20const__2c_20____29(14207, $1 + 176 | 0); - HEAP32[$1 + 160 >> 2] = HEAP32[$1 + 212 >> 2]; - b2Log_28char_20const__2c_20____29(14181, $1 + 160 | 0); - HEAP32[$1 + 144 >> 2] = HEAP8[$0 + 61 | 0] & 1; - b2Log_28char_20const__2c_20____29(15397, $1 + 144 | 0); - $2 = HEAPF32[$0 + 68 >> 2]; - HEAPF64[$1 + 136 >> 3] = HEAPF32[$0 + 72 >> 2]; - HEAPF64[$1 + 128 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14708, $1 + 128 | 0); - $2 = HEAPF32[$0 + 76 >> 2]; - HEAPF64[$1 + 120 >> 3] = HEAPF32[$0 + 80 >> 2]; - HEAPF64[$1 + 112 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14583, $1 + 112 | 0); - $2 = HEAPF32[$0 + 84 >> 2]; - HEAPF64[$1 + 104 >> 3] = HEAPF32[$0 + 88 >> 2]; - HEAPF64[$1 + 96 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14668, $1 + 96 | 0); - HEAPF64[$1 + 80 >> 3] = HEAPF32[$0 + 100 >> 2]; - b2Log_28char_20const__2c_20____29(13504, $1 + 80 | 0); - HEAP32[$1 + 64 >> 2] = HEAP8[$0 + 136 | 0] & 1; - b2Log_28char_20const__2c_20____29(15198, $1 - -64 | 0); - HEAPF64[$1 + 48 >> 3] = HEAPF32[$0 + 120 >> 2]; - b2Log_28char_20const__2c_20____29(13184, $1 + 48 | 0); - HEAPF64[$1 + 32 >> 3] = HEAPF32[$0 + 124 >> 2]; - b2Log_28char_20const__2c_20____29(13218, $1 + 32 | 0); - HEAP32[$1 + 16 >> 2] = HEAP8[$0 + 137 | 0] & 1; - b2Log_28char_20const__2c_20____29(15253, $1 + 16 | 0); - HEAPF64[$1 >> 3] = HEAPF32[$0 + 132 >> 2]; - b2Log_28char_20const__2c_20____29(13623, $1); - HEAPF64[$1 + 192 >> 3] = HEAPF32[$0 + 128 >> 2]; - b2Log_28char_20const__2c_20____29(13592, $1 + 192 | 0); - HEAP32[$1 + 208 >> 2] = HEAP32[$0 + 56 >> 2]; - b2Log_28char_20const__2c_20____29(14998, $1 + 208 | 0); - __stack_pointer = $1 + 224 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_float_20_28b2RayCastCallback____29_28unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float_29___invoke_b2RayCastCallback_2c_20emscripten__pure_virtual_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20float_20_28b2RayCastCallback____29_28unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 485; - $0 = emscripten__internal__TypeID_b2RayCastCallback_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__pure_virtual_2c_20emscripten__allow_raw_pointers___ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RayCastCallback__2c_20unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__pure_virtual_2c_20emscripten__allow_raw_pointers___ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RayCastCallback__2c_20unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int_2c_20int_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$2 + 12 >> 2], float_20_28b2RayCastCallback____emscripten__internal__getContext_float_20_28b2RayCastCallback____29_28unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float_29__28float_20_28b2RayCastCallback____20const__29_28unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float_29_29_29_28unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float_29($2 + 16 | 0) | 0, 1, 0); - __stack_pointer = $2 + 32 | 0; -} - -function embind_init_builtin_28_29() { - _embind_register_void(24548, 10325); - _embind_register_bool(24572, 7133, 1, 1, 0); - _embind_register_integer(24584, 4296, 1, -128, 127); - _embind_register_integer(24608, 4289, 1, -128, 127); - _embind_register_integer(24596, 4287, 1, 0, 255); - _embind_register_integer(24620, 2071, 2, -32768, 32767); - _embind_register_integer(24632, 2062, 2, 0, 65535); - _embind_register_integer(24644, 2983, 4, -2147483648, 2147483647); - _embind_register_integer(24656, 2974, 4, 0, -1); - _embind_register_integer(24668, 7807, 4, -2147483648, 2147483647); - _embind_register_integer(24680, 7798, 4, 0, -1); - legalfunc$_embind_register_bigint(24692, 3449, 8, 0, -2147483648, -1, 2147483647); - legalfunc$_embind_register_bigint(24704, 3448, 8, 0, 0, -1, -1); - _embind_register_float(24716, 3442, 4); - _embind_register_float(24728, 9884, 8); - _embind_register_std_string(26100, 7838); - _embind_register_std_string(20072, 12052); - _embind_register_std_wstring(20144, 4, 7812); - _embind_register_std_wstring(20220, 2, 7850); - _embind_register_std_wstring(20296, 4, 7865); - _embind_register_emval(25668, 7155); - _embind_register_memory_view(20336, 0, 11983); - _embind_register_memory_view(20376, 0, 12085); - _embind_register_memory_view(20416, 1, 12013); - _embind_register_memory_view(20456, 2, 11548); - _embind_register_memory_view(20496, 3, 11579); - _embind_register_memory_view(20536, 4, 11619); - _embind_register_memory_view(20576, 5, 11648); - _embind_register_memory_view(20616, 4, 12122); - _embind_register_memory_view(20656, 5, 12152); - _embind_register_memory_view(20376, 0, 11750); - _embind_register_memory_view(20416, 1, 11717); - _embind_register_memory_view(20456, 2, 11816); - _embind_register_memory_view(20496, 3, 11782); - _embind_register_memory_view(20536, 4, 11950); - _embind_register_memory_view(20576, 5, 11916); - _embind_register_memory_view(20696, 8, 11883); - _embind_register_memory_view(20736, 9, 11849); - _embind_register_memory_view(20776, 6, 11686); - _embind_register_memory_view(20816, 7, 12191); -} - -function std____2__pair_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____20std____2____move_loop_std____2___ClassicAlgPolicy___operator_28_29_5babi_v160004_5d_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____28std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___29_20const($0, $1, $2, $3, $4) { - var $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $5 = __stack_pointer - 16 | 0; - __stack_pointer = $5; - HEAP32[$5 + 12 >> 2] = $2; - HEAP32[$5 + 8 >> 2] = $3; - HEAP32[$5 + 4 >> 2] = $4; - HEAP32[$5 >> 2] = $1; - while (1) { - if (bool_20std____2__operator___5babi_v160004_5d_int__2c_20int___28std____2__reverse_iterator_int___20const__2c_20std____2__reverse_iterator_int___20const__29($5 + 12 | 0, $5 + 8 | 0) & 1) { - $1 = HEAP32[std____2__enable_if_is_reference_decltype_28_std__declval_std____2__reverse_iterator_int_____28_29_29___value_2c_20decltype_28std__move_28_std__declval_std____2__reverse_iterator_int_____28_29_29_29___type_20std____2___IterOps_std____2___ClassicAlgPolicy_____iter_move_5babi_v160004_5d_std____2__reverse_iterator_int_____28std____2__reverse_iterator_int____29($5 + 12 | 0) >> 2]; - wasm2js_i32$0 = std____2__reverse_iterator_int____operator__5babi_v160004_5d_28_29_20const($5 + 4 | 0), - wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - std____2__reverse_iterator_int____operator___5babi_v160004_5d_28_29($5 + 12 | 0); - std____2__reverse_iterator_int____operator___5babi_v160004_5d_28_29($5 + 4 | 0); - continue; - } - break; - } - std____2__pair_std____2____unwrap_ref_decay_std____2__reverse_iterator_int_____type_2c_20std____2____unwrap_ref_decay_std____2__reverse_iterator_int_____type__20std____2__make_pair_5babi_v160004_5d_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____28std____2__reverse_iterator_int_____2c_20std____2__reverse_iterator_int_____29($0, $5 + 12 | 0, $5 + 4 | 0); - __stack_pointer = $5 + 16 | 0; -} - -function __cxxabiv1____vmi_class_type_info__search_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_2c_20bool_29_20const($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0; - if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 + 8 >> 2], $5)) { - __cxxabiv1____class_type_info__process_static_type_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_29_20const($1, $1, $2, $3, $4); - return; - } - $6 = HEAPU8[$1 + 53 | 0]; - $8 = HEAP32[$0 + 12 >> 2]; - HEAP8[$1 + 53 | 0] = 0; - $7 = HEAPU8[$1 + 52 | 0]; - HEAP8[$1 + 52 | 0] = 0; - $12 = $0 + 16 | 0; - __cxxabiv1____base_class_type_info__search_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_2c_20bool_29_20const($12, $1, $2, $3, $4, $5); - $9 = HEAPU8[$1 + 53 | 0]; - $11 = $9 | $6; - $10 = HEAPU8[$1 + 52 | 0]; - $7 = $10 | $7; - $6 = $0 + 24 | 0; - $8 = ($8 << 3) + $12 | 0; - label$2: { - if ($6 >>> 0 >= $8 >>> 0) { - break label$2; - } - while (1) { - if (HEAPU8[$1 + 54 | 0]) { - break label$2; - } - label$4: { - if ($10) { - if (HEAP32[$1 + 24 >> 2] == 1) { - break label$2; - } - if (HEAPU8[$0 + 8 | 0] & 2) { - break label$4; - } - break label$2; - } - if (!$9) { - break label$4; - } - if (!(HEAP8[$0 + 8 | 0] & 1)) { - break label$2; - } - } - HEAP16[$1 + 52 >> 1] = 0; - __cxxabiv1____base_class_type_info__search_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_2c_20bool_29_20const($6, $1, $2, $3, $4, $5); - $9 = HEAPU8[$1 + 53 | 0]; - $11 = $9 | $11; - $10 = HEAPU8[$1 + 52 | 0]; - $7 = $10 | $7; - $6 = $6 + 8 | 0; - if ($8 >>> 0 > $6 >>> 0) { - continue; - } - break; - } - } - HEAP8[$1 + 53 | 0] = ($11 & 255) != 0; - HEAP8[$1 + 52 | 0] = ($7 & 255) != 0; -} - -function b2Simplex__Solve2_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 48 | 0; - __stack_pointer = $2; - HEAP32[$2 + 44 >> 2] = $0; - $1 = HEAP32[$2 + 44 >> 2]; - $3 = HEAP32[$1 + 16 >> 2]; - $0 = HEAP32[$1 + 20 >> 2]; - HEAP32[$2 + 32 >> 2] = $3; - HEAP32[$2 + 36 >> 2] = $0; - $3 = HEAP32[$1 + 56 >> 2]; - $0 = HEAP32[$1 + 52 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 28 >> 2] = $3; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 16 | 0, $2 + 24 | 0, $2 + 32 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(-b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 32 | 0, $2 + 16 | 0)), - HEAPF32[wasm2js_i32$0 + 12 >> 2] = wasm2js_f32$0; - label$1: { - if (HEAPF32[$2 + 12 >> 2] <= Math_fround(0)) { - HEAPF32[$1 + 24 >> 2] = 1; - HEAP32[$1 + 108 >> 2] = 1; - break label$1; - } - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 24 | 0, $2 + 16 | 0), - HEAPF32[wasm2js_i32$0 + 8 >> 2] = wasm2js_f32$0; - if (HEAPF32[$2 + 8 >> 2] <= Math_fround(0)) { - HEAPF32[$1 + 60 >> 2] = 1; - HEAP32[$1 + 108 >> 2] = 1; - $0 = HEAP32[$1 + 40 >> 2]; - $3 = HEAP32[$1 + 36 >> 2]; - HEAP32[$1 >> 2] = $3; - HEAP32[$1 + 4 >> 2] = $0; - HEAP32[$1 + 32 >> 2] = HEAP32[$1 + 68 >> 2]; - $3 = HEAP32[$1 + 64 >> 2]; - $0 = HEAP32[$1 + 60 >> 2]; - HEAP32[$1 + 24 >> 2] = $0; - HEAP32[$1 + 28 >> 2] = $3; - $0 = HEAP32[$1 + 56 >> 2]; - $3 = HEAP32[$1 + 52 >> 2]; - HEAP32[$1 + 16 >> 2] = $3; - HEAP32[$1 + 20 >> 2] = $0; - $3 = HEAP32[$1 + 48 >> 2]; - $0 = HEAP32[$1 + 44 >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 + 12 >> 2] = $3; - break label$1; - } - HEAPF32[$2 + 4 >> 2] = Math_fround(1) / Math_fround(HEAPF32[$2 + 8 >> 2] + HEAPF32[$2 + 12 >> 2]); - HEAPF32[$1 + 24 >> 2] = HEAPF32[$2 + 8 >> 2] * HEAPF32[$2 + 4 >> 2]; - HEAPF32[$1 + 60 >> 2] = HEAPF32[$2 + 12 >> 2] * HEAPF32[$2 + 4 >> 2]; - HEAP32[$1 + 108 >> 2] = 2; - } - __stack_pointer = $2 + 48 | 0; -} - -function emscripten__internal__WireTypePack_unsigned_20int__2c_20int__2c_20b2Color_20const____WireTypePack_28unsigned_20int__2c_20int__2c_20b2Color_20const__29($0, $1, $2, $3) { - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $4 = __stack_pointer + -64 | 0; - __stack_pointer = $4; - HEAP32[$4 + 24 >> 2] = $0; - HEAP32[$4 + 20 >> 2] = $1; - HEAP32[$4 + 16 >> 2] = $2; - HEAP32[$4 + 12 >> 2] = $3; - $0 = HEAP32[$4 + 24 >> 2]; - wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2__array_emscripten__internal__GenericWireType_2c_203ul___data_5babi_v160004_5d_28_29($0), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - $1 = HEAP32[$4 + 20 >> 2]; - $2 = HEAP32[$4 + 16 >> 2]; - $3 = HEAP32[$4 + 12 >> 2]; - HEAP32[$4 + 40 >> 2] = $4 + 8; - HEAP32[$4 + 36 >> 2] = $1; - HEAP32[$4 + 32 >> 2] = $2; - HEAP32[$4 + 28 >> 2] = $3; - void_20emscripten__internal__writeGenericWireType_unsigned_20int__28emscripten__internal__GenericWireType___2c_20unsigned_20int_29(HEAP32[$4 + 40 >> 2], emscripten__internal__BindingType_unsigned_20int_2c_20void___toWireType_28unsigned_20int_20const__29(HEAP32[$4 + 36 >> 2])); - $1 = HEAP32[$4 + 32 >> 2]; - $2 = HEAP32[$4 + 28 >> 2]; - HEAP32[$4 + 52 >> 2] = HEAP32[$4 + 40 >> 2]; - HEAP32[$4 + 48 >> 2] = $1; - HEAP32[$4 + 44 >> 2] = $2; - void_20emscripten__internal__writeGenericWireType_int__28emscripten__internal__GenericWireType___2c_20int_29(HEAP32[$4 + 52 >> 2], emscripten__internal__BindingType_int_2c_20void___toWireType_28int_20const__29(HEAP32[$4 + 48 >> 2])); - $1 = HEAP32[$4 + 44 >> 2]; - HEAP32[$4 + 60 >> 2] = HEAP32[$4 + 52 >> 2]; - HEAP32[$4 + 56 >> 2] = $1; - void_20emscripten__internal__writeGenericWireType_b2Color__28emscripten__internal__GenericWireType___2c_20b2Color__29(HEAP32[$4 + 60 >> 2], emscripten__internal__GenericBindingType_b2Color___toWireType_28b2Color_20const__29(HEAP32[$4 + 56 >> 2])); - emscripten__internal__writeGenericWireTypes_28emscripten__internal__GenericWireType___29(HEAP32[$4 + 60 >> 2]); - __stack_pointer = $4 - -64 | 0; - return $0; -} - -function emscripten__internal__WireTypePack_b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const____WireTypePack_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29($0, $1, $2, $3) { - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $4 = __stack_pointer + -64 | 0; - __stack_pointer = $4; - HEAP32[$4 + 24 >> 2] = $0; - HEAP32[$4 + 20 >> 2] = $1; - HEAP32[$4 + 16 >> 2] = $2; - HEAP32[$4 + 12 >> 2] = $3; - $0 = HEAP32[$4 + 24 >> 2]; - wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2__array_emscripten__internal__GenericWireType_2c_203ul___data_5babi_v160004_5d_28_29($0), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - $1 = HEAP32[$4 + 20 >> 2]; - $2 = HEAP32[$4 + 16 >> 2]; - $3 = HEAP32[$4 + 12 >> 2]; - HEAP32[$4 + 40 >> 2] = $4 + 8; - HEAP32[$4 + 36 >> 2] = $1; - HEAP32[$4 + 32 >> 2] = $2; - HEAP32[$4 + 28 >> 2] = $3; - void_20emscripten__internal__writeGenericWireType_b2Vec2__28emscripten__internal__GenericWireType___2c_20b2Vec2__29(HEAP32[$4 + 40 >> 2], emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(HEAP32[$4 + 36 >> 2])); - $1 = HEAP32[$4 + 32 >> 2]; - $2 = HEAP32[$4 + 28 >> 2]; - HEAP32[$4 + 52 >> 2] = HEAP32[$4 + 40 >> 2]; - HEAP32[$4 + 48 >> 2] = $1; - HEAP32[$4 + 44 >> 2] = $2; - void_20emscripten__internal__writeGenericWireType_b2Vec2__28emscripten__internal__GenericWireType___2c_20b2Vec2__29(HEAP32[$4 + 52 >> 2], emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(HEAP32[$4 + 48 >> 2])); - $1 = HEAP32[$4 + 44 >> 2]; - HEAP32[$4 + 60 >> 2] = HEAP32[$4 + 52 >> 2]; - HEAP32[$4 + 56 >> 2] = $1; - void_20emscripten__internal__writeGenericWireType_b2Color__28emscripten__internal__GenericWireType___2c_20b2Color__29(HEAP32[$4 + 60 >> 2], emscripten__internal__GenericBindingType_b2Color___toWireType_28b2Color_20const__29(HEAP32[$4 + 56 >> 2])); - emscripten__internal__writeGenericWireTypes_28emscripten__internal__GenericWireType___29(HEAP32[$4 + 60 >> 2]); - __stack_pointer = $4 - -64 | 0; - return $0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28unsigned_20long_2c_20b2Vec2_20const__29___invoke_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28char_20const__2c_20void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28unsigned_20long_2c_20b2Vec2_20const__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 657; - $0 = emscripten__internal__TypeID_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______emscripten__internal__getContext_void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28unsigned_20long_2c_20b2Vec2_20const__29__28void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______20const__29_28unsigned_20long_2c_20b2Vec2_20const__29_29_29_28unsigned_20long_2c_20b2Vec2_20const__29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______append_28unsigned_20long_2c_20b2Vec2_20const__29($0, $1, $2) { - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 48 | 0; - __stack_pointer = $3; - HEAP32[$3 + 44 >> 2] = $0; - HEAP32[$3 + 40 >> 2] = $1; - HEAP32[$3 + 36 >> 2] = $2; - $0 = HEAP32[$3 + 44 >> 2]; - label$1: { - if (HEAP32[std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______end_cap_5babi_v160004_5d_28_29($0) >> 2] - HEAP32[$0 + 4 >> 2] >> 3 >>> 0 >= HEAPU32[$3 + 40 >> 2]) { - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______construct_at_end_28unsigned_20long_2c_20b2Vec2_20const__29($0, HEAP32[$3 + 40 >> 2], HEAP32[$3 + 36 >> 2]); - break label$1; - } - wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______alloc_5babi_v160004_5d_28_29($0), - HEAP32[wasm2js_i32$0 + 32 >> 2] = wasm2js_i32$1; - std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_b2Vec2___29($3 + 12 | 0, std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______recommend_5babi_v160004_5d_28unsigned_20long_29_20const($0, std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____size_5babi_v160004_5d_28_29_20const($0) + HEAP32[$3 + 40 >> 2] | 0), std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____size_5babi_v160004_5d_28_29_20const($0), HEAP32[$3 + 32 >> 2]); - std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_______construct_at_end_28unsigned_20long_2c_20b2Vec2_20const__29($3 + 12 | 0, HEAP32[$3 + 40 >> 2], HEAP32[$3 + 36 >> 2]); - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______swap_out_circular_buffer_28std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_____29($0, $3 + 12 | 0); - std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2________split_buffer_28_29($3 + 12 | 0); - } - __stack_pointer = $3 + 48 | 0; -} - -function std____2__pair_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____20std____2____unwrap_range_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____28std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___29($0, $1, $2) { - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $1; - HEAP32[$3 + 24 >> 2] = $2; - HEAP32[$3 + 16 >> 2] = HEAP32[$3 + 28 >> 2]; - wasm2js_i32$0 = $3, wasm2js_i32$1 = decltype_28std____2____unwrap_iter_impl_std____2__reverse_iterator_b2Vec2___2c_20false_____unwrap_28std__declval_std____2__reverse_iterator_b2Vec2____28_29_29_29_20std____2____unwrap_iter_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2___2c_20std____2____unwrap_iter_impl_std____2__reverse_iterator_b2Vec2___2c_20false__2c_200__28std____2__reverse_iterator_b2Vec2___29(HEAP32[$3 + 16 >> 2]), - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - HEAP32[$3 + 8 >> 2] = HEAP32[$3 + 24 >> 2]; - wasm2js_i32$0 = $3, wasm2js_i32$1 = decltype_28std____2____unwrap_iter_impl_std____2__reverse_iterator_b2Vec2___2c_20false_____unwrap_28std__declval_std____2__reverse_iterator_b2Vec2____28_29_29_29_20std____2____unwrap_iter_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2___2c_20std____2____unwrap_iter_impl_std____2__reverse_iterator_b2Vec2___2c_20false__2c_200__28std____2__reverse_iterator_b2Vec2___29(HEAP32[$3 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - std____2__pair_std____2____unwrap_ref_decay_std____2__reverse_iterator_b2Vec2_____type_2c_20std____2____unwrap_ref_decay_std____2__reverse_iterator_b2Vec2_____type__20std____2__make_pair_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____28std____2__reverse_iterator_b2Vec2_____2c_20std____2__reverse_iterator_b2Vec2_____29($0, $3 + 20 | 0, $3 + 12 | 0); - __stack_pointer = $3 + 32 | 0; -} - -function b2Fixture__Destroy_28b2BlockAllocator__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - $0 = HEAP32[$2 + 28 >> 2]; - if (HEAP32[$0 + 28 >> 2]) { - __assert_fail(12571, 5786, 76, 1655); - wasm2js_trap(); - } - $1 = HEAP32[$0 + 12 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 12 >> 2]]($1) | 0, - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 24 >> 2], HEAP32[$0 + 24 >> 2], Math_imul(HEAP32[$2 + 20 >> 2], 28)); - HEAP32[$0 + 24 >> 2] = 0; - label$2: { - label$3: { - switch (HEAP32[HEAP32[$0 + 12 >> 2] + 4 >> 2]) { - case 0: - HEAP32[$2 + 16 >> 2] = HEAP32[$0 + 12 >> 2]; - $1 = HEAP32[$2 + 16 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] >> 2]]($1) | 0; - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 24 >> 2], HEAP32[$2 + 16 >> 2], 20); - break label$2; - - case 1: - HEAP32[$2 + 12 >> 2] = HEAP32[$0 + 12 >> 2]; - $1 = HEAP32[$2 + 12 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] >> 2]]($1) | 0; - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 24 >> 2], HEAP32[$2 + 12 >> 2], 48); - break label$2; - - case 2: - HEAP32[$2 + 8 >> 2] = HEAP32[$0 + 12 >> 2]; - $1 = HEAP32[$2 + 8 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] >> 2]]($1) | 0; - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 24 >> 2], HEAP32[$2 + 8 >> 2], 152); - break label$2; - - case 3: - HEAP32[$2 + 4 >> 2] = HEAP32[$0 + 12 >> 2]; - $1 = HEAP32[$2 + 4 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] >> 2]]($1) | 0; - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 24 >> 2], HEAP32[$2 + 4 >> 2], 40); - break label$2; - - default: - break label$3; - } - } - __assert_fail(9386, 5786, 119, 1655); - wasm2js_trap(); - } - HEAP32[$0 + 12 >> 2] = 0; - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__WireTypePack_b2Vec2_20const__2c_20float__2c_20b2Color_20const____WireTypePack_28b2Vec2_20const__2c_20float__2c_20b2Color_20const__29($0, $1, $2, $3) { - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $4 = __stack_pointer + -64 | 0; - __stack_pointer = $4; - HEAP32[$4 + 24 >> 2] = $0; - HEAP32[$4 + 20 >> 2] = $1; - HEAP32[$4 + 16 >> 2] = $2; - HEAP32[$4 + 12 >> 2] = $3; - $0 = HEAP32[$4 + 24 >> 2]; - wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2__array_emscripten__internal__GenericWireType_2c_203ul___data_5babi_v160004_5d_28_29($0), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - $1 = HEAP32[$4 + 20 >> 2]; - $2 = HEAP32[$4 + 16 >> 2]; - $3 = HEAP32[$4 + 12 >> 2]; - HEAP32[$4 + 40 >> 2] = $4 + 8; - HEAP32[$4 + 36 >> 2] = $1; - HEAP32[$4 + 32 >> 2] = $2; - HEAP32[$4 + 28 >> 2] = $3; - void_20emscripten__internal__writeGenericWireType_b2Vec2__28emscripten__internal__GenericWireType___2c_20b2Vec2__29(HEAP32[$4 + 40 >> 2], emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(HEAP32[$4 + 36 >> 2])); - $1 = HEAP32[$4 + 32 >> 2]; - $2 = HEAP32[$4 + 28 >> 2]; - HEAP32[$4 + 52 >> 2] = HEAP32[$4 + 40 >> 2]; - HEAP32[$4 + 48 >> 2] = $1; - HEAP32[$4 + 44 >> 2] = $2; - emscripten__internal__writeGenericWireType_28emscripten__internal__GenericWireType___2c_20float_29(HEAP32[$4 + 52 >> 2], emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29(HEAP32[$4 + 48 >> 2])); - $1 = HEAP32[$4 + 44 >> 2]; - HEAP32[$4 + 60 >> 2] = HEAP32[$4 + 52 >> 2]; - HEAP32[$4 + 56 >> 2] = $1; - void_20emscripten__internal__writeGenericWireType_b2Color__28emscripten__internal__GenericWireType___2c_20b2Color__29(HEAP32[$4 + 60 >> 2], emscripten__internal__GenericBindingType_b2Color___toWireType_28b2Color_20const__29(HEAP32[$4 + 56 >> 2])); - emscripten__internal__writeGenericWireTypes_28emscripten__internal__GenericWireType___29(HEAP32[$4 + 60 >> 2]); - __stack_pointer = $4 - -64 | 0; - return $0; -} - -function b2PolygonShape__ComputeAABB_28b2AABB__2c_20b2Transform_20const__2c_20int_29_20const($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 96 | 0; - __stack_pointer = $4; - HEAP32[$4 + 92 >> 2] = $0; - HEAP32[$4 + 88 >> 2] = $1; - HEAP32[$4 + 84 >> 2] = $2; - HEAP32[$4 + 80 >> 2] = $3; - $2 = HEAP32[$4 + 92 >> 2]; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 72 | 0, HEAP32[$4 + 84 >> 2], $2 + 20 | 0); - $1 = HEAP32[$4 + 76 >> 2]; - $0 = HEAP32[$4 + 72 >> 2]; - HEAP32[$4 + 64 >> 2] = $0; - HEAP32[$4 + 68 >> 2] = $1; - HEAP32[$4 + 60 >> 2] = 1; - while (1) { - if (HEAP32[$4 + 60 >> 2] < HEAP32[$2 + 148 >> 2]) { - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 52 | 0, HEAP32[$4 + 84 >> 2], ($2 + 20 | 0) + (HEAP32[$4 + 60 >> 2] << 3) | 0); - b2Min_28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 44 | 0, $4 + 72 | 0, $4 + 52 | 0); - $0 = HEAP32[$4 + 48 >> 2]; - $1 = HEAP32[$4 + 44 >> 2]; - HEAP32[$4 + 72 >> 2] = $1; - HEAP32[$4 + 76 >> 2] = $0; - b2Max_28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 36 | 0, $4 - -64 | 0, $4 + 52 | 0); - $1 = HEAP32[$4 + 40 >> 2]; - $0 = HEAP32[$4 + 36 >> 2]; - HEAP32[$4 + 64 >> 2] = $0; - HEAP32[$4 + 68 >> 2] = $1; - HEAP32[$4 + 60 >> 2] = HEAP32[$4 + 60 >> 2] + 1; - continue; - } - break; - } - b2Vec2__b2Vec2_28float_2c_20float_29($4 + 28 | 0, HEAPF32[$2 + 8 >> 2], HEAPF32[$2 + 8 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 20 | 0, $4 + 72 | 0, $4 + 28 | 0); - $0 = HEAP32[$4 + 24 >> 2]; - $1 = HEAP32[$4 + 20 >> 2]; - $2 = $1; - $1 = HEAP32[$4 + 88 >> 2]; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($4 + 12 | 0, $4 - -64 | 0, $4 + 28 | 0); - $1 = HEAP32[$4 + 16 >> 2]; - $0 = HEAP32[$4 + 12 >> 2]; - $2 = $0; - $0 = HEAP32[$4 + 88 >> 2]; - HEAP32[$0 + 8 >> 2] = $2; - HEAP32[$0 + 12 >> 2] = $1; - __stack_pointer = $4 + 96 | 0; -} - -function b2Fixture__Create_28b2BlockAllocator__2c_20b2Body__2c_20b2FixtureDef_20const__29($0, $1, $2, $3) { - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $4 = __stack_pointer - 32 | 0; - __stack_pointer = $4; - HEAP32[$4 + 28 >> 2] = $0; - HEAP32[$4 + 24 >> 2] = $1; - HEAP32[$4 + 20 >> 2] = $2; - HEAP32[$4 + 16 >> 2] = $3; - $0 = HEAP32[$4 + 28 >> 2]; - HEAP32[$0 + 40 >> 2] = HEAP32[HEAP32[$4 + 16 >> 2] + 4 >> 2]; - HEAPF32[$0 + 16 >> 2] = HEAPF32[HEAP32[$4 + 16 >> 2] + 8 >> 2]; - HEAPF32[$0 + 20 >> 2] = HEAPF32[HEAP32[$4 + 16 >> 2] + 12 >> 2]; - HEAP32[$0 + 8 >> 2] = HEAP32[$4 + 20 >> 2]; - HEAP32[$0 + 4 >> 2] = 0; - $1 = HEAP32[$4 + 16 >> 2]; - $2 = HEAPU16[$1 + 22 >> 1] | HEAPU16[$1 + 24 >> 1] << 16; - HEAP16[$0 + 32 >> 1] = $2; - HEAP16[$0 + 34 >> 1] = $2 >>> 16; - HEAP16[$0 + 36 >> 1] = HEAPU16[$1 + 26 >> 1]; - HEAP8[$0 + 38 | 0] = HEAP8[HEAP32[$4 + 16 >> 2] + 20 | 0] & 1; - $1 = HEAP32[HEAP32[$4 + 16 >> 2] >> 2]; - wasm2js_i32$0 = $0, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 8 >> 2]]($1, HEAP32[$4 + 24 >> 2]) | 0, - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - $1 = HEAP32[$0 + 12 >> 2]; - wasm2js_i32$0 = $4, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 12 >> 2]]($1) | 0, - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$4 + 24 >> 2], Math_imul(HEAP32[$4 + 12 >> 2], 28)), - HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; - HEAP32[$4 + 8 >> 2] = 0; - while (1) { - if (HEAP32[$4 + 8 >> 2] < HEAP32[$4 + 12 >> 2]) { - HEAP32[(HEAP32[$0 + 24 >> 2] + Math_imul(HEAP32[$4 + 8 >> 2], 28) | 0) + 16 >> 2] = 0; - HEAP32[(HEAP32[$0 + 24 >> 2] + Math_imul(HEAP32[$4 + 8 >> 2], 28) | 0) + 24 >> 2] = -1; - HEAP32[$4 + 8 >> 2] = HEAP32[$4 + 8 >> 2] + 1; - continue; - } - break; - } - HEAP32[$0 + 28 >> 2] = 0; - HEAPF32[$0 >> 2] = HEAPF32[HEAP32[$4 + 16 >> 2] + 16 >> 2]; - __stack_pointer = $4 + 32 | 0; -} - -function b2Contact__Create_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29($0, $1, $2, $3, $4) { - var $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $5 = __stack_pointer - 48 | 0; - __stack_pointer = $5; - HEAP32[$5 + 40 >> 2] = $0; - HEAP32[$5 + 36 >> 2] = $1; - HEAP32[$5 + 32 >> 2] = $2; - HEAP32[$5 + 28 >> 2] = $3; - HEAP32[$5 + 24 >> 2] = $4; - if (!(HEAP8[30272] & 1)) { - b2Contact__InitializeRegisters_28_29(); - HEAP8[30272] = 1; - } - wasm2js_i32$0 = $5, wasm2js_i32$1 = b2Fixture__GetType_28_29_20const(HEAP32[$5 + 40 >> 2]), - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $5, wasm2js_i32$1 = b2Fixture__GetType_28_29_20const(HEAP32[$5 + 32 >> 2]), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - if (!(HEAP32[$5 + 20 >> 2] < 4 & HEAP32[$5 + 20 >> 2] >= 0)) { - __assert_fail(2471, 5372, 84, 9184); - wasm2js_trap(); - } - if (!(HEAP32[$5 + 16 >> 2] < 4 & HEAP32[$5 + 16 >> 2] >= 0)) { - __assert_fail(2428, 5372, 85, 9184); - wasm2js_trap(); - } - HEAP32[$5 + 12 >> 2] = HEAP32[(Math_imul(HEAP32[$5 + 20 >> 2], 48) + 30080 | 0) + Math_imul(HEAP32[$5 + 16 >> 2], 12) >> 2]; - label$6: { - if (HEAP32[$5 + 12 >> 2]) { - if (HEAP8[((Math_imul(HEAP32[$5 + 20 >> 2], 48) + 30080 | 0) + Math_imul(HEAP32[$5 + 16 >> 2], 12) | 0) + 8 | 0] & 1) { - wasm2js_i32$0 = $5, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[$5 + 12 >> 2]](HEAP32[$5 + 40 >> 2], HEAP32[$5 + 36 >> 2], HEAP32[$5 + 32 >> 2], HEAP32[$5 + 28 >> 2], HEAP32[$5 + 24 >> 2]) | 0, - HEAP32[wasm2js_i32$0 + 44 >> 2] = wasm2js_i32$1; - break label$6; - } - wasm2js_i32$0 = $5, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[$5 + 12 >> 2]](HEAP32[$5 + 32 >> 2], HEAP32[$5 + 28 >> 2], HEAP32[$5 + 40 >> 2], HEAP32[$5 + 36 >> 2], HEAP32[$5 + 24 >> 2]) | 0, - HEAP32[wasm2js_i32$0 + 44 >> 2] = wasm2js_i32$1; - break label$6; - } - HEAP32[$5 + 44 >> 2] = 0; - } - __stack_pointer = $5 + 48 | 0; - return HEAP32[$5 + 44 >> 2]; -} - -function b2WheelJoint__b2WheelJoint_28b2WheelJointDef_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Joint__b2Joint_28b2JointDef_20const__29($1, HEAP32[$2 + 8 >> 2]); - HEAP32[$1 >> 2] = 19888; - b2Vec2__b2Vec2_28_29($1 + 76 | 0); - b2Vec2__b2Vec2_28_29($1 + 84 | 0); - b2Vec2__b2Vec2_28_29($1 + 92 | 0); - b2Vec2__b2Vec2_28_29($1 + 100 | 0); - b2Vec2__b2Vec2_28_29($1 + 140 | 0); - b2Vec2__b2Vec2_28_29($1 + 148 | 0); - b2Vec2__b2Vec2_28_29($1 + 172 | 0); - b2Vec2__b2Vec2_28_29($1 + 180 | 0); - $3 = HEAP32[$2 + 8 >> 2]; - $4 = HEAP32[$3 + 20 >> 2]; - $0 = HEAP32[$3 + 24 >> 2]; - HEAP32[$1 + 76 >> 2] = $4; - HEAP32[$1 + 80 >> 2] = $0; - $3 = HEAP32[$2 + 8 >> 2]; - $0 = HEAP32[$3 + 28 >> 2]; - $4 = HEAP32[$3 + 32 >> 2]; - HEAP32[$1 + 84 >> 2] = $0; - HEAP32[$1 + 88 >> 2] = $4; - $3 = HEAP32[$2 + 8 >> 2]; - $4 = HEAP32[$3 + 36 >> 2]; - $0 = HEAP32[$3 + 40 >> 2]; - HEAP32[$1 + 92 >> 2] = $4; - HEAP32[$1 + 96 >> 2] = $0; - b2Cross_28float_2c_20b2Vec2_20const__29($2, Math_fround(1), $1 + 92 | 0); - $4 = HEAP32[$2 + 4 >> 2]; - $0 = HEAP32[$2 >> 2]; - HEAP32[$1 + 100 >> 2] = $0; - HEAP32[$1 + 104 >> 2] = $4; - HEAPF32[$1 + 204 >> 2] = 0; - HEAPF32[$1 + 108 >> 2] = 0; - HEAPF32[$1 + 208 >> 2] = 0; - HEAPF32[$1 + 112 >> 2] = 0; - HEAPF32[$1 + 212 >> 2] = 0; - HEAPF32[$1 + 116 >> 2] = 0; - HEAPF32[$1 + 120 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 48 >> 2]; - HEAPF32[$1 + 124 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 52 >> 2]; - HEAP8[$1 + 128 | 0] = HEAP8[HEAP32[$2 + 8 >> 2] + 44 | 0] & 1; - HEAPF32[$1 + 68 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 56 >> 2]; - HEAPF32[$1 + 72 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 60 >> 2]; - HEAPF32[$1 + 216 >> 2] = 0; - HEAPF32[$1 + 220 >> 2] = 0; - b2Vec2__SetZero_28_29($1 + 172 | 0); - b2Vec2__SetZero_28_29($1 + 180 | 0); - __stack_pointer = $2 + 16 | 0; - return $1; -} - -function std____2__pair_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____20std____2____unwrap_range_5babi_v160004_5d_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____28std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___29($0, $1, $2) { - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $1; - HEAP32[$3 + 24 >> 2] = $2; - HEAP32[$3 + 16 >> 2] = HEAP32[$3 + 28 >> 2]; - wasm2js_i32$0 = $3, wasm2js_i32$1 = decltype_28std____2____unwrap_iter_impl_std____2__reverse_iterator_int___2c_20false_____unwrap_28std__declval_std____2__reverse_iterator_int____28_29_29_29_20std____2____unwrap_iter_5babi_v160004_5d_std____2__reverse_iterator_int___2c_20std____2____unwrap_iter_impl_std____2__reverse_iterator_int___2c_20false__2c_200__28std____2__reverse_iterator_int___29(HEAP32[$3 + 16 >> 2]), - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - HEAP32[$3 + 8 >> 2] = HEAP32[$3 + 24 >> 2]; - wasm2js_i32$0 = $3, wasm2js_i32$1 = decltype_28std____2____unwrap_iter_impl_std____2__reverse_iterator_int___2c_20false_____unwrap_28std__declval_std____2__reverse_iterator_int____28_29_29_29_20std____2____unwrap_iter_5babi_v160004_5d_std____2__reverse_iterator_int___2c_20std____2____unwrap_iter_impl_std____2__reverse_iterator_int___2c_20false__2c_200__28std____2__reverse_iterator_int___29(HEAP32[$3 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - std____2__pair_std____2____unwrap_ref_decay_std____2__reverse_iterator_int_____type_2c_20std____2____unwrap_ref_decay_std____2__reverse_iterator_int_____type__20std____2__make_pair_5babi_v160004_5d_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____28std____2__reverse_iterator_int_____2c_20std____2__reverse_iterator_int_____29($0, $3 + 20 | 0, $3 + 12 | 0); - __stack_pointer = $3 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28unsigned_20long_2c_20int_20const__29___invoke_std____2__vector_int_2c_20std____2__allocator_int____28char_20const__2c_20void_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28unsigned_20long_2c_20int_20const__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 651; - $0 = emscripten__internal__TypeID_std____2__vector_int_2c_20std____2__allocator_int___2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28std____2__vector_int_2c_20std____2__allocator_int______emscripten__internal__getContext_void_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28unsigned_20long_2c_20int_20const__29__28void_20_28std____2__vector_int_2c_20std____2__allocator_int______20const__29_28unsigned_20long_2c_20int_20const__29_29_29_28unsigned_20long_2c_20int_20const__29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function b2Joint__Destroy_28b2Joint__2c_20b2BlockAllocator__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0) | 0; - label$1: { - label$2: { - switch (HEAP32[HEAP32[$2 + 12 >> 2] + 4 >> 2] - 1 | 0) { - case 2: - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2], 176); - break label$1; - - case 4: - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2], 168); - break label$1; - - case 1: - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2], 256); - break label$1; - - case 0: - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2], 228); - break label$1; - - case 3: - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2], 196); - break label$1; - - case 5: - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2], 276); - break label$1; - - case 6: - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2], 224); - break label$1; - - case 7: - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2], 208); - break label$1; - - case 8: - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2], 180); - break label$1; - - case 9: - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2], 168); - break label$1; - - case 10: - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2], 192); - break label$1; - - default: - break label$2; - } - } - __assert_fail(9386, 4788, 181, 1655); - wasm2js_trap(); - } - __stack_pointer = $2 + 16 | 0; -} - -function std____2__vector_int_2c_20std____2__allocator_int______append_28unsigned_20long_2c_20int_20const__29($0, $1, $2) { - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 48 | 0; - __stack_pointer = $3; - HEAP32[$3 + 44 >> 2] = $0; - HEAP32[$3 + 40 >> 2] = $1; - HEAP32[$3 + 36 >> 2] = $2; - $0 = HEAP32[$3 + 44 >> 2]; - label$1: { - if (HEAP32[std____2__vector_int_2c_20std____2__allocator_int______end_cap_5babi_v160004_5d_28_29($0) >> 2] - HEAP32[$0 + 4 >> 2] >> 2 >>> 0 >= HEAPU32[$3 + 40 >> 2]) { - std____2__vector_int_2c_20std____2__allocator_int______construct_at_end_28unsigned_20long_2c_20int_20const__29($0, HEAP32[$3 + 40 >> 2], HEAP32[$3 + 36 >> 2]); - break label$1; - } - wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__vector_int_2c_20std____2__allocator_int______alloc_5babi_v160004_5d_28_29($0), - HEAP32[wasm2js_i32$0 + 32 >> 2] = wasm2js_i32$1; - std____2____split_buffer_int_2c_20std____2__allocator_int_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_int___29($3 + 12 | 0, std____2__vector_int_2c_20std____2__allocator_int______recommend_5babi_v160004_5d_28unsigned_20long_29_20const($0, std____2__vector_int_2c_20std____2__allocator_int____size_5babi_v160004_5d_28_29_20const($0) + HEAP32[$3 + 40 >> 2] | 0), std____2__vector_int_2c_20std____2__allocator_int____size_5babi_v160004_5d_28_29_20const($0), HEAP32[$3 + 32 >> 2]); - std____2____split_buffer_int_2c_20std____2__allocator_int_______construct_at_end_28unsigned_20long_2c_20int_20const__29($3 + 12 | 0, HEAP32[$3 + 40 >> 2], HEAP32[$3 + 36 >> 2]); - std____2__vector_int_2c_20std____2__allocator_int______swap_out_circular_buffer_28std____2____split_buffer_int_2c_20std____2__allocator_int_____29($0, $3 + 12 | 0); - std____2____split_buffer_int_2c_20std____2__allocator_int________split_buffer_28_29($3 + 12 | 0); - } - __stack_pointer = $3 + 48 | 0; -} - -function b2RevoluteJoint__Dump_28_29($0) { - $0 = $0 | 0; - var $1 = 0, $2 = Math_fround(0); - $1 = __stack_pointer - 208 | 0; - __stack_pointer = $1; - HEAP32[$1 + 204 >> 2] = $0; - $0 = HEAP32[$1 + 204 >> 2]; - HEAP32[$1 + 200 >> 2] = HEAP32[HEAP32[$0 + 48 >> 2] + 8 >> 2]; - HEAP32[$1 + 196 >> 2] = HEAP32[HEAP32[$0 + 52 >> 2] + 8 >> 2]; - b2Log_28char_20const__2c_20____29(13945, 0); - HEAP32[$1 + 160 >> 2] = HEAP32[$1 + 200 >> 2]; - b2Log_28char_20const__2c_20____29(14207, $1 + 160 | 0); - HEAP32[$1 + 144 >> 2] = HEAP32[$1 + 196 >> 2]; - b2Log_28char_20const__2c_20____29(14181, $1 + 144 | 0); - HEAP32[$1 + 128 >> 2] = HEAP8[$0 + 61 | 0] & 1; - b2Log_28char_20const__2c_20____29(15397, $1 + 128 | 0); - $2 = HEAPF32[$0 + 68 >> 2]; - HEAPF64[$1 + 120 >> 3] = HEAPF32[$0 + 72 >> 2]; - HEAPF64[$1 + 112 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14708, $1 + 112 | 0); - $2 = HEAPF32[$0 + 76 >> 2]; - HEAPF64[$1 + 104 >> 3] = HEAPF32[$0 + 80 >> 2]; - HEAPF64[$1 + 96 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14583, $1 + 96 | 0); - HEAPF64[$1 + 80 >> 3] = HEAPF32[$0 + 116 >> 2]; - b2Log_28char_20const__2c_20____29(13504, $1 + 80 | 0); - HEAP32[$1 + 64 >> 2] = HEAP8[$0 + 112 | 0] & 1; - b2Log_28char_20const__2c_20____29(15198, $1 - -64 | 0); - HEAPF64[$1 + 48 >> 3] = HEAPF32[$0 + 120 >> 2]; - b2Log_28char_20const__2c_20____29(13448, $1 + 48 | 0); - HEAPF64[$1 + 32 >> 3] = HEAPF32[$0 + 124 >> 2]; - b2Log_28char_20const__2c_20____29(13476, $1 + 32 | 0); - HEAP32[$1 + 16 >> 2] = HEAP8[$0 + 100 | 0] & 1; - b2Log_28char_20const__2c_20____29(15253, $1 + 16 | 0); - HEAPF64[$1 >> 3] = HEAPF32[$0 + 108 >> 2]; - b2Log_28char_20const__2c_20____29(13623, $1); - HEAPF64[$1 + 176 >> 3] = HEAPF32[$0 + 104 >> 2]; - b2Log_28char_20const__2c_20____29(13393, $1 + 176 | 0); - HEAP32[$1 + 192 >> 2] = HEAP32[$0 + 56 >> 2]; - b2Log_28char_20const__2c_20____29(14998, $1 + 192 | 0); - __stack_pointer = $1 + 208 | 0; -} - -function emscripten__internal__MethodInvoker_float_20_28b2RayCastCallback____29_28unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float_29_2c_20float_2c_20b2RayCastCallback__2c_20unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float___invoke_28float_20_28b2RayCastCallback____20const__29_28unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float_29_2c_20b2RayCastCallback__2c_20unsigned_20int_2c_20b2Vec2__2c_20b2Vec2__2c_20float_29($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = Math_fround($5); - var $6 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $6 = __stack_pointer - 32 | 0; - __stack_pointer = $6; - HEAP32[$6 + 28 >> 2] = $0; - HEAP32[$6 + 24 >> 2] = $1; - HEAP32[$6 + 20 >> 2] = $2; - HEAP32[$6 + 16 >> 2] = $3; - HEAP32[$6 + 12 >> 2] = $4; - HEAPF32[$6 + 8 >> 2] = $5; - $2 = emscripten__internal__BindingType_b2RayCastCallback__2c_20void___fromWireType_28b2RayCastCallback__29(HEAP32[$6 + 24 >> 2]); - $0 = HEAP32[$6 + 28 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - wasm2js_i32$0 = $6, wasm2js_f32$0 = Math_fround(FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$6 + 20 >> 2]), emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$6 + 16 >> 2]), emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$6 + 12 >> 2]), emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$6 + 8 >> 2]))), - HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; - $5 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29($6 + 4 | 0); - __stack_pointer = $6 + 32 | 0; - return Math_fround($5); -} - -function memmove($0, $1, $2) { - var $3 = 0, $4 = 0; - label$1: { - if (($0 | 0) == ($1 | 0)) { - break label$1; - } - $3 = $0 + $2 | 0; - if ($1 - $3 >>> 0 <= 0 - ($2 << 1) >>> 0) { - return __memcpy($0, $1, $2); - } - $4 = ($0 ^ $1) & 3; - label$3: { - label$4: { - if ($0 >>> 0 < $1 >>> 0) { - if ($4) { - $3 = $0; - break label$3; - } - if (!($0 & 3)) { - $3 = $0; - break label$4; - } - $3 = $0; - while (1) { - if (!$2) { - break label$1; - } - HEAP8[$3 | 0] = HEAPU8[$1 | 0]; - $1 = $1 + 1 | 0; - $2 = $2 - 1 | 0; - $3 = $3 + 1 | 0; - if ($3 & 3) { - continue; - } - break; - } - break label$4; - } - label$9: { - if ($4) { - break label$9; - } - if ($3 & 3) { - while (1) { - if (!$2) { - break label$1; - } - $2 = $2 - 1 | 0; - $3 = $2 + $0 | 0; - HEAP8[$3 | 0] = HEAPU8[$1 + $2 | 0]; - if ($3 & 3) { - continue; - } - break; - } - } - if ($2 >>> 0 <= 3) { - break label$9; - } - while (1) { - $2 = $2 - 4 | 0; - HEAP32[$2 + $0 >> 2] = HEAP32[$1 + $2 >> 2]; - if ($2 >>> 0 > 3) { - continue; - } - break; - } - } - if (!$2) { - break label$1; - } - while (1) { - $2 = $2 - 1 | 0; - HEAP8[$2 + $0 | 0] = HEAPU8[$1 + $2 | 0]; - if ($2) { - continue; - } - break; - } - break label$1; - } - if ($2 >>> 0 <= 3) { - break label$3; - } - while (1) { - HEAP32[$3 >> 2] = HEAP32[$1 >> 2]; - $1 = $1 + 4 | 0; - $3 = $3 + 4 | 0; - $2 = $2 - 4 | 0; - if ($2 >>> 0 > 3) { - continue; - } - break; - } - } - if (!$2) { - break label$1; - } - while (1) { - HEAP8[$3 | 0] = HEAPU8[$1 | 0]; - $3 = $3 + 1 | 0; - $1 = $1 + 1 | 0; - $2 = $2 - 1 | 0; - if ($2) { - continue; - } - break; - } - } - return $0; -} - -function b2ContactFilter__ShouldCollide_28b2Fixture__2c_20b2Fixture__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 48 | 0; - __stack_pointer = $3; - HEAP32[$3 + 40 >> 2] = $0; - HEAP32[$3 + 36 >> 2] = $1; - HEAP32[$3 + 32 >> 2] = $2; - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2Fixture__GetBody_28_29(HEAP32[$3 + 36 >> 2]), - HEAP32[wasm2js_i32$0 + 28 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2Fixture__GetBody_28_29(HEAP32[$3 + 32 >> 2]), - HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; - label$1: { - label$2: { - if (b2Body__GetType_28_29_20const(HEAP32[$3 + 24 >> 2])) { - break label$2; - } - if (b2Body__GetType_28_29_20const(HEAP32[$3 + 28 >> 2])) { - break label$2; - } - HEAP8[$3 + 47 | 0] = 0; - break label$1; - } - if (!(b2Body__ShouldCollideConnected_28b2Body_20const__29_20const(HEAP32[$3 + 24 >> 2], HEAP32[$3 + 28 >> 2]) & 1)) { - HEAP8[$3 + 47 | 0] = 0; - break label$1; - } - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2Fixture__GetFilterData_28_29_20const(HEAP32[$3 + 36 >> 2]), - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2Fixture__GetFilterData_28_29_20const(HEAP32[$3 + 32 >> 2]), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - if (!(!HEAPU16[HEAP32[$3 + 20 >> 2] + 4 >> 1] | HEAPU16[HEAP32[$3 + 20 >> 2] + 4 >> 1] != HEAPU16[HEAP32[$3 + 16 >> 2] + 4 >> 1])) { - HEAP8[$3 + 47 | 0] = HEAPU16[HEAP32[$3 + 20 >> 2] + 4 >> 1] << 16 >> 16 > 0; - break label$1; - } - $4 = HEAPU16[HEAP32[$3 + 20 >> 2] + 2 >> 1] & HEAPU16[HEAP32[$3 + 16 >> 2] >> 1] ? (HEAPU16[HEAP32[$3 + 20 >> 2] >> 1] & HEAPU16[HEAP32[$3 + 16 >> 2] + 2 >> 1]) != 0 : $4; - HEAP8[$3 + 15 | 0] = $4; - HEAP8[$3 + 47 | 0] = HEAP8[$3 + 15 | 0] & 1; - } - __stack_pointer = $3 + 48 | 0; - return HEAP8[$3 + 47 | 0] & 1; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2Draw____29_28b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const__29___invoke_b2Draw_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2Draw____29_28b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 502; - $0 = emscripten__internal__TypeID_b2Draw_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20float_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2Draw____emscripten__internal__getContext_void_20_28b2Draw____29_28b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const__29__28void_20_28b2Draw____20const__29_28b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const__29_29_29_28b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const__29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______insert_node_at_28std____2____tree_end_node_std____2____tree_node_base_void______2c_20std____2____tree_node_base_void_____2c_20std____2____tree_node_base_void____29($0, $1, $2, $3) { - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - $0 = HEAP32[$4 + 12 >> 2]; - HEAP32[HEAP32[$4 >> 2] >> 2] = 0; - HEAP32[HEAP32[$4 >> 2] + 4 >> 2] = 0; - HEAP32[HEAP32[$4 >> 2] + 8 >> 2] = HEAP32[$4 + 8 >> 2]; - HEAP32[HEAP32[$4 + 4 >> 2] >> 2] = HEAP32[$4 >> 2]; - if (HEAP32[HEAP32[std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______begin_node_5babi_v160004_5d_28_29($0) >> 2] >> 2]) { - $1 = HEAP32[HEAP32[std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______begin_node_5babi_v160004_5d_28_29($0) >> 2] >> 2]; - wasm2js_i32$0 = std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______begin_node_5babi_v160004_5d_28_29($0), - wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - } - void_20std____2____tree_balance_after_insert_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____2c_20std____2____tree_node_base_void____29(HEAP32[std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______end_node_5babi_v160004_5d_28_29($0) >> 2], HEAP32[HEAP32[$4 + 4 >> 2] >> 2]); - $0 = std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____size_5babi_v160004_5d_28_29($0); - HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; - __stack_pointer = $4 + 16 | 0; -} - -function b2CollideCircles_28b2Manifold__2c_20b2CircleShape_20const__2c_20b2Transform_20const__2c_20b2CircleShape_20const__2c_20b2Transform_20const__29($0, $1, $2, $3, $4) { - var $5 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $5 = __stack_pointer + -64 | 0; - __stack_pointer = $5; - HEAP32[$5 + 60 >> 2] = $0; - HEAP32[$5 + 56 >> 2] = $1; - HEAP32[$5 + 52 >> 2] = $2; - HEAP32[$5 + 48 >> 2] = $3; - HEAP32[$5 + 44 >> 2] = $4; - HEAP32[HEAP32[$5 + 60 >> 2] + 60 >> 2] = 0; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($5 + 36 | 0, HEAP32[$5 + 52 >> 2], HEAP32[$5 + 56 >> 2] + 12 | 0); - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($5 + 28 | 0, HEAP32[$5 + 44 >> 2], HEAP32[$5 + 48 >> 2] + 12 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($5 + 20 | 0, $5 + 28 | 0, $5 + 36 | 0); - $0 = $5 + 20 | 0; - wasm2js_i32$0 = $5, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($0, $0), - HEAPF32[wasm2js_i32$0 + 16 >> 2] = wasm2js_f32$0; - HEAPF32[$5 + 12 >> 2] = HEAPF32[HEAP32[$5 + 56 >> 2] + 8 >> 2]; - HEAPF32[$5 + 8 >> 2] = HEAPF32[HEAP32[$5 + 48 >> 2] + 8 >> 2]; - HEAPF32[$5 + 4 >> 2] = HEAPF32[$5 + 12 >> 2] + HEAPF32[$5 + 8 >> 2]; - if (!(HEAPF32[$5 + 16 >> 2] > Math_fround(HEAPF32[$5 + 4 >> 2] * HEAPF32[$5 + 4 >> 2]))) { - HEAP32[HEAP32[$5 + 60 >> 2] + 56 >> 2] = 0; - $2 = HEAP32[$5 + 56 >> 2]; - $0 = HEAP32[$2 + 12 >> 2]; - $1 = HEAP32[$2 + 16 >> 2]; - $2 = $0; - $0 = HEAP32[$5 + 60 >> 2]; - HEAP32[$0 + 48 >> 2] = $2; - HEAP32[$0 + 52 >> 2] = $1; - b2Vec2__SetZero_28_29(HEAP32[$5 + 60 >> 2] + 40 | 0); - HEAP32[HEAP32[$5 + 60 >> 2] + 60 >> 2] = 1; - $2 = HEAP32[$5 + 48 >> 2]; - $1 = HEAP32[$2 + 12 >> 2]; - $0 = HEAP32[$2 + 16 >> 2]; - $2 = $1; - $1 = HEAP32[$5 + 60 >> 2]; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - HEAP32[HEAP32[$5 + 60 >> 2] + 16 >> 2] = 0; - } - __stack_pointer = $5 - -64 | 0; -} - -function std____2__pair_char_20const__2c_20char___20std____2____unwrap_and_dispatch_5babi_v160004_5d_std____2____overload_std____2____copy_loop_std____2___ClassicAlgPolicy__2c_20std____2____copy_trivial__2c_20char_20const__2c_20char_20const__2c_20char__2c_200__28char_20const__2c_20char_20const__2c_20char__29($0, $1, $2, $3) { - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $4 = __stack_pointer - 32 | 0; - __stack_pointer = $4; - auto_20std____2____unwrap_range_5babi_v160004_5d_char_20const__2c_20char_20const___28char_20const__2c_20char_20const__29($4 + 24 | 0, $1, $2); - std____2__pair_char_20const__2c_20char___20std____2____copy_trivial__operator_28_29_5babi_v160004_5d_char_20const_2c_20char_2c_200__28char_20const__2c_20char_20const__2c_20char__29_20const($4 + 16 | 0, $4 + 12 | 0, HEAP32[$4 + 24 >> 2], HEAP32[$4 + 28 >> 2], decltype_28std____2____unwrap_iter_impl_char__2c_20true_____unwrap_28std__declval_char___28_29_29_29_20std____2____unwrap_iter_5babi_v160004_5d_char__2c_20std____2____unwrap_iter_impl_char__2c_20true__2c_200__28char__29($3)); - wasm2js_i32$0 = $4, wasm2js_i32$1 = char_20const__20std____2____rewrap_range_5babi_v160004_5d_char_20const__2c_20char_20const__2c_20char_20const___28char_20const__2c_20char_20const__29($1, HEAP32[$4 + 16 >> 2]), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $4, wasm2js_i32$1 = char__20std____2____rewrap_iter_5babi_v160004_5d_char__2c_20char__2c_20std____2____unwrap_iter_impl_char__2c_20true___28char__2c_20char__29($3, HEAP32[$4 + 20 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - std____2__pair_std____2____unwrap_ref_decay_char_20const____type_2c_20std____2____unwrap_ref_decay_char____type__20std____2__make_pair_5babi_v160004_5d_char_20const__2c_20char___28char_20const____2c_20char____29($0, $4 + 12 | 0, $4 + 8 | 0); - __stack_pointer = $4 + 32 | 0; -} - -function b2WorldRayCastWrapper__RayCastCallback_28b2RayCastInput_20const__2c_20int_29($0, $1, $2) { - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_f32$0 = Math_fround(0); - $3 = __stack_pointer - 80 | 0; - __stack_pointer = $3; - HEAP32[$3 + 72 >> 2] = $0; - HEAP32[$3 + 68 >> 2] = $1; - HEAP32[$3 + 64 >> 2] = $2; - $0 = HEAP32[$3 + 72 >> 2]; - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2BroadPhase__GetUserData_28int_29_20const(HEAP32[$0 >> 2], HEAP32[$3 + 64 >> 2]), - HEAP32[wasm2js_i32$0 + 60 >> 2] = wasm2js_i32$1; - HEAP32[$3 + 56 >> 2] = HEAP32[$3 + 60 >> 2]; - HEAP32[$3 + 52 >> 2] = HEAP32[HEAP32[$3 + 56 >> 2] + 16 >> 2]; - HEAP32[$3 + 48 >> 2] = HEAP32[HEAP32[$3 + 56 >> 2] + 20 >> 2]; - b2RayCastOutput__b2RayCastOutput_28_29($3 + 36 | 0); - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2Fixture__RayCast_28b2RayCastOutput__2c_20b2RayCastInput_20const__2c_20int_29_20const(HEAP32[$3 + 52 >> 2], $3 + 36 | 0, HEAP32[$3 + 68 >> 2], HEAP32[$3 + 48 >> 2]) & 1, - HEAP8[wasm2js_i32$0 + 35 | 0] = wasm2js_i32$1; - label$1: { - if (HEAP8[$3 + 35 | 0] & 1) { - HEAPF32[$3 + 28 >> 2] = HEAPF32[$3 + 44 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($3 + 12 | 0, Math_fround(Math_fround(1) - HEAPF32[$3 + 28 >> 2]), HEAP32[$3 + 68 >> 2]); - operator__28float_2c_20b2Vec2_20const__29($3 + 4 | 0, HEAPF32[$3 + 28 >> 2], HEAP32[$3 + 68 >> 2] + 8 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($3 + 20 | 0, $3 + 12 | 0, $3 + 4 | 0); - $0 = HEAP32[$0 + 4 >> 2]; - wasm2js_i32$0 = $3, wasm2js_f32$0 = Math_fround(FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 8 >> 2]]($0, HEAP32[$3 + 52 >> 2], $3 + 20 | 0, $3 + 36 | 0, HEAPF32[$3 + 28 >> 2])), - HEAPF32[wasm2js_i32$0 + 76 >> 2] = wasm2js_f32$0; - break label$1; - } - HEAPF32[$3 + 76 >> 2] = HEAPF32[HEAP32[$3 + 68 >> 2] + 16 >> 2]; - } - __stack_pointer = $3 + 80 | 0; - return HEAPF32[$3 + 76 >> 2]; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2World____29_28b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const__29_20const___invoke_b2World_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2World____29_28b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const__29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 527; - $0 = emscripten__internal__TypeID_b2World_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World_20const__2c_20b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World_20const__2c_20b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2World____emscripten__internal__getContext_void_20_28b2World____29_28b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const__29_20const__28void_20_28b2World____20const__29_28b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const__29_20const_29_29_28b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const__29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function b2PulleyJoint__b2PulleyJoint_28b2PulleyJointDef_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 8 >> 2] = $0; - HEAP32[$2 + 4 >> 2] = $1; - $1 = HEAP32[$2 + 8 >> 2]; - HEAP32[$2 + 12 >> 2] = $1; - b2Joint__b2Joint_28b2JointDef_20const__29($1, HEAP32[$2 + 4 >> 2]); - HEAP32[$1 >> 2] = 19564; - b2Vec2__b2Vec2_28_29($1 + 68 | 0); - b2Vec2__b2Vec2_28_29($1 + 76 | 0); - b2Vec2__b2Vec2_28_29($1 + 92 | 0); - b2Vec2__b2Vec2_28_29($1 + 100 | 0); - b2Vec2__b2Vec2_28_29($1 + 128 | 0); - b2Vec2__b2Vec2_28_29($1 + 136 | 0); - b2Vec2__b2Vec2_28_29($1 + 144 | 0); - b2Vec2__b2Vec2_28_29($1 + 152 | 0); - b2Vec2__b2Vec2_28_29($1 + 160 | 0); - b2Vec2__b2Vec2_28_29($1 + 168 | 0); - $3 = HEAP32[$2 + 4 >> 2]; - $4 = HEAP32[$3 + 20 >> 2]; - $0 = HEAP32[$3 + 24 >> 2]; - HEAP32[$1 + 68 >> 2] = $4; - HEAP32[$1 + 72 >> 2] = $0; - $3 = HEAP32[$2 + 4 >> 2]; - $0 = HEAP32[$3 + 28 >> 2]; - $4 = HEAP32[$3 + 32 >> 2]; - HEAP32[$1 + 76 >> 2] = $0; - HEAP32[$1 + 80 >> 2] = $4; - $3 = HEAP32[$2 + 4 >> 2]; - $4 = HEAP32[$3 + 36 >> 2]; - $0 = HEAP32[$3 + 40 >> 2]; - HEAP32[$1 + 92 >> 2] = $4; - HEAP32[$1 + 96 >> 2] = $0; - $3 = HEAP32[$2 + 4 >> 2]; - $0 = HEAP32[$3 + 44 >> 2]; - $4 = HEAP32[$3 + 48 >> 2]; - HEAP32[$1 + 100 >> 2] = $0; - HEAP32[$1 + 104 >> 2] = $4; - HEAPF32[$1 + 84 >> 2] = HEAPF32[HEAP32[$2 + 4 >> 2] + 52 >> 2]; - HEAPF32[$1 + 88 >> 2] = HEAPF32[HEAP32[$2 + 4 >> 2] + 56 >> 2]; - if (HEAPF32[HEAP32[$2 + 4 >> 2] + 60 >> 2] == Math_fround(0)) { - __assert_fail(8716, 4379, 69, 2696); - wasm2js_trap(); - } - HEAPF32[$1 + 112 >> 2] = HEAPF32[HEAP32[$2 + 4 >> 2] + 60 >> 2]; - HEAPF32[$1 + 108 >> 2] = Math_fround(HEAPF32[$1 + 112 >> 2] * HEAPF32[HEAP32[$2 + 4 >> 2] + 56 >> 2]) + HEAPF32[HEAP32[$2 + 4 >> 2] + 52 >> 2]; - HEAPF32[$1 + 116 >> 2] = 0; - __stack_pointer = $2 + 16 | 0; - return HEAP32[$2 + 12 >> 2]; -} - -function void_20emscripten__internal__RegisterClassMethod_bool_20_28__29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const__29___invoke_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28char_20const__2c_20bool_20_28__29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 660; - $0 = emscripten__internal__TypeID_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const____getCount_28_29_20const($2 + 19 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const____getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], bool_20_28__emscripten__internal__getContext_bool_20_28__29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const__29__28bool_20_28__20const__29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const__29_29_29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const__29($2 + 20 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__MethodCaller_float_2c_20unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float____call_28emscripten___EM_VAL__2c_20char_20const__2c_20unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float__29($0, $1, $2, $3, $4, $5) { - var $6 = 0, $7 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_f64$0 = 0; - $6 = __stack_pointer - 96 | 0; - __stack_pointer = $6; - HEAP32[$6 + 92 >> 2] = $0; - HEAP32[$6 + 88 >> 2] = $1; - HEAP32[$6 + 84 >> 2] = $2; - HEAP32[$6 + 80 >> 2] = $3; - HEAP32[$6 + 76 >> 2] = $4; - HEAP32[$6 + 72 >> 2] = $5; - wasm2js_i32$0 = $6, wasm2js_i32$1 = emscripten__internal__Signature_float_2c_20unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float____get_method_caller_28_29(), - HEAP32[wasm2js_i32$0 + 68 >> 2] = wasm2js_i32$1; - emscripten__internal__WireTypePack_unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float____WireTypePack_28unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float__29($6 + 32 | 0, HEAP32[$6 + 84 >> 2], HEAP32[$6 + 80 >> 2], HEAP32[$6 + 76 >> 2], HEAP32[$6 + 72 >> 2]); - wasm2js_i32$0 = $6, wasm2js_f64$0 = +_emval_call_method(HEAP32[$6 + 68 >> 2], HEAP32[$6 + 92 >> 2], HEAP32[$6 + 88 >> 2], $6 + 28 | 0, emscripten__internal__WireTypePack_unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float____operator_20void_20const__28_29_20const($6 + 32 | 0) | 0), - HEAPF64[wasm2js_i32$0 + 16 >> 3] = wasm2js_f64$0; - emscripten__internal__DestructorsRunner__DestructorsRunner_28emscripten__internal___EM_DESTRUCTORS__29($6 + 12 | 0, HEAP32[$6 + 28 >> 2]); - $7 = float_20emscripten__internal__fromGenericWireType_float__28double_29(HEAPF64[$6 + 16 >> 3]); - emscripten__internal__DestructorsRunner___DestructorsRunner_28_29($6 + 12 | 0); - __stack_pointer = $6 + 96 | 0; - return $7; -} - -function b2WheelJoint__Dump_28_29($0) { - $0 = $0 | 0; - var $1 = 0, $2 = Math_fround(0); - $1 = __stack_pointer - 192 | 0; - __stack_pointer = $1; - HEAP32[$1 + 188 >> 2] = $0; - $0 = HEAP32[$1 + 188 >> 2]; - HEAP32[$1 + 184 >> 2] = HEAP32[HEAP32[$0 + 48 >> 2] + 8 >> 2]; - HEAP32[$1 + 180 >> 2] = HEAP32[HEAP32[$0 + 52 >> 2] + 8 >> 2]; - b2Log_28char_20const__2c_20____29(13922, 0); - HEAP32[$1 + 144 >> 2] = HEAP32[$1 + 184 >> 2]; - b2Log_28char_20const__2c_20____29(14207, $1 + 144 | 0); - HEAP32[$1 + 128 >> 2] = HEAP32[$1 + 180 >> 2]; - b2Log_28char_20const__2c_20____29(14181, $1 + 128 | 0); - HEAP32[$1 + 112 >> 2] = HEAP8[$0 + 61 | 0] & 1; - b2Log_28char_20const__2c_20____29(15397, $1 + 112 | 0); - $2 = HEAPF32[$0 + 76 >> 2]; - HEAPF64[$1 + 104 >> 3] = HEAPF32[$0 + 80 >> 2]; - HEAPF64[$1 + 96 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14708, $1 + 96 | 0); - $2 = HEAPF32[$0 + 84 >> 2]; - HEAPF64[$1 + 88 >> 3] = HEAPF32[$0 + 88 >> 2]; - HEAPF64[$1 + 80 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14583, $1 + 80 | 0); - $2 = HEAPF32[$0 + 92 >> 2]; - HEAPF64[$1 + 72 >> 3] = HEAPF32[$0 + 96 >> 2]; - HEAPF64[$1 + 64 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14668, $1 - -64 | 0); - HEAP32[$1 + 48 >> 2] = HEAP8[$0 + 128 | 0] & 1; - b2Log_28char_20const__2c_20____29(15253, $1 + 48 | 0); - HEAPF64[$1 + 32 >> 3] = HEAPF32[$0 + 124 >> 2]; - b2Log_28char_20const__2c_20____29(13623, $1 + 32 | 0); - HEAPF64[$1 + 16 >> 3] = HEAPF32[$0 + 120 >> 2]; - b2Log_28char_20const__2c_20____29(13393, $1 + 16 | 0); - HEAPF64[$1 >> 3] = HEAPF32[$0 + 68 >> 2]; - b2Log_28char_20const__2c_20____29(12887, $1); - HEAPF64[$1 + 160 >> 3] = HEAPF32[$0 + 72 >> 2]; - b2Log_28char_20const__2c_20____29(13095, $1 + 160 | 0); - HEAP32[$1 + 176 >> 2] = HEAP32[$0 + 56 >> 2]; - b2Log_28char_20const__2c_20____29(14998, $1 + 176 | 0); - __stack_pointer = $1 + 192 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_unsigned_20long_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28_29_20const___invoke_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28char_20const__2c_20unsigned_20long_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 658; - $0 = emscripten__internal__TypeID_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_unsigned_20long_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_unsigned_20long_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], unsigned_20long_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______emscripten__internal__getContext_unsigned_20long_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28_29_20const__28unsigned_20long_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28b2Vec2_20const__29___invoke_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28char_20const__2c_20void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28b2Vec2_20const__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 656; - $0 = emscripten__internal__TypeID_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20b2Vec2_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20b2Vec2_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______emscripten__internal__getContext_void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28b2Vec2_20const__29__28void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______20const__29_28b2Vec2_20const__29_29_29_28b2Vec2_20const__29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_emscripten__val_20_28__29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long_29___invoke_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28char_20const__2c_20emscripten__val_20_28__29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 659; - $0 = emscripten__internal__TypeID_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_emscripten__val_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long___getCount_28_29_20const($2 + 19 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_emscripten__val_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long___getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], emscripten__val_20_28__emscripten__internal__getContext_emscripten__val_20_28__29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long_29__28emscripten__val_20_28__20const__29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long_29_29_29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long_29($2 + 20 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20b2DynamicTree__Query_b2WorldQueryWrapper__28b2WorldQueryWrapper__2c_20b2AABB_20const__29_20const($0, $1, $2) { - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 1072 | 0; - __stack_pointer = $3; - HEAP32[$3 + 1068 >> 2] = $0; - HEAP32[$3 + 1064 >> 2] = $1; - HEAP32[$3 + 1060 >> 2] = $2; - $0 = HEAP32[$3 + 1068 >> 2]; - b2GrowableStack_int_2c_20256___b2GrowableStack_28_29($3 + 24 | 0); - b2GrowableStack_int_2c_20256___Push_28int_20const__29($3 + 24 | 0, $0); - label$1: { - while (1) { - if ((b2GrowableStack_int_2c_20256___GetCount_28_29($3 + 24 | 0) | 0) > 0) { - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2GrowableStack_int_2c_20256___Pop_28_29($3 + 24 | 0), - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - if (HEAP32[$3 + 20 >> 2] == -1) { - continue; - } - HEAP32[$3 + 16 >> 2] = HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$3 + 20 >> 2], 40); - if (b2TestOverlap_28b2AABB_20const__2c_20b2AABB_20const__29(HEAP32[$3 + 16 >> 2], HEAP32[$3 + 1060 >> 2]) & 1) { - label$5: { - if (b2TreeNode__IsLeaf_28_29_20const(HEAP32[$3 + 16 >> 2]) & 1) { - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2WorldQueryWrapper__QueryCallback_28int_29(HEAP32[$3 + 1064 >> 2], HEAP32[$3 + 20 >> 2]) & 1, - HEAP8[wasm2js_i32$0 + 15 | 0] = wasm2js_i32$1; - if (!(HEAP8[$3 + 15 | 0] & 1)) { - HEAP32[$3 + 8 >> 2] = 1; - break label$1; - } - break label$5; - } - b2GrowableStack_int_2c_20256___Push_28int_20const__29($3 + 24 | 0, HEAP32[$3 + 16 >> 2] + 24 | 0); - b2GrowableStack_int_2c_20256___Push_28int_20const__29($3 + 24 | 0, HEAP32[$3 + 16 >> 2] + 28 | 0); - } - } - continue; - } - break; - } - HEAP32[$3 + 8 >> 2] = 0; - } - b2GrowableStack_int_2c_20256____b2GrowableStack_28_29($3 + 24 | 0); - __stack_pointer = $3 + 1072 | 0; -} - -function b2Body__SetEnabled_28bool_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP8[$2 + 27 | 0] = $1; - $0 = HEAP32[$2 + 28 >> 2]; - if (b2World__IsLocked_28_29_20const(HEAP32[$0 + 88 >> 2]) & 1) { - __assert_fail(9363, 4319, 482, 10470); - wasm2js_trap(); - } - label$2: { - if ((HEAP8[$2 + 27 | 0] & 1) == (b2Body__IsEnabled_28_29_20const($0) & 1)) { - break label$2; - } - if (HEAP8[$2 + 27 | 0] & 1) { - HEAP16[$0 + 4 >> 1] = HEAPU16[$0 + 4 >> 1] | 32; - HEAP32[$2 + 20 >> 2] = HEAP32[$0 + 88 >> 2] + 102868; - HEAP32[$2 + 16 >> 2] = HEAP32[$0 + 100 >> 2]; - while (1) { - if (HEAP32[$2 + 16 >> 2]) { - b2Fixture__CreateProxies_28b2BroadPhase__2c_20b2Transform_20const__29(HEAP32[$2 + 16 >> 2], HEAP32[$2 + 20 >> 2], $0 + 12 | 0); - HEAP32[$2 + 16 >> 2] = HEAP32[HEAP32[$2 + 16 >> 2] + 4 >> 2]; - continue; - } - break; - } - HEAP8[HEAP32[$0 + 88 >> 2] + 102988 | 0] = 1; - break label$2; - } - HEAP16[$0 + 4 >> 1] = HEAPU16[$0 + 4 >> 1] & -33; - HEAP32[$2 + 12 >> 2] = HEAP32[$0 + 88 >> 2] + 102868; - HEAP32[$2 + 8 >> 2] = HEAP32[$0 + 100 >> 2]; - while (1) { - if (HEAP32[$2 + 8 >> 2]) { - b2Fixture__DestroyProxies_28b2BroadPhase__29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2]); - HEAP32[$2 + 8 >> 2] = HEAP32[HEAP32[$2 + 8 >> 2] + 4 >> 2]; - continue; - } - break; - } - HEAP32[$2 + 4 >> 2] = HEAP32[$0 + 112 >> 2]; - while (1) { - if (HEAP32[$2 + 4 >> 2]) { - HEAP32[$2 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$2 + 4 >> 2] = HEAP32[HEAP32[$2 + 4 >> 2] + 12 >> 2]; - b2ContactManager__Destroy_28b2Contact__29(HEAP32[$0 + 88 >> 2] + 102868 | 0, HEAP32[HEAP32[$2 >> 2] + 4 >> 2]); - continue; - } - break; - } - HEAP32[$0 + 112 >> 2] = 0; - } - __stack_pointer = $2 + 32 | 0; -} - -function void_20b2DynamicTree__Query_b2BroadPhase__28b2BroadPhase__2c_20b2AABB_20const__29_20const($0, $1, $2) { - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 1072 | 0; - __stack_pointer = $3; - HEAP32[$3 + 1068 >> 2] = $0; - HEAP32[$3 + 1064 >> 2] = $1; - HEAP32[$3 + 1060 >> 2] = $2; - $0 = HEAP32[$3 + 1068 >> 2]; - b2GrowableStack_int_2c_20256___b2GrowableStack_28_29($3 + 24 | 0); - b2GrowableStack_int_2c_20256___Push_28int_20const__29($3 + 24 | 0, $0); - label$1: { - while (1) { - if ((b2GrowableStack_int_2c_20256___GetCount_28_29($3 + 24 | 0) | 0) > 0) { - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2GrowableStack_int_2c_20256___Pop_28_29($3 + 24 | 0), - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - if (HEAP32[$3 + 20 >> 2] == -1) { - continue; - } - HEAP32[$3 + 16 >> 2] = HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$3 + 20 >> 2], 40); - if (b2TestOverlap_28b2AABB_20const__2c_20b2AABB_20const__29(HEAP32[$3 + 16 >> 2], HEAP32[$3 + 1060 >> 2]) & 1) { - label$5: { - if (b2TreeNode__IsLeaf_28_29_20const(HEAP32[$3 + 16 >> 2]) & 1) { - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2BroadPhase__QueryCallback_28int_29(HEAP32[$3 + 1064 >> 2], HEAP32[$3 + 20 >> 2]) & 1, - HEAP8[wasm2js_i32$0 + 15 | 0] = wasm2js_i32$1; - if (!(HEAP8[$3 + 15 | 0] & 1)) { - HEAP32[$3 + 8 >> 2] = 1; - break label$1; - } - break label$5; - } - b2GrowableStack_int_2c_20256___Push_28int_20const__29($3 + 24 | 0, HEAP32[$3 + 16 >> 2] + 24 | 0); - b2GrowableStack_int_2c_20256___Push_28int_20const__29($3 + 24 | 0, HEAP32[$3 + 16 >> 2] + 28 | 0); - } - } - continue; - } - break; - } - HEAP32[$3 + 8 >> 2] = 0; - } - b2GrowableStack_int_2c_20256____b2GrowableStack_28_29($3 + 24 | 0); - __stack_pointer = $3 + 1072 | 0; -} - -function __stdio_write($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0; - $4 = __stack_pointer - 32 | 0; - __stack_pointer = $4; - $3 = HEAP32[$0 + 28 >> 2]; - HEAP32[$4 + 16 >> 2] = $3; - $5 = HEAP32[$0 + 20 >> 2]; - HEAP32[$4 + 28 >> 2] = $2; - HEAP32[$4 + 24 >> 2] = $1; - $1 = $5 - $3 | 0; - HEAP32[$4 + 20 >> 2] = $1; - $7 = $1 + $2 | 0; - $3 = $4 + 16 | 0; - $8 = 2; - label$1: { - label$2: { - label$3: { - label$4: { - if (__wasi_syscall_ret(__wasi_fd_write(HEAP32[$0 + 60 >> 2], $4 + 16 | 0, 2, $4 + 12 | 0) | 0)) { - $5 = $3; - break label$4; - } - while (1) { - $1 = HEAP32[$4 + 12 >> 2]; - if (($7 | 0) == ($1 | 0)) { - break label$3; - } - if (($1 | 0) < 0) { - $5 = $3; - break label$2; - } - $6 = HEAP32[$3 + 4 >> 2]; - $9 = $6 >>> 0 < $1 >>> 0; - $5 = ($9 << 3) + $3 | 0; - $6 = $1 - ($9 ? $6 : 0) | 0; - HEAP32[$5 >> 2] = $6 + HEAP32[$5 >> 2]; - $3 = ($9 ? 12 : 4) + $3 | 0; - HEAP32[$3 >> 2] = HEAP32[$3 >> 2] - $6; - $7 = $7 - $1 | 0; - $3 = $5; - $8 = $8 - $9 | 0; - if (!__wasi_syscall_ret(__wasi_fd_write(HEAP32[$0 + 60 >> 2], $3 | 0, $8 | 0, $4 + 12 | 0) | 0)) { - continue; - } - break; - } - } - if (($7 | 0) != -1) { - break label$2; - } - } - $1 = HEAP32[$0 + 44 >> 2]; - HEAP32[$0 + 28 >> 2] = $1; - HEAP32[$0 + 20 >> 2] = $1; - HEAP32[$0 + 16 >> 2] = HEAP32[$0 + 48 >> 2] + $1; - $1 = $2; - break label$1; - } - HEAP32[$0 + 28 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = 0; - HEAP32[$0 + 20 >> 2] = 0; - HEAP32[$0 >> 2] = HEAP32[$0 >> 2] | 32; - $1 = 0; - if (($8 | 0) == 2) { - break label$1; - } - $1 = $2 - HEAP32[$5 + 4 >> 2] | 0; - } - __stack_pointer = $4 + 32 | 0; - return $1 | 0; -} - -function b2PulleyJoint__Dump_28_29($0) { - $0 = $0 | 0; - var $1 = 0, $2 = Math_fround(0); - $1 = __stack_pointer - 176 | 0; - __stack_pointer = $1; - HEAP32[$1 + 172 >> 2] = $0; - $0 = HEAP32[$1 + 172 >> 2]; - HEAP32[$1 + 168 >> 2] = HEAP32[HEAP32[$0 + 48 >> 2] + 8 >> 2]; - HEAP32[$1 + 164 >> 2] = HEAP32[HEAP32[$0 + 52 >> 2] + 8 >> 2]; - b2Log_28char_20const__2c_20____29(13827, 0); - HEAP32[$1 + 128 >> 2] = HEAP32[$1 + 168 >> 2]; - b2Log_28char_20const__2c_20____29(14207, $1 + 128 | 0); - HEAP32[$1 + 112 >> 2] = HEAP32[$1 + 164 >> 2]; - b2Log_28char_20const__2c_20____29(14181, $1 + 112 | 0); - HEAP32[$1 + 96 >> 2] = HEAP8[$0 + 61 | 0] & 1; - b2Log_28char_20const__2c_20____29(15397, $1 + 96 | 0); - $2 = HEAPF32[$0 + 68 >> 2]; - HEAPF64[$1 + 88 >> 3] = HEAPF32[$0 + 72 >> 2]; - HEAPF64[$1 + 80 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14750, $1 + 80 | 0); - $2 = HEAPF32[$0 + 76 >> 2]; - HEAPF64[$1 + 72 >> 3] = HEAPF32[$0 + 80 >> 2]; - HEAPF64[$1 + 64 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14625, $1 - -64 | 0); - $2 = HEAPF32[$0 + 92 >> 2]; - HEAPF64[$1 + 56 >> 3] = HEAPF32[$0 + 96 >> 2]; - HEAPF64[$1 + 48 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14708, $1 + 48 | 0); - $2 = HEAPF32[$0 + 100 >> 2]; - HEAPF64[$1 + 40 >> 3] = HEAPF32[$0 + 104 >> 2]; - HEAPF64[$1 + 32 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14583, $1 + 32 | 0); - HEAPF64[$1 + 16 >> 3] = HEAPF32[$0 + 84 >> 2]; - b2Log_28char_20const__2c_20____29(13676, $1 + 16 | 0); - HEAPF64[$1 >> 3] = HEAPF32[$0 + 88 >> 2]; - b2Log_28char_20const__2c_20____29(13651, $1); - HEAPF64[$1 + 144 >> 3] = HEAPF32[$0 + 112 >> 2]; - b2Log_28char_20const__2c_20____29(13072, $1 + 144 | 0); - HEAP32[$1 + 160 >> 2] = HEAP32[$0 + 56 >> 2]; - b2Log_28char_20const__2c_20____29(14998, $1 + 160 | 0); - __stack_pointer = $1 + 176 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2Draw____29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29___invoke_b2Draw_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2Draw____29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 503; - $0 = emscripten__internal__TypeID_b2Draw_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2Draw____emscripten__internal__getContext_void_20_28b2Draw____29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29__28void_20_28b2Draw____20const__29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29_29_29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_unsigned_20long_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28_29_20const___invoke_std____2__vector_int_2c_20std____2__allocator_int____28char_20const__2c_20unsigned_20long_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 652; - $0 = emscripten__internal__TypeID_std____2__vector_int_2c_20std____2__allocator_int___2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_unsigned_20long_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int___20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_unsigned_20long_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int___20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], unsigned_20long_20_28std____2__vector_int_2c_20std____2__allocator_int______emscripten__internal__getContext_unsigned_20long_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28_29_20const__28unsigned_20long_20_28std____2__vector_int_2c_20std____2__allocator_int______20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____destroy_28std____2____tree_node_b2Fixture__2c_20void____29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (HEAP32[$2 + 8 >> 2]) { - std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____destroy_28std____2____tree_node_b2Fixture__2c_20void____29($0, HEAP32[HEAP32[$2 + 8 >> 2] >> 2]); - std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____destroy_28std____2____tree_node_b2Fixture__2c_20void____29($0, HEAP32[HEAP32[$2 + 8 >> 2] + 4 >> 2]); - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______node_alloc_5babi_v160004_5d_28_29($0), - HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - void_20std____2__allocator_traits_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______destroy_5babi_v160004_5d_b2Fixture__2c_20void_2c_20void__28std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____2c_20b2Fixture___29(HEAP32[$2 + 4 >> 2], std____2____tree_key_value_types_b2Fixture______get_ptr_5babi_v160004_5d_28b2Fixture___29(HEAP32[$2 + 8 >> 2] + 16 | 0)); - std____2__allocator_traits_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______deallocate_5babi_v160004_5d_28std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20unsigned_20long_29(HEAP32[$2 + 4 >> 2], HEAP32[$2 + 8 >> 2], 1); - } - __stack_pointer = $2 + 16 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_bool_20_28__29_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const__29___invoke_std____2__vector_int_2c_20std____2__allocator_int____28char_20const__2c_20bool_20_28__29_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 654; - $0 = emscripten__internal__TypeID_std____2__vector_int_2c_20std____2__allocator_int___2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const____getCount_28_29_20const($2 + 19 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const____getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], bool_20_28__emscripten__internal__getContext_bool_20_28__29_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const__29__28bool_20_28__20const__29_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const__29_29_29_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const__29($2 + 20 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_emscripten__val_20_28__29_28std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long_29___invoke_std____2__vector_int_2c_20std____2__allocator_int____28char_20const__2c_20emscripten__val_20_28__29_28std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 653; - $0 = emscripten__internal__TypeID_std____2__vector_int_2c_20std____2__allocator_int___2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_emscripten__val_2c_20std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long___getCount_28_29_20const($2 + 19 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_emscripten__val_2c_20std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long___getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], emscripten__val_20_28__emscripten__internal__getContext_emscripten__val_20_28__29_28std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long_29__28emscripten__val_20_28__20const__29_28std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long_29_29_29_28std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long_29($2 + 20 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______remove_node_pointer_28std____2____tree_node_b2Fixture__2c_20void____29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 8 >> 2] = $0; - HEAP32[$2 + 4 >> 2] = $1; - $0 = HEAP32[$2 + 8 >> 2]; - std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long_____tree_iterator_5babi_v160004_5d_28std____2____tree_node_b2Fixture__2c_20void____29($2 + 12 | 0, HEAP32[$2 + 4 >> 2]); - std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long___operator___5babi_v160004_5d_28_29($2 + 12 | 0); - if (HEAP32[std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______begin_node_5babi_v160004_5d_28_29($0) >> 2] == HEAP32[$2 + 4 >> 2]) { - $1 = HEAP32[$2 + 12 >> 2]; - wasm2js_i32$0 = std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______begin_node_5babi_v160004_5d_28_29($0), - wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - } - $1 = std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____size_5babi_v160004_5d_28_29($0); - HEAP32[$1 >> 2] = HEAP32[$1 >> 2] - 1; - void_20std____2____tree_remove_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____2c_20std____2____tree_node_base_void____29(HEAP32[std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______end_node_5babi_v160004_5d_28_29($0) >> 2], HEAP32[$2 + 4 >> 2]); - __stack_pointer = $2 + 16 | 0; - return HEAP32[$2 + 12 >> 2]; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28int_20const__29___invoke_std____2__vector_int_2c_20std____2__allocator_int____28char_20const__2c_20void_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28int_20const__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 650; - $0 = emscripten__internal__TypeID_std____2__vector_int_2c_20std____2__allocator_int___2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int____2c_20int_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int____2c_20int_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28std____2__vector_int_2c_20std____2__allocator_int______emscripten__internal__getContext_void_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28int_20const__29__28void_20_28std____2__vector_int_2c_20std____2__allocator_int______20const__29_28int_20const__29_29_29_28int_20const__29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_bool_20_28b2AABB____29_28b2RayCastOutput__2c_20b2RayCastInput_20const__29_20const___invoke_b2AABB_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20bool_20_28b2AABB____29_28b2RayCastOutput__2c_20b2RayCastInput_20const__29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 516; - $0 = emscripten__internal__TypeID_b2AABB_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const__2c_20b2RayCastOutput__2c_20b2RayCastInput_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const__2c_20b2RayCastOutput__2c_20b2RayCastInput_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], bool_20_28b2AABB____emscripten__internal__getContext_bool_20_28b2AABB____29_28b2RayCastOutput__2c_20b2RayCastInput_20const__29_20const__28bool_20_28b2AABB____20const__29_28b2RayCastOutput__2c_20b2RayCastInput_20const__29_20const_29_29_28b2RayCastOutput__2c_20b2RayCastInput_20const__29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______push_back_slow_path_b2Vec2_20const___28b2Vec2_20const__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - $0 = HEAP32[$2 + 28 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______alloc_5babi_v160004_5d_28_29($0), - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_b2Vec2___29($2, std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______recommend_5babi_v160004_5d_28unsigned_20long_29_20const($0, std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____size_5babi_v160004_5d_28_29_20const($0) + 1 | 0), std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____size_5babi_v160004_5d_28_29_20const($0), HEAP32[$2 + 20 >> 2]); - void_20std____2__allocator_traits_std____2__allocator_b2Vec2____construct_5babi_v160004_5d_b2Vec2_2c_20b2Vec2_20const__2c_20void__28std____2__allocator_b2Vec2___2c_20b2Vec2__2c_20b2Vec2_20const__29(HEAP32[$2 + 20 >> 2], b2Vec2__20std____2____to_address_5babi_v160004_5d_b2Vec2__28b2Vec2__29(HEAP32[$2 + 8 >> 2]), HEAP32[$2 + 24 >> 2]); - HEAP32[$2 + 8 >> 2] = HEAP32[$2 + 8 >> 2] + 8; - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______swap_out_circular_buffer_28std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_____29($0, $2); - std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2________split_buffer_28_29($2); - __stack_pointer = $2 + 32 | 0; -} - -function std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_b2Vec2___29($0, $1, $2, $3) { - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $4 = __stack_pointer - 32 | 0; - __stack_pointer = $4; - HEAP32[$4 + 24 >> 2] = $0; - HEAP32[$4 + 20 >> 2] = $1; - HEAP32[$4 + 16 >> 2] = $2; - HEAP32[$4 + 12 >> 2] = $3; - $0 = HEAP32[$4 + 24 >> 2]; - HEAP32[$4 + 28 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = 0; - std____2____compressed_pair_b2Vec2__2c_20std____2__allocator_b2Vec2_______compressed_pair_5babi_v160004_5d_std__nullptr_t_2c_20std____2__allocator_b2Vec2____28std__nullptr_t___2c_20std____2__allocator_b2Vec2___29($0 + 12 | 0, $4 + 8 | 0, HEAP32[$4 + 12 >> 2]); - label$1: { - if (!HEAP32[$4 + 20 >> 2]) { - HEAP32[$0 >> 2] = 0; - break label$1; - } - std____2____allocation_result_std____2__allocator_traits_std____2__allocator_b2Vec2____pointer__20std____2____allocate_at_least_5babi_v160004_5d_std____2__allocator_b2Vec2___28std____2__allocator_b2Vec2___2c_20unsigned_20long_29($4, std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_______alloc_5babi_v160004_5d_28_29($0), HEAP32[$4 + 20 >> 2]); - HEAP32[$0 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$4 + 20 >> 2] = HEAP32[$4 + 4 >> 2]; - } - $1 = HEAP32[$0 >> 2] + (HEAP32[$4 + 16 >> 2] << 3) | 0; - HEAP32[$0 + 8 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $1; - $1 = HEAP32[$0 >> 2]; - $2 = HEAP32[$4 + 20 >> 2] << 3; - wasm2js_i32$0 = std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_______end_cap_5babi_v160004_5d_28_29($0), - wasm2js_i32$1 = $1 + $2 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - __stack_pointer = $4 + 32 | 0; - return HEAP32[$4 + 28 >> 2]; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2Draw____29_28b2Vec2_20const__2c_20float_2c_20b2Color_20const__29___invoke_b2Draw_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2Draw____29_28b2Vec2_20const__2c_20float_2c_20b2Color_20const__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 501; - $0 = emscripten__internal__TypeID_b2Draw_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Vec2_20const__2c_20float_2c_20b2Color_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Vec2_20const__2c_20float_2c_20b2Color_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20float_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2Draw____emscripten__internal__getContext_void_20_28b2Draw____29_28b2Vec2_20const__2c_20float_2c_20b2Color_20const__29__28void_20_28b2Draw____20const__29_28b2Vec2_20const__2c_20float_2c_20b2Color_20const__29_29_29_28b2Vec2_20const__2c_20float_2c_20b2Color_20const__29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2ContactListener____29_28unsigned_20int_2c_20unsigned_20int_29___invoke_b2ContactListener_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2ContactListener____29_28unsigned_20int_2c_20unsigned_20int_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 491; - $0 = emscripten__internal__TypeID_b2ContactListener_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2ContactListener__2c_20unsigned_20int_2c_20unsigned_20int___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2ContactListener__2c_20unsigned_20int_2c_20unsigned_20int___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2ContactListener____emscripten__internal__getContext_void_20_28b2ContactListener____29_28unsigned_20int_2c_20unsigned_20int_29__28void_20_28b2ContactListener____20const__29_28unsigned_20int_2c_20unsigned_20int_29_29_29_28unsigned_20int_2c_20unsigned_20int_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__Invoker_emscripten__val_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const____invoke_28emscripten__val_20_28__29_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const__29_2c_20emscripten__internal__BindingType_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___2c_20void____unnamed___2c_20emscripten___EM_VAL__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $0; - HEAP32[$3 + 24 >> 2] = $1; - HEAP32[$3 + 20 >> 2] = $2; - $0 = HEAP32[$3 + 28 >> 2]; - emscripten__internal__BindingType_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___2c_20void___fromWireType_28emscripten__internal__BindingType_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___2c_20void____unnamed___29($3 + 4 | 0, HEAP32[$3 + 24 >> 2]); - emscripten__internal__BindingType_emscripten__val_2c_20void___fromWireType_28emscripten___EM_VAL__29($3, HEAP32[$3 + 20 >> 2]); - FUNCTION_TABLE[$0 | 0]($3 + 16 | 0, $3 + 4 | 0, $3); - $0 = emscripten__internal__BindingType_emscripten__val_2c_20void___toWireType_28emscripten__val_20const__29($3 + 16 | 0); - emscripten__val___val_28_29($3 + 16 | 0); - emscripten__val___val_28_29($3); - std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($3 + 4 | 0); - __stack_pointer = $3 + 32 | 0; - return $0 | 0; -} - -function void_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______push_back_slow_path_b2Vec2__28b2Vec2___29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - $0 = HEAP32[$2 + 28 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______alloc_5babi_v160004_5d_28_29($0), - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_b2Vec2___29($2, std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______recommend_5babi_v160004_5d_28unsigned_20long_29_20const($0, std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____size_5babi_v160004_5d_28_29_20const($0) + 1 | 0), std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____size_5babi_v160004_5d_28_29_20const($0), HEAP32[$2 + 20 >> 2]); - void_20std____2__allocator_traits_std____2__allocator_b2Vec2____construct_5babi_v160004_5d_b2Vec2_2c_20b2Vec2_2c_20void__28std____2__allocator_b2Vec2___2c_20b2Vec2__2c_20b2Vec2___29(HEAP32[$2 + 20 >> 2], b2Vec2__20std____2____to_address_5babi_v160004_5d_b2Vec2__28b2Vec2__29(HEAP32[$2 + 8 >> 2]), HEAP32[$2 + 24 >> 2]); - HEAP32[$2 + 8 >> 2] = HEAP32[$2 + 8 >> 2] + 8; - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______swap_out_circular_buffer_28std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_____29($0, $2); - std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2________split_buffer_28_29($2); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2World____29_28b2QueryCallback__2c_20b2AABB_20const__29_20const___invoke_b2World_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2World____29_28b2QueryCallback__2c_20b2AABB_20const__29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 526; - $0 = emscripten__internal__TypeID_b2World_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World_20const__2c_20b2QueryCallback__2c_20b2AABB_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World_20const__2c_20b2QueryCallback__2c_20b2AABB_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2World____emscripten__internal__getContext_void_20_28b2World____29_28b2QueryCallback__2c_20b2AABB_20const__29_20const__28void_20_28b2World____20const__29_28b2QueryCallback__2c_20b2AABB_20const__29_20const_29_29_28b2QueryCallback__2c_20b2AABB_20const__29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2Draw____29_28unsigned_20int_2c_20int_2c_20b2Color_20const__29___invoke_b2Draw_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2Draw____29_28unsigned_20int_2c_20int_2c_20b2Color_20const__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 500; - $0 = emscripten__internal__TypeID_b2Draw_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20unsigned_20int_2c_20int_2c_20b2Color_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20unsigned_20int_2c_20int_2c_20b2Color_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2Draw____emscripten__internal__getContext_void_20_28b2Draw____29_28unsigned_20int_2c_20int_2c_20b2Color_20const__29__28void_20_28b2Draw____20const__29_28unsigned_20int_2c_20int_2c_20b2Color_20const__29_29_29_28unsigned_20int_2c_20int_2c_20b2Color_20const__29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function b2Contact__InitializeRegisters_28_29() { - b2Contact__AddType_28b2Contact__20_28__29_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29_2c_20void_20_28__29_28b2Contact__2c_20b2BlockAllocator__29_2c_20b2Shape__Type_2c_20b2Shape__Type_29(750, 751, 0, 0); - b2Contact__AddType_28b2Contact__20_28__29_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29_2c_20void_20_28__29_28b2Contact__2c_20b2BlockAllocator__29_2c_20b2Shape__Type_2c_20b2Shape__Type_29(752, 753, 2, 0); - b2Contact__AddType_28b2Contact__20_28__29_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29_2c_20void_20_28__29_28b2Contact__2c_20b2BlockAllocator__29_2c_20b2Shape__Type_2c_20b2Shape__Type_29(754, 755, 2, 2); - b2Contact__AddType_28b2Contact__20_28__29_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29_2c_20void_20_28__29_28b2Contact__2c_20b2BlockAllocator__29_2c_20b2Shape__Type_2c_20b2Shape__Type_29(756, 757, 1, 0); - b2Contact__AddType_28b2Contact__20_28__29_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29_2c_20void_20_28__29_28b2Contact__2c_20b2BlockAllocator__29_2c_20b2Shape__Type_2c_20b2Shape__Type_29(758, 759, 1, 2); - b2Contact__AddType_28b2Contact__20_28__29_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29_2c_20void_20_28__29_28b2Contact__2c_20b2BlockAllocator__29_2c_20b2Shape__Type_2c_20b2Shape__Type_29(760, 761, 3, 0); - b2Contact__AddType_28b2Contact__20_28__29_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29_2c_20void_20_28__29_28b2Contact__2c_20b2BlockAllocator__29_2c_20b2Shape__Type_2c_20b2Shape__Type_29(762, 763, 3, 2); -} - -function b2Contact__Destroy_28b2Contact__2c_20b2BlockAllocator__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - if (!(HEAP8[30272] & 1)) { - __assert_fail(8875, 5372, 107, 1655); - wasm2js_trap(); - } - HEAP32[$2 + 20 >> 2] = HEAP32[HEAP32[$2 + 28 >> 2] + 48 >> 2]; - HEAP32[$2 + 16 >> 2] = HEAP32[HEAP32[$2 + 28 >> 2] + 52 >> 2]; - label$2: { - if (HEAP32[HEAP32[$2 + 28 >> 2] + 124 >> 2] <= 0) { - break label$2; - } - if (b2Fixture__IsSensor_28_29_20const(HEAP32[$2 + 20 >> 2]) & 1) { - break label$2; - } - if (b2Fixture__IsSensor_28_29_20const(HEAP32[$2 + 16 >> 2]) & 1) { - break label$2; - } - b2Body__SetAwake_28bool_29(b2Fixture__GetBody_28_29(HEAP32[$2 + 20 >> 2]), 1); - b2Body__SetAwake_28bool_29(b2Fixture__GetBody_28_29(HEAP32[$2 + 16 >> 2]), 1); - } - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Fixture__GetType_28_29_20const(HEAP32[$2 + 20 >> 2]), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Fixture__GetType_28_29_20const(HEAP32[$2 + 16 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - if (!(HEAP32[$2 + 8 >> 2] < 4 & HEAP32[$2 + 12 >> 2] >= 0)) { - __assert_fail(2385, 5372, 123, 1655); - wasm2js_trap(); - } - if (!(HEAP32[$2 + 8 >> 2] < 4 & HEAP32[$2 + 12 >> 2] >= 0)) { - __assert_fail(2385, 5372, 124, 1655); - wasm2js_trap(); - } - HEAP32[$2 + 4 >> 2] = HEAP32[((Math_imul(HEAP32[$2 + 12 >> 2], 48) + 30080 | 0) + Math_imul(HEAP32[$2 + 8 >> 2], 12) | 0) + 4 >> 2]; - FUNCTION_TABLE[HEAP32[$2 + 4 >> 2]](HEAP32[$2 + 28 >> 2], HEAP32[$2 + 24 >> 2]); - __stack_pointer = $2 + 32 | 0; -} - -function std____2____split_buffer_int_2c_20std____2__allocator_int_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_int___29($0, $1, $2, $3) { - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $4 = __stack_pointer - 32 | 0; - __stack_pointer = $4; - HEAP32[$4 + 24 >> 2] = $0; - HEAP32[$4 + 20 >> 2] = $1; - HEAP32[$4 + 16 >> 2] = $2; - HEAP32[$4 + 12 >> 2] = $3; - $0 = HEAP32[$4 + 24 >> 2]; - HEAP32[$4 + 28 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = 0; - std____2____compressed_pair_int__2c_20std____2__allocator_int_______compressed_pair_5babi_v160004_5d_std__nullptr_t_2c_20std____2__allocator_int____28std__nullptr_t___2c_20std____2__allocator_int___29($0 + 12 | 0, $4 + 8 | 0, HEAP32[$4 + 12 >> 2]); - label$1: { - if (!HEAP32[$4 + 20 >> 2]) { - HEAP32[$0 >> 2] = 0; - break label$1; - } - std____2____allocation_result_std____2__allocator_traits_std____2__allocator_int____pointer__20std____2____allocate_at_least_5babi_v160004_5d_std____2__allocator_int___28std____2__allocator_int___2c_20unsigned_20long_29($4, std____2____split_buffer_int_2c_20std____2__allocator_int_______alloc_5babi_v160004_5d_28_29($0), HEAP32[$4 + 20 >> 2]); - HEAP32[$0 >> 2] = HEAP32[$4 >> 2]; - HEAP32[$4 + 20 >> 2] = HEAP32[$4 + 4 >> 2]; - } - $1 = HEAP32[$0 >> 2] + (HEAP32[$4 + 16 >> 2] << 2) | 0; - HEAP32[$0 + 8 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $1; - $1 = HEAP32[$0 >> 2]; - $2 = HEAP32[$4 + 20 >> 2] << 2; - wasm2js_i32$0 = std____2____split_buffer_int_2c_20std____2__allocator_int_______end_cap_5babi_v160004_5d_28_29($0), - wasm2js_i32$1 = $1 + $2 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - __stack_pointer = $4 + 32 | 0; - return HEAP32[$4 + 28 >> 2]; -} - -function b2Body__SetTransform_28b2Vec2_20const__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0, $4 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $0; - HEAP32[$3 + 24 >> 2] = $1; - HEAPF32[$3 + 20 >> 2] = $2; - $0 = HEAP32[$3 + 28 >> 2]; - if (b2World__IsLocked_28_29_20const(HEAP32[$0 + 88 >> 2]) & 1) { - __assert_fail(9363, 4319, 432, 7107); - wasm2js_trap(); - } - if (!(b2World__IsLocked_28_29_20const(HEAP32[$0 + 88 >> 2]) & 1)) { - b2Rot__Set_28float_29($0 + 20 | 0, HEAPF32[$3 + 20 >> 2]); - $4 = HEAP32[$3 + 24 >> 2]; - $1 = HEAP32[$4 >> 2]; - $4 = HEAP32[$4 + 4 >> 2]; - HEAP32[$0 + 12 >> 2] = $1; - HEAP32[$0 + 16 >> 2] = $4; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($3 + 12 | 0, $0 + 12 | 0, $0 + 28 | 0); - $1 = HEAP32[$3 + 16 >> 2]; - $4 = HEAP32[$3 + 12 >> 2]; - HEAP32[$0 + 44 >> 2] = $4; - HEAP32[$0 + 48 >> 2] = $1; - HEAPF32[$0 + 56 >> 2] = HEAPF32[$3 + 20 >> 2]; - $4 = HEAP32[$0 + 48 >> 2]; - $1 = HEAP32[$0 + 44 >> 2]; - HEAP32[$0 + 36 >> 2] = $1; - HEAP32[$0 + 40 >> 2] = $4; - HEAPF32[$0 + 52 >> 2] = HEAPF32[$3 + 20 >> 2]; - HEAP32[$3 + 8 >> 2] = HEAP32[$0 + 88 >> 2] + 102868; - HEAP32[$3 + 4 >> 2] = HEAP32[$0 + 100 >> 2]; - while (1) { - if (HEAP32[$3 + 4 >> 2]) { - b2Fixture__Synchronize_28b2BroadPhase__2c_20b2Transform_20const__2c_20b2Transform_20const__29(HEAP32[$3 + 4 >> 2], HEAP32[$3 + 8 >> 2], $0 + 12 | 0, $0 + 12 | 0); - HEAP32[$3 + 4 >> 2] = HEAP32[HEAP32[$3 + 4 >> 2] + 4 >> 2]; - continue; - } - break; - } - b2ContactManager__FindNewContacts_28_29(HEAP32[$0 + 88 >> 2] + 102868 | 0); - } - __stack_pointer = $3 + 32 | 0; -} - -function b2Body__CreateFixture_28b2FixtureDef_20const__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - $0 = HEAP32[$2 + 24 >> 2]; - if (b2World__IsLocked_28_29_20const(HEAP32[$0 + 88 >> 2]) & 1) { - __assert_fail(9363, 4319, 170, 9472); - wasm2js_trap(); - } - label$2: { - if (b2World__IsLocked_28_29_20const(HEAP32[$0 + 88 >> 2]) & 1) { - HEAP32[$2 + 28 >> 2] = 0; - break label$2; - } - HEAP32[$2 + 16 >> 2] = HEAP32[$0 + 88 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$2 + 16 >> 2], 44), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Fixture__b2Fixture_28_29($1); - HEAP32[$2 + 8 >> 2] = $1; - b2Fixture__Create_28b2BlockAllocator__2c_20b2Body__2c_20b2FixtureDef_20const__29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], $0, HEAP32[$2 + 20 >> 2]); - if (HEAPU16[$0 + 4 >> 1] & 32) { - HEAP32[$2 + 4 >> 2] = HEAP32[$0 + 88 >> 2] + 102868; - b2Fixture__CreateProxies_28b2BroadPhase__2c_20b2Transform_20const__29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 4 >> 2], $0 + 12 | 0); - } - HEAP32[HEAP32[$2 + 8 >> 2] + 4 >> 2] = HEAP32[$0 + 100 >> 2]; - HEAP32[$0 + 100 >> 2] = HEAP32[$2 + 8 >> 2]; - HEAP32[$0 + 104 >> 2] = HEAP32[$0 + 104 >> 2] + 1; - HEAP32[HEAP32[$2 + 8 >> 2] + 8 >> 2] = $0; - if (HEAPF32[HEAP32[$2 + 8 >> 2] >> 2] > Math_fround(0)) { - b2Body__ResetMassData_28_29($0); - } - HEAP8[HEAP32[$0 + 88 >> 2] + 102988 | 0] = 1; - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - } - __stack_pointer = $2 + 32 | 0; - return HEAP32[$2 + 28 >> 2]; -} - -function b2Fixture__Refilter_28_29($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 32 | 0; - __stack_pointer = $1; - HEAP32[$1 + 28 >> 2] = $0; - label$1: { - $0 = HEAP32[$1 + 28 >> 2]; - if (!HEAP32[$0 + 8 >> 2]) { - break label$1; - } - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Body__GetContactList_28_29(HEAP32[$0 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; - while (1) { - if (HEAP32[$1 + 24 >> 2]) { - HEAP32[$1 + 20 >> 2] = HEAP32[HEAP32[$1 + 24 >> 2] + 4 >> 2]; - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Contact__GetFixtureA_28_29(HEAP32[$1 + 20 >> 2]), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Contact__GetFixtureB_28_29(HEAP32[$1 + 20 >> 2]), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - if (!(HEAP32[$1 + 16 >> 2] != ($0 | 0) & HEAP32[$1 + 12 >> 2] != ($0 | 0))) { - b2Contact__FlagForFiltering_28_29(HEAP32[$1 + 20 >> 2]); - } - HEAP32[$1 + 24 >> 2] = HEAP32[HEAP32[$1 + 24 >> 2] + 12 >> 2]; - continue; - } - break; - } - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Body__GetWorld_28_29(HEAP32[$0 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - if (!HEAP32[$1 + 8 >> 2]) { - break label$1; - } - HEAP32[$1 + 4 >> 2] = HEAP32[$1 + 8 >> 2] + 102868; - HEAP32[$1 >> 2] = 0; - while (1) { - if (HEAP32[$1 >> 2] >= HEAP32[$0 + 28 >> 2]) { - break label$1; - } - b2BroadPhase__TouchProxy_28int_29(HEAP32[$1 + 4 >> 2], HEAP32[(HEAP32[$0 + 24 >> 2] + Math_imul(HEAP32[$1 >> 2], 28) | 0) + 24 >> 2]); - HEAP32[$1 >> 2] = HEAP32[$1 >> 2] + 1; - continue; - } - } - __stack_pointer = $1 + 32 | 0; -} - -function b2Island__b2Island_28int_2c_20int_2c_20int_2c_20b2StackAllocator__2c_20b2ContactListener__29($0, $1, $2, $3, $4, $5) { - var $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $6 = __stack_pointer - 32 | 0; - __stack_pointer = $6; - HEAP32[$6 + 28 >> 2] = $0; - HEAP32[$6 + 24 >> 2] = $1; - HEAP32[$6 + 20 >> 2] = $2; - HEAP32[$6 + 16 >> 2] = $3; - HEAP32[$6 + 12 >> 2] = $4; - HEAP32[$6 + 8 >> 2] = $5; - $0 = HEAP32[$6 + 28 >> 2]; - HEAP32[$0 + 40 >> 2] = HEAP32[$6 + 24 >> 2]; - HEAP32[$0 + 44 >> 2] = HEAP32[$6 + 20 >> 2]; - HEAP32[$0 + 48 >> 2] = HEAP32[$6 + 16 >> 2]; - HEAP32[$0 + 28 >> 2] = 0; - HEAP32[$0 + 36 >> 2] = 0; - HEAP32[$0 + 32 >> 2] = 0; - HEAP32[$0 >> 2] = HEAP32[$6 + 12 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$6 + 8 >> 2]; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2StackAllocator__Allocate_28int_29(HEAP32[$0 >> 2], HEAP32[$6 + 24 >> 2] << 2), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2StackAllocator__Allocate_28int_29(HEAP32[$0 >> 2], HEAP32[$6 + 20 >> 2] << 2), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2StackAllocator__Allocate_28int_29(HEAP32[$0 >> 2], HEAP32[$6 + 16 >> 2] << 2), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2StackAllocator__Allocate_28int_29(HEAP32[$0 >> 2], Math_imul(HEAP32[$0 + 40 >> 2], 12)), - HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2StackAllocator__Allocate_28int_29(HEAP32[$0 >> 2], Math_imul(HEAP32[$0 + 40 >> 2], 12)), - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - __stack_pointer = $6 + 32 | 0; - return $0; -} - -function pop_arg($0, $1, $2, $3) { - label$1: { - switch ($1 - 9 | 0) { - case 0: - $1 = HEAP32[$2 >> 2]; - HEAP32[$2 >> 2] = $1 + 4; - HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; - return; - - case 6: - $1 = HEAP32[$2 >> 2]; - HEAP32[$2 >> 2] = $1 + 4; - $1 = HEAP16[$1 >> 1]; - $2 = $1 >> 31; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - return; - - case 7: - $1 = HEAP32[$2 >> 2]; - HEAP32[$2 >> 2] = $1 + 4; - $2 = HEAPU16[$1 >> 1]; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = 0; - return; - - case 8: - $1 = HEAP32[$2 >> 2]; - HEAP32[$2 >> 2] = $1 + 4; - $1 = HEAP8[$1 | 0]; - $2 = $1 >> 31; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - return; - - case 9: - $1 = HEAP32[$2 >> 2]; - HEAP32[$2 >> 2] = $1 + 4; - $2 = HEAPU8[$1 | 0]; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = 0; - return; - - case 16: - $1 = HEAP32[$2 >> 2] + 7 & -8; - HEAP32[$2 >> 2] = $1 + 8; - HEAPF64[$0 >> 3] = HEAPF64[$1 >> 3]; - return; - - case 17: - FUNCTION_TABLE[$3 | 0]($0, $2); - - default: - return; - - case 1: - case 4: - case 14: - $1 = HEAP32[$2 >> 2]; - HEAP32[$2 >> 2] = $1 + 4; - $1 = HEAP32[$1 >> 2]; - $2 = $1 >> 31; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - return; - - case 2: - case 5: - case 11: - case 15: - $1 = HEAP32[$2 >> 2]; - HEAP32[$2 >> 2] = $1 + 4; - $2 = HEAP32[$1 >> 2]; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = 0; - return; - - case 3: - case 10: - case 12: - case 13: - break label$1; - } - } - $1 = HEAP32[$2 >> 2] + 7 & -8; - HEAP32[$2 >> 2] = $1 + 8; - $2 = HEAP32[$1 + 4 >> 2]; - $1 = HEAP32[$1 >> 2]; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; -} - -function b2Mat33__Solve33_28b2Vec3_20const__29_20const($0, $1, $2) { - var $3 = 0, $4 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $3 = __stack_pointer + -64 | 0; - __stack_pointer = $3; - HEAP32[$3 + 60 >> 2] = $1; - HEAP32[$3 + 56 >> 2] = $2; - $1 = HEAP32[$3 + 60 >> 2]; - b2Cross_28b2Vec3_20const__2c_20b2Vec3_20const__29($3 + 40 | 0, $1 + 12 | 0, $1 + 24 | 0); - wasm2js_i32$0 = $3, wasm2js_f32$0 = b2Dot_28b2Vec3_20const__2c_20b2Vec3_20const__29($1, $3 + 40 | 0), - HEAPF32[wasm2js_i32$0 + 52 >> 2] = wasm2js_f32$0; - if (HEAPF32[$3 + 52 >> 2] != Math_fround(0)) { - HEAPF32[$3 + 52 >> 2] = Math_fround(1) / HEAPF32[$3 + 52 >> 2]; - } - b2Vec3__b2Vec3_28_29($0); - $4 = HEAPF32[$3 + 52 >> 2]; - $2 = HEAP32[$3 + 56 >> 2]; - b2Cross_28b2Vec3_20const__2c_20b2Vec3_20const__29($3 + 28 | 0, $1 + 12 | 0, $1 + 24 | 0); - wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround($4 * b2Dot_28b2Vec3_20const__2c_20b2Vec3_20const__29($2, $3 + 28 | 0)), - HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; - $4 = HEAPF32[$3 + 52 >> 2]; - b2Cross_28b2Vec3_20const__2c_20b2Vec3_20const__29($3 + 16 | 0, HEAP32[$3 + 56 >> 2], $1 + 24 | 0); - wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround($4 * b2Dot_28b2Vec3_20const__2c_20b2Vec3_20const__29($1, $3 + 16 | 0)), - HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; - $4 = HEAPF32[$3 + 52 >> 2]; - b2Cross_28b2Vec3_20const__2c_20b2Vec3_20const__29($3 + 4 | 0, $1 + 12 | 0, HEAP32[$3 + 56 >> 2]); - wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround($4 * b2Dot_28b2Vec3_20const__2c_20b2Vec3_20const__29($1, $3 + 4 | 0)), - HEAPF32[wasm2js_i32$0 + 8 >> 2] = wasm2js_f32$0; - __stack_pointer = $3 - -64 | 0; -} - -function b2TestOverlap_28b2Shape_20const__2c_20int_2c_20b2Shape_20const__2c_20int_2c_20b2Transform_20const__2c_20b2Transform_20const__29($0, $1, $2, $3, $4, $5) { - var $6 = 0; - $6 = __stack_pointer - 160 | 0; - __stack_pointer = $6; - HEAP32[$6 + 156 >> 2] = $0; - HEAP32[$6 + 152 >> 2] = $1; - HEAP32[$6 + 148 >> 2] = $2; - HEAP32[$6 + 144 >> 2] = $3; - HEAP32[$6 + 140 >> 2] = $4; - HEAP32[$6 + 136 >> 2] = $5; - b2DistanceInput__b2DistanceInput_28_29($6 + 44 | 0); - b2DistanceProxy__Set_28b2Shape_20const__2c_20int_29($6 + 44 | 0, HEAP32[$6 + 156 >> 2], HEAP32[$6 + 152 >> 2]); - b2DistanceProxy__Set_28b2Shape_20const__2c_20int_29($6 + 72 | 0, HEAP32[$6 + 148 >> 2], HEAP32[$6 + 144 >> 2]); - $4 = HEAP32[$6 + 140 >> 2]; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - $3 = $0; - $2 = $6 + 44 | 0; - $0 = $2; - HEAP32[$0 + 56 >> 2] = $3; - HEAP32[$0 + 60 >> 2] = $1; - $0 = HEAP32[$4 + 12 >> 2]; - $1 = HEAP32[$4 + 8 >> 2]; - $3 = $1; - $1 = $2; - HEAP32[$1 + 64 >> 2] = $3; - HEAP32[$1 + 68 >> 2] = $0; - $4 = HEAP32[$6 + 136 >> 2]; - $0 = HEAP32[$4 >> 2]; - $1 = HEAP32[$4 + 4 >> 2]; - $3 = $0; - $2 = $6 + 44 | 0; - $0 = $2; - HEAP32[$0 + 72 >> 2] = $3; - HEAP32[$0 + 76 >> 2] = $1; - $0 = HEAP32[$4 + 12 >> 2]; - $1 = HEAP32[$4 + 8 >> 2]; - $3 = $1; - $1 = $2; - HEAP32[$1 + 80 >> 2] = $3; - HEAP32[$1 + 84 >> 2] = $0; - HEAP8[$6 + 132 | 0] = 1; - HEAP16[$6 + 36 >> 1] = 0; - b2DistanceOutput__b2DistanceOutput_28_29($6 + 8 | 0); - b2Distance_28b2DistanceOutput__2c_20b2SimplexCache__2c_20b2DistanceInput_20const__29($6 + 8 | 0, $6 + 32 | 0, $6 + 44 | 0); - __stack_pointer = $6 + 160 | 0; - return HEAPF32[$6 + 24 >> 2] < Math_fround(11920928955078125e-22); -} - -function __dynamic_cast($0, $1, $2, $3) { - var $4 = 0, $5 = 0, $6 = 0; - $4 = __stack_pointer + -64 | 0; - __stack_pointer = $4; - $6 = HEAP32[$0 >> 2]; - $5 = HEAP32[$6 - 4 >> 2]; - $6 = HEAP32[$6 - 8 >> 2]; - HEAP32[$4 + 32 >> 2] = 0; - HEAP32[$4 + 36 >> 2] = 0; - HEAP32[$4 + 40 >> 2] = 0; - HEAP32[$4 + 44 >> 2] = 0; - HEAP32[$4 + 48 >> 2] = 0; - HEAP32[$4 + 52 >> 2] = 0; - HEAP8[$4 + 55 | 0] = 0; - HEAP8[$4 + 56 | 0] = 0; - HEAP8[$4 + 57 | 0] = 0; - HEAP8[$4 + 58 | 0] = 0; - HEAP8[$4 + 59 | 0] = 0; - HEAP8[$4 + 60 | 0] = 0; - HEAP8[$4 + 61 | 0] = 0; - HEAP8[$4 + 62 | 0] = 0; - HEAP32[$4 + 24 >> 2] = 0; - HEAP32[$4 + 28 >> 2] = 0; - HEAP32[$4 + 20 >> 2] = $3; - HEAP32[$4 + 16 >> 2] = $1; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $2; - $0 = $0 + $6 | 0; - $3 = 0; - label$1: { - if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($5, $2, 0)) { - HEAP32[$4 + 56 >> 2] = 1; - FUNCTION_TABLE[HEAP32[HEAP32[$5 >> 2] + 20 >> 2]]($5, $4 + 8 | 0, $0, $0, 1, 0); - $3 = HEAP32[$4 + 32 >> 2] == 1 ? $0 : 0; - break label$1; - } - FUNCTION_TABLE[HEAP32[HEAP32[$5 >> 2] + 24 >> 2]]($5, $4 + 8 | 0, $0, 1, 0); - label$3: { - switch (HEAP32[$4 + 44 >> 2]) { - case 0: - $3 = HEAP32[$4 + 48 >> 2] == 1 ? HEAP32[$4 + 36 >> 2] == 1 ? HEAP32[$4 + 40 >> 2] == 1 ? HEAP32[$4 + 28 >> 2] : 0 : 0 : 0; - break label$1; - - case 1: - break label$3; - - default: - break label$1; - } - } - if (HEAP32[$4 + 32 >> 2] != 1) { - if (HEAP32[$4 + 48 >> 2] | HEAP32[$4 + 36 >> 2] != 1 | HEAP32[$4 + 40 >> 2] != 1) { - break label$1; - } - } - $3 = HEAP32[$4 + 24 >> 2]; - } - __stack_pointer = $4 - -64 | 0; - return $3; -} - -function void_20std____2__vector_int_2c_20std____2__allocator_int______push_back_slow_path_int_20const___28int_20const__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - $0 = HEAP32[$2 + 28 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__vector_int_2c_20std____2__allocator_int______alloc_5babi_v160004_5d_28_29($0), - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - std____2____split_buffer_int_2c_20std____2__allocator_int_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_int___29($2, std____2__vector_int_2c_20std____2__allocator_int______recommend_5babi_v160004_5d_28unsigned_20long_29_20const($0, std____2__vector_int_2c_20std____2__allocator_int____size_5babi_v160004_5d_28_29_20const($0) + 1 | 0), std____2__vector_int_2c_20std____2__allocator_int____size_5babi_v160004_5d_28_29_20const($0), HEAP32[$2 + 20 >> 2]); - void_20std____2__allocator_traits_std____2__allocator_int____construct_5babi_v160004_5d_int_2c_20int_20const__2c_20void__28std____2__allocator_int___2c_20int__2c_20int_20const__29(HEAP32[$2 + 20 >> 2], int__20std____2____to_address_5babi_v160004_5d_int__28int__29(HEAP32[$2 + 8 >> 2]), HEAP32[$2 + 24 >> 2]); - HEAP32[$2 + 8 >> 2] = HEAP32[$2 + 8 >> 2] + 4; - std____2__vector_int_2c_20std____2__allocator_int______swap_out_circular_buffer_28std____2____split_buffer_int_2c_20std____2__allocator_int_____29($0, $2); - std____2____split_buffer_int_2c_20std____2__allocator_int________split_buffer_28_29($2); - __stack_pointer = $2 + 32 | 0; -} - -function __memset($0, $1, $2) { - var $3 = 0, $4 = 0, $5 = 0, $6 = 0; - label$1: { - if (!$2) { - break label$1; - } - HEAP8[$0 | 0] = $1; - $3 = $0 + $2 | 0; - HEAP8[$3 - 1 | 0] = $1; - if ($2 >>> 0 < 3) { - break label$1; - } - HEAP8[$0 + 2 | 0] = $1; - HEAP8[$0 + 1 | 0] = $1; - HEAP8[$3 - 3 | 0] = $1; - HEAP8[$3 - 2 | 0] = $1; - if ($2 >>> 0 < 7) { - break label$1; - } - HEAP8[$0 + 3 | 0] = $1; - HEAP8[$3 - 4 | 0] = $1; - if ($2 >>> 0 < 9) { - break label$1; - } - $4 = 0 - $0 & 3; - $3 = $4 + $0 | 0; - $1 = Math_imul($1 & 255, 16843009); - HEAP32[$3 >> 2] = $1; - $4 = $2 - $4 & -4; - $2 = $4 + $3 | 0; - HEAP32[$2 - 4 >> 2] = $1; - if ($4 >>> 0 < 9) { - break label$1; - } - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $1; - HEAP32[$2 - 8 >> 2] = $1; - HEAP32[$2 - 12 >> 2] = $1; - if ($4 >>> 0 < 25) { - break label$1; - } - HEAP32[$3 + 24 >> 2] = $1; - HEAP32[$3 + 20 >> 2] = $1; - HEAP32[$3 + 16 >> 2] = $1; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$2 - 16 >> 2] = $1; - HEAP32[$2 - 20 >> 2] = $1; - HEAP32[$2 - 24 >> 2] = $1; - HEAP32[$2 - 28 >> 2] = $1; - $6 = $3 & 4 | 24; - $2 = $4 - $6 | 0; - if ($2 >>> 0 < 32) { - break label$1; - } - $5 = __wasm_i64_mul($1, 0, 1, 1); - $4 = i64toi32_i32$HIGH_BITS; - $1 = $3 + $6 | 0; - while (1) { - HEAP32[$1 + 24 >> 2] = $5; - HEAP32[$1 + 28 >> 2] = $4; - HEAP32[$1 + 16 >> 2] = $5; - HEAP32[$1 + 20 >> 2] = $4; - HEAP32[$1 + 8 >> 2] = $5; - HEAP32[$1 + 12 >> 2] = $4; - HEAP32[$1 >> 2] = $5; - HEAP32[$1 + 4 >> 2] = $4; - $1 = $1 + 32 | 0; - $2 = $2 - 32 | 0; - if ($2 >>> 0 > 31) { - continue; - } - break; - } - } - return $0; -} - -function void_20emscripten__function_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20bool_2c_20unsigned_20short_2c_20unsigned_20short_2c_20short_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20bool_2c_20unsigned_20short_2c_20unsigned_20short_2c_20short_29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 408; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20bool_2c_20unsigned_20short_2c_20unsigned_20short_2c_20short___getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20bool_2c_20unsigned_20short_2c_20unsigned_20short_2c_20short___getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20int_2c_20float_2c_20float_2c_20float_2c_20int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 539; - $0 = emscripten__internal__TypeID_b2Body_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2Body____emscripten__internal__getContext_void_20_28b2Body____29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool_29__28void_20_28b2Body____20const__29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool_29_29_29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function b2Fixture__Synchronize_28b2BroadPhase__2c_20b2Transform_20const__2c_20b2Transform_20const__29($0, $1, $2, $3) { - var $4 = 0; - $4 = __stack_pointer - 80 | 0; - __stack_pointer = $4; - HEAP32[$4 + 76 >> 2] = $0; - HEAP32[$4 + 72 >> 2] = $1; - HEAP32[$4 + 68 >> 2] = $2; - HEAP32[$4 + 64 >> 2] = $3; - label$1: { - $0 = HEAP32[$4 + 76 >> 2]; - if (!HEAP32[$0 + 28 >> 2]) { - break label$1; - } - HEAP32[$4 + 60 >> 2] = 0; - while (1) { - if (HEAP32[$4 + 60 >> 2] >= HEAP32[$0 + 28 >> 2]) { - break label$1; - } - HEAP32[$4 + 56 >> 2] = HEAP32[$0 + 24 >> 2] + Math_imul(HEAP32[$4 + 60 >> 2], 28); - b2AABB__b2AABB_28_29($4 + 40 | 0); - b2AABB__b2AABB_28_29($4 + 24 | 0); - $1 = HEAP32[$0 + 12 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 24 >> 2]]($1, $4 + 40 | 0, HEAP32[$4 + 68 >> 2], HEAP32[HEAP32[$4 + 56 >> 2] + 20 >> 2]); - $1 = HEAP32[$0 + 12 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 24 >> 2]]($1, $4 + 24 | 0, HEAP32[$4 + 64 >> 2], HEAP32[HEAP32[$4 + 56 >> 2] + 20 >> 2]); - b2AABB__Combine_28b2AABB_20const__2c_20b2AABB_20const__29(HEAP32[$4 + 56 >> 2], $4 + 40 | 0, $4 + 24 | 0); - b2AABB__GetCenter_28_29_20const($4 + 8 | 0, $4 + 24 | 0); - b2AABB__GetCenter_28_29_20const($4, $4 + 40 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 16 | 0, $4 + 8 | 0, $4); - b2BroadPhase__MoveProxy_28int_2c_20b2AABB_20const__2c_20b2Vec2_20const__29(HEAP32[$4 + 72 >> 2], HEAP32[HEAP32[$4 + 56 >> 2] + 24 >> 2], HEAP32[$4 + 56 >> 2], $4 + 16 | 0); - HEAP32[$4 + 60 >> 2] = HEAP32[$4 + 60 >> 2] + 1; - continue; - } - } - __stack_pointer = $4 + 80 | 0; -} - -function std____2__unique_ptr_std____2____tree_node_b2Fixture__2c_20void___2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______reset_5babi_v160004_5d_28std____2____tree_node_b2Fixture__2c_20void____29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = HEAP32[std____2____compressed_pair_std____2____tree_node_b2Fixture__2c_20void____2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______first_5babi_v160004_5d_28_29($0) >> 2], - HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - $1 = HEAP32[$2 + 8 >> 2]; - wasm2js_i32$0 = std____2____compressed_pair_std____2____tree_node_b2Fixture__2c_20void____2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______first_5babi_v160004_5d_28_29($0), - wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - if (HEAP32[$2 + 4 >> 2]) { - std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______operator_28_29_5babi_v160004_5d_28std____2____tree_node_b2Fixture__2c_20void____29(std____2____compressed_pair_std____2____tree_node_b2Fixture__2c_20void____2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______second_5babi_v160004_5d_28_29($0), HEAP32[$2 + 4 >> 2]); - } - __stack_pointer = $2 + 16 | 0; -} - -function __cxxabiv1____si_class_type_info__search_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_2c_20bool_29_20const($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 + 8 >> 2], $4)) { - __cxxabiv1____class_type_info__process_static_type_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_29_20const($1, $1, $2, $3); - return; - } - label$2: { - if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 >> 2], $4)) { - if (!(HEAP32[$1 + 16 >> 2] != ($2 | 0) & HEAP32[$1 + 20 >> 2] != ($2 | 0))) { - if (($3 | 0) != 1) { - break label$2; - } - HEAP32[$1 + 32 >> 2] = 1; - return; - } - HEAP32[$1 + 32 >> 2] = $3; - label$6: { - if (HEAP32[$1 + 44 >> 2] == 4) { - break label$6; - } - HEAP16[$1 + 52 >> 1] = 0; - $0 = HEAP32[$0 + 8 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 20 >> 2]]($0, $1, $2, $2, 1, $4); - if (HEAPU8[$1 + 53 | 0]) { - HEAP32[$1 + 44 >> 2] = 3; - if (!HEAPU8[$1 + 52 | 0]) { - break label$6; - } - break label$2; - } - HEAP32[$1 + 44 >> 2] = 4; - } - HEAP32[$1 + 20 >> 2] = $2; - HEAP32[$1 + 40 >> 2] = HEAP32[$1 + 40 >> 2] + 1; - if (HEAP32[$1 + 36 >> 2] != 1 | HEAP32[$1 + 24 >> 2] != 2) { - break label$2; - } - HEAP8[$1 + 54 | 0] = 1; - return; - } - $0 = HEAP32[$0 + 8 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0, $1, $2, $3, $4); - } -} - -function cosf($0) { - var $1 = Math_fround(0), $2 = 0, $3 = 0, $4 = 0, $5 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - $4 = (wasm2js_scratch_store_f32($0), wasm2js_scratch_load_i32(2)); - $3 = $4 & 2147483647; - label$1: { - if ($3 >>> 0 <= 1061752794) { - $1 = Math_fround(1); - if ($3 >>> 0 < 964689920) { - break label$1; - } - $1 = __cosdf(+$0); - break label$1; - } - if ($3 >>> 0 <= 1081824209) { - if ($3 >>> 0 >= 1075235812) { - $1 = Math_fround(-__cosdf((($4 | 0) < 0 ? 3.141592653589793 : -3.141592653589793) + +$0)); - break label$1; - } - $5 = +$0; - if (($4 | 0) < 0) { - $1 = __sindf($5 + 1.5707963267948966); - break label$1; - } - $1 = __sindf(1.5707963267948966 - $5); - break label$1; - } - if ($3 >>> 0 <= 1088565717) { - if ($3 >>> 0 >= 1085271520) { - $1 = __cosdf((($4 | 0) < 0 ? 6.283185307179586 : -6.283185307179586) + +$0); - break label$1; - } - if (($4 | 0) < 0) { - $1 = __sindf(-4.71238898038469 - +$0); - break label$1; - } - $1 = __sindf(+$0 + -4.71238898038469); - break label$1; - } - $1 = Math_fround($0 - $0); - if ($3 >>> 0 >= 2139095040) { - break label$1; - } - label$9: { - switch (__rem_pio2f($0, $2 + 8 | 0) & 3) { - case 0: - $1 = __cosdf(HEAPF64[$2 + 8 >> 3]); - break label$1; - - case 1: - $1 = __sindf(-HEAPF64[$2 + 8 >> 3]); - break label$1; - - case 2: - $1 = Math_fround(-__cosdf(HEAPF64[$2 + 8 >> 3])); - break label$1; - - default: - break label$9; - } - } - $1 = __sindf(HEAPF64[$2 + 8 >> 3]); - } - __stack_pointer = $2 + 16 | 0; - return $1; -} - -function sinf($0) { - var $1 = 0, $2 = 0, $3 = 0, $4 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - $4 = (wasm2js_scratch_store_f32($0), wasm2js_scratch_load_i32(2)); - $2 = $4 & 2147483647; - label$1: { - if ($2 >>> 0 <= 1061752794) { - if ($2 >>> 0 < 964689920) { - break label$1; - } - $0 = __sindf(+$0); - break label$1; - } - if ($2 >>> 0 <= 1081824209) { - $3 = +$0; - if ($2 >>> 0 <= 1075235811) { - if (($4 | 0) < 0) { - $0 = Math_fround(-__cosdf($3 + 1.5707963267948966)); - break label$1; - } - $0 = __cosdf($3 + -1.5707963267948966); - break label$1; - } - $0 = __sindf(-((($4 | 0) >= 0 ? -3.141592653589793 : 3.141592653589793) + $3)); - break label$1; - } - if ($2 >>> 0 <= 1088565717) { - if ($2 >>> 0 <= 1085271519) { - $3 = +$0; - if (($4 | 0) < 0) { - $0 = __cosdf($3 + 4.71238898038469); - break label$1; - } - $0 = Math_fround(-__cosdf($3 + -4.71238898038469)); - break label$1; - } - $0 = __sindf((($4 | 0) < 0 ? 6.283185307179586 : -6.283185307179586) + +$0); - break label$1; - } - if ($2 >>> 0 >= 2139095040) { - $0 = Math_fround($0 - $0); - break label$1; - } - label$10: { - switch (__rem_pio2f($0, $1 + 8 | 0) & 3) { - case 0: - $0 = __sindf(HEAPF64[$1 + 8 >> 3]); - break label$1; - - case 1: - $0 = __cosdf(HEAPF64[$1 + 8 >> 3]); - break label$1; - - case 2: - $0 = __sindf(-HEAPF64[$1 + 8 >> 3]); - break label$1; - - default: - break label$10; - } - } - $0 = Math_fround(-__cosdf(HEAPF64[$1 + 8 >> 3])); - } - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2ContactListener____29_28unsigned_20int_29___invoke_b2ContactListener_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2ContactListener____29_28unsigned_20int_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 490; - $0 = emscripten__internal__TypeID_b2ContactListener_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2ContactListener__2c_20unsigned_20int___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2ContactListener__2c_20unsigned_20int___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2ContactListener____emscripten__internal__getContext_void_20_28b2ContactListener____29_28unsigned_20int_29__28void_20_28b2ContactListener____20const__29_28unsigned_20int_29_29_29_28unsigned_20int_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function b2DynamicTree__CreateProxy_28b2AABB_20const__2c_20void__29($0, $1, $2) { - var $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 48 | 0; - __stack_pointer = $3; - HEAP32[$3 + 44 >> 2] = $0; - HEAP32[$3 + 40 >> 2] = $1; - HEAP32[$3 + 36 >> 2] = $2; - $4 = HEAP32[$3 + 44 >> 2]; - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2DynamicTree__AllocateNode_28_29($4), HEAP32[wasm2js_i32$0 + 32 >> 2] = wasm2js_i32$1; - b2Vec2__b2Vec2_28float_2c_20float_29($3 + 24 | 0, Math_fround(.10000000149011612), Math_fround(.10000000149011612)); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 16 | 0, HEAP32[$3 + 40 >> 2], $3 + 24 | 0); - $0 = HEAP32[$3 + 20 >> 2]; - $1 = HEAP32[$3 + 16 >> 2]; - $2 = $1; - $1 = HEAP32[$4 + 4 >> 2] + Math_imul(HEAP32[$3 + 32 >> 2], 40) | 0; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($3 + 8 | 0, HEAP32[$3 + 40 >> 2] + 8 | 0, $3 + 24 | 0); - $1 = HEAP32[$3 + 12 >> 2]; - $0 = HEAP32[$3 + 8 >> 2]; - $2 = $0; - $0 = HEAP32[$4 + 4 >> 2] + Math_imul(HEAP32[$3 + 32 >> 2], 40) | 0; - HEAP32[$0 + 8 >> 2] = $2; - HEAP32[$0 + 12 >> 2] = $1; - HEAP32[(HEAP32[$4 + 4 >> 2] + Math_imul(HEAP32[$3 + 32 >> 2], 40) | 0) + 16 >> 2] = HEAP32[$3 + 36 >> 2]; - HEAP32[(HEAP32[$4 + 4 >> 2] + Math_imul(HEAP32[$3 + 32 >> 2], 40) | 0) + 32 >> 2] = 0; - HEAP8[(HEAP32[$4 + 4 >> 2] + Math_imul(HEAP32[$3 + 32 >> 2], 40) | 0) + 36 | 0] = 1; - b2DynamicTree__InsertLeaf_28int_29($4, HEAP32[$3 + 32 >> 2]); - __stack_pointer = $3 + 48 | 0; - return HEAP32[$3 + 32 >> 2]; -} - -function void_20emscripten__internal__RegisterClassMethod_bool_20_28b2QueryCallback____29_28unsigned_20int_29___invoke_b2QueryCallback_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20bool_20_28b2QueryCallback____29_28unsigned_20int_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 480; - $0 = emscripten__internal__TypeID_b2QueryCallback_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2QueryCallback__2c_20unsigned_20int___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2QueryCallback__2c_20unsigned_20int___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], bool_20_28b2QueryCallback____emscripten__internal__getContext_bool_20_28b2QueryCallback____29_28unsigned_20int_29__28bool_20_28b2QueryCallback____20const__29_28unsigned_20int_29_29_29_28unsigned_20int_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function __vfprintf_internal($0, $1, $2, $3, $4) { - var $5 = 0, $6 = 0, $7 = 0, $8 = 0; - $5 = __stack_pointer - 208 | 0; - __stack_pointer = $5; - HEAP32[$5 + 204 >> 2] = $2; - __memset($5 + 160 | 0, 0, 40); - HEAP32[$5 + 200 >> 2] = HEAP32[$5 + 204 >> 2]; - label$1: { - if ((printf_core(0, $1, $5 + 200 | 0, $5 + 80 | 0, $5 + 160 | 0, $3, $4) | 0) < 0) { - $4 = -1; - break label$1; - } - if (HEAP32[$0 + 76 >> 2] >= 0) { - $8 = __lockfile($0); - } - $6 = HEAP32[$0 >> 2]; - if (HEAP32[$0 + 72 >> 2] <= 0) { - HEAP32[$0 >> 2] = $6 & -33; - } - label$5: { - label$6: { - label$7: { - if (!HEAP32[$0 + 48 >> 2]) { - HEAP32[$0 + 48 >> 2] = 80; - HEAP32[$0 + 28 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = 0; - HEAP32[$0 + 20 >> 2] = 0; - $7 = HEAP32[$0 + 44 >> 2]; - HEAP32[$0 + 44 >> 2] = $5; - break label$7; - } - if (HEAP32[$0 + 16 >> 2]) { - break label$6; - } - } - $2 = -1; - if (__towrite($0)) { - break label$5; - } - } - $2 = printf_core($0, $1, $5 + 200 | 0, $5 + 80 | 0, $5 + 160 | 0, $3, $4); - } - $4 = $6 & 32; - if ($7) { - FUNCTION_TABLE[HEAP32[$0 + 36 >> 2]]($0, 0, 0) | 0; - HEAP32[$0 + 48 >> 2] = 0; - HEAP32[$0 + 44 >> 2] = $7; - HEAP32[$0 + 28 >> 2] = 0; - $3 = HEAP32[$0 + 20 >> 2]; - HEAP32[$0 + 16 >> 2] = 0; - HEAP32[$0 + 20 >> 2] = 0; - $2 = $3 ? $2 : -1; - } - $3 = HEAP32[$0 >> 2]; - HEAP32[$0 >> 2] = $4 | $3; - $4 = $3 & 32 ? -1 : $2; - if (!$8) { - break label$1; - } - __unlockfile($0); - } - __stack_pointer = $5 + 208 | 0; - return $4; -} - -function void_20emscripten__internal__RegisterClassMethod_b2Joint__20_28b2World____29_28b2JointDef_20const__29___invoke_b2World_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2Joint__20_28b2World____29_28b2JointDef_20const__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 523; - $0 = emscripten__internal__TypeID_b2World_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Joint__2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2JointDef_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Joint__2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2JointDef_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], b2Joint__20_28b2World____emscripten__internal__getContext_b2Joint__20_28b2World____29_28b2JointDef_20const__29__28b2Joint__20_28b2World____20const__29_28b2JointDef_20const__29_29_29_28b2JointDef_20const__29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function b2BroadPhase__QueryCallback_28int_29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - $0 = HEAP32[$2 + 24 >> 2]; - label$1: { - if (HEAP32[$2 + 20 >> 2] == HEAP32[$0 + 56 >> 2]) { - break label$1; - } - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2DynamicTree__WasMoved_28int_29_20const($0, HEAP32[$2 + 20 >> 2]) & 1, - HEAP8[wasm2js_i32$0 + 19 | 0] = wasm2js_i32$1; - if (!(!(HEAP8[$2 + 19 | 0] & 1) | HEAP32[$2 + 20 >> 2] <= HEAP32[$0 + 56 >> 2])) { - break label$1; - } - if (HEAP32[$0 + 52 >> 2] == HEAP32[$0 + 48 >> 2]) { - HEAP32[$2 + 12 >> 2] = HEAP32[$0 + 44 >> 2]; - HEAP32[$0 + 48 >> 2] = HEAP32[$0 + 48 >> 2] + (HEAP32[$0 + 48 >> 2] >> 1); - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2Alloc_28int_29(HEAP32[$0 + 48 >> 2] << 3), - HEAP32[wasm2js_i32$0 + 44 >> 2] = wasm2js_i32$1; - __memcpy(HEAP32[$0 + 44 >> 2], HEAP32[$2 + 12 >> 2], HEAP32[$0 + 52 >> 2] << 3); - b2Free_28void__29(HEAP32[$2 + 12 >> 2]); - } - $1 = int_20b2Min_int__28int_2c_20int_29(HEAP32[$2 + 20 >> 2], HEAP32[$0 + 56 >> 2]); - HEAP32[HEAP32[$0 + 44 >> 2] + (HEAP32[$0 + 52 >> 2] << 3) >> 2] = $1; - $1 = int_20b2Max_int__28int_2c_20int_29(HEAP32[$2 + 20 >> 2], HEAP32[$0 + 56 >> 2]); - HEAP32[(HEAP32[$0 + 44 >> 2] + (HEAP32[$0 + 52 >> 2] << 3) | 0) + 4 >> 2] = $1; - HEAP32[$0 + 52 >> 2] = HEAP32[$0 + 52 >> 2] + 1; - } - HEAP8[$2 + 31 | 0] = 1; - __stack_pointer = $2 + 32 | 0; - return HEAP8[$2 + 31 | 0] & 1; -} - -function emscripten__value_object_b2Filter___20emscripten__value_object_b2Filter___field_b2Filter_2c_20unsigned_20short__28char_20const__2c_20unsigned_20short_20b2Filter____29($0, $1, $2) { - var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 20 >> 2] = $0; - HEAP32[$3 + 16 >> 2] = $1; - HEAP32[$3 + 12 >> 2] = $2; - $0 = HEAP32[$3 + 20 >> 2]; - HEAP32[$3 + 8 >> 2] = 476; - HEAP32[$3 + 4 >> 2] = 477; - $1 = emscripten__internal__TypeID_b2Filter_2c_20void___get_28_29(); - $2 = HEAP32[$3 + 16 >> 2]; - $4 = emscripten__internal__TypeID_unsigned_20short_2c_20void___get_28_29(); - HEAP32[$3 + 24 >> 2] = HEAP32[$3 + 8 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$3 + 8 >> 2]; - $7 = unsigned_20short_20b2Filter_____20emscripten__internal__getContext_unsigned_20short_20b2Filter_____28unsigned_20short_20b2Filter____20const__29($3 + 12 | 0); - $8 = emscripten__internal__TypeID_unsigned_20short_2c_20void___get_28_29(); - HEAP32[$3 + 28 >> 2] = HEAP32[$3 + 4 >> 2]; - _embind_register_value_object_field($1 | 0, $2 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$3 + 4 >> 2], unsigned_20short_20b2Filter_____20emscripten__internal__getContext_unsigned_20short_20b2Filter_____28unsigned_20short_20b2Filter____20const__29($3 + 12 | 0) | 0); - __stack_pointer = $3 + 32 | 0; - return $0; -} - -function emscripten__internal__WireTypePack_unsigned_20int__2c_20unsigned_20int____WireTypePack_28unsigned_20int__2c_20unsigned_20int__29($0, $1, $2) { - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 48 | 0; - __stack_pointer = $3; - HEAP32[$3 + 24 >> 2] = $0; - HEAP32[$3 + 20 >> 2] = $1; - HEAP32[$3 + 16 >> 2] = $2; - $0 = HEAP32[$3 + 24 >> 2]; - wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__array_emscripten__internal__GenericWireType_2c_202ul___data_5babi_v160004_5d_28_29($0), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - $1 = HEAP32[$3 + 20 >> 2]; - $2 = HEAP32[$3 + 16 >> 2]; - HEAP32[$3 + 36 >> 2] = $3 + 12; - HEAP32[$3 + 32 >> 2] = $1; - HEAP32[$3 + 28 >> 2] = $2; - void_20emscripten__internal__writeGenericWireType_unsigned_20int__28emscripten__internal__GenericWireType___2c_20unsigned_20int_29(HEAP32[$3 + 36 >> 2], emscripten__internal__BindingType_unsigned_20int_2c_20void___toWireType_28unsigned_20int_20const__29(HEAP32[$3 + 32 >> 2])); - $1 = HEAP32[$3 + 28 >> 2]; - HEAP32[$3 + 44 >> 2] = HEAP32[$3 + 36 >> 2]; - HEAP32[$3 + 40 >> 2] = $1; - void_20emscripten__internal__writeGenericWireType_unsigned_20int__28emscripten__internal__GenericWireType___2c_20unsigned_20int_29(HEAP32[$3 + 44 >> 2], emscripten__internal__BindingType_unsigned_20int_2c_20void___toWireType_28unsigned_20int_20const__29(HEAP32[$3 + 40 >> 2])); - emscripten__internal__writeGenericWireTypes_28emscripten__internal__GenericWireType___29(HEAP32[$3 + 44 >> 2]); - __stack_pointer = $3 + 48 | 0; - return $0; -} - -function emscripten__internal__MethodInvoker_void_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28unsigned_20long_2c_20int_20const__29_2c_20void_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const____invoke_28void_20_28std____2__vector_int_2c_20std____2__allocator_int______20const__29_28unsigned_20long_2c_20int_20const__29_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $4 = __stack_pointer - 32 | 0; - __stack_pointer = $4; - HEAP32[$4 + 28 >> 2] = $0; - HEAP32[$4 + 24 >> 2] = $1; - HEAP32[$4 + 20 >> 2] = $2; - HEAP32[$4 + 16 >> 2] = $3; - $2 = emscripten__internal__BindingType_std____2__vector_int_2c_20std____2__allocator_int____2c_20void___fromWireType_28std____2__vector_int_2c_20std____2__allocator_int____29(HEAP32[$4 + 24 >> 2]); - $0 = HEAP32[$4 + 28 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - $1 = emscripten__internal__BindingType_unsigned_20long_2c_20void___fromWireType_28unsigned_20long_29(HEAP32[$4 + 20 >> 2]); - wasm2js_i32$0 = $4, wasm2js_i32$1 = emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29(HEAP32[$4 + 16 >> 2]), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - FUNCTION_TABLE[$0 | 0]($2, $1, $4 + 12 | 0); - __stack_pointer = $4 + 32 | 0; -} - -function b2RevoluteJoint__b2RevoluteJoint_28b2RevoluteJointDef_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Joint__b2Joint_28b2JointDef_20const__29($1, HEAP32[$2 + 8 >> 2]); - HEAP32[$1 >> 2] = 19644; - b2Vec2__b2Vec2_28_29($1 + 68 | 0); - b2Vec2__b2Vec2_28_29($1 + 76 | 0); - b2Vec3__b2Vec3_28_29($1 + 84 | 0); - b2Vec2__b2Vec2_28_29($1 + 136 | 0); - b2Vec2__b2Vec2_28_29($1 + 144 | 0); - b2Vec2__b2Vec2_28_29($1 + 152 | 0); - b2Vec2__b2Vec2_28_29($1 + 160 | 0); - b2Mat33__b2Mat33_28_29($1 + 184 | 0); - $3 = HEAP32[$2 + 8 >> 2]; - $4 = HEAP32[$3 + 20 >> 2]; - $0 = HEAP32[$3 + 24 >> 2]; - HEAP32[$1 + 68 >> 2] = $4; - HEAP32[$1 + 72 >> 2] = $0; - $3 = HEAP32[$2 + 8 >> 2]; - $0 = HEAP32[$3 + 28 >> 2]; - $4 = HEAP32[$3 + 32 >> 2]; - HEAP32[$1 + 76 >> 2] = $0; - HEAP32[$1 + 80 >> 2] = $4; - HEAPF32[$1 + 116 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 36 >> 2]; - b2Vec3__SetZero_28_29($1 + 84 | 0); - HEAPF32[$1 + 96 >> 2] = 0; - HEAPF32[$1 + 120 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 44 >> 2]; - HEAPF32[$1 + 124 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 48 >> 2]; - HEAPF32[$1 + 104 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 60 >> 2]; - HEAPF32[$1 + 108 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 56 >> 2]; - HEAP8[$1 + 112 | 0] = HEAP8[HEAP32[$2 + 8 >> 2] + 40 | 0] & 1; - HEAP8[$1 + 100 | 0] = HEAP8[HEAP32[$2 + 8 >> 2] + 52 | 0] & 1; - HEAP32[$1 + 224 >> 2] = 0; - __stack_pointer = $2 + 16 | 0; - return $1; -} - -function emscripten__internal__MethodInvoker_void_20_28b2Draw____29_28b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const__29_2c_20void_2c_20b2Draw__2c_20b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const____invoke_28void_20_28b2Draw____20const__29_28b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const__29_2c_20b2Draw__2c_20b2Vec2__2c_20float_2c_20b2Vec2__2c_20b2Color__29($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = Math_fround($3); - $4 = $4 | 0; - $5 = $5 | 0; - var $6 = 0; - $6 = __stack_pointer - 32 | 0; - __stack_pointer = $6; - HEAP32[$6 + 28 >> 2] = $0; - HEAP32[$6 + 24 >> 2] = $1; - HEAP32[$6 + 20 >> 2] = $2; - HEAPF32[$6 + 16 >> 2] = $3; - HEAP32[$6 + 12 >> 2] = $4; - HEAP32[$6 + 8 >> 2] = $5; - $2 = emscripten__internal__BindingType_b2Draw__2c_20void___fromWireType_28b2Draw__29(HEAP32[$6 + 24 >> 2]); - $0 = HEAP32[$6 + 28 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$6 + 20 >> 2]), emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$6 + 16 >> 2]), emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$6 + 12 >> 2]), emscripten__internal__GenericBindingType_b2Color___fromWireType_28b2Color__29(HEAP32[$6 + 8 >> 2])); - __stack_pointer = $6 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2ContactListenerWrapper____29_28unsigned_20int_29___invoke_b2ContactListener__28char_20const__2c_20void_20_28b2ContactListenerWrapper____29_28unsigned_20int_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 492; - $0 = emscripten__internal__TypeID_b2ContactListenerWrapper_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2ContactListenerWrapper__2c_20unsigned_20int___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2ContactListenerWrapper__2c_20unsigned_20int___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2ContactListenerWrapper____emscripten__internal__getContext_void_20_28b2ContactListenerWrapper____29_28unsigned_20int_29__28void_20_28b2ContactListenerWrapper____20const__29_28unsigned_20int_29_29_29_28unsigned_20int_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_bool_20_28b2ContactListenerWrapper____29_28unsigned_20int_29___invoke_b2ContactListener__28char_20const__2c_20bool_20_28b2ContactListenerWrapper____29_28unsigned_20int_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 493; - $0 = emscripten__internal__TypeID_b2ContactListenerWrapper_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2ContactListenerWrapper__2c_20unsigned_20int___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2ContactListenerWrapper__2c_20unsigned_20int___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], bool_20_28b2ContactListenerWrapper____emscripten__internal__getContext_bool_20_28b2ContactListenerWrapper____29_28unsigned_20int_29__28bool_20_28b2ContactListenerWrapper____20const__29_28unsigned_20int_29_29_29_28unsigned_20int_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_b2Body__20_28b2World____29_28b2BodyDef_20const__29___invoke_b2World_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2Body__20_28b2World____29_28b2BodyDef_20const__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 521; - $0 = emscripten__internal__TypeID_b2World_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Body__2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2BodyDef_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Body__2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2BodyDef_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], b2Body__20_28b2World____emscripten__internal__getContext_b2Body__20_28b2World____29_28b2BodyDef_20const__29__28b2Body__20_28b2World____20const__29_28b2BodyDef_20const__29_29_29_28b2BodyDef_20const__29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______lower_bound_b2Fixture___28b2Fixture__20const__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20std____2____tree_end_node_std____2____tree_node_base_void______29($0, $1, $2, $3) { - var $4 = 0; - $4 = __stack_pointer - 32 | 0; - __stack_pointer = $4; - HEAP32[$4 + 24 >> 2] = $0; - HEAP32[$4 + 20 >> 2] = $1; - HEAP32[$4 + 16 >> 2] = $2; - HEAP32[$4 + 12 >> 2] = $3; - $0 = HEAP32[$4 + 24 >> 2]; - while (1) { - if (HEAP32[$4 + 16 >> 2]) { - if (!(std____2__less_b2Fixture____operator_28_29_5babi_v160004_5d_28b2Fixture__20const__2c_20b2Fixture__20const__29_20const(std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____value_comp_5babi_v160004_5d_28_29($0), HEAP32[$4 + 16 >> 2] + 16 | 0, HEAP32[$4 + 20 >> 2]) & 1)) { - HEAP32[$4 + 12 >> 2] = HEAP32[$4 + 16 >> 2]; - HEAP32[$4 + 16 >> 2] = HEAP32[HEAP32[$4 + 16 >> 2] >> 2]; - continue; - } - HEAP32[$4 + 16 >> 2] = HEAP32[HEAP32[$4 + 16 >> 2] + 4 >> 2]; - continue; - } - break; - } - std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long_____tree_iterator_5babi_v160004_5d_28std____2____tree_end_node_std____2____tree_node_base_void______29($4 + 28 | 0, HEAP32[$4 + 12 >> 2]); - __stack_pointer = $4 + 32 | 0; - return HEAP32[$4 + 28 >> 2]; -} - -function emscripten__value_object_b2RayCastOutput___20emscripten__value_object_b2RayCastOutput___field_b2RayCastOutput_2c_20b2Vec2__28char_20const__2c_20b2Vec2_20b2RayCastOutput____29($0, $1, $2) { - var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 20 >> 2] = $0; - HEAP32[$3 + 16 >> 2] = $1; - HEAP32[$3 + 12 >> 2] = $2; - $0 = HEAP32[$3 + 20 >> 2]; - HEAP32[$3 + 8 >> 2] = 464; - HEAP32[$3 + 4 >> 2] = 465; - $1 = emscripten__internal__TypeID_b2RayCastOutput_2c_20void___get_28_29(); - $2 = HEAP32[$3 + 16 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$3 + 24 >> 2] = HEAP32[$3 + 8 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$3 + 8 >> 2]; - $7 = b2Vec2_20b2RayCastOutput_____20emscripten__internal__getContext_b2Vec2_20b2RayCastOutput_____28b2Vec2_20b2RayCastOutput____20const__29($3 + 12 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$3 + 28 >> 2] = HEAP32[$3 + 4 >> 2]; - _embind_register_value_object_field($1 | 0, $2 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$3 + 4 >> 2], b2Vec2_20b2RayCastOutput_____20emscripten__internal__getContext_b2Vec2_20b2RayCastOutput_____28b2Vec2_20b2RayCastOutput____20const__29($3 + 12 | 0) | 0); - __stack_pointer = $3 + 32 | 0; - return $0; -} - -function b2Body__SynchronizeFixtures_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0, $4 = 0; - $1 = __stack_pointer - 48 | 0; - __stack_pointer = $1; - HEAP32[$1 + 44 >> 2] = $0; - $2 = HEAP32[$1 + 44 >> 2]; - HEAP32[$1 + 40 >> 2] = HEAP32[$2 + 88 >> 2] + 102868; - label$1: { - if (HEAPU16[$2 + 4 >> 1] & 2) { - b2Transform__b2Transform_28_29($1 + 24 | 0); - b2Rot__Set_28float_29($1 + 32 | 0, HEAPF32[$2 + 52 >> 2]); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($1 + 8 | 0, $1 + 32 | 0, $2 + 28 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 16 | 0, $2 + 36 | 0, $1 + 8 | 0); - $3 = HEAP32[$1 + 20 >> 2]; - $0 = HEAP32[$1 + 16 >> 2]; - $4 = $0; - $0 = $1 + 24 | 0; - HEAP32[$0 >> 2] = $4; - HEAP32[$0 + 4 >> 2] = $3; - HEAP32[$1 + 4 >> 2] = HEAP32[$2 + 100 >> 2]; - while (1) { - if (HEAP32[$1 + 4 >> 2]) { - b2Fixture__Synchronize_28b2BroadPhase__2c_20b2Transform_20const__2c_20b2Transform_20const__29(HEAP32[$1 + 4 >> 2], HEAP32[$1 + 40 >> 2], $1 + 24 | 0, $2 + 12 | 0); - HEAP32[$1 + 4 >> 2] = HEAP32[HEAP32[$1 + 4 >> 2] + 4 >> 2]; - continue; - } - break; - } - break label$1; - } - HEAP32[$1 >> 2] = HEAP32[$2 + 100 >> 2]; - while (1) { - if (HEAP32[$1 >> 2]) { - b2Fixture__Synchronize_28b2BroadPhase__2c_20b2Transform_20const__2c_20b2Transform_20const__29(HEAP32[$1 >> 2], HEAP32[$1 + 40 >> 2], $2 + 12 | 0, $2 + 12 | 0); - HEAP32[$1 >> 2] = HEAP32[HEAP32[$1 >> 2] + 4 >> 2]; - continue; - } - break; - } - } - __stack_pointer = $1 + 48 | 0; -} - -function std____2____compressed_pair_std____2____tree_node_b2Fixture__2c_20void____2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_________compressed_pair_5babi_v160004_5d_std____2____tree_node_b2Fixture__2c_20void_____2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______28std____2____tree_node_b2Fixture__2c_20void_____2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - std____2____compressed_pair_elem_std____2____tree_node_b2Fixture__2c_20void____2c_200_2c_20false_____compressed_pair_elem_5babi_v160004_5d_std____2____tree_node_b2Fixture__2c_20void_____2c_20void__28std____2____tree_node_b2Fixture__2c_20void_____29($0, HEAP32[$3 + 8 >> 2]); - std____2____compressed_pair_elem_std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____2c_201_2c_20false_____compressed_pair_elem_5babi_v160004_5d_std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____2c_20void__28std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______29($0 + 4 | 0, HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; - return $0; -} - -function emscripten__internal__FunctionInvoker_bool_20_28__29_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const__29_2c_20bool_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const____invoke_28bool_20_28___29_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const__29_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $4 = __stack_pointer - 32 | 0; - __stack_pointer = $4; - HEAP32[$4 + 28 >> 2] = $0; - HEAP32[$4 + 24 >> 2] = $1; - HEAP32[$4 + 20 >> 2] = $2; - HEAP32[$4 + 16 >> 2] = $3; - $0 = HEAP32[HEAP32[$4 + 28 >> 2] >> 2]; - $1 = emscripten__internal__GenericBindingType_std____2__vector_int_2c_20std____2__allocator_int_____fromWireType_28std____2__vector_int_2c_20std____2__allocator_int____29(HEAP32[$4 + 24 >> 2]); - $2 = emscripten__internal__BindingType_unsigned_20long_2c_20void___fromWireType_28unsigned_20long_29(HEAP32[$4 + 20 >> 2]); - wasm2js_i32$0 = $4, wasm2js_i32$1 = emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29(HEAP32[$4 + 16 >> 2]), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - $0 = emscripten__internal__BindingType_bool_2c_20void___toWireType_28bool_29(FUNCTION_TABLE[$0 | 0]($1, $2, $4 + 12 | 0) & 1); - __stack_pointer = $4 + 32 | 0; - return $0 & 1; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2Draw____29_28b2Transform_20const__29___invoke_b2Draw_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2Draw____29_28b2Transform_20const__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 504; - $0 = emscripten__internal__TypeID_b2Draw_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Transform_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Transform_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2Draw____emscripten__internal__getContext_void_20_28b2Draw____29_28b2Transform_20const__29__28void_20_28b2Draw____20const__29_28b2Transform_20const__29_29_29_28b2Transform_20const__29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__value_object_b2RayCastOutput___20emscripten__value_object_b2RayCastOutput___field_b2RayCastOutput_2c_20float__28char_20const__2c_20float_20b2RayCastOutput____29($0, $1, $2) { - var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 20 >> 2] = $0; - HEAP32[$3 + 16 >> 2] = $1; - HEAP32[$3 + 12 >> 2] = $2; - $0 = HEAP32[$3 + 20 >> 2]; - HEAP32[$3 + 8 >> 2] = 466; - HEAP32[$3 + 4 >> 2] = 467; - $1 = emscripten__internal__TypeID_b2RayCastOutput_2c_20void___get_28_29(); - $2 = HEAP32[$3 + 16 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$3 + 24 >> 2] = HEAP32[$3 + 8 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$3 + 8 >> 2]; - $7 = float_20b2RayCastOutput_____20emscripten__internal__getContext_float_20b2RayCastOutput_____28float_20b2RayCastOutput____20const__29($3 + 12 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$3 + 28 >> 2] = HEAP32[$3 + 4 >> 2]; - _embind_register_value_object_field($1 | 0, $2 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$3 + 4 >> 2], float_20b2RayCastOutput_____20emscripten__internal__getContext_float_20b2RayCastOutput_____28float_20b2RayCastOutput____20const__29($3 + 12 | 0) | 0); - __stack_pointer = $3 + 32 | 0; - return $0; -} - -function b2Contact__b2Contact_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_29($0, $1, $2, $3, $4) { - var $5 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAP32[$5 + 12 >> 2] = $4; - $0 = HEAP32[$5 + 28 >> 2]; - HEAP32[$0 >> 2] = 18748; - b2Manifold__b2Manifold_28_29($0 - -64 | 0); - HEAP32[$0 + 4 >> 2] = 4; - HEAP32[$0 + 48 >> 2] = HEAP32[$5 + 24 >> 2]; - HEAP32[$0 + 52 >> 2] = HEAP32[$5 + 16 >> 2]; - HEAP32[$0 + 56 >> 2] = HEAP32[$5 + 20 >> 2]; - HEAP32[$0 + 60 >> 2] = HEAP32[$5 + 12 >> 2]; - HEAP32[$0 + 124 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - HEAP32[$0 + 12 >> 2] = 0; - HEAP32[$0 + 20 >> 2] = 0; - HEAP32[$0 + 24 >> 2] = 0; - HEAP32[$0 + 28 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = 0; - HEAP32[$0 + 36 >> 2] = 0; - HEAP32[$0 + 40 >> 2] = 0; - HEAP32[$0 + 44 >> 2] = 0; - HEAP32[$0 + 32 >> 2] = 0; - HEAP32[$0 + 128 >> 2] = 0; - wasm2js_i32$0 = $0, wasm2js_f32$0 = b2MixFriction_28float_2c_20float_29(HEAPF32[HEAP32[$0 + 48 >> 2] + 16 >> 2], HEAPF32[HEAP32[$0 + 52 >> 2] + 16 >> 2]), - HEAPF32[wasm2js_i32$0 + 136 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $0, wasm2js_f32$0 = b2MixRestitution_28float_2c_20float_29(HEAPF32[HEAP32[$0 + 48 >> 2] + 20 >> 2], HEAPF32[HEAP32[$0 + 52 >> 2] + 20 >> 2]), - HEAPF32[wasm2js_i32$0 + 140 >> 2] = wasm2js_f32$0; - HEAPF32[$0 + 144 >> 2] = 0; - __stack_pointer = $5 + 32 | 0; - return $0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2World____29_28b2ContactListener__29___invoke_b2World_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2World____29_28b2ContactListener__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 518; - $0 = emscripten__internal__TypeID_b2World_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2ContactListener____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2ContactListener____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2World____emscripten__internal__getContext_void_20_28b2World____29_28b2ContactListener__29__28void_20_28b2World____20const__29_28b2ContactListener__29_29_29_28b2ContactListener__29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28b2MassData__29_20const___invoke_b2Body_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2Body____29_28b2MassData__29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 542; - $0 = emscripten__internal__TypeID_b2Body_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const__2c_20b2MassData____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const__2c_20b2MassData____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2Body____emscripten__internal__getContext_void_20_28b2Body____29_28b2MassData__29_20const__28void_20_28b2Body____20const__29_28b2MassData__29_20const_29_29_28b2MassData__29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__value_object_b2RayCastInput___20emscripten__value_object_b2RayCastInput___field_b2RayCastInput_2c_20b2Vec2__28char_20const__2c_20b2Vec2_20b2RayCastInput____29($0, $1, $2) { - var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 20 >> 2] = $0; - HEAP32[$3 + 16 >> 2] = $1; - HEAP32[$3 + 12 >> 2] = $2; - $0 = HEAP32[$3 + 20 >> 2]; - HEAP32[$3 + 8 >> 2] = 458; - HEAP32[$3 + 4 >> 2] = 459; - $1 = emscripten__internal__TypeID_b2RayCastInput_2c_20void___get_28_29(); - $2 = HEAP32[$3 + 16 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$3 + 24 >> 2] = HEAP32[$3 + 8 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$3 + 8 >> 2]; - $7 = b2Vec2_20b2RayCastInput_____20emscripten__internal__getContext_b2Vec2_20b2RayCastInput_____28b2Vec2_20b2RayCastInput____20const__29($3 + 12 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$3 + 28 >> 2] = HEAP32[$3 + 4 >> 2]; - _embind_register_value_object_field($1 | 0, $2 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$3 + 4 >> 2], b2Vec2_20b2RayCastInput_____20emscripten__internal__getContext_b2Vec2_20b2RayCastInput_____28b2Vec2_20b2RayCastInput____20const__29($3 + 12 | 0) | 0); - __stack_pointer = $3 + 32 | 0; - return $0; -} - -function emscripten__value_object_b2RayCastInput___20emscripten__value_object_b2RayCastInput___field_b2RayCastInput_2c_20float__28char_20const__2c_20float_20b2RayCastInput____29($0, $1, $2) { - var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 20 >> 2] = $0; - HEAP32[$3 + 16 >> 2] = $1; - HEAP32[$3 + 12 >> 2] = $2; - $0 = HEAP32[$3 + 20 >> 2]; - HEAP32[$3 + 8 >> 2] = 460; - HEAP32[$3 + 4 >> 2] = 461; - $1 = emscripten__internal__TypeID_b2RayCastInput_2c_20void___get_28_29(); - $2 = HEAP32[$3 + 16 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$3 + 24 >> 2] = HEAP32[$3 + 8 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$3 + 8 >> 2]; - $7 = float_20b2RayCastInput_____20emscripten__internal__getContext_float_20b2RayCastInput_____28float_20b2RayCastInput____20const__29($3 + 12 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$3 + 28 >> 2] = HEAP32[$3 + 4 >> 2]; - _embind_register_value_object_field($1 | 0, $2 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$3 + 4 >> 2], float_20b2RayCastInput_____20emscripten__internal__getContext_float_20b2RayCastInput_____28float_20b2RayCastInput____20const__29($3 + 12 | 0) | 0); - __stack_pointer = $3 + 32 | 0; - return $0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2PrismaticJoint____29_28float_2c_20float_29___invoke_b2PrismaticJoint__28char_20const__2c_20void_20_28b2PrismaticJoint____29_28float_2c_20float_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 600; - $0 = emscripten__internal__TypeID_b2PrismaticJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint__2c_20float_2c_20float___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint__2c_20float_2c_20float___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float_2c_20float__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2PrismaticJoint____emscripten__internal__getContext_void_20_28b2PrismaticJoint____29_28float_2c_20float_29__28void_20_28b2PrismaticJoint____20const__29_28float_2c_20float_29_29_29_28float_2c_20float_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2RevoluteJoint____29_28float_2c_20float_29___invoke_b2RevoluteJoint__28char_20const__2c_20void_20_28b2RevoluteJoint____29_28float_2c_20float_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 613; - $0 = emscripten__internal__TypeID_b2RevoluteJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint__2c_20float_2c_20float___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint__2c_20float_2c_20float___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float_2c_20float__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2RevoluteJoint____emscripten__internal__getContext_void_20_28b2RevoluteJoint____29_28float_2c_20float_29__28void_20_28b2RevoluteJoint____20const__29_28float_2c_20float_29_29_29_28float_2c_20float_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2PrismaticJoint____29_28_29_20const___invoke_b2PrismaticJoint__28char_20const__2c_20b2Vec2_20const__20_28b2PrismaticJoint____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 596; - $0 = emscripten__internal__TypeID_b2PrismaticJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], b2Vec2_20const__20_28b2PrismaticJoint____emscripten__internal__getContext_b2Vec2_20const__20_28b2PrismaticJoint____29_28_29_20const__28b2Vec2_20const__20_28b2PrismaticJoint____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20std____2____tree_left_rotate_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - HEAP32[$1 + 8 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] + 4 >> 2]; - HEAP32[HEAP32[$1 + 12 >> 2] + 4 >> 2] = HEAP32[HEAP32[$1 + 8 >> 2] >> 2]; - if (HEAP32[HEAP32[$1 + 12 >> 2] + 4 >> 2]) { - std____2____tree_node_base_void______set_parent_5babi_v160004_5d_28std____2____tree_node_base_void____29(HEAP32[HEAP32[$1 + 12 >> 2] + 4 >> 2], HEAP32[$1 + 12 >> 2]); - } - HEAP32[HEAP32[$1 + 8 >> 2] + 8 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] + 8 >> 2]; - label$2: { - if (bool_20std____2____tree_is_left_child_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(HEAP32[$1 + 12 >> 2]) & 1) { - HEAP32[HEAP32[HEAP32[$1 + 12 >> 2] + 8 >> 2] >> 2] = HEAP32[$1 + 8 >> 2]; - break label$2; - } - $0 = HEAP32[$1 + 8 >> 2]; - wasm2js_i32$0 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]), - wasm2js_i32$1 = $0, HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - } - HEAP32[HEAP32[$1 + 8 >> 2] >> 2] = HEAP32[$1 + 12 >> 2]; - std____2____tree_node_base_void______set_parent_5babi_v160004_5d_28std____2____tree_node_base_void____29(HEAP32[$1 + 12 >> 2], HEAP32[$1 + 8 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function emscripten__value_object_b2Transform___20emscripten__value_object_b2Transform___field_b2Transform_2c_20b2Vec2__28char_20const__2c_20b2Vec2_20b2Transform____29($0, $1, $2) { - var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 20 >> 2] = $0; - HEAP32[$3 + 16 >> 2] = $1; - HEAP32[$3 + 12 >> 2] = $2; - $0 = HEAP32[$3 + 20 >> 2]; - HEAP32[$3 + 8 >> 2] = 448; - HEAP32[$3 + 4 >> 2] = 449; - $1 = emscripten__internal__TypeID_b2Transform_2c_20void___get_28_29(); - $2 = HEAP32[$3 + 16 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$3 + 24 >> 2] = HEAP32[$3 + 8 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$3 + 8 >> 2]; - $7 = b2Vec2_20b2Transform_____20emscripten__internal__getContext_b2Vec2_20b2Transform_____28b2Vec2_20b2Transform____20const__29($3 + 12 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$3 + 28 >> 2] = HEAP32[$3 + 4 >> 2]; - _embind_register_value_object_field($1 | 0, $2 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$3 + 4 >> 2], b2Vec2_20b2Transform_____20emscripten__internal__getContext_b2Vec2_20b2Transform_____28b2Vec2_20b2Transform____20const__29($3 + 12 | 0) | 0); - __stack_pointer = $3 + 32 | 0; - return $0; -} - -function b2DistanceJoint__Dump_28_29($0) { - $0 = $0 | 0; - var $1 = 0, $2 = Math_fround(0); - $1 = __stack_pointer - 144 | 0; - __stack_pointer = $1; - HEAP32[$1 + 140 >> 2] = $0; - $0 = HEAP32[$1 + 140 >> 2]; - HEAP32[$1 + 136 >> 2] = HEAP32[HEAP32[$0 + 48 >> 2] + 8 >> 2]; - HEAP32[$1 + 132 >> 2] = HEAP32[HEAP32[$0 + 52 >> 2] + 8 >> 2]; - b2Log_28char_20const__2c_20____29(13993, 0); - HEAP32[$1 + 96 >> 2] = HEAP32[$1 + 136 >> 2]; - b2Log_28char_20const__2c_20____29(14207, $1 + 96 | 0); - HEAP32[$1 + 80 >> 2] = HEAP32[$1 + 132 >> 2]; - b2Log_28char_20const__2c_20____29(14181, $1 + 80 | 0); - HEAP32[$1 + 64 >> 2] = HEAP8[$0 + 61 | 0] & 1; - b2Log_28char_20const__2c_20____29(15397, $1 - -64 | 0); - $2 = HEAPF32[$0 + 80 >> 2]; - HEAPF64[$1 + 56 >> 3] = HEAPF32[$0 + 84 >> 2]; - HEAPF64[$1 + 48 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14708, $1 + 48 | 0); - $2 = HEAPF32[$0 + 88 >> 2]; - HEAPF64[$1 + 40 >> 3] = HEAPF32[$0 + 92 >> 2]; - HEAPF64[$1 + 32 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14583, $1 + 32 | 0); - HEAPF64[$1 + 16 >> 3] = HEAPF32[$0 + 104 >> 2]; - b2Log_28char_20const__2c_20____29(13252, $1 + 16 | 0); - HEAPF64[$1 >> 3] = HEAPF32[$0 + 68 >> 2]; - b2Log_28char_20const__2c_20____29(12887, $1); - HEAPF64[$1 + 112 >> 3] = HEAPF32[$0 + 72 >> 2]; - b2Log_28char_20const__2c_20____29(13095, $1 + 112 | 0); - HEAP32[$1 + 128 >> 2] = HEAP32[$0 + 56 >> 2]; - b2Log_28char_20const__2c_20____29(14998, $1 + 128 | 0); - __stack_pointer = $1 + 144 | 0; -} - -function b2Contact__AddType_28b2Contact__20_28__29_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29_2c_20void_20_28__29_28b2Contact__2c_20b2BlockAllocator__29_2c_20b2Shape__Type_2c_20b2Shape__Type_29($0, $1, $2, $3) { - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - if (!(HEAP32[$4 + 4 >> 2] < 4 & HEAP32[$4 + 4 >> 2] >= 0)) { - __assert_fail(2471, 5372, 58, 9583); - wasm2js_trap(); - } - if (!(HEAP32[$4 >> 2] < 4 & HEAP32[$4 >> 2] >= 0)) { - __assert_fail(2428, 5372, 59, 9583); - wasm2js_trap(); - } - HEAP32[(Math_imul(HEAP32[$4 + 4 >> 2], 48) + 30080 | 0) + Math_imul(HEAP32[$4 >> 2], 12) >> 2] = HEAP32[$4 + 12 >> 2]; - HEAP32[((Math_imul(HEAP32[$4 + 4 >> 2], 48) + 30080 | 0) + Math_imul(HEAP32[$4 >> 2], 12) | 0) + 4 >> 2] = HEAP32[$4 + 8 >> 2]; - HEAP8[((Math_imul(HEAP32[$4 + 4 >> 2], 48) + 30080 | 0) + Math_imul(HEAP32[$4 >> 2], 12) | 0) + 8 | 0] = 1; - if (HEAP32[$4 + 4 >> 2] != HEAP32[$4 >> 2]) { - HEAP32[(Math_imul(HEAP32[$4 >> 2], 48) + 30080 | 0) + Math_imul(HEAP32[$4 + 4 >> 2], 12) >> 2] = HEAP32[$4 + 12 >> 2]; - HEAP32[((Math_imul(HEAP32[$4 >> 2], 48) + 30080 | 0) + Math_imul(HEAP32[$4 + 4 >> 2], 12) | 0) + 4 >> 2] = HEAP32[$4 + 8 >> 2]; - HEAP8[((Math_imul(HEAP32[$4 >> 2], 48) + 30080 | 0) + Math_imul(HEAP32[$4 + 4 >> 2], 12) | 0) + 8 | 0] = 0; - } - __stack_pointer = $4 + 16 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28b2Vec2_20const__2c_20float_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28b2Vec2_20const__2c_20float_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 533; - $0 = emscripten__internal__TypeID_b2Body_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const__2c_20float___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const__2c_20float___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2Body____emscripten__internal__getContext_void_20_28b2Body____29_28b2Vec2_20const__2c_20float_29__28void_20_28b2Body____20const__29_28b2Vec2_20const__2c_20float_29_29_29_28b2Vec2_20const__2c_20float_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2RevoluteJoint____29_28_29_20const___invoke_b2RevoluteJoint__28char_20const__2c_20b2Vec2_20const__20_28b2RevoluteJoint____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 609; - $0 = emscripten__internal__TypeID_b2RevoluteJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], b2Vec2_20const__20_28b2RevoluteJoint____emscripten__internal__getContext_b2Vec2_20const__20_28b2RevoluteJoint____29_28_29_20const__28b2Vec2_20const__20_28b2RevoluteJoint____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2DistanceJoint____29_28_29_20const___invoke_b2DistanceJoint__28char_20const__2c_20b2Vec2_20const__20_28b2DistanceJoint____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 567; - $0 = emscripten__internal__TypeID_b2DistanceJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], b2Vec2_20const__20_28b2DistanceJoint____emscripten__internal__getContext_b2Vec2_20const__20_28b2DistanceJoint____29_28_29_20const__28b2Vec2_20const__20_28b2DistanceJoint____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20std____2____tree_right_rotate_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - HEAP32[$1 + 8 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[HEAP32[$1 + 12 >> 2] >> 2] = HEAP32[HEAP32[$1 + 8 >> 2] + 4 >> 2]; - if (HEAP32[HEAP32[$1 + 12 >> 2] >> 2]) { - std____2____tree_node_base_void______set_parent_5babi_v160004_5d_28std____2____tree_node_base_void____29(HEAP32[HEAP32[$1 + 12 >> 2] >> 2], HEAP32[$1 + 12 >> 2]); - } - HEAP32[HEAP32[$1 + 8 >> 2] + 8 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] + 8 >> 2]; - label$2: { - if (bool_20std____2____tree_is_left_child_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(HEAP32[$1 + 12 >> 2]) & 1) { - HEAP32[HEAP32[HEAP32[$1 + 12 >> 2] + 8 >> 2] >> 2] = HEAP32[$1 + 8 >> 2]; - break label$2; - } - $0 = HEAP32[$1 + 8 >> 2]; - wasm2js_i32$0 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]), - wasm2js_i32$1 = $0, HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - } - HEAP32[HEAP32[$1 + 8 >> 2] + 4 >> 2] = HEAP32[$1 + 12 >> 2]; - std____2____tree_node_base_void______set_parent_5babi_v160004_5d_28std____2____tree_node_base_void____29(HEAP32[$1 + 12 >> 2], HEAP32[$1 + 8 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_float_20_28b2PrismaticJoint____29_28float_29_20const___invoke_b2PrismaticJoint__28char_20const__2c_20float_20_28b2PrismaticJoint____29_28float_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 602; - $0 = emscripten__internal__TypeID_b2PrismaticJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const__2c_20float___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const__2c_20float___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$2 + 12 >> 2], float_20_28b2PrismaticJoint____emscripten__internal__getContext_float_20_28b2PrismaticJoint____29_28float_29_20const__28float_20_28b2PrismaticJoint____20const__29_28float_29_20const_29_29_28float_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function b2WeldJoint__Dump_28_29($0) { - $0 = $0 | 0; - var $1 = 0, $2 = Math_fround(0); - $1 = __stack_pointer - 144 | 0; - __stack_pointer = $1; - HEAP32[$1 + 140 >> 2] = $0; - $0 = HEAP32[$1 + 140 >> 2]; - HEAP32[$1 + 136 >> 2] = HEAP32[HEAP32[$0 + 48 >> 2] + 8 >> 2]; - HEAP32[$1 + 132 >> 2] = HEAP32[HEAP32[$0 + 52 >> 2] + 8 >> 2]; - b2Log_28char_20const__2c_20____29(14019, 0); - HEAP32[$1 + 96 >> 2] = HEAP32[$1 + 136 >> 2]; - b2Log_28char_20const__2c_20____29(14207, $1 + 96 | 0); - HEAP32[$1 + 80 >> 2] = HEAP32[$1 + 132 >> 2]; - b2Log_28char_20const__2c_20____29(14181, $1 + 80 | 0); - HEAP32[$1 + 64 >> 2] = HEAP8[$0 + 61 | 0] & 1; - b2Log_28char_20const__2c_20____29(15397, $1 - -64 | 0); - $2 = HEAPF32[$0 + 80 >> 2]; - HEAPF64[$1 + 56 >> 3] = HEAPF32[$0 + 84 >> 2]; - HEAPF64[$1 + 48 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14708, $1 + 48 | 0); - $2 = HEAPF32[$0 + 88 >> 2]; - HEAPF64[$1 + 40 >> 3] = HEAPF32[$0 + 92 >> 2]; - HEAPF64[$1 + 32 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14583, $1 + 32 | 0); - HEAPF64[$1 + 16 >> 3] = HEAPF32[$0 + 96 >> 2]; - b2Log_28char_20const__2c_20____29(13504, $1 + 16 | 0); - HEAPF64[$1 >> 3] = HEAPF32[$0 + 68 >> 2]; - b2Log_28char_20const__2c_20____29(12887, $1); - HEAPF64[$1 + 112 >> 3] = HEAPF32[$0 + 72 >> 2]; - b2Log_28char_20const__2c_20____29(13095, $1 + 112 | 0); - HEAP32[$1 + 128 >> 2] = HEAP32[$0 + 56 >> 2]; - b2Log_28char_20const__2c_20____29(14998, $1 + 128 | 0); - __stack_pointer = $1 + 144 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2World____29_28float_2c_20int_2c_20int_29___invoke_b2World__28char_20const__2c_20void_20_28b2World____29_28float_2c_20int_2c_20int_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 525; - $0 = emscripten__internal__TypeID_b2World_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20float_2c_20int_2c_20int___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20float_2c_20int_2c_20int___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2World____emscripten__internal__getContext_void_20_28b2World____29_28float_2c_20int_2c_20int_29__28void_20_28b2World____20const__29_28float_2c_20int_2c_20int_29_29_29_28float_2c_20int_2c_20int_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__value_object_b2Transform___20emscripten__value_object_b2Transform___field_b2Transform_2c_20b2Rot__28char_20const__2c_20b2Rot_20b2Transform____29($0, $1, $2) { - var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 20 >> 2] = $0; - HEAP32[$3 + 16 >> 2] = $1; - HEAP32[$3 + 12 >> 2] = $2; - $0 = HEAP32[$3 + 20 >> 2]; - HEAP32[$3 + 8 >> 2] = 450; - HEAP32[$3 + 4 >> 2] = 451; - $1 = emscripten__internal__TypeID_b2Transform_2c_20void___get_28_29(); - $2 = HEAP32[$3 + 16 >> 2]; - $4 = emscripten__internal__TypeID_b2Rot_2c_20void___get_28_29(); - HEAP32[$3 + 24 >> 2] = HEAP32[$3 + 8 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$3 + 8 >> 2]; - $7 = b2Rot_20b2Transform_____20emscripten__internal__getContext_b2Rot_20b2Transform_____28b2Rot_20b2Transform____20const__29($3 + 12 | 0); - $8 = emscripten__internal__TypeID_b2Rot_2c_20void___get_28_29(); - HEAP32[$3 + 28 >> 2] = HEAP32[$3 + 4 >> 2]; - _embind_register_value_object_field($1 | 0, $2 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$3 + 4 >> 2], b2Rot_20b2Transform_____20emscripten__internal__getContext_b2Rot_20b2Transform_____28b2Rot_20b2Transform____20const__29($3 + 12 | 0) | 0); - __stack_pointer = $3 + 32 | 0; - return $0; -} - -function emscripten__value_object_b2MassData___20emscripten__value_object_b2MassData___field_b2MassData_2c_20b2Vec2__28char_20const__2c_20b2Vec2_20b2MassData____29($0, $1, $2) { - var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 20 >> 2] = $0; - HEAP32[$3 + 16 >> 2] = $1; - HEAP32[$3 + 12 >> 2] = $2; - $0 = HEAP32[$3 + 20 >> 2]; - HEAP32[$3 + 8 >> 2] = 472; - HEAP32[$3 + 4 >> 2] = 473; - $1 = emscripten__internal__TypeID_b2MassData_2c_20void___get_28_29(); - $2 = HEAP32[$3 + 16 >> 2]; - $4 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$3 + 24 >> 2] = HEAP32[$3 + 8 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$3 + 8 >> 2]; - $7 = b2Vec2_20b2MassData_____20emscripten__internal__getContext_b2Vec2_20b2MassData_____28b2Vec2_20b2MassData____20const__29($3 + 12 | 0); - $8 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - HEAP32[$3 + 28 >> 2] = HEAP32[$3 + 4 >> 2]; - _embind_register_value_object_field($1 | 0, $2 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$3 + 4 >> 2], b2Vec2_20b2MassData_____20emscripten__internal__getContext_b2Vec2_20b2MassData_____28b2Vec2_20b2MassData____20const__29($3 + 12 | 0) | 0); - __stack_pointer = $3 + 32 | 0; - return $0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28b2Vec2_20const__2c_20bool_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28b2Vec2_20const__2c_20bool_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 540; - $0 = emscripten__internal__TypeID_b2Body_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const__2c_20bool___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const__2c_20bool___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2Body____emscripten__internal__getContext_void_20_28b2Body____29_28b2Vec2_20const__2c_20bool_29__28void_20_28b2Body____20const__29_28b2Vec2_20const__2c_20bool_29_29_29_28b2Vec2_20const__2c_20bool_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_float_20_28b2RevoluteJoint____29_28float_29_20const___invoke_b2RevoluteJoint__28char_20const__2c_20float_20_28b2RevoluteJoint____29_28float_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 615; - $0 = emscripten__internal__TypeID_b2RevoluteJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const__2c_20float___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const__2c_20float___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$2 + 12 >> 2], float_20_28b2RevoluteJoint____emscripten__internal__getContext_float_20_28b2RevoluteJoint____29_28float_29_20const__28float_20_28b2RevoluteJoint____20const__29_28float_29_20const_29_29_28float_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__Invoker_void_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float___invoke_28void_20_28__29_28unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_29_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_29($0, $1, $2, $3, $4, $5, $6) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - $3 = Math_fround($3); - $4 = Math_fround($4); - $5 = Math_fround($5); - $6 = Math_fround($6); - var $7 = 0; - $7 = __stack_pointer - 32 | 0; - __stack_pointer = $7; - HEAP32[$7 + 28 >> 2] = $0; - HEAP32[$7 + 24 >> 2] = $1; - HEAPF32[$7 + 20 >> 2] = $2; - HEAPF32[$7 + 16 >> 2] = $3; - HEAPF32[$7 + 12 >> 2] = $4; - HEAPF32[$7 + 8 >> 2] = $5; - HEAPF32[$7 + 4 >> 2] = $6; - $0 = HEAP32[$7 + 28 >> 2]; - FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$7 + 24 >> 2]), emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$7 + 20 >> 2]), emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$7 + 16 >> 2]), emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$7 + 12 >> 2]), emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$7 + 8 >> 2]), emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$7 + 4 >> 2])); - __stack_pointer = $7 + 32 | 0; -} - -function emscripten__value_object_b2MassData___20emscripten__value_object_b2MassData___field_b2MassData_2c_20float__28char_20const__2c_20float_20b2MassData____29($0, $1, $2) { - var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 20 >> 2] = $0; - HEAP32[$3 + 16 >> 2] = $1; - HEAP32[$3 + 12 >> 2] = $2; - $0 = HEAP32[$3 + 20 >> 2]; - HEAP32[$3 + 8 >> 2] = 470; - HEAP32[$3 + 4 >> 2] = 471; - $1 = emscripten__internal__TypeID_b2MassData_2c_20void___get_28_29(); - $2 = HEAP32[$3 + 16 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$3 + 24 >> 2] = HEAP32[$3 + 8 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$3 + 8 >> 2]; - $7 = float_20b2MassData_____20emscripten__internal__getContext_float_20b2MassData_____28float_20b2MassData____20const__29($3 + 12 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$3 + 28 >> 2] = HEAP32[$3 + 4 >> 2]; - _embind_register_value_object_field($1 | 0, $2 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$3 + 4 >> 2], float_20b2MassData_____20emscripten__internal__getContext_float_20b2MassData_____28float_20b2MassData____20const__29($3 + 12 | 0) | 0); - __stack_pointer = $3 + 32 | 0; - return $0; -} - -function __rem_pio2f($0, $1) { - var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - $5 = (wasm2js_scratch_store_f32($0), wasm2js_scratch_load_i32(2)); - $2 = $5 & 2147483647; - label$1: { - if ($2 >>> 0 <= 1305022426) { - $6 = +$0; - $3 = $6 * .6366197723675814 + 6755399441055744 + -6755399441055744; - $7 = $6 + $3 * -1.5707963109016418 + $3 * -1.5893254773528196e-8; - HEAPF64[$1 >> 3] = $7; - $5 = $7 < -.7853981852531433; - if (Math_abs($3) < 2147483648) { - $2 = ~~$3; - } else { - $2 = -2147483648; - } - if ($5) { - $3 = $3 + -1; - HEAPF64[$1 >> 3] = $6 + $3 * -1.5707963109016418 + $3 * -1.5893254773528196e-8; - $2 = $2 - 1 | 0; - break label$1; - } - if (!($7 > .7853981852531433)) { - break label$1; - } - $3 = $3 + 1; - HEAPF64[$1 >> 3] = $6 + $3 * -1.5707963109016418 + $3 * -1.5893254773528196e-8; - $2 = $2 + 1 | 0; - break label$1; - } - if ($2 >>> 0 >= 2139095040) { - HEAPF64[$1 >> 3] = Math_fround($0 - $0); - $2 = 0; - break label$1; - } - $8 = ($2 >>> 23 | 0) - 150 | 0; - HEAPF64[$4 + 8 >> 3] = (wasm2js_scratch_store_i32(2, $2 - ($8 << 23) | 0), wasm2js_scratch_load_f32()); - $2 = __rem_pio2_large($4 + 8 | 0, $4, $8, 1, 0); - $3 = HEAPF64[$4 >> 3]; - if (($5 | 0) < 0) { - HEAPF64[$1 >> 3] = -$3; - $2 = 0 - $2 | 0; - break label$1; - } - HEAPF64[$1 >> 3] = $3; - } - __stack_pointer = $4 + 16 | 0; - return $2; -} - -function void_20emscripten__internal__RegisterClassMethod_b2Vec2_20_28b2Body____29_28b2Vec2_20const__29_20const___invoke_b2Body__28char_20const__2c_20b2Vec2_20_28b2Body____29_28b2Vec2_20const__29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 545; - $0 = emscripten__internal__TypeID_b2Body_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const__2c_20b2Vec2_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const__2c_20b2Vec2_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], b2Vec2_20_28b2Body____emscripten__internal__getContext_b2Vec2_20_28b2Body____29_28b2Vec2_20const__29_20const__28b2Vec2_20_28b2Body____20const__29_28b2Vec2_20const__29_20const_29_29_28b2Vec2_20const__29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2__pair_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____20std____2____dispatch_copy_or_move_5babi_v160004_5d_std____2___ClassicAlgPolicy_2c_20std____2____move_loop_std____2___ClassicAlgPolicy__2c_20std____2____move_trivial_2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____28std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___29($0, $1, $2, $3) { - var $4 = 0; - $4 = __stack_pointer - 32 | 0; - __stack_pointer = $4; - HEAP32[$4 + 28 >> 2] = $1; - HEAP32[$4 + 24 >> 2] = $2; - HEAP32[$4 + 20 >> 2] = $3; - HEAP32[$4 + 16 >> 2] = HEAP32[$4 + 28 >> 2]; - HEAP32[$4 + 12 >> 2] = HEAP32[$4 + 24 >> 2]; - HEAP32[$4 + 8 >> 2] = HEAP32[$4 + 20 >> 2]; - std____2__pair_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____20std____2____unwrap_and_dispatch_5babi_v160004_5d_std____2____overload_std____2____move_loop_std____2___ClassicAlgPolicy__2c_20std____2____move_trivial__2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_200__28std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___29($0, HEAP32[$4 + 16 >> 2], HEAP32[$4 + 12 >> 2], HEAP32[$4 + 8 >> 2]); - __stack_pointer = $4 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2WheelJoint____29_28_29_20const___invoke_b2WheelJoint__28char_20const__2c_20b2Vec2_20const__20_28b2WheelJoint____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 642; - $0 = emscripten__internal__TypeID_b2WheelJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], b2Vec2_20const__20_28b2WheelJoint____emscripten__internal__getContext_b2Vec2_20const__20_28b2WheelJoint____29_28_29_20const__28b2Vec2_20const__20_28b2WheelJoint____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2MouseJoint____29_28_29_20const___invoke_b2MouseJoint__28char_20const__2c_20b2Vec2_20const__20_28b2MouseJoint____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 587; - $0 = emscripten__internal__TypeID_b2MouseJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], b2Vec2_20const__20_28b2MouseJoint____emscripten__internal__getContext_b2Vec2_20const__20_28b2MouseJoint____29_28_29_20const__28b2Vec2_20const__20_28b2MouseJoint____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2MotorJoint____29_28_29_20const___invoke_b2MotorJoint__28char_20const__2c_20b2Vec2_20const__20_28b2MotorJoint____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 577; - $0 = emscripten__internal__TypeID_b2MotorJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], b2Vec2_20const__20_28b2MotorJoint____emscripten__internal__getContext_b2Vec2_20const__20_28b2MotorJoint____29_28_29_20const__28b2Vec2_20const__20_28b2MotorJoint____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2World____29_28b2Joint__29___invoke_b2World_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2World____29_28b2Joint__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 524; - $0 = emscripten__internal__TypeID_b2World_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2Joint____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2Joint____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2World____emscripten__internal__getContext_void_20_28b2World____29_28b2Joint__29__28void_20_28b2World____20const__29_28b2Joint__29_29_29_28b2Joint__29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_bool_20_28b2AABB____29_28b2AABB_20const__29_20const___invoke_b2AABB__28char_20const__2c_20bool_20_28b2AABB____29_28b2AABB_20const__29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 515; - $0 = emscripten__internal__TypeID_b2AABB_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const__2c_20b2AABB_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const__2c_20b2AABB_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], bool_20_28b2AABB____emscripten__internal__getContext_bool_20_28b2AABB____29_28b2AABB_20const__29_20const__28bool_20_28b2AABB____20const__29_28b2AABB_20const__29_20const_29_29_28b2AABB_20const__29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2MouseJoint____29_28b2Vec2_20const__29___invoke_b2MouseJoint__28char_20const__2c_20void_20_28b2MouseJoint____29_28b2Vec2_20const__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 586; - $0 = emscripten__internal__TypeID_b2MouseJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint__2c_20b2Vec2_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint__2c_20b2Vec2_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2MouseJoint____emscripten__internal__getContext_void_20_28b2MouseJoint____29_28b2Vec2_20const__29__28void_20_28b2MouseJoint____20const__29_28b2Vec2_20const__29_29_29_28b2Vec2_20const__29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2MotorJoint____29_28b2Vec2_20const__29___invoke_b2MotorJoint__28char_20const__2c_20void_20_28b2MotorJoint____29_28b2Vec2_20const__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 576; - $0 = emscripten__internal__TypeID_b2MotorJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint__2c_20b2Vec2_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint__2c_20b2Vec2_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2MotorJoint____emscripten__internal__getContext_void_20_28b2MotorJoint____29_28b2Vec2_20const__29__28void_20_28b2MotorJoint____20const__29_28b2Vec2_20const__29_29_29_28b2Vec2_20const__29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______recommend_5babi_v160004_5d_28unsigned_20long_29_20const($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - $0 = HEAP32[$2 + 24 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____max_size_28_29_20const($0), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - if (HEAPU32[$2 + 20 >> 2] > HEAPU32[$2 + 16 >> 2]) { - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______throw_length_error_5babi_v160004_5d_28_29_20const($0); - wasm2js_trap(); - } - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____capacity_5babi_v160004_5d_28_29_20const($0), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - label$2: { - if (HEAPU32[$2 + 12 >> 2] >= HEAP32[$2 + 16 >> 2] >>> 1 >>> 0) { - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 16 >> 2]; - break label$2; - } - HEAP32[$2 + 8 >> 2] = HEAP32[$2 + 12 >> 2] << 1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = HEAP32[unsigned_20long_20const__20std____2__max_5babi_v160004_5d_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 8 | 0, $2 + 20 | 0) >> 2], - HEAP32[wasm2js_i32$0 + 28 >> 2] = wasm2js_i32$1; - } - __stack_pointer = $2 + 32 | 0; - return HEAP32[$2 + 28 >> 2]; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______construct_at_end_28unsigned_20long_2c_20b2Vec2_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $0; - HEAP32[$3 + 24 >> 2] = $1; - HEAP32[$3 + 20 >> 2] = $2; - $0 = HEAP32[$3 + 28 >> 2]; - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2_____ConstructTransaction___ConstructTransaction_5babi_v160004_5d_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_29($3 + 8 | 0, $0, HEAP32[$3 + 24 >> 2]); - HEAP32[$3 + 4 >> 2] = HEAP32[$3 + 16 >> 2]; - HEAP32[$3 >> 2] = HEAP32[$3 + 12 >> 2]; - while (1) { - if (HEAP32[$3 >> 2] != HEAP32[$3 + 4 >> 2]) { - void_20std____2__allocator_traits_std____2__allocator_b2Vec2____construct_5babi_v160004_5d_b2Vec2_2c_20b2Vec2_20const__2c_20void__28std____2__allocator_b2Vec2___2c_20b2Vec2__2c_20b2Vec2_20const__29(std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______alloc_5babi_v160004_5d_28_29($0), b2Vec2__20std____2____to_address_5babi_v160004_5d_b2Vec2__28b2Vec2__29(HEAP32[$3 >> 2]), HEAP32[$3 + 20 >> 2]); - $1 = HEAP32[$3 >> 2] + 8 | 0; - HEAP32[$3 >> 2] = $1; - HEAP32[$3 + 12 >> 2] = $1; - continue; - } - break; - } - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2_____ConstructTransaction____ConstructTransaction_5babi_v160004_5d_28_29($3 + 8 | 0); - __stack_pointer = $3 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2WeldJoint____29_28_29_20const___invoke_b2WeldJoint__28char_20const__2c_20b2Vec2_20const__20_28b2WeldJoint____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 633; - $0 = emscripten__internal__TypeID_b2WeldJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], b2Vec2_20const__20_28b2WeldJoint____emscripten__internal__getContext_b2Vec2_20const__20_28b2WeldJoint____29_28_29_20const__28b2Vec2_20const__20_28b2WeldJoint____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2RopeJoint____29_28_29_20const___invoke_b2RopeJoint__28char_20const__2c_20b2Vec2_20const__20_28b2RopeJoint____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 622; - $0 = emscripten__internal__TypeID_b2RopeJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], b2Vec2_20const__20_28b2RopeJoint____emscripten__internal__getContext_b2Vec2_20const__20_28b2RopeJoint____29_28_29_20const__28b2Vec2_20const__20_28b2RopeJoint____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_float_20_28b2WheelJoint____29_28float_29_20const___invoke_b2WheelJoint__28char_20const__2c_20float_20_28b2WheelJoint____29_28float_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 647; - $0 = emscripten__internal__TypeID_b2WheelJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const__2c_20float___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const__2c_20float___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$2 + 12 >> 2], float_20_28b2WheelJoint____emscripten__internal__getContext_float_20_28b2WheelJoint____29_28float_29_20const__28float_20_28b2WheelJoint____20const__29_28float_29_20const_29_29_28float_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2World____29_28b2Draw__29___invoke_b2World_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2World____29_28b2Draw__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 519; - $0 = emscripten__internal__TypeID_b2World_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2Draw____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2Draw____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2World____emscripten__internal__getContext_void_20_28b2World____29_28b2Draw__29__28void_20_28b2World____20const__29_28b2Draw__29_29_29_28b2Draw__29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2World____29_28b2Body__29___invoke_b2World_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2World____29_28b2Body__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 522; - $0 = emscripten__internal__TypeID_b2World_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2Body____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2Body____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2World____emscripten__internal__getContext_void_20_28b2World____29_28b2Body__29__28void_20_28b2World____20const__29_28b2Body__29_29_29_28b2Body__29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_b2Vec2_20_28b2Joint____29_28_29_20const___invoke_b2Joint_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2Vec2_20_28b2Joint____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 557; - $0 = emscripten__internal__TypeID_b2Joint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], b2Vec2_20_28b2Joint____emscripten__internal__getContext_b2Vec2_20_28b2Joint____29_28_29_20const__28b2Vec2_20_28b2Joint____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__value_object_b2Filter___20emscripten__value_object_b2Filter___field_b2Filter_2c_20short__28char_20const__2c_20short_20b2Filter____29($0, $1, $2) { - var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 20 >> 2] = $0; - HEAP32[$3 + 16 >> 2] = $1; - HEAP32[$3 + 12 >> 2] = $2; - $0 = HEAP32[$3 + 20 >> 2]; - HEAP32[$3 + 8 >> 2] = 478; - HEAP32[$3 + 4 >> 2] = 479; - $1 = emscripten__internal__TypeID_b2Filter_2c_20void___get_28_29(); - $2 = HEAP32[$3 + 16 >> 2]; - $4 = emscripten__internal__TypeID_short_2c_20void___get_28_29(); - HEAP32[$3 + 24 >> 2] = HEAP32[$3 + 8 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$3 + 8 >> 2]; - $7 = short_20b2Filter_____20emscripten__internal__getContext_short_20b2Filter_____28short_20b2Filter____20const__29($3 + 12 | 0); - $8 = emscripten__internal__TypeID_short_2c_20void___get_28_29(); - HEAP32[$3 + 28 >> 2] = HEAP32[$3 + 4 >> 2]; - _embind_register_value_object_field($1 | 0, $2 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$3 + 4 >> 2], short_20b2Filter_____20emscripten__internal__getContext_short_20b2Filter_____28short_20b2Filter____20const__29($3 + 12 | 0) | 0); - __stack_pointer = $3 + 32 | 0; - return $0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2World____29_28b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const__29_20const_2c_20void_2c_20b2World_20const__2c_20b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const____invoke_28void_20_28b2World____20const__29_28b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const__29_20const_2c_20b2World_20const__2c_20b2RayCastCallback__2c_20b2Vec2__2c_20b2Vec2__29($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $5 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAP32[$5 + 12 >> 2] = $4; - $2 = emscripten__internal__BindingType_b2World_20const__2c_20void___fromWireType_28b2World_20const__29(HEAP32[$5 + 24 >> 2]); - $0 = HEAP32[$5 + 28 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_b2RayCastCallback__2c_20void___fromWireType_28b2RayCastCallback__29(HEAP32[$5 + 20 >> 2]), emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$5 + 16 >> 2]), emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$5 + 12 >> 2])); - __stack_pointer = $5 + 32 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28unsigned_20long_2c_20b2Vec2_20const__29_2c_20void_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const____invoke_28void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______20const__29_28unsigned_20long_2c_20b2Vec2_20const__29_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2__29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - $2 = emscripten__internal__BindingType_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20void___fromWireType_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____29(HEAP32[$4 + 8 >> 2]); - $0 = HEAP32[$4 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_unsigned_20long_2c_20void___fromWireType_28unsigned_20long_29(HEAP32[$4 + 4 >> 2]), emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$4 >> 2])); - __stack_pointer = $4 + 16 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_b2Vec2_20_28b2RopeJoint____29_28float_29_20const___invoke_b2RopeJoint__28char_20const__2c_20b2Vec2_20_28b2RopeJoint____29_28float_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 623; - $0 = emscripten__internal__TypeID_b2RopeJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const__2c_20float___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const__2c_20float___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$2 + 12 >> 2], b2Vec2_20_28b2RopeJoint____emscripten__internal__getContext_b2Vec2_20_28b2RopeJoint____29_28float_29_20const__28b2Vec2_20_28b2RopeJoint____20const__29_28float_29_20const_29_29_28float_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function b2Simplex__GetMetric_28_29_20const($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $1 = __stack_pointer - 32 | 0; - __stack_pointer = $1; - HEAP32[$1 + 24 >> 2] = $0; - label$1: { - label$2: { - label$3: { - label$4: { - label$5: { - label$6: { - $0 = HEAP32[$1 + 24 >> 2]; - switch (HEAP32[$0 + 108 >> 2]) { - case 3: - break label$3; - - case 2: - break label$4; - - case 1: - break label$5; - - case 0: - break label$6; - - default: - break label$2; - } - } - __assert_fail(9386, 6125, 257, 10609); - wasm2js_trap(); - } - HEAPF32[$1 + 28 >> 2] = 0; - break label$1; - } - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Distance_28b2Vec2_20const__2c_20b2Vec2_20const__29($0 + 16 | 0, $0 + 52 | 0), - HEAPF32[wasm2js_i32$0 + 28 >> 2] = wasm2js_f32$0; - break label$1; - } - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 16 | 0, $0 + 52 | 0, $0 + 16 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 8 | 0, $0 + 88 | 0, $0 + 16 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 16 | 0, $1 + 8 | 0), - HEAPF32[wasm2js_i32$0 + 28 >> 2] = wasm2js_f32$0; - break label$1; - } - __assert_fail(9386, 6125, 270, 10609); - wasm2js_trap(); - } - __stack_pointer = $1 + 32 | 0; - return HEAPF32[$1 + 28 >> 2]; -} - -function void_20emscripten__internal__RegisterClassMethod_float_20_28b2RopeJoint____29_28float_29_20const___invoke_b2RopeJoint__28char_20const__2c_20float_20_28b2RopeJoint____29_28float_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 624; - $0 = emscripten__internal__TypeID_b2RopeJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const__2c_20float___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const__2c_20float___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$2 + 12 >> 2], float_20_28b2RopeJoint____emscripten__internal__getContext_float_20_28b2RopeJoint____29_28float_29_20const__28float_20_28b2RopeJoint____20const__29_28float_29_20const_29_29_28float_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_b2Transform_20const__20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20b2Transform_20const__20_28b2Body____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 534; - $0 = emscripten__internal__TypeID_b2Body_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_b2Transform_20const__2c_20emscripten__internal__AllowedRawPointer_b2Body_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_b2Transform_20const__2c_20emscripten__internal__AllowedRawPointer_b2Body_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], b2Transform_20const__20_28b2Body____emscripten__internal__getContext_b2Transform_20const__20_28b2Body____29_28_29_20const__28b2Transform_20const__20_28b2Body____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__value_object_b2Color___20emscripten__value_object_b2Color___field_b2Color_2c_20float__28char_20const__2c_20float_20b2Color____29($0, $1, $2) { - var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 20 >> 2] = $0; - HEAP32[$3 + 16 >> 2] = $1; - HEAP32[$3 + 12 >> 2] = $2; - $0 = HEAP32[$3 + 20 >> 2]; - HEAP32[$3 + 8 >> 2] = 454; - HEAP32[$3 + 4 >> 2] = 455; - $1 = emscripten__internal__TypeID_b2Color_2c_20void___get_28_29(); - $2 = HEAP32[$3 + 16 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$3 + 24 >> 2] = HEAP32[$3 + 8 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$3 + 8 >> 2]; - $7 = float_20b2Color_____20emscripten__internal__getContext_float_20b2Color_____28float_20b2Color____20const__29($3 + 12 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$3 + 28 >> 2] = HEAP32[$3 + 4 >> 2]; - _embind_register_value_object_field($1 | 0, $2 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$3 + 4 >> 2], float_20b2Color_____20emscripten__internal__getContext_float_20b2Color_____28float_20b2Color____20const__29($3 + 12 | 0) | 0); - __stack_pointer = $3 + 32 | 0; - return $0; -} - -function std____2__vector_int_2c_20std____2__allocator_int______recommend_5babi_v160004_5d_28unsigned_20long_29_20const($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - $0 = HEAP32[$2 + 24 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__vector_int_2c_20std____2__allocator_int____max_size_28_29_20const($0), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - if (HEAPU32[$2 + 20 >> 2] > HEAPU32[$2 + 16 >> 2]) { - std____2__vector_int_2c_20std____2__allocator_int______throw_length_error_5babi_v160004_5d_28_29_20const($0); - wasm2js_trap(); - } - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__vector_int_2c_20std____2__allocator_int____capacity_5babi_v160004_5d_28_29_20const($0), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - label$2: { - if (HEAPU32[$2 + 12 >> 2] >= HEAP32[$2 + 16 >> 2] >>> 1 >>> 0) { - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 16 >> 2]; - break label$2; - } - HEAP32[$2 + 8 >> 2] = HEAP32[$2 + 12 >> 2] << 1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = HEAP32[unsigned_20long_20const__20std____2__max_5babi_v160004_5d_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 8 | 0, $2 + 20 | 0) >> 2], - HEAP32[wasm2js_i32$0 + 28 >> 2] = wasm2js_i32$1; - } - __stack_pointer = $2 + 32 | 0; - return HEAP32[$2 + 28 >> 2]; -} - -function emscripten__value_object_b2Vec2___20emscripten__value_object_b2Vec2___field_b2Vec2_2c_20float__28char_20const__2c_20float_20b2Vec2____29($0, $1, $2) { - var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 20 >> 2] = $0; - HEAP32[$3 + 16 >> 2] = $1; - HEAP32[$3 + 12 >> 2] = $2; - $0 = HEAP32[$3 + 20 >> 2]; - HEAP32[$3 + 8 >> 2] = 432; - HEAP32[$3 + 4 >> 2] = 433; - $1 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - $2 = HEAP32[$3 + 16 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$3 + 24 >> 2] = HEAP32[$3 + 8 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$3 + 8 >> 2]; - $7 = float_20b2Vec2_____20emscripten__internal__getContext_float_20b2Vec2_____28float_20b2Vec2____20const__29($3 + 12 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$3 + 28 >> 2] = HEAP32[$3 + 4 >> 2]; - _embind_register_value_object_field($1 | 0, $2 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$3 + 4 >> 2], float_20b2Vec2_____20emscripten__internal__getContext_float_20b2Vec2_____28float_20b2Vec2____20const__29($3 + 12 | 0) | 0); - __stack_pointer = $3 + 32 | 0; - return $0; -} - -function b2MotorJoint__Dump_28_29($0) { - $0 = $0 | 0; - var $1 = 0, $2 = Math_fround(0); - $1 = __stack_pointer - 144 | 0; - __stack_pointer = $1; - HEAP32[$1 + 140 >> 2] = $0; - $0 = HEAP32[$1 + 140 >> 2]; - HEAP32[$1 + 136 >> 2] = HEAP32[HEAP32[$0 + 48 >> 2] + 8 >> 2]; - HEAP32[$1 + 132 >> 2] = HEAP32[HEAP32[$0 + 52 >> 2] + 8 >> 2]; - b2Log_28char_20const__2c_20____29(13851, 0); - HEAP32[$1 + 96 >> 2] = HEAP32[$1 + 136 >> 2]; - b2Log_28char_20const__2c_20____29(14207, $1 + 96 | 0); - HEAP32[$1 + 80 >> 2] = HEAP32[$1 + 132 >> 2]; - b2Log_28char_20const__2c_20____29(14181, $1 + 80 | 0); - HEAP32[$1 + 64 >> 2] = HEAP8[$0 + 61 | 0] & 1; - b2Log_28char_20const__2c_20____29(15397, $1 - -64 | 0); - $2 = HEAPF32[$0 + 68 >> 2]; - HEAPF64[$1 + 56 >> 3] = HEAPF32[$0 + 72 >> 2]; - HEAPF64[$1 + 48 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14430, $1 + 48 | 0); - HEAPF64[$1 + 32 >> 3] = HEAPF32[$0 + 76 >> 2]; - b2Log_28char_20const__2c_20____29(12976, $1 + 32 | 0); - HEAPF64[$1 + 16 >> 3] = HEAPF32[$0 + 92 >> 2]; - b2Log_28char_20const__2c_20____29(13566, $1 + 16 | 0); - HEAPF64[$1 >> 3] = HEAPF32[$0 + 96 >> 2]; - b2Log_28char_20const__2c_20____29(13366, $1); - HEAPF64[$1 + 112 >> 3] = HEAPF32[$0 + 100 >> 2]; - b2Log_28char_20const__2c_20____29(13038, $1 + 112 | 0); - HEAP32[$1 + 128 >> 2] = HEAP32[$0 + 56 >> 2]; - b2Log_28char_20const__2c_20____29(14998, $1 + 128 | 0); - __stack_pointer = $1 + 144 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_float_20_28b2PrismaticJoint____29_28_29_20const___invoke_b2PrismaticJoint__28char_20const__2c_20float_20_28b2PrismaticJoint____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 597; - $0 = emscripten__internal__TypeID_b2PrismaticJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], float_20_28b2PrismaticJoint____emscripten__internal__getContext_float_20_28b2PrismaticJoint____29_28_29_20const__28float_20_28b2PrismaticJoint____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function b2Island__Report_28b2ContactVelocityConstraint_20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 48 | 0; - __stack_pointer = $2; - HEAP32[$2 + 44 >> 2] = $0; - HEAP32[$2 + 40 >> 2] = $1; - label$1: { - $0 = HEAP32[$2 + 44 >> 2]; - if (!HEAP32[$0 + 4 >> 2]) { - break label$1; - } - HEAP32[$2 + 36 >> 2] = 0; - while (1) { - if (HEAP32[$2 + 36 >> 2] >= HEAP32[$0 + 36 >> 2]) { - break label$1; - } - HEAP32[$2 + 32 >> 2] = HEAP32[HEAP32[$0 + 12 >> 2] + (HEAP32[$2 + 36 >> 2] << 2) >> 2]; - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 40 >> 2] + Math_imul(HEAP32[$2 + 36 >> 2], 156); - HEAP32[$2 + 24 >> 2] = HEAP32[HEAP32[$2 + 28 >> 2] + 148 >> 2]; - HEAP32[$2 + 4 >> 2] = 0; - while (1) { - if (HEAP32[$2 + 4 >> 2] < HEAP32[HEAP32[$2 + 28 >> 2] + 148 >> 2]) { - HEAPF32[($2 + 8 | 0) + (HEAP32[$2 + 4 >> 2] << 2) >> 2] = HEAPF32[(HEAP32[$2 + 28 >> 2] + Math_imul(HEAP32[$2 + 4 >> 2], 36) | 0) + 16 >> 2]; - HEAPF32[($2 + 16 | 0) + (HEAP32[$2 + 4 >> 2] << 2) >> 2] = HEAPF32[(HEAP32[$2 + 28 >> 2] + Math_imul(HEAP32[$2 + 4 >> 2], 36) | 0) + 20 >> 2]; - HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 4 >> 2] + 1; - continue; - } - break; - } - $1 = HEAP32[$0 + 4 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 20 >> 2]]($1, HEAP32[$2 + 32 >> 2], $2 + 8 | 0); - HEAP32[$2 + 36 >> 2] = HEAP32[$2 + 36 >> 2] + 1; - continue; - } - } - __stack_pointer = $2 + 48 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2PrismaticJoint____29_28float_29___invoke_b2PrismaticJoint__28char_20const__2c_20void_20_28b2PrismaticJoint____29_28float_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 601; - $0 = emscripten__internal__TypeID_b2PrismaticJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint__2c_20float___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint__2c_20float___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2PrismaticJoint____emscripten__internal__getContext_void_20_28b2PrismaticJoint____29_28float_29__28void_20_28b2PrismaticJoint____20const__29_28float_29_29_29_28float_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_float_20_28b2RevoluteJoint____29_28_29_20const___invoke_b2RevoluteJoint__28char_20const__2c_20float_20_28b2RevoluteJoint____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 610; - $0 = emscripten__internal__TypeID_b2RevoluteJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], float_20_28b2RevoluteJoint____emscripten__internal__getContext_float_20_28b2RevoluteJoint____29_28_29_20const__28float_20_28b2RevoluteJoint____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_float_20_28b2DistanceJoint____29_28_29_20const___invoke_b2DistanceJoint__28char_20const__2c_20float_20_28b2DistanceJoint____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 569; - $0 = emscripten__internal__TypeID_b2DistanceJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], float_20_28b2DistanceJoint____emscripten__internal__getContext_float_20_28b2DistanceJoint____29_28_29_20const__28float_20_28b2DistanceJoint____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_bool_20_28b2PrismaticJoint____29_28_29_20const___invoke_b2PrismaticJoint__28char_20const__2c_20bool_20_28b2PrismaticJoint____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 598; - $0 = emscripten__internal__TypeID_b2PrismaticJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], bool_20_28b2PrismaticJoint____emscripten__internal__getContext_bool_20_28b2PrismaticJoint____29_28_29_20const__28bool_20_28b2PrismaticJoint____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__value_object_b2Rot___20emscripten__value_object_b2Rot___field_b2Rot_2c_20float__28char_20const__2c_20float_20b2Rot____29($0, $1, $2) { - var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 20 >> 2] = $0; - HEAP32[$3 + 16 >> 2] = $1; - HEAP32[$3 + 12 >> 2] = $2; - $0 = HEAP32[$3 + 20 >> 2]; - HEAP32[$3 + 8 >> 2] = 444; - HEAP32[$3 + 4 >> 2] = 445; - $1 = emscripten__internal__TypeID_b2Rot_2c_20void___get_28_29(); - $2 = HEAP32[$3 + 16 >> 2]; - $4 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$3 + 24 >> 2] = HEAP32[$3 + 8 >> 2]; - $5 = char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29(); - $6 = HEAP32[$3 + 8 >> 2]; - $7 = float_20b2Rot_____20emscripten__internal__getContext_float_20b2Rot_____28float_20b2Rot____20const__29($3 + 12 | 0); - $8 = emscripten__internal__TypeID_float_2c_20void___get_28_29(); - HEAP32[$3 + 28 >> 2] = HEAP32[$3 + 4 >> 2]; - _embind_register_value_object_field($1 | 0, $2 | 0, $4 | 0, $5 | 0, $6 | 0, $7 | 0, $8 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$3 + 4 >> 2], float_20b2Rot_____20emscripten__internal__getContext_float_20b2Rot_____28float_20b2Rot____20const__29($3 + 12 | 0) | 0); - __stack_pointer = $3 + 32 | 0; - return $0; -} - -function std____2__pair_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____20std____2____dispatch_copy_or_move_5babi_v160004_5d_std____2___ClassicAlgPolicy_2c_20std____2____move_loop_std____2___ClassicAlgPolicy__2c_20std____2____move_trivial_2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____28std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___29($0, $1, $2, $3) { - var $4 = 0; - $4 = __stack_pointer - 32 | 0; - __stack_pointer = $4; - HEAP32[$4 + 28 >> 2] = $1; - HEAP32[$4 + 24 >> 2] = $2; - HEAP32[$4 + 20 >> 2] = $3; - HEAP32[$4 + 16 >> 2] = HEAP32[$4 + 28 >> 2]; - HEAP32[$4 + 12 >> 2] = HEAP32[$4 + 24 >> 2]; - HEAP32[$4 + 8 >> 2] = HEAP32[$4 + 20 >> 2]; - std____2__pair_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____20std____2____unwrap_and_dispatch_5babi_v160004_5d_std____2____overload_std____2____move_loop_std____2___ClassicAlgPolicy__2c_20std____2____move_trivial__2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_200__28std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___29($0, HEAP32[$4 + 16 >> 2], HEAP32[$4 + 12 >> 2], HEAP32[$4 + 8 >> 2]); - __stack_pointer = $4 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2RevoluteJoint____29_28float_29___invoke_b2RevoluteJoint__28char_20const__2c_20void_20_28b2RevoluteJoint____29_28float_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 614; - $0 = emscripten__internal__TypeID_b2RevoluteJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint__2c_20float___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint__2c_20float___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2RevoluteJoint____emscripten__internal__getContext_void_20_28b2RevoluteJoint____29_28float_29__28void_20_28b2RevoluteJoint____20const__29_28float_29_29_29_28float_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2PrismaticJoint____29_28bool_29___invoke_b2PrismaticJoint__28char_20const__2c_20void_20_28b2PrismaticJoint____29_28bool_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 599; - $0 = emscripten__internal__TypeID_b2PrismaticJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint__2c_20bool___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint__2c_20bool___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2PrismaticJoint____emscripten__internal__getContext_void_20_28b2PrismaticJoint____29_28bool_29__28void_20_28b2PrismaticJoint____20const__29_28bool_29_29_29_28bool_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2DistanceJoint____29_28float_29___invoke_b2DistanceJoint__28char_20const__2c_20void_20_28b2DistanceJoint____29_28float_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 568; - $0 = emscripten__internal__TypeID_b2DistanceJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint__2c_20float___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint__2c_20float___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2DistanceJoint____emscripten__internal__getContext_void_20_28b2DistanceJoint____29_28float_29__28void_20_28b2DistanceJoint____20const__29_28float_29_29_29_28float_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__FunctionInvoker_bool_20_28__29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const__29_2c_20bool_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const____invoke_28bool_20_28___29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const__29_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2__29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - $0 = HEAP32[HEAP32[$4 + 12 >> 2] >> 2]; - $0 = emscripten__internal__BindingType_bool_2c_20void___toWireType_28bool_29(FUNCTION_TABLE[$0 | 0](emscripten__internal__GenericBindingType_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2_____fromWireType_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____29(HEAP32[$4 + 8 >> 2]), emscripten__internal__BindingType_unsigned_20long_2c_20void___fromWireType_28unsigned_20long_29(HEAP32[$4 + 4 >> 2]), emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$4 >> 2])) & 1); - __stack_pointer = $4 + 16 | 0; - return $0 & 1; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28float_2c_20bool_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28float_2c_20bool_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 541; - $0 = emscripten__internal__TypeID_b2Body_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20float_2c_20bool___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20float_2c_20bool___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2Body____emscripten__internal__getContext_void_20_28b2Body____29_28float_2c_20bool_29__28void_20_28b2Body____20const__29_28float_2c_20bool_29_29_29_28float_2c_20bool_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_bool_20_28b2RevoluteJoint____29_28_29_20const___invoke_b2RevoluteJoint__28char_20const__2c_20bool_20_28b2RevoluteJoint____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 611; - $0 = emscripten__internal__TypeID_b2RevoluteJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], bool_20_28b2RevoluteJoint____emscripten__internal__getContext_bool_20_28b2RevoluteJoint____29_28_29_20const__28bool_20_28b2RevoluteJoint____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_b2Vec2_20_28b2Joint____29_28float_29_20const___invoke_b2Joint__28char_20const__2c_20b2Vec2_20_28b2Joint____29_28float_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 558; - $0 = emscripten__internal__TypeID_b2Joint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const__2c_20float___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const__2c_20float___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$2 + 12 >> 2], b2Vec2_20_28b2Joint____emscripten__internal__getContext_b2Vec2_20_28b2Joint____29_28float_29_20const__28b2Vec2_20_28b2Joint____20const__29_28float_29_20const_29_29_28float_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2World____29_28b2Vec2_20const__29___invoke_b2World__28char_20const__2c_20void_20_28b2World____29_28b2Vec2_20const__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 530; - $0 = emscripten__internal__TypeID_b2World_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2Vec2_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2Vec2_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2World____emscripten__internal__getContext_void_20_28b2World____29_28b2Vec2_20const__29__28void_20_28b2World____20const__29_28b2Vec2_20const__29_29_29_28b2Vec2_20const__29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28__29_28b2AABB__2c_20b2AABB__2c_20b2AABB__29___invoke_b2AABB_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28b2AABB__2c_20b2AABB__2c_20b2AABB__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 514; - $0 = emscripten__internal__TypeID_b2AABB_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20b2AABB__2c_20b2AABB__2c_20b2AABB____getCount_28_29_20const($2 + 19 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20b2AABB__2c_20b2AABB__2c_20b2AABB____getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28__emscripten__internal__getContext_void_20_28__29_28b2AABB__2c_20b2AABB__2c_20b2AABB__29__28void_20_28__20const__29_28b2AABB__2c_20b2AABB__2c_20b2AABB__29_29_29_28b2AABB__2c_20b2AABB__2c_20b2AABB__29($2 + 20 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_b2Vec2_20const__20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20b2Vec2_20const__20_28b2Body____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 535; - $0 = emscripten__internal__TypeID_b2Body_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2Body_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2Body_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], b2Vec2_20const__20_28b2Body____emscripten__internal__getContext_b2Vec2_20const__20_28b2Body____29_28_29_20const__28b2Vec2_20const__20_28b2Body____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_float_20_28b2Joint____29_28float_29_20const___invoke_b2Joint__28char_20const__2c_20float_20_28b2Joint____29_28float_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 559; - $0 = emscripten__internal__TypeID_b2Joint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const__2c_20float___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const__2c_20float___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$2 + 12 >> 2], float_20_28b2Joint____emscripten__internal__getContext_float_20_28b2Joint____29_28float_29_20const__28float_20_28b2Joint____20const__29_28float_29_20const_29_29_28float_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2RevoluteJoint____29_28bool_29___invoke_b2RevoluteJoint__28char_20const__2c_20void_20_28b2RevoluteJoint____29_28bool_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 612; - $0 = emscripten__internal__TypeID_b2RevoluteJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint__2c_20bool___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint__2c_20bool___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2RevoluteJoint____emscripten__internal__getContext_void_20_28b2RevoluteJoint____29_28bool_29__28void_20_28b2RevoluteJoint____20const__29_28bool_29_29_29_28bool_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function b2EdgeShape__ComputeAABB_28b2AABB__2c_20b2Transform_20const__2c_20int_29_20const($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 80 | 0; - __stack_pointer = $4; - HEAP32[$4 + 76 >> 2] = $0; - HEAP32[$4 + 72 >> 2] = $1; - HEAP32[$4 + 68 >> 2] = $2; - HEAP32[$4 + 64 >> 2] = $3; - $0 = HEAP32[$4 + 76 >> 2]; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 56 | 0, HEAP32[$4 + 68 >> 2], $0 + 12 | 0); - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($4 + 48 | 0, HEAP32[$4 + 68 >> 2], $0 + 20 | 0); - b2Min_28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 40 | 0, $4 + 56 | 0, $4 + 48 | 0); - b2Max_28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 32 | 0, $4 + 56 | 0, $4 + 48 | 0); - b2Vec2__b2Vec2_28float_2c_20float_29($4 + 24 | 0, HEAPF32[$0 + 8 >> 2], HEAPF32[$0 + 8 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 16 | 0, $4 + 40 | 0, $4 + 24 | 0); - $0 = HEAP32[$4 + 20 >> 2]; - $1 = HEAP32[$4 + 16 >> 2]; - $2 = $1; - $1 = HEAP32[$4 + 72 >> 2]; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($4 + 8 | 0, $4 + 32 | 0, $4 + 24 | 0); - $1 = HEAP32[$4 + 12 >> 2]; - $0 = HEAP32[$4 + 8 >> 2]; - $2 = $0; - $0 = HEAP32[$4 + 72 >> 2]; - HEAP32[$0 + 8 >> 2] = $2; - HEAP32[$0 + 12 >> 2] = $1; - __stack_pointer = $4 + 80 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28b2Vec2_20const__29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28b2Vec2_20const__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 537; - $0 = emscripten__internal__TypeID_b2Body_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2Body____emscripten__internal__getContext_void_20_28b2Body____29_28b2Vec2_20const__29__28void_20_28b2Body____20const__29_28b2Vec2_20const__29_29_29_28b2Vec2_20const__29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_unsigned_20int_20_28b2Draw____29_28_29_20const___invoke_b2Draw__28char_20const__2c_20unsigned_20int_20_28b2Draw____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 499; - $0 = emscripten__internal__TypeID_b2Draw_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_unsigned_20int_2c_20emscripten__internal__AllowedRawPointer_b2Draw_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_unsigned_20int_2c_20emscripten__internal__AllowedRawPointer_b2Draw_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], unsigned_20int_20_28b2Draw____emscripten__internal__getContext_unsigned_20int_20_28b2Draw____29_28_29_20const__28unsigned_20int_20_28b2Draw____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_b2Body__20_28b2Joint____29_28_29___invoke_b2Joint_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2Body__20_28b2Joint____29_28_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 556; - $0 = emscripten__internal__TypeID_b2Joint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Body__2c_20emscripten__internal__AllowedRawPointer_b2Joint____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Body__2c_20emscripten__internal__AllowedRawPointer_b2Joint____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], b2Body__20_28b2Joint____emscripten__internal__getContext_b2Body__20_28b2Joint____29_28_29__28b2Body__20_28b2Joint____20const__29_28_29_29_29_28_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_b2World__20_28b2Body____29_28_29___invoke_b2Body_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2World__20_28b2Body____29_28_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 551; - $0 = emscripten__internal__TypeID_b2Body_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2World__2c_20emscripten__internal__AllowedRawPointer_b2Body____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2World__2c_20emscripten__internal__AllowedRawPointer_b2Body____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], b2World__20_28b2Body____emscripten__internal__getContext_b2World__20_28b2Body____29_28_29__28b2World__20_28b2Body____20const__29_28_29_29_29_28_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__MethodCaller_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const____call_28emscripten___EM_VAL__2c_20char_20const__2c_20b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const__29($0, $1, $2, $3, $4, $5) { - var $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $6 = __stack_pointer + -64 | 0; - __stack_pointer = $6; - HEAP32[$6 + 60 >> 2] = $0; - HEAP32[$6 + 56 >> 2] = $1; - HEAP32[$6 + 52 >> 2] = $2; - HEAP32[$6 + 48 >> 2] = $3; - HEAP32[$6 + 44 >> 2] = $4; - HEAP32[$6 + 40 >> 2] = $5; - wasm2js_i32$0 = $6, wasm2js_i32$1 = emscripten__internal__Signature_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const____get_method_caller_28_29(), - HEAP32[wasm2js_i32$0 + 36 >> 2] = wasm2js_i32$1; - emscripten__internal__WireTypePack_b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const____WireTypePack_28b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const__29($6, HEAP32[$6 + 52 >> 2], HEAP32[$6 + 48 >> 2], HEAP32[$6 + 44 >> 2], HEAP32[$6 + 40 >> 2]); - _emval_call_void_method(HEAP32[$6 + 36 >> 2], HEAP32[$6 + 60 >> 2], HEAP32[$6 + 56 >> 2], emscripten__internal__WireTypePack_b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const____operator_20void_20const__28_29_20const($6) | 0); - __stack_pointer = $6 - -64 | 0; -} - -function std____2__vector_int_2c_20std____2__allocator_int______construct_at_end_28unsigned_20long_2c_20int_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $0; - HEAP32[$3 + 24 >> 2] = $1; - HEAP32[$3 + 20 >> 2] = $2; - $0 = HEAP32[$3 + 28 >> 2]; - std____2__vector_int_2c_20std____2__allocator_int_____ConstructTransaction___ConstructTransaction_5babi_v160004_5d_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_29($3 + 8 | 0, $0, HEAP32[$3 + 24 >> 2]); - HEAP32[$3 + 4 >> 2] = HEAP32[$3 + 16 >> 2]; - HEAP32[$3 >> 2] = HEAP32[$3 + 12 >> 2]; - while (1) { - if (HEAP32[$3 >> 2] != HEAP32[$3 + 4 >> 2]) { - void_20std____2__allocator_traits_std____2__allocator_int____construct_5babi_v160004_5d_int_2c_20int_20const__2c_20void__28std____2__allocator_int___2c_20int__2c_20int_20const__29(std____2__vector_int_2c_20std____2__allocator_int______alloc_5babi_v160004_5d_28_29($0), int__20std____2____to_address_5babi_v160004_5d_int__28int__29(HEAP32[$3 >> 2]), HEAP32[$3 + 20 >> 2]); - $1 = HEAP32[$3 >> 2] + 4 | 0; - HEAP32[$3 >> 2] = $1; - HEAP32[$3 + 12 >> 2] = $1; - continue; - } - break; - } - std____2__vector_int_2c_20std____2__allocator_int_____ConstructTransaction____ConstructTransaction_5babi_v160004_5d_28_29($3 + 8 | 0); - __stack_pointer = $3 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2Draw____29_28unsigned_20int_29___invoke_b2Draw__28char_20const__2c_20void_20_28b2Draw____29_28unsigned_20int_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 498; - $0 = emscripten__internal__TypeID_b2Draw_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20unsigned_20int___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20unsigned_20int___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2Draw____emscripten__internal__getContext_void_20_28b2Draw____29_28unsigned_20int_29__28void_20_28b2Draw____20const__29_28unsigned_20int_29_29_29_28unsigned_20int_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_float_20_28b2WheelJoint____29_28_29_20const___invoke_b2WheelJoint__28char_20const__2c_20float_20_28b2WheelJoint____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 643; - $0 = emscripten__internal__TypeID_b2WheelJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], float_20_28b2WheelJoint____emscripten__internal__getContext_float_20_28b2WheelJoint____29_28_29_20const__28float_20_28b2WheelJoint____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_float_20_28b2MouseJoint____29_28_29_20const___invoke_b2MouseJoint__28char_20const__2c_20float_20_28b2MouseJoint____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 589; - $0 = emscripten__internal__TypeID_b2MouseJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], float_20_28b2MouseJoint____emscripten__internal__getContext_float_20_28b2MouseJoint____29_28_29_20const__28float_20_28b2MouseJoint____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_float_20_28b2MotorJoint____29_28_29_20const___invoke_b2MotorJoint__28char_20const__2c_20float_20_28b2MotorJoint____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 579; - $0 = emscripten__internal__TypeID_b2MotorJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], float_20_28b2MotorJoint____emscripten__internal__getContext_float_20_28b2MotorJoint____29_28_29_20const__28float_20_28b2MotorJoint____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28__29_28b2Body__2c_20b2MassData_20const__29___invoke_b2Body_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28b2Body__2c_20b2MassData_20const__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 543; - $0 = emscripten__internal__TypeID_b2Body_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20b2Body__2c_20b2MassData_20const____getCount_28_29_20const($2 + 19 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20b2Body__2c_20b2MassData_20const____getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28__emscripten__internal__getContext_void_20_28__29_28b2Body__2c_20b2MassData_20const__29__28void_20_28__20const__29_28b2Body__2c_20b2MassData_20const__29_29_29_28b2Body__2c_20b2MassData_20const__29($2 + 20 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_b2JointType_20_28b2Joint____29_28_29_20const___invoke_b2Joint__28char_20const__2c_20b2JointType_20_28b2Joint____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 555; - $0 = emscripten__internal__TypeID_b2Joint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_b2JointType_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_b2JointType_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], b2JointType_20_28b2Joint____emscripten__internal__getContext_b2JointType_20_28b2Joint____29_28_29_20const__28b2JointType_20_28b2Joint____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2WheelJoint____29_28float_29___invoke_b2WheelJoint__28char_20const__2c_20void_20_28b2WheelJoint____29_28float_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 646; - $0 = emscripten__internal__TypeID_b2WheelJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint__2c_20float___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint__2c_20float___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2WheelJoint____emscripten__internal__getContext_void_20_28b2WheelJoint____29_28float_29__28void_20_28b2WheelJoint____20const__29_28float_29_29_29_28float_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2MouseJoint____29_28float_29___invoke_b2MouseJoint__28char_20const__2c_20void_20_28b2MouseJoint____29_28float_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 588; - $0 = emscripten__internal__TypeID_b2MouseJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint__2c_20float___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint__2c_20float___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2MouseJoint____emscripten__internal__getContext_void_20_28b2MouseJoint____29_28float_29__28void_20_28b2MouseJoint____20const__29_28float_29_29_29_28float_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2MotorJoint____29_28float_29___invoke_b2MotorJoint__28char_20const__2c_20void_20_28b2MotorJoint____29_28float_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 578; - $0 = emscripten__internal__TypeID_b2MotorJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint__2c_20float___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint__2c_20float___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2MotorJoint____emscripten__internal__getContext_void_20_28b2MotorJoint____29_28float_29__28void_20_28b2MotorJoint____20const__29_28float_29_29_29_28float_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function b2FrictionJoint__Dump_28_29($0) { - $0 = $0 | 0; - var $1 = 0, $2 = Math_fround(0); - $1 = __stack_pointer - 128 | 0; - __stack_pointer = $1; - HEAP32[$1 + 124 >> 2] = $0; - $0 = HEAP32[$1 + 124 >> 2]; - HEAP32[$1 + 120 >> 2] = HEAP32[HEAP32[$0 + 48 >> 2] + 8 >> 2]; - HEAP32[$1 + 116 >> 2] = HEAP32[HEAP32[$0 + 52 >> 2] + 8 >> 2]; - b2Log_28char_20const__2c_20____29(13896, 0); - HEAP32[$1 + 80 >> 2] = HEAP32[$1 + 120 >> 2]; - b2Log_28char_20const__2c_20____29(14207, $1 + 80 | 0); - HEAP32[$1 + 64 >> 2] = HEAP32[$1 + 116 >> 2]; - b2Log_28char_20const__2c_20____29(14181, $1 - -64 | 0); - HEAP32[$1 + 48 >> 2] = HEAP8[$0 + 61 | 0] & 1; - b2Log_28char_20const__2c_20____29(15397, $1 + 48 | 0); - $2 = HEAPF32[$0 + 68 >> 2]; - HEAPF64[$1 + 40 >> 3] = HEAPF32[$0 + 72 >> 2]; - HEAPF64[$1 + 32 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14708, $1 + 32 | 0); - $2 = HEAPF32[$0 + 76 >> 2]; - HEAPF64[$1 + 24 >> 3] = HEAPF32[$0 + 80 >> 2]; - HEAPF64[$1 + 16 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14583, $1 + 16 | 0); - HEAPF64[$1 >> 3] = HEAPF32[$0 + 96 >> 2]; - b2Log_28char_20const__2c_20____29(13566, $1); - HEAPF64[$1 + 96 >> 3] = HEAPF32[$0 + 100 >> 2]; - b2Log_28char_20const__2c_20____29(13366, $1 + 96 | 0); - HEAP32[$1 + 112 >> 2] = HEAP32[$0 + 56 >> 2]; - b2Log_28char_20const__2c_20____29(14998, $1 + 112 | 0); - __stack_pointer = $1 + 128 | 0; -} - -function b2World__b2World_28b2Vec2_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - $2 = HEAP32[$3 + 12 >> 2]; - b2BlockAllocator__b2BlockAllocator_28_29($2); - b2StackAllocator__b2StackAllocator_28_29($2 + 68 | 0); - b2ContactManager__b2ContactManager_28_29($2 + 102868 | 0); - b2Vec2__b2Vec2_28_29($2 + 102964 | 0); - HEAP32[$2 + 102976 >> 2] = 0; - HEAP32[$2 + 102980 >> 2] = 0; - HEAP32[$2 + 102948 >> 2] = 0; - HEAP32[$2 + 102952 >> 2] = 0; - HEAP32[$2 + 102956 >> 2] = 0; - HEAP32[$2 + 102960 >> 2] = 0; - HEAP8[$2 + 102991 | 0] = 1; - HEAP8[$2 + 102992 | 0] = 1; - HEAP8[$2 + 102993 | 0] = 0; - HEAP8[$2 + 102994 | 0] = 1; - HEAP8[$2 + 102972 | 0] = 1; - $1 = HEAP32[$3 + 8 >> 2]; - $0 = HEAP32[$1 >> 2]; - $4 = HEAP32[$1 + 4 >> 2]; - $1 = $0; - $0 = $2 + 102964 | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $4; - HEAP8[$2 + 102988 | 0] = 0; - HEAP8[$2 + 102989 | 0] = 0; - HEAP8[$2 + 102990 | 0] = 1; - HEAPF32[$2 + 102984 >> 2] = 0; - HEAP32[$2 + 102944 >> 2] = $2; - $0 = $2 + 102996 | 0; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 24 >> 2] = 0; - HEAP32[$0 + 28 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = 0; - HEAP32[$0 + 20 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - HEAP32[$0 + 12 >> 2] = 0; - __stack_pointer = $3 + 16 | 0; - return $2; -} - -function void_20emscripten__internal__RegisterClassMethod_float_20_28b2WeldJoint____29_28_29_20const___invoke_b2WeldJoint__28char_20const__2c_20float_20_28b2WeldJoint____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 634; - $0 = emscripten__internal__TypeID_b2WeldJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], float_20_28b2WeldJoint____emscripten__internal__getContext_float_20_28b2WeldJoint____29_28_29_20const__28float_20_28b2WeldJoint____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_float_20_28b2RopeJoint____29_28_29_20const___invoke_b2RopeJoint__28char_20const__2c_20float_20_28b2RopeJoint____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 626; - $0 = emscripten__internal__TypeID_b2RopeJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], float_20_28b2RopeJoint____emscripten__internal__getContext_float_20_28b2RopeJoint____29_28_29_20const__28float_20_28b2RopeJoint____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_bool_20_28b2WheelJoint____29_28_29_20const___invoke_b2WheelJoint__28char_20const__2c_20bool_20_28b2WheelJoint____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 644; - $0 = emscripten__internal__TypeID_b2WheelJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], bool_20_28b2WheelJoint____emscripten__internal__getContext_bool_20_28b2WheelJoint____29_28_29_20const__28bool_20_28b2WheelJoint____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2World____29_28_29___invoke_b2World_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28b2World____29_28_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 520; - $0 = emscripten__internal__TypeID_b2World_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2World____emscripten__internal__getContext_void_20_28b2World____29_28_29__28void_20_28b2World____20const__29_28_29_29_29_28_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function b2PolygonShape__TestPoint_28b2Transform_20const__2c_20b2Vec2_20const__29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $3 = __stack_pointer - 48 | 0; - __stack_pointer = $3; - HEAP32[$3 + 40 >> 2] = $0; - HEAP32[$3 + 36 >> 2] = $1; - HEAP32[$3 + 32 >> 2] = $2; - $0 = HEAP32[$3 + 40 >> 2]; - $1 = HEAP32[$3 + 36 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 16 | 0, HEAP32[$3 + 32 >> 2], HEAP32[$3 + 36 >> 2]); - b2MulT_28b2Rot_20const__2c_20b2Vec2_20const__29($3 + 24 | 0, $1 + 8 | 0, $3 + 16 | 0); - HEAP32[$3 + 12 >> 2] = 0; - label$1: { - while (1) { - if (HEAP32[$3 + 12 >> 2] < HEAP32[$0 + 148 >> 2]) { - $1 = HEAP32[$3 + 12 >> 2] << 3; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3, $3 + 24 | 0, ($0 + 20 | 0) + (HEAP32[$3 + 12 >> 2] << 3) | 0); - wasm2js_i32$0 = $3, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + ($0 + 84 | 0) | 0, $3), - HEAPF32[wasm2js_i32$0 + 8 >> 2] = wasm2js_f32$0; - if (HEAPF32[$3 + 8 >> 2] > Math_fround(0)) { - HEAP8[$3 + 47 | 0] = 0; - break label$1; - } else { - HEAP32[$3 + 12 >> 2] = HEAP32[$3 + 12 >> 2] + 1; - continue; - } - } - break; - } - HEAP8[$3 + 47 | 0] = 1; - } - __stack_pointer = $3 + 48 | 0; - return HEAP8[$3 + 47 | 0] & 1; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2WheelJoint____29_28bool_29___invoke_b2WheelJoint__28char_20const__2c_20void_20_28b2WheelJoint____29_28bool_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 645; - $0 = emscripten__internal__TypeID_b2WheelJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint__2c_20bool___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint__2c_20bool___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2WheelJoint____emscripten__internal__getContext_void_20_28b2WheelJoint____29_28bool_29__28void_20_28b2WheelJoint____20const__29_28bool_29_29_29_28bool_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2WeldJoint____29_28float_29___invoke_b2WeldJoint__28char_20const__2c_20void_20_28b2WeldJoint____29_28float_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 635; - $0 = emscripten__internal__TypeID_b2WeldJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint__2c_20float___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint__2c_20float___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2WeldJoint____emscripten__internal__getContext_void_20_28b2WeldJoint____29_28float_29__28void_20_28b2WeldJoint____20const__29_28float_29_29_29_28float_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2RopeJoint____29_28float_29___invoke_b2RopeJoint__28char_20const__2c_20void_20_28b2RopeJoint____29_28float_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 625; - $0 = emscripten__internal__TypeID_b2RopeJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint__2c_20float___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint__2c_20float___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2RopeJoint____emscripten__internal__getContext_void_20_28b2RopeJoint____29_28float_29__28void_20_28b2RopeJoint____20const__29_28float_29_29_29_28float_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2____tree_node_base_void____20std____2____tree_next_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - label$1: { - if (HEAP32[HEAP32[$1 + 8 >> 2] + 4 >> 2]) { - wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2____tree_node_base_void____20std____2____tree_min_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(HEAP32[HEAP32[$1 + 8 >> 2] + 4 >> 2]), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - break label$1; - } - while (1) { - if ((bool_20std____2____tree_is_left_child_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(HEAP32[$1 + 8 >> 2]) ^ -1) & 1) { - wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - continue; - } - break; - } - wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - } - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 12 >> 2]; -} - -function void_20emscripten__internal__RegisterClassMethod_b2BodyType_20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20b2BodyType_20_28b2Body____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 547; - $0 = emscripten__internal__TypeID_b2Body_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_b2BodyType_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_b2BodyType_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], b2BodyType_20_28b2Body____emscripten__internal__getContext_b2BodyType_20_28b2Body____29_28_29_20const__28b2BodyType_20_28b2Body____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2__pair_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____20std____2____move_5babi_v160004_5d_std____2___ClassicAlgPolicy_2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____28std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___29($0, $1, $2, $3) { - var $4 = 0; - $4 = __stack_pointer - 32 | 0; - __stack_pointer = $4; - HEAP32[$4 + 28 >> 2] = $1; - HEAP32[$4 + 24 >> 2] = $2; - HEAP32[$4 + 20 >> 2] = $3; - HEAP32[$4 + 16 >> 2] = HEAP32[$4 + 28 >> 2]; - HEAP32[$4 + 12 >> 2] = HEAP32[$4 + 24 >> 2]; - HEAP32[$4 + 8 >> 2] = HEAP32[$4 + 20 >> 2]; - std____2__pair_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____20std____2____dispatch_copy_or_move_5babi_v160004_5d_std____2___ClassicAlgPolicy_2c_20std____2____move_loop_std____2___ClassicAlgPolicy__2c_20std____2____move_trivial_2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____28std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___29($0, HEAP32[$4 + 16 >> 2], HEAP32[$4 + 12 >> 2], HEAP32[$4 + 8 >> 2]); - __stack_pointer = $4 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28b2BodyType_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28b2BodyType_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 546; - $0 = emscripten__internal__TypeID_b2Body_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2BodyType___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2BodyType___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2Body____emscripten__internal__getContext_void_20_28b2Body____29_28b2BodyType_29__28void_20_28b2Body____20const__29_28b2BodyType_29_29_29_28b2BodyType_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__MethodCaller_bool_2c_20unsigned_20int____call_28emscripten___EM_VAL__2c_20char_20const__2c_20unsigned_20int__29($0, $1, $2) { - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_f64$0 = 0; - $3 = __stack_pointer - 48 | 0; - __stack_pointer = $3; - HEAP32[$3 + 44 >> 2] = $0; - HEAP32[$3 + 40 >> 2] = $1; - HEAP32[$3 + 36 >> 2] = $2; - wasm2js_i32$0 = $3, wasm2js_i32$1 = emscripten__internal__Signature_bool_2c_20unsigned_20int____get_method_caller_28_29(), - HEAP32[wasm2js_i32$0 + 32 >> 2] = wasm2js_i32$1; - emscripten__internal__WireTypePack_unsigned_20int____WireTypePack_28unsigned_20int__29($3 + 24 | 0, HEAP32[$3 + 36 >> 2]); - wasm2js_i32$0 = $3, wasm2js_f64$0 = +_emval_call_method(HEAP32[$3 + 32 >> 2], HEAP32[$3 + 44 >> 2], HEAP32[$3 + 40 >> 2], $3 + 20 | 0, emscripten__internal__WireTypePack_unsigned_20int____operator_20void_20const__28_29_20const($3 + 24 | 0) | 0), - HEAPF64[wasm2js_i32$0 + 8 >> 3] = wasm2js_f64$0; - emscripten__internal__DestructorsRunner__DestructorsRunner_28emscripten__internal___EM_DESTRUCTORS__29($3 + 4 | 0, HEAP32[$3 + 20 >> 2]); - $0 = bool_20emscripten__internal__fromGenericWireType_bool__28double_29(HEAPF64[$3 + 8 >> 3]); - emscripten__internal__DestructorsRunner___DestructorsRunner_28_29($3 + 4 | 0); - __stack_pointer = $3 + 48 | 0; - return $0 & 1; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2PrismaticJoint____29_28_29___invoke_b2PrismaticJoint__28char_20const__2c_20void_20_28b2PrismaticJoint____29_28_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 603; - $0 = emscripten__internal__TypeID_b2PrismaticJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2PrismaticJoint____emscripten__internal__getContext_void_20_28b2PrismaticJoint____29_28_29__28void_20_28b2PrismaticJoint____20const__29_28_29_29_29_28_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function b2Fixture__CreateProxies_28b2BroadPhase__2c_20b2Transform_20const__29($0, $1, $2) { - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $0; - HEAP32[$3 + 24 >> 2] = $1; - HEAP32[$3 + 20 >> 2] = $2; - $0 = HEAP32[$3 + 28 >> 2]; - if (HEAP32[$0 + 28 >> 2]) { - __assert_fail(12571, 5786, 128, 3701); - wasm2js_trap(); - } - $1 = HEAP32[$0 + 12 >> 2]; - wasm2js_i32$0 = $0, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 12 >> 2]]($1) | 0, - HEAP32[wasm2js_i32$0 + 28 >> 2] = wasm2js_i32$1; - HEAP32[$3 + 16 >> 2] = 0; - while (1) { - if (HEAP32[$3 + 16 >> 2] < HEAP32[$0 + 28 >> 2]) { - HEAP32[$3 + 12 >> 2] = HEAP32[$0 + 24 >> 2] + Math_imul(HEAP32[$3 + 16 >> 2], 28); - $1 = HEAP32[$0 + 12 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 24 >> 2]]($1, HEAP32[$3 + 12 >> 2], HEAP32[$3 + 20 >> 2], HEAP32[$3 + 16 >> 2]); - $1 = b2BroadPhase__CreateProxy_28b2AABB_20const__2c_20void__29(HEAP32[$3 + 24 >> 2], HEAP32[$3 + 12 >> 2], HEAP32[$3 + 12 >> 2]); - HEAP32[HEAP32[$3 + 12 >> 2] + 24 >> 2] = $1; - HEAP32[HEAP32[$3 + 12 >> 2] + 16 >> 2] = $0; - HEAP32[HEAP32[$3 + 12 >> 2] + 20 >> 2] = HEAP32[$3 + 16 >> 2]; - HEAP32[$3 + 16 >> 2] = HEAP32[$3 + 16 >> 2] + 1; - continue; - } - break; - } - __stack_pointer = $3 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2RevoluteJoint____29_28_29___invoke_b2RevoluteJoint__28char_20const__2c_20void_20_28b2RevoluteJoint____29_28_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 616; - $0 = emscripten__internal__TypeID_b2RevoluteJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2RevoluteJoint____emscripten__internal__getContext_void_20_28b2RevoluteJoint____29_28_29__28void_20_28b2RevoluteJoint____20const__29_28_29_29_29_28_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2DistanceJoint____29_28_29___invoke_b2DistanceJoint__28char_20const__2c_20void_20_28b2DistanceJoint____29_28_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 570; - $0 = emscripten__internal__TypeID_b2DistanceJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2DistanceJoint____emscripten__internal__getContext_void_20_28b2DistanceJoint____29_28_29__28void_20_28b2DistanceJoint____20const__29_28_29_29_29_28_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2Draw____29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29_2c_20void_2c_20b2Draw__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const____invoke_28void_20_28b2Draw____20const__29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29_2c_20b2Draw__2c_20b2Vec2__2c_20b2Vec2__2c_20b2Color__29($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $5 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAP32[$5 + 12 >> 2] = $4; - $2 = emscripten__internal__BindingType_b2Draw__2c_20void___fromWireType_28b2Draw__29(HEAP32[$5 + 24 >> 2]); - $0 = HEAP32[$5 + 28 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$5 + 20 >> 2]), emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$5 + 16 >> 2]), emscripten__internal__GenericBindingType_b2Color___fromWireType_28b2Color__29(HEAP32[$5 + 12 >> 2])); - __stack_pointer = $5 + 32 | 0; -} - -function emscripten__internal__MethodInvoker_unsigned_20long_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28_29_20const_2c_20unsigned_20long_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const____invoke_28unsigned_20long_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______20const__29_28_29_20const_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20void___fromWireType_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - wasm2js_i32$0 = $2, wasm2js_i32$1 = FUNCTION_TABLE[$0 | 0]($1) | 0, HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - $0 = emscripten__internal__BindingType_unsigned_20long_2c_20void___toWireType_28unsigned_20long_20const__29($2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_b2Vec2_20_28b2World____29_28_29_20const___invoke_b2World__28char_20const__2c_20b2Vec2_20_28b2World____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 531; - $0 = emscripten__internal__TypeID_b2World_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2World_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2World_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], b2Vec2_20_28b2World____emscripten__internal__getContext_b2Vec2_20_28b2World____29_28_29_20const__28b2Vec2_20_28b2World____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function FixtureDefSetAll_28unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20bool_2c_20unsigned_20short_2c_20unsigned_20short_2c_20short_29($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = Math_fround($3); - $4 = Math_fround($4); - $5 = Math_fround($5); - $6 = $6 | 0; - $7 = $7 | 0; - $8 = $8 | 0; - $9 = $9 | 0; - var $10 = 0; - $10 = __stack_pointer - 32 | 0; - HEAP32[$10 + 28 >> 2] = $0; - HEAP32[$10 + 24 >> 2] = $1; - HEAP32[$10 + 20 >> 2] = $2; - HEAPF32[$10 + 16 >> 2] = $3; - HEAPF32[$10 + 12 >> 2] = $4; - HEAPF32[$10 + 8 >> 2] = $5; - HEAP8[$10 + 7 | 0] = $6; - HEAP16[$10 + 4 >> 1] = $7; - HEAP16[$10 + 2 >> 1] = $8; - HEAP16[$10 >> 1] = $9; - HEAP32[HEAP32[$10 + 28 >> 2] >> 2] = HEAP32[$10 + 24 >> 2]; - HEAP32[HEAP32[$10 + 28 >> 2] + 4 >> 2] = HEAP32[$10 + 20 >> 2]; - HEAPF32[HEAP32[$10 + 28 >> 2] + 8 >> 2] = HEAPF32[$10 + 16 >> 2]; - HEAPF32[HEAP32[$10 + 28 >> 2] + 12 >> 2] = HEAPF32[$10 + 12 >> 2]; - HEAPF32[HEAP32[$10 + 28 >> 2] + 16 >> 2] = HEAPF32[$10 + 8 >> 2]; - HEAP8[HEAP32[$10 + 28 >> 2] + 20 | 0] = HEAP8[$10 + 7 | 0] & 1; - HEAP16[HEAP32[$10 + 28 >> 2] + 22 >> 1] = HEAPU16[$10 + 4 >> 1]; - HEAP16[HEAP32[$10 + 28 >> 2] + 24 >> 1] = HEAPU16[$10 + 2 >> 1]; - HEAP16[HEAP32[$10 + 28 >> 2] + 26 >> 1] = HEAPU16[$10 >> 1]; -} - -function std____2____tree_end_node_std____2____tree_node_base_void______20std____2____tree_next_iter_5babi_v160004_5d_std____2____tree_end_node_std____2____tree_node_base_void______2c_20std____2____tree_node_base_void_____28std____2____tree_node_base_void____29($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - label$1: { - if (HEAP32[HEAP32[$1 + 8 >> 2] + 4 >> 2]) { - wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2____tree_node_base_void____20std____2____tree_min_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(HEAP32[HEAP32[$1 + 8 >> 2] + 4 >> 2]), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - break label$1; - } - while (1) { - if ((bool_20std____2____tree_is_left_child_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(HEAP32[$1 + 8 >> 2]) ^ -1) & 1) { - wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - continue; - } - break; - } - HEAP32[$1 + 12 >> 2] = HEAP32[HEAP32[$1 + 8 >> 2] + 8 >> 2]; - } - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 12 >> 2]; -} - -function __lshrti3($0, $1, $2, $3, $4, $5) { - var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0; - label$1: { - if ($5 & 64) { - $7 = $4; - $8 = $3; - $9 = $5 + -64 | 0; - $6 = $9 & 31; - if (($9 & 63) >>> 0 >= 32) { - $1 = $7 >>> $6 | 0; - } else { - $10 = $7 >>> $6 | 0; - $1 = ((1 << $6) - 1 & $7) << 32 - $6 | $8 >>> $6; - } - $2 = $10; - $3 = 0; - $4 = 0; - break label$1; - } - if (!$5) { - break label$1; - } - $10 = $4; - $7 = $3; - $9 = 64 - $5 | 0; - $6 = $9 & 31; - if (($9 & 63) >>> 0 >= 32) { - $8 = $7 << $6; - $11 = 0; - } else { - $8 = (1 << $6) - 1 & $7 >>> 32 - $6 | $10 << $6; - $11 = $7 << $6; - } - $12 = $8; - $8 = $2; - $10 = $1; - $7 = 0; - $9 = $5; - $6 = $9 & 31; - if (($9 & 63) >>> 0 >= 32) { - $9 = $8 >>> $6 | 0; - } else { - $7 = $8 >>> $6 | 0; - $9 = ((1 << $6) - 1 & $8) << 32 - $6 | $10 >>> $6; - } - $10 = $7; - $8 = $11; - $1 = $8 | $9; - $7 = $12; - $10 = $7 | $10; - $2 = $10; - $10 = $4; - $7 = $3; - $8 = 0; - $9 = $5; - $6 = $9 & 31; - if (($9 & 63) >>> 0 >= 32) { - $3 = $10 >>> $6 | 0; - } else { - $8 = $10 >>> $6 | 0; - $3 = ((1 << $6) - 1 & $10) << 32 - $6 | $7 >>> $6; - } - $4 = $8; - } - $7 = $0; - HEAP32[$7 >> 2] = $1; - $8 = $2; - HEAP32[$7 + 4 >> 2] = $8; - HEAP32[$7 + 8 >> 2] = $3; - $8 = $4; - HEAP32[$7 + 12 >> 2] = $8; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28__29_28b2JointDef__2c_20b2Body__29___invoke_b2JointDef_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28b2JointDef__2c_20b2Body__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 553; - $0 = emscripten__internal__TypeID_b2JointDef_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20b2JointDef__2c_20b2Body____getCount_28_29_20const($2 + 19 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20b2JointDef__2c_20b2Body____getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28__emscripten__internal__getContext_void_20_28__29_28b2JointDef__2c_20b2Body__29__28void_20_28__20const__29_28b2JointDef__2c_20b2Body__29_29_29_28b2JointDef__2c_20b2Body__29($2 + 20 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_b2Vec2_20_28b2AABB____29_28_29_20const___invoke_b2AABB__28char_20const__2c_20b2Vec2_20_28b2AABB____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 511; - $0 = emscripten__internal__TypeID_b2AABB_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], b2Vec2_20_28b2AABB____emscripten__internal__getContext_b2Vec2_20_28b2AABB____29_28_29_20const__28b2Vec2_20_28b2AABB____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function b2StackAllocator__Allocate_28int_29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (HEAP32[$0 + 102796 >> 2] >= 32) { - __assert_fail(3715, 5575, 42, 9191); - wasm2js_trap(); - } - HEAP32[$2 + 4 >> 2] = ($0 + 102412 | 0) + Math_imul(HEAP32[$0 + 102796 >> 2], 12); - HEAP32[HEAP32[$2 + 4 >> 2] + 4 >> 2] = HEAP32[$2 + 8 >> 2]; - label$2: { - if ((HEAP32[$0 + 102400 >> 2] + HEAP32[$2 + 8 >> 2] | 0) > 102400) { - $1 = b2Alloc_28int_29(HEAP32[$2 + 8 >> 2]); - HEAP32[HEAP32[$2 + 4 >> 2] >> 2] = $1; - HEAP8[HEAP32[$2 + 4 >> 2] + 8 | 0] = 1; - break label$2; - } - HEAP32[HEAP32[$2 + 4 >> 2] >> 2] = HEAP32[$0 + 102400 >> 2] + $0; - HEAP8[HEAP32[$2 + 4 >> 2] + 8 | 0] = 0; - HEAP32[$0 + 102400 >> 2] = HEAP32[$2 + 8 >> 2] + HEAP32[$0 + 102400 >> 2]; - } - HEAP32[$0 + 102404 >> 2] = HEAP32[$2 + 8 >> 2] + HEAP32[$0 + 102404 >> 2]; - wasm2js_i32$0 = $0, wasm2js_i32$1 = int_20b2Max_int__28int_2c_20int_29(HEAP32[$0 + 102408 >> 2], HEAP32[$0 + 102404 >> 2]), - HEAP32[wasm2js_i32$0 + 102408 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 102796 >> 2] = HEAP32[$0 + 102796 >> 2] + 1; - __stack_pointer = $2 + 16 | 0; - return HEAP32[HEAP32[$2 + 4 >> 2] >> 2]; -} - -function emscripten__internal__MethodInvoker_bool_20_28b2AABB____29_28b2RayCastOutput__2c_20b2RayCastInput_20const__29_20const_2c_20bool_2c_20b2AABB_20const__2c_20b2RayCastOutput__2c_20b2RayCastInput_20const____invoke_28bool_20_28b2AABB____20const__29_28b2RayCastOutput__2c_20b2RayCastInput_20const__29_20const_2c_20b2AABB_20const__2c_20b2RayCastOutput__2c_20b2RayCastInput__29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - $2 = emscripten__internal__BindingType_b2AABB_20const__2c_20void___fromWireType_28b2AABB_20const__29(HEAP32[$4 + 8 >> 2]); - $0 = HEAP32[$4 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__BindingType_bool_2c_20void___toWireType_28bool_29(FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_b2RayCastOutput__2c_20void___fromWireType_28b2RayCastOutput__29(HEAP32[$4 + 4 >> 2]), emscripten__internal__GenericBindingType_b2RayCastInput___fromWireType_28b2RayCastInput__29(HEAP32[$4 >> 2])) & 1); - __stack_pointer = $4 + 16 | 0; - return $0 & 1; -} - -function void_20emscripten__internal__RegisterClassMethod_float_20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20float_20_28b2Body____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 536; - $0 = emscripten__internal__TypeID_b2Body_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], float_20_28b2Body____emscripten__internal__getContext_float_20_28b2Body____29_28_29_20const__28float_20_28b2Body____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_float_20_28b2AABB____29_28_29_20const___invoke_b2AABB__28char_20const__2c_20float_20_28b2AABB____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 512; - $0 = emscripten__internal__TypeID_b2AABB_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], float_20_28b2AABB____emscripten__internal__getContext_float_20_28b2AABB____29_28_29_20const__28float_20_28b2AABB____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_bool_20_28b2World____29_28_29_20const___invoke_b2World__28char_20const__2c_20bool_20_28b2World____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 529; - $0 = emscripten__internal__TypeID_b2World_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2World_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2World_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], bool_20_28b2World____emscripten__internal__getContext_bool_20_28b2World____29_28_29_20const__28bool_20_28b2World____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_bool_20_28b2Joint____29_28_29_20const___invoke_b2Joint__28char_20const__2c_20bool_20_28b2Joint____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 560; - $0 = emscripten__internal__TypeID_b2Joint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], bool_20_28b2Joint____emscripten__internal__getContext_bool_20_28b2Joint____29_28_29_20const__28bool_20_28b2Joint____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_______construct_at_end_28unsigned_20long_2c_20b2Vec2_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $0; - HEAP32[$3 + 24 >> 2] = $1; - HEAP32[$3 + 20 >> 2] = $2; - $0 = HEAP32[$3 + 28 >> 2]; - std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2______ConstructTransaction___ConstructTransaction_5babi_v160004_5d_28b2Vec2___2c_20unsigned_20long_29($3 + 8 | 0, $0 + 8 | 0, HEAP32[$3 + 24 >> 2]); - while (1) { - if (HEAP32[$3 + 8 >> 2] != HEAP32[$3 + 12 >> 2]) { - void_20std____2__allocator_traits_std____2__allocator_b2Vec2____construct_5babi_v160004_5d_b2Vec2_2c_20b2Vec2_20const__2c_20void__28std____2__allocator_b2Vec2___2c_20b2Vec2__2c_20b2Vec2_20const__29(std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_______alloc_5babi_v160004_5d_28_29($0), b2Vec2__20std____2____to_address_5babi_v160004_5d_b2Vec2__28b2Vec2__29(HEAP32[$3 + 8 >> 2]), HEAP32[$3 + 20 >> 2]); - HEAP32[$3 + 8 >> 2] = HEAP32[$3 + 8 >> 2] + 8; - continue; - } - break; - } - std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2______ConstructTransaction____ConstructTransaction_5babi_v160004_5d_28_29($3 + 8 | 0); - __stack_pointer = $3 + 32 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2Draw____29_28b2Vec2_20const__2c_20float_2c_20b2Color_20const__29_2c_20void_2c_20b2Draw__2c_20b2Vec2_20const__2c_20float_2c_20b2Color_20const____invoke_28void_20_28b2Draw____20const__29_28b2Vec2_20const__2c_20float_2c_20b2Color_20const__29_2c_20b2Draw__2c_20b2Vec2__2c_20float_2c_20b2Color__29($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = Math_fround($3); - $4 = $4 | 0; - var $5 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAPF32[$5 + 16 >> 2] = $3; - HEAP32[$5 + 12 >> 2] = $4; - $2 = emscripten__internal__BindingType_b2Draw__2c_20void___fromWireType_28b2Draw__29(HEAP32[$5 + 24 >> 2]); - $0 = HEAP32[$5 + 28 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$5 + 20 >> 2]), emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$5 + 16 >> 2]), emscripten__internal__GenericBindingType_b2Color___fromWireType_28b2Color__29(HEAP32[$5 + 12 >> 2])); - __stack_pointer = $5 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2World____29_28bool_29___invoke_b2World__28char_20const__2c_20void_20_28b2World____29_28bool_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 528; - $0 = emscripten__internal__TypeID_b2World_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20bool___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20bool___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2World____emscripten__internal__getContext_void_20_28b2World____29_28bool_29__28void_20_28b2World____20const__29_28bool_29_29_29_28bool_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28float_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28float_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 538; - $0 = emscripten__internal__TypeID_b2Body_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20float___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20float___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2Body____emscripten__internal__getContext_void_20_28b2Body____29_28float_29__28void_20_28b2Body____20const__29_28float_29_29_29_28float_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2Draw____29_28unsigned_20int_2c_20int_2c_20b2Color_20const__29_2c_20void_2c_20b2Draw__2c_20unsigned_20int_2c_20int_2c_20b2Color_20const____invoke_28void_20_28b2Draw____20const__29_28unsigned_20int_2c_20int_2c_20b2Color_20const__29_2c_20b2Draw__2c_20unsigned_20int_2c_20int_2c_20b2Color__29($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $5 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAP32[$5 + 12 >> 2] = $4; - $2 = emscripten__internal__BindingType_b2Draw__2c_20void___fromWireType_28b2Draw__29(HEAP32[$5 + 24 >> 2]); - $0 = HEAP32[$5 + 28 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$5 + 20 >> 2]), emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29(HEAP32[$5 + 16 >> 2]), emscripten__internal__GenericBindingType_b2Color___fromWireType_28b2Color__29(HEAP32[$5 + 12 >> 2])); - __stack_pointer = $5 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_bool_20_28b2Body____29_28_29_20const___invoke_b2Body__28char_20const__2c_20bool_20_28b2Body____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 549; - $0 = emscripten__internal__TypeID_b2Body_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], bool_20_28b2Body____emscripten__internal__getContext_bool_20_28b2Body____29_28_29_20const__28bool_20_28b2Body____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_bool_20_28b2AABB____29_28_29_20const___invoke_b2AABB__28char_20const__2c_20bool_20_28b2AABB____29_28_29_20const_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 510; - $0 = emscripten__internal__TypeID_b2AABB_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], bool_20_28b2AABB____emscripten__internal__getContext_bool_20_28b2AABB____29_28_29_20const__28bool_20_28b2AABB____20const__29_28_29_20const_29_29_28_29_20const($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2WheelJoint____29_28_29___invoke_b2WheelJoint__28char_20const__2c_20void_20_28b2WheelJoint____29_28_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 648; - $0 = emscripten__internal__TypeID_b2WheelJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2WheelJoint____emscripten__internal__getContext_void_20_28b2WheelJoint____29_28_29__28void_20_28b2WheelJoint____20const__29_28_29_29_29_28_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2MouseJoint____29_28_29___invoke_b2MouseJoint__28char_20const__2c_20void_20_28b2MouseJoint____29_28_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 590; - $0 = emscripten__internal__TypeID_b2MouseJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2MouseJoint____emscripten__internal__getContext_void_20_28b2MouseJoint____29_28_29__28void_20_28b2MouseJoint____20const__29_28_29_29_29_28_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2MotorJoint____29_28_29___invoke_b2MotorJoint__28char_20const__2c_20void_20_28b2MotorJoint____29_28_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 580; - $0 = emscripten__internal__TypeID_b2MotorJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2MotorJoint____emscripten__internal__getContext_void_20_28b2MotorJoint____29_28_29__28void_20_28b2MotorJoint____20const__29_28_29_29_29_28_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__FunctionInvoker_emscripten__val_20_28__29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long_29_2c_20emscripten__val_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long___invoke_28emscripten__val_20_28___29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long_29_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[HEAP32[$3 + 12 >> 2] >> 2]; - FUNCTION_TABLE[$0 | 0]($3, emscripten__internal__GenericBindingType_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2_____fromWireType_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____29(HEAP32[$3 + 8 >> 2]), emscripten__internal__BindingType_unsigned_20long_2c_20void___fromWireType_28unsigned_20long_29(HEAP32[$3 + 4 >> 2])); - $0 = emscripten__internal__BindingType_emscripten__val_2c_20void___toWireType_28emscripten__val_20const__29($3); - emscripten__val___val_28_29($3); - __stack_pointer = $3 + 16 | 0; - return $0 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28bool_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28bool_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 548; - $0 = emscripten__internal__TypeID_b2Body_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20bool___getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20bool___getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2Body____emscripten__internal__getContext_void_20_28b2Body____29_28bool_29__28void_20_28b2Body____20const__29_28bool_29_29_29_28bool_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2__unique_ptr_std____2____tree_node_b2Fixture__2c_20void___2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______unique_ptr_5babi_v160004_5d_true_2c_20void__28std____2____tree_node_b2Fixture__2c_20void____2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______2c_20true_____good_rval_ref_type_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - std____2____compressed_pair_std____2____tree_node_b2Fixture__2c_20void____2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_________compressed_pair_5babi_v160004_5d_std____2____tree_node_b2Fixture__2c_20void_____2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______28std____2____tree_node_b2Fixture__2c_20void_____2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______29($0, $3 + 8 | 0, HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; - return $0; -} - -function std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______tree_28std____2__less_b2Fixture___20const__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - std____2____compressed_pair_std____2____tree_end_node_std____2____tree_node_base_void_____2c_20std____2__allocator_std____2____tree_node_b2Fixture__2c_20void________compressed_pair_5babi_v160004_5d_true_2c_20void__28_29($0 + 4 | 0); - HEAP32[$2 + 4 >> 2] = 0; - std____2____compressed_pair_unsigned_20long_2c_20std____2__less_b2Fixture_______compressed_pair_5babi_v160004_5d_int_2c_20std____2__less_b2Fixture___20const___28int___2c_20std____2__less_b2Fixture___20const__29($0 + 8 | 0, $2 + 4 | 0, HEAP32[$2 + 8 >> 2]); - $1 = std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______end_node_5babi_v160004_5d_28_29($0); - wasm2js_i32$0 = std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______begin_node_5babi_v160004_5d_28_29($0), - wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function std____2__pair_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____20std____2____move_5babi_v160004_5d_std____2___ClassicAlgPolicy_2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____28std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___29($0, $1, $2, $3) { - var $4 = 0; - $4 = __stack_pointer - 32 | 0; - __stack_pointer = $4; - HEAP32[$4 + 28 >> 2] = $1; - HEAP32[$4 + 24 >> 2] = $2; - HEAP32[$4 + 20 >> 2] = $3; - HEAP32[$4 + 16 >> 2] = HEAP32[$4 + 28 >> 2]; - HEAP32[$4 + 12 >> 2] = HEAP32[$4 + 24 >> 2]; - HEAP32[$4 + 8 >> 2] = HEAP32[$4 + 20 >> 2]; - std____2__pair_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____20std____2____dispatch_copy_or_move_5babi_v160004_5d_std____2___ClassicAlgPolicy_2c_20std____2____move_loop_std____2___ClassicAlgPolicy__2c_20std____2____move_trivial_2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____28std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___29($0, HEAP32[$4 + 16 >> 2], HEAP32[$4 + 12 >> 2], HEAP32[$4 + 8 >> 2]); - __stack_pointer = $4 + 32 | 0; -} -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2WeldJoint____29_28_29___invoke_b2WeldJoint__28char_20const__2c_20void_20_28b2WeldJoint____29_28_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 636; - $0 = emscripten__internal__TypeID_b2WeldJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2WeldJoint____emscripten__internal__getContext_void_20_28b2WeldJoint____29_28_29__28void_20_28b2WeldJoint____20const__29_28_29_29_29_28_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2RopeJoint____29_28_29___invoke_b2RopeJoint__28char_20const__2c_20void_20_28b2RopeJoint____29_28_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 627; - $0 = emscripten__internal__TypeID_b2RopeJoint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2RopeJoint____emscripten__internal__getContext_void_20_28b2RopeJoint____29_28_29__28void_20_28b2RopeJoint____20const__29_28_29_29_29_28_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2Body____29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool_29_2c_20void_2c_20b2Body__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool___invoke_28void_20_28b2Body____20const__29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool_29_2c_20b2Body__2c_20b2Vec2__2c_20b2Vec2__2c_20bool_29($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $5 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAP8[$5 + 15 | 0] = $4 & 1; - $2 = emscripten__internal__BindingType_b2Body__2c_20void___fromWireType_28b2Body__29(HEAP32[$5 + 24 >> 2]); - $0 = HEAP32[$5 + 28 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$5 + 20 >> 2]), emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$5 + 16 >> 2]), emscripten__internal__BindingType_bool_2c_20void___fromWireType_28bool_29(HEAP8[$5 + 15 | 0] & 1) & 1); - __stack_pointer = $5 + 32 | 0; -} - -function emscripten__internal__MethodInvoker_unsigned_20long_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28_29_20const_2c_20unsigned_20long_2c_20std____2__vector_int_2c_20std____2__allocator_int___20const____invoke_28unsigned_20long_20_28std____2__vector_int_2c_20std____2__allocator_int______20const__29_28_29_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int___20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20void___fromWireType_28std____2__vector_int_2c_20std____2__allocator_int___20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - wasm2js_i32$0 = $2, wasm2js_i32$1 = FUNCTION_TABLE[$0 | 0]($1) | 0, HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - $0 = emscripten__internal__BindingType_unsigned_20long_2c_20void___toWireType_28unsigned_20long_20const__29($2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function b2ContactSolver__StoreImpulses_28_29($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 32 | 0; - __stack_pointer = $1; - HEAP32[$1 + 28 >> 2] = $0; - $0 = HEAP32[$1 + 28 >> 2]; - HEAP32[$1 + 24 >> 2] = 0; - while (1) { - if (HEAP32[$1 + 24 >> 2] < HEAP32[$0 + 48 >> 2]) { - HEAP32[$1 + 20 >> 2] = HEAP32[$0 + 40 >> 2] + Math_imul(HEAP32[$1 + 24 >> 2], 156); - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Contact__GetManifold_28_29(HEAP32[HEAP32[$0 + 44 >> 2] + (HEAP32[HEAP32[$1 + 20 >> 2] + 152 >> 2] << 2) >> 2]), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - HEAP32[$1 + 12 >> 2] = 0; - while (1) { - if (HEAP32[$1 + 12 >> 2] < HEAP32[HEAP32[$1 + 20 >> 2] + 148 >> 2]) { - HEAPF32[(HEAP32[$1 + 16 >> 2] + Math_imul(HEAP32[$1 + 12 >> 2], 20) | 0) + 8 >> 2] = HEAPF32[(HEAP32[$1 + 20 >> 2] + Math_imul(HEAP32[$1 + 12 >> 2], 36) | 0) + 16 >> 2]; - HEAPF32[(HEAP32[$1 + 16 >> 2] + Math_imul(HEAP32[$1 + 12 >> 2], 20) | 0) + 12 >> 2] = HEAPF32[(HEAP32[$1 + 20 >> 2] + Math_imul(HEAP32[$1 + 12 >> 2], 36) | 0) + 20 >> 2]; - HEAP32[$1 + 12 >> 2] = HEAP32[$1 + 12 >> 2] + 1; - continue; - } - break; - } - HEAP32[$1 + 24 >> 2] = HEAP32[$1 + 24 >> 2] + 1; - continue; - } - break; - } - __stack_pointer = $1 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28__29_28b2AABB__2c_20b2AABB__29___invoke_b2AABB_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28b2AABB__2c_20b2AABB__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 513; - $0 = emscripten__internal__TypeID_b2AABB_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20b2AABB__2c_20b2AABB____getCount_28_29_20const($2 + 19 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20b2AABB__2c_20b2AABB____getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28__emscripten__internal__getContext_void_20_28__29_28b2AABB__2c_20b2AABB__29__28void_20_28__20const__29_28b2AABB__2c_20b2AABB__29_29_29_28b2AABB__2c_20b2AABB__29($2 + 20 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_5babi_v160004_5d_28char_20const__2c_20unsigned_20long_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 24 >> 2] = $0; - HEAP32[$3 + 20 >> 2] = $1; - HEAP32[$3 + 16 >> 2] = $2; - $0 = HEAP32[$3 + 24 >> 2]; - HEAP32[$3 + 28 >> 2] = $0; - std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char______compressed_pair_5babi_v160004_5d_std____2____default_init_tag_2c_20std____2____default_init_tag__28std____2____default_init_tag___2c_20std____2____default_init_tag___29($0, $3 + 15 | 0, $3 + 14 | 0); - std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______init_28char_20const__2c_20unsigned_20long_29($0, HEAP32[$3 + 20 >> 2], HEAP32[$3 + 16 >> 2]); - void_20std____2____debug_db_insert_c_5babi_v160004_5d_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____29($0); - __stack_pointer = $3 + 32 | 0; - return HEAP32[$3 + 28 >> 2]; -} - -function __ashlti3($0, $1, $2, $3, $4, $5) { - var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0; - label$1: { - if ($5 & 64) { - $7 = $2; - $8 = $1; - $5 = $5 + -64 | 0; - $6 = $5 & 31; - if (($5 & 63) >>> 0 >= 32) { - $9 = $8 << $6; - $3 = 0; - } else { - $9 = (1 << $6) - 1 & $8 >>> 32 - $6 | $7 << $6; - $3 = $8 << $6; - } - $4 = $9; - $1 = 0; - $2 = 0; - break label$1; - } - if (!$5) { - break label$1; - } - $10 = $5; - $9 = $4; - $7 = $3; - $6 = $5 & 31; - if (($5 & 63) >>> 0 >= 32) { - $8 = $7 << $6; - $3 = 0; - } else { - $8 = (1 << $6) - 1 & $7 >>> 32 - $6 | $9 << $6; - $3 = $7 << $6; - } - $4 = $8; - $8 = $2; - $9 = $1; - $7 = 0; - $5 = 64 - $5 | 0; - $6 = $5 & 31; - if (($5 & 63) >>> 0 >= 32) { - $5 = $8 >>> $6 | 0; - } else { - $7 = $8 >>> $6 | 0; - $5 = ((1 << $6) - 1 & $8) << 32 - $6 | $9 >>> $6; - } - $9 = $7; - $8 = $3; - $3 = $8 | $5; - $7 = $4; - $9 = $7 | $9; - $4 = $9; - $9 = $2; - $7 = $1; - $5 = $10; - $6 = $5 & 31; - if (($5 & 63) >>> 0 >= 32) { - $8 = $7 << $6; - $1 = 0; - } else { - $8 = (1 << $6) - 1 & $7 >>> 32 - $6 | $9 << $6; - $1 = $7 << $6; - } - $2 = $8; - } - $7 = $0; - HEAP32[$7 >> 2] = $1; - $8 = $2; - HEAP32[$7 + 4 >> 2] = $8; - HEAP32[$7 + 8 >> 2] = $3; - $8 = $4; - HEAP32[$7 + 12 >> 2] = $8; -} - -function std____2__reverse_iterator_b2Vec2___20std____2____uninitialized_allocator_move_if_noexcept_5babi_v160004_5d_std____2__allocator_b2Vec2__2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20b2Vec2_2c_20void__28std____2__allocator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___29($0, $1, $2, $3) { - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $4 = __stack_pointer - 32 | 0; - __stack_pointer = $4; - HEAP32[$4 + 24 >> 2] = $1; - HEAP32[$4 + 20 >> 2] = $2; - HEAP32[$4 + 16 >> 2] = $3; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = HEAP32[$4 + 24 >> 2]; - HEAP32[$4 + 4 >> 2] = HEAP32[$4 + 20 >> 2]; - HEAP32[$4 >> 2] = HEAP32[$4 + 16 >> 2]; - wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2__reverse_iterator_b2Vec2___20std____2__move_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____28std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___29(HEAP32[$4 + 8 >> 2], HEAP32[$4 + 4 >> 2], HEAP32[$4 >> 2]), - HEAP32[wasm2js_i32$0 + 28 >> 2] = wasm2js_i32$1; - __stack_pointer = $4 + 32 | 0; - return HEAP32[$4 + 28 >> 2]; -} - -function emscripten__internal__FunctionInvoker_emscripten__val_20_28__29_28std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long_29_2c_20emscripten__val_2c_20std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long___invoke_28emscripten__val_20_28___29_28std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long_29_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[HEAP32[$3 + 12 >> 2] >> 2]; - FUNCTION_TABLE[$0 | 0]($3, emscripten__internal__GenericBindingType_std____2__vector_int_2c_20std____2__allocator_int_____fromWireType_28std____2__vector_int_2c_20std____2__allocator_int____29(HEAP32[$3 + 8 >> 2]), emscripten__internal__BindingType_unsigned_20long_2c_20void___fromWireType_28unsigned_20long_29(HEAP32[$3 + 4 >> 2])); - $0 = emscripten__internal__BindingType_emscripten__val_2c_20void___toWireType_28emscripten__val_20const__29($3); - emscripten__val___val_28_29($3); - __stack_pointer = $3 + 16 | 0; - return $0 | 0; -} - -function b2DynamicTree__b2DynamicTree_28_29($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - $0 = HEAP32[$1 + 8 >> 2]; - HEAP32[$1 + 12 >> 2] = $0; - HEAP32[$0 >> 2] = -1; - HEAP32[$0 + 12 >> 2] = 16; - HEAP32[$0 + 8 >> 2] = 0; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2Alloc_28int_29(Math_imul(HEAP32[$0 + 12 >> 2], 40)), - HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - __memset(HEAP32[$0 + 4 >> 2], 0, Math_imul(HEAP32[$0 + 12 >> 2], 40)); - HEAP32[$1 + 4 >> 2] = 0; - while (1) { - if (HEAP32[$1 + 4 >> 2] < (HEAP32[$0 + 12 >> 2] - 1 | 0)) { - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$1 + 4 >> 2], 40) | 0) + 20 >> 2] = HEAP32[$1 + 4 >> 2] + 1; - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$1 + 4 >> 2], 40) | 0) + 32 >> 2] = -1; - HEAP32[$1 + 4 >> 2] = HEAP32[$1 + 4 >> 2] + 1; - continue; - } - break; - } - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$0 + 12 >> 2] - 1 | 0, 40) | 0) + 20 >> 2] = -1; - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$0 + 12 >> 2] - 1 | 0, 40) | 0) + 32 >> 2] = -1; - HEAP32[$0 + 16 >> 2] = 0; - HEAP32[$0 + 20 >> 2] = 0; - HEAP32[$0 + 24 >> 2] = 0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 12 >> 2]; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2World____29_28_29___invoke_b2World__28char_20const__2c_20void_20_28b2World____29_28_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 520; - $0 = emscripten__internal__TypeID_b2World_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2World____emscripten__internal__getContext_void_20_28b2World____29_28_29__28void_20_28b2World____20const__29_28_29_29_29_28_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2Joint____29_28_29___invoke_b2Joint__28char_20const__2c_20void_20_28b2Joint____29_28_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 561; - $0 = emscripten__internal__TypeID_b2Joint_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Joint____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Joint____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2Joint____emscripten__internal__getContext_void_20_28b2Joint____29_28_29__28void_20_28b2Joint____20const__29_28_29_29_29_28_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28int_20const__29_2c_20void_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20int_20const____invoke_28void_20_28std____2__vector_int_2c_20std____2__allocator_int______20const__29_28int_20const__29_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20int_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_std____2__vector_int_2c_20std____2__allocator_int____2c_20void___fromWireType_28std____2__vector_int_2c_20std____2__allocator_int____29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - wasm2js_i32$0 = $3, wasm2js_i32$1 = emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29(HEAP32[$3 + 4 >> 2]), - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - FUNCTION_TABLE[$0 | 0]($2, $3); - __stack_pointer = $3 + 16 | 0; -} - -function b2Mat33__GetInverse22_28b2Mat33__29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 32 | 0; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - $0 = HEAP32[$2 + 28 >> 2]; - HEAPF32[$2 + 20 >> 2] = HEAPF32[$0 >> 2]; - HEAPF32[$2 + 16 >> 2] = HEAPF32[$0 + 12 >> 2]; - HEAPF32[$2 + 12 >> 2] = HEAPF32[$0 + 4 >> 2]; - HEAPF32[$2 + 8 >> 2] = HEAPF32[$0 + 16 >> 2]; - HEAPF32[$2 + 4 >> 2] = Math_fround(HEAPF32[$2 + 20 >> 2] * HEAPF32[$2 + 8 >> 2]) - Math_fround(HEAPF32[$2 + 16 >> 2] * HEAPF32[$2 + 12 >> 2]); - if (HEAPF32[$2 + 4 >> 2] != Math_fround(0)) { - HEAPF32[$2 + 4 >> 2] = Math_fround(1) / HEAPF32[$2 + 4 >> 2]; - } - HEAPF32[HEAP32[$2 + 24 >> 2] >> 2] = HEAPF32[$2 + 4 >> 2] * HEAPF32[$2 + 8 >> 2]; - HEAPF32[HEAP32[$2 + 24 >> 2] + 12 >> 2] = Math_fround(-HEAPF32[$2 + 4 >> 2]) * HEAPF32[$2 + 16 >> 2]; - HEAPF32[HEAP32[$2 + 24 >> 2] + 8 >> 2] = 0; - HEAPF32[HEAP32[$2 + 24 >> 2] + 4 >> 2] = Math_fround(-HEAPF32[$2 + 4 >> 2]) * HEAPF32[$2 + 12 >> 2]; - HEAPF32[HEAP32[$2 + 24 >> 2] + 16 >> 2] = HEAPF32[$2 + 4 >> 2] * HEAPF32[$2 + 20 >> 2]; - HEAPF32[HEAP32[$2 + 24 >> 2] + 20 >> 2] = 0; - HEAPF32[HEAP32[$2 + 24 >> 2] + 24 >> 2] = 0; - HEAPF32[HEAP32[$2 + 24 >> 2] + 28 >> 2] = 0; - HEAPF32[HEAP32[$2 + 24 >> 2] + 32 >> 2] = 0; -} - -function void_20emscripten__internal__RegisterClassMethod_unsigned_20int_20_28__29_28b2Body__29___invoke_b2Body_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28b2Body__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 550; - $0 = emscripten__internal__TypeID_b2Body_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_unsigned_20int_2c_20b2Body____getCount_28_29_20const($2 + 19 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_unsigned_20int_2c_20b2Body____getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], unsigned_20int_20_28__emscripten__internal__getContext_unsigned_20int_20_28__29_28b2Body__29__28unsigned_20int_20_28__20const__29_28b2Body__29_29_29_28b2Body__29($2 + 20 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__function_void_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 418; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float___getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float___getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2____split_buffer_int_2c_20std____2__allocator_int_______construct_at_end_28unsigned_20long_2c_20int_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $0; - HEAP32[$3 + 24 >> 2] = $1; - HEAP32[$3 + 20 >> 2] = $2; - $0 = HEAP32[$3 + 28 >> 2]; - std____2____split_buffer_int_2c_20std____2__allocator_int______ConstructTransaction___ConstructTransaction_5babi_v160004_5d_28int___2c_20unsigned_20long_29($3 + 8 | 0, $0 + 8 | 0, HEAP32[$3 + 24 >> 2]); - while (1) { - if (HEAP32[$3 + 8 >> 2] != HEAP32[$3 + 12 >> 2]) { - void_20std____2__allocator_traits_std____2__allocator_int____construct_5babi_v160004_5d_int_2c_20int_20const__2c_20void__28std____2__allocator_int___2c_20int__2c_20int_20const__29(std____2____split_buffer_int_2c_20std____2__allocator_int_______alloc_5babi_v160004_5d_28_29($0), int__20std____2____to_address_5babi_v160004_5d_int__28int__29(HEAP32[$3 + 8 >> 2]), HEAP32[$3 + 20 >> 2]); - HEAP32[$3 + 8 >> 2] = HEAP32[$3 + 8 >> 2] + 4; - continue; - } - break; - } - std____2____split_buffer_int_2c_20std____2__allocator_int______ConstructTransaction____ConstructTransaction_5babi_v160004_5d_28_29($3 + 8 | 0); - __stack_pointer = $3 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28b2Body____29_28_29___invoke_b2Body__28char_20const__2c_20void_20_28b2Body____29_28_29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - $3 = HEAP32[$1 >> 2]; - $1 = HEAP32[$1 + 4 >> 2]; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = $3; - HEAP32[$2 + 12 >> 2] = 544; - $0 = emscripten__internal__TypeID_b2Body_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body____getCount_28_29_20const($2 + 11 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body____getTypes_28_29_20const($2 + 11 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28b2Body____emscripten__internal__getContext_void_20_28b2Body____29_28_29__28void_20_28b2Body____20const__29_28_29_29_29_28_29($2 + 16 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28__29_28b2RayCastCallbackWrapper__29___invoke_b2RayCastCallbackWrapper__28char_20const__2c_20void_20_28__29_28b2RayCastCallbackWrapper__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 489; - $0 = emscripten__internal__TypeID_b2RayCastCallbackWrapper_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2RayCastCallbackWrapper____getCount_28_29_20const($2 + 19 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2RayCastCallbackWrapper____getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28__emscripten__internal__getContext_void_20_28__29_28b2RayCastCallbackWrapper__29__28void_20_28__20const__29_28b2RayCastCallbackWrapper__29_29_29_28b2RayCastCallbackWrapper__29($2 + 20 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28__29_28b2ContactListenerWrapper__29___invoke_b2ContactListenerWrapper__28char_20const__2c_20void_20_28__29_28b2ContactListenerWrapper__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 497; - $0 = emscripten__internal__TypeID_b2ContactListenerWrapper_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2ContactListenerWrapper____getCount_28_29_20const($2 + 19 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2ContactListenerWrapper____getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28__emscripten__internal__getContext_void_20_28__29_28b2ContactListenerWrapper__29__28void_20_28__20const__29_28b2ContactListenerWrapper__29_29_29_28b2ContactListenerWrapper__29($2 + 20 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function b2RopeJoint__Dump_28_29($0) { - $0 = $0 | 0; - var $1 = 0, $2 = Math_fround(0); - $1 = __stack_pointer - 112 | 0; - __stack_pointer = $1; - HEAP32[$1 + 108 >> 2] = $0; - $0 = HEAP32[$1 + 108 >> 2]; - HEAP32[$1 + 104 >> 2] = HEAP32[HEAP32[$0 + 48 >> 2] + 8 >> 2]; - HEAP32[$1 + 100 >> 2] = HEAP32[HEAP32[$0 + 52 >> 2] + 8 >> 2]; - b2Log_28char_20const__2c_20____29(13971, 0); - HEAP32[$1 + 64 >> 2] = HEAP32[$1 + 104 >> 2]; - b2Log_28char_20const__2c_20____29(14207, $1 - -64 | 0); - HEAP32[$1 + 48 >> 2] = HEAP32[$1 + 100 >> 2]; - b2Log_28char_20const__2c_20____29(14181, $1 + 48 | 0); - HEAP32[$1 + 32 >> 2] = HEAP8[$0 + 61 | 0] & 1; - b2Log_28char_20const__2c_20____29(15397, $1 + 32 | 0); - $2 = HEAPF32[$0 + 68 >> 2]; - HEAPF64[$1 + 24 >> 3] = HEAPF32[$0 + 72 >> 2]; - HEAPF64[$1 + 16 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14708, $1 + 16 | 0); - $2 = HEAPF32[$0 + 76 >> 2]; - HEAPF64[$1 + 8 >> 3] = HEAPF32[$0 + 80 >> 2]; - HEAPF64[$1 >> 3] = $2; - b2Log_28char_20const__2c_20____29(14583, $1); - HEAPF64[$1 + 80 >> 3] = HEAPF32[$0 + 84 >> 2]; - b2Log_28char_20const__2c_20____29(13276, $1 + 80 | 0); - HEAP32[$1 + 96 >> 2] = HEAP32[$0 + 56 >> 2]; - b2Log_28char_20const__2c_20____29(14998, $1 + 96 | 0); - __stack_pointer = $1 + 112 | 0; -} - -function emscripten__internal__MethodCaller_void_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const____call_28emscripten___EM_VAL__2c_20char_20const__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29($0, $1, $2, $3, $4) { - var $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $5 = __stack_pointer - 48 | 0; - __stack_pointer = $5; - HEAP32[$5 + 44 >> 2] = $0; - HEAP32[$5 + 40 >> 2] = $1; - HEAP32[$5 + 36 >> 2] = $2; - HEAP32[$5 + 32 >> 2] = $3; - HEAP32[$5 + 28 >> 2] = $4; - wasm2js_i32$0 = $5, wasm2js_i32$1 = emscripten__internal__Signature_void_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const____get_method_caller_28_29(), - HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; - emscripten__internal__WireTypePack_b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const____WireTypePack_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29($5, HEAP32[$5 + 36 >> 2], HEAP32[$5 + 32 >> 2], HEAP32[$5 + 28 >> 2]); - _emval_call_void_method(HEAP32[$5 + 24 >> 2], HEAP32[$5 + 44 >> 2], HEAP32[$5 + 40 >> 2], emscripten__internal__WireTypePack_b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const____operator_20void_20const__28_29_20const($5) | 0); - __stack_pointer = $5 + 48 | 0; -} - -function emscripten__internal__MethodInvoker_float_20_28b2PrismaticJoint____29_28float_29_20const_2c_20float_2c_20b2PrismaticJoint_20const__2c_20float___invoke_28float_20_28b2PrismaticJoint____20const__29_28float_29_20const_2c_20b2PrismaticJoint_20const__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $4 = emscripten__internal__BindingType_b2PrismaticJoint_20const__2c_20void___fromWireType_28b2PrismaticJoint_20const__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $4 = ($1 >> 1) + $4 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$4 >> 2] + $0 >> 2]; - } - wasm2js_i32$0 = $3, wasm2js_f32$0 = Math_fround(FUNCTION_TABLE[$0 | 0]($4, emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2]))), - HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; - $2 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29($3); - __stack_pointer = $3 + 16 | 0; - return Math_fround($2); -} - -function b2World__CreateBody_28b2BodyDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - $0 = HEAP32[$2 + 24 >> 2]; - if (b2World__IsLocked_28_29_20const($0) & 1) { - __assert_fail(9372, 6252, 117, 1690); - wasm2js_trap(); - } - label$2: { - if (b2World__IsLocked_28_29_20const($0) & 1) { - HEAP32[$2 + 28 >> 2] = 0; - break label$2; - } - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29($0, 152), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - $1 = HEAP32[$2 + 16 >> 2]; - b2Body__b2Body_28b2BodyDef_20const__2c_20b2World__29($1, HEAP32[$2 + 20 >> 2], $0); - HEAP32[$2 + 12 >> 2] = $1; - HEAP32[HEAP32[$2 + 12 >> 2] + 92 >> 2] = 0; - HEAP32[HEAP32[$2 + 12 >> 2] + 96 >> 2] = HEAP32[$0 + 102948 >> 2]; - if (HEAP32[$0 + 102948 >> 2]) { - HEAP32[HEAP32[$0 + 102948 >> 2] + 92 >> 2] = HEAP32[$2 + 12 >> 2]; - } - HEAP32[$0 + 102948 >> 2] = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 + 102956 >> 2] = HEAP32[$0 + 102956 >> 2] + 1; - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - } - __stack_pointer = $2 + 32 | 0; - return HEAP32[$2 + 28 >> 2]; -} - -function b2GearJoint__Dump_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 128 | 0; - __stack_pointer = $1; - HEAP32[$1 + 124 >> 2] = $0; - $0 = HEAP32[$1 + 124 >> 2]; - HEAP32[$1 + 120 >> 2] = HEAP32[HEAP32[$0 + 48 >> 2] + 8 >> 2]; - HEAP32[$1 + 116 >> 2] = HEAP32[HEAP32[$0 + 52 >> 2] + 8 >> 2]; - HEAP32[$1 + 112 >> 2] = HEAP32[HEAP32[$0 + 68 >> 2] + 56 >> 2]; - HEAP32[$1 + 108 >> 2] = HEAP32[HEAP32[$0 + 72 >> 2] + 56 >> 2]; - b2Log_28char_20const__2c_20____29(13874, 0); - HEAP32[$1 + 64 >> 2] = HEAP32[$1 + 120 >> 2]; - b2Log_28char_20const__2c_20____29(14207, $1 - -64 | 0); - HEAP32[$1 + 48 >> 2] = HEAP32[$1 + 116 >> 2]; - b2Log_28char_20const__2c_20____29(14181, $1 + 48 | 0); - HEAP32[$1 + 32 >> 2] = HEAP8[$0 + 61 | 0] & 1; - b2Log_28char_20const__2c_20____29(15397, $1 + 32 | 0); - HEAP32[$1 + 16 >> 2] = HEAP32[$1 + 112 >> 2]; - b2Log_28char_20const__2c_20____29(14154, $1 + 16 | 0); - HEAP32[$1 >> 2] = HEAP32[$1 + 108 >> 2]; - b2Log_28char_20const__2c_20____29(14127, $1); - HEAPF64[$1 + 80 >> 3] = HEAPF32[$0 + 152 >> 2]; - b2Log_28char_20const__2c_20____29(13072, $1 + 80 | 0); - HEAP32[$1 + 96 >> 2] = HEAP32[$0 + 56 >> 2]; - b2Log_28char_20const__2c_20____29(14998, $1 + 96 | 0); - __stack_pointer = $1 + 128 | 0; -} - -function b2Body__ApplyLinearImpulse_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool_29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0, $5 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $4 = __stack_pointer - 32 | 0; - __stack_pointer = $4; - HEAP32[$4 + 28 >> 2] = $0; - HEAP32[$4 + 24 >> 2] = $1; - HEAP32[$4 + 20 >> 2] = $2; - HEAP8[$4 + 19 | 0] = $3; - $0 = HEAP32[$4 + 28 >> 2]; - label$1: { - if (HEAP32[$0 >> 2] != 2) { - break label$1; - } - if (!(!(HEAP8[$4 + 19 | 0] & 1) | HEAPU16[$0 + 4 >> 1] & 2)) { - b2Body__SetAwake_28bool_29($0, 1); - } - if (!(HEAPU16[$0 + 4 >> 1] & 2)) { - break label$1; - } - operator__28float_2c_20b2Vec2_20const__29($4 + 8 | 0, HEAPF32[$0 + 120 >> 2], HEAP32[$4 + 24 >> 2]); - b2Vec2__operator___28b2Vec2_20const__29($0 - -64 | 0, $4 + 8 | 0); - $5 = HEAPF32[$0 + 128 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($4, HEAP32[$4 + 20 >> 2], $0 + 44 | 0); - wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround(Math_fround($5 * b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($4, HEAP32[$4 + 24 >> 2])) + HEAPF32[$0 + 72 >> 2]), - HEAPF32[wasm2js_i32$0 + 72 >> 2] = wasm2js_f32$0; - } - __stack_pointer = $4 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_b2Body__20_28__29_28b2JointDef__29___invoke_b2JointDef_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2Body__20_28__29_28b2JointDef__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 554; - $0 = emscripten__internal__TypeID_b2JointDef_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Body__2c_20b2JointDef____getCount_28_29_20const($2 + 19 | 0); - $4 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Body__2c_20b2JointDef____getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], b2Body__20_28__emscripten__internal__getContext_b2Body__20_28__29_28b2JointDef__29__28b2Body__20_28__20const__29_28b2JointDef__29_29_29_28b2JointDef__29($2 + 20 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______annotate_delete_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______annotate_contiguous_container_5babi_v160004_5d_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____data_5babi_v160004_5d_28_29_20const($0), std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____data_5babi_v160004_5d_28_29_20const($0) + (std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____capacity_5babi_v160004_5d_28_29_20const($0) << 3) | 0, std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____data_5babi_v160004_5d_28_29_20const($0) + (std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____size_5babi_v160004_5d_28_29_20const($0) << 3) | 0, std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____data_5babi_v160004_5d_28_29_20const($0) + (std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____capacity_5babi_v160004_5d_28_29_20const($0) << 3) | 0); - __stack_pointer = $1 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_float_20_28b2RevoluteJoint____29_28float_29_20const_2c_20float_2c_20b2RevoluteJoint_20const__2c_20float___invoke_28float_20_28b2RevoluteJoint____20const__29_28float_29_20const_2c_20b2RevoluteJoint_20const__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $4 = emscripten__internal__BindingType_b2RevoluteJoint_20const__2c_20void___fromWireType_28b2RevoluteJoint_20const__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $4 = ($1 >> 1) + $4 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$4 >> 2] + $0 >> 2]; - } - wasm2js_i32$0 = $3, wasm2js_f32$0 = Math_fround(FUNCTION_TABLE[$0 | 0]($4, emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2]))), - HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; - $2 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29($3); - __stack_pointer = $3 + 16 | 0; - return Math_fround($2); -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28__29_28b2QueryCallbackWrapper__29___invoke_b2QueryCallbackWrapper__28char_20const__2c_20void_20_28__29_28b2QueryCallbackWrapper__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 484; - $0 = emscripten__internal__TypeID_b2QueryCallbackWrapper_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2QueryCallbackWrapper____getCount_28_29_20const($2 + 19 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2QueryCallbackWrapper____getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28__emscripten__internal__getContext_void_20_28__29_28b2QueryCallbackWrapper__29__28void_20_28__20const__29_28b2QueryCallbackWrapper__29_29_29_28b2QueryCallbackWrapper__29($2 + 20 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2__reverse_iterator_int___20std____2____uninitialized_allocator_move_if_noexcept_5babi_v160004_5d_std____2__allocator_int__2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20int_2c_20void__28std____2__allocator_int___2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___29($0, $1, $2, $3) { - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $4 = __stack_pointer - 32 | 0; - __stack_pointer = $4; - HEAP32[$4 + 24 >> 2] = $1; - HEAP32[$4 + 20 >> 2] = $2; - HEAP32[$4 + 16 >> 2] = $3; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = HEAP32[$4 + 24 >> 2]; - HEAP32[$4 + 4 >> 2] = HEAP32[$4 + 20 >> 2]; - HEAP32[$4 >> 2] = HEAP32[$4 + 16 >> 2]; - wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2__reverse_iterator_int___20std____2__move_5babi_v160004_5d_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____28std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___29(HEAP32[$4 + 8 >> 2], HEAP32[$4 + 4 >> 2], HEAP32[$4 >> 2]), - HEAP32[wasm2js_i32$0 + 28 >> 2] = wasm2js_i32$1; - __stack_pointer = $4 + 32 | 0; - return HEAP32[$4 + 28 >> 2]; -} - -function b2DistanceJoint__b2DistanceJoint_28b2DistanceJointDef_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Joint__b2Joint_28b2JointDef_20const__29($1, HEAP32[$2 + 8 >> 2]); - HEAP32[$1 >> 2] = 18788; - b2Vec2__b2Vec2_28_29($1 + 80 | 0); - b2Vec2__b2Vec2_28_29($1 + 88 | 0); - b2Vec2__b2Vec2_28_29($1 + 116 | 0); - b2Vec2__b2Vec2_28_29($1 + 124 | 0); - b2Vec2__b2Vec2_28_29($1 + 132 | 0); - b2Vec2__b2Vec2_28_29($1 + 140 | 0); - b2Vec2__b2Vec2_28_29($1 + 148 | 0); - $3 = HEAP32[$2 + 8 >> 2]; - $4 = HEAP32[$3 + 20 >> 2]; - $0 = HEAP32[$3 + 24 >> 2]; - HEAP32[$1 + 80 >> 2] = $4; - HEAP32[$1 + 84 >> 2] = $0; - $3 = HEAP32[$2 + 8 >> 2]; - $0 = HEAP32[$3 + 28 >> 2]; - $4 = HEAP32[$3 + 32 >> 2]; - HEAP32[$1 + 88 >> 2] = $0; - HEAP32[$1 + 92 >> 2] = $4; - HEAPF32[$1 + 104 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 36 >> 2]; - HEAPF32[$1 + 68 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 40 >> 2]; - HEAPF32[$1 + 72 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 44 >> 2]; - HEAPF32[$1 + 100 >> 2] = 0; - HEAPF32[$1 + 96 >> 2] = 0; - HEAPF32[$1 + 76 >> 2] = 0; - __stack_pointer = $2 + 16 | 0; - return $1; -} - -function emscripten__internal__MethodInvoker_void_20_28b2World____29_28float_2c_20int_2c_20int_29_2c_20void_2c_20b2World__2c_20float_2c_20int_2c_20int___invoke_28void_20_28b2World____20const__29_28float_2c_20int_2c_20int_29_2c_20b2World__2c_20float_2c_20int_2c_20int_29($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - $3 = $3 | 0; - $4 = $4 | 0; - var $5 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAPF32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAP32[$5 + 12 >> 2] = $4; - $3 = emscripten__internal__BindingType_b2World__2c_20void___fromWireType_28b2World__29(HEAP32[$5 + 24 >> 2]); - $0 = HEAP32[$5 + 28 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $3 = ($1 >> 1) + $3 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$3 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($3, emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$5 + 20 >> 2]), emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29(HEAP32[$5 + 16 >> 2]), emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29(HEAP32[$5 + 12 >> 2])); - __stack_pointer = $5 + 32 | 0; -} - -function b2Simplex__GetSearchDirection_28_29_20const($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $1; - label$1: { - label$2: { - label$3: { - label$4: { - $1 = HEAP32[$2 + 28 >> 2]; - switch (HEAP32[$1 + 108 >> 2] - 1 | 0) { - case 1: - break label$3; - - case 0: - break label$4; - - default: - break label$2; - } - } - b2Vec2__operator__28_29_20const($0, $1 + 16 | 0); - break label$1; - } - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 20 | 0, $1 + 52 | 0, $1 + 16 | 0); - b2Vec2__operator__28_29_20const($2 + 8 | 0, $1 + 16 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 20 | 0, $2 + 8 | 0), - HEAPF32[wasm2js_i32$0 + 16 >> 2] = wasm2js_f32$0; - if (HEAPF32[$2 + 16 >> 2] > Math_fround(0)) { - b2Cross_28float_2c_20b2Vec2_20const__29($0, Math_fround(1), $2 + 20 | 0); - break label$1; - } - b2Cross_28b2Vec2_20const__2c_20float_29($0, $2 + 20 | 0, Math_fround(1)); - break label$1; - } - __assert_fail(9386, 6125, 195, 6739); - wasm2js_trap(); - } - __stack_pointer = $2 + 32 | 0; -} - -function b2Contact__GetWorldManifold_28b2WorldManifold__29_20const($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - $0 = HEAP32[$2 + 28 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Fixture__GetBody_28_29(HEAP32[$0 + 48 >> 2]), - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Fixture__GetBody_28_29(HEAP32[$0 + 52 >> 2]), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Fixture__GetShape_28_29(HEAP32[$0 + 48 >> 2]), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Fixture__GetShape_28_29(HEAP32[$0 + 52 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - b2WorldManifold__Initialize_28b2Manifold_20const__2c_20b2Transform_20const__2c_20float_2c_20b2Transform_20const__2c_20float_29(HEAP32[$2 + 24 >> 2], $0 - -64 | 0, b2Body__GetTransform_28_29_20const(HEAP32[$2 + 20 >> 2]), HEAPF32[HEAP32[$2 + 12 >> 2] + 8 >> 2], b2Body__GetTransform_28_29_20const(HEAP32[$2 + 16 >> 2]), HEAPF32[HEAP32[$2 + 8 >> 2] + 8 >> 2]); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__MethodInvoker_float_20_28b2WheelJoint____29_28float_29_20const_2c_20float_2c_20b2WheelJoint_20const__2c_20float___invoke_28float_20_28b2WheelJoint____20const__29_28float_29_20const_2c_20b2WheelJoint_20const__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $4 = emscripten__internal__BindingType_b2WheelJoint_20const__2c_20void___fromWireType_28b2WheelJoint_20const__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $4 = ($1 >> 1) + $4 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$4 >> 2] + $0 >> 2]; - } - wasm2js_i32$0 = $3, wasm2js_f32$0 = Math_fround(FUNCTION_TABLE[$0 | 0]($4, emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2]))), - HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; - $2 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29($3); - __stack_pointer = $3 + 16 | 0; - return Math_fround($2); -} - -function emscripten__internal__MethodInvoker_float_20_28b2RopeJoint____29_28float_29_20const_2c_20float_2c_20b2RopeJoint_20const__2c_20float___invoke_28float_20_28b2RopeJoint____20const__29_28float_29_20const_2c_20b2RopeJoint_20const__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $4 = emscripten__internal__BindingType_b2RopeJoint_20const__2c_20void___fromWireType_28b2RopeJoint_20const__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $4 = ($1 >> 1) + $4 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$4 >> 2] + $0 >> 2]; - } - wasm2js_i32$0 = $3, wasm2js_f32$0 = Math_fround(FUNCTION_TABLE[$0 | 0]($4, emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2]))), - HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; - $2 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29($3); - __stack_pointer = $3 + 16 | 0; - return Math_fround($2); -} - -function std____2____unwrap_range_impl_char_20const__2c_20char_20const______unwrap_5babi_v160004_5d_28char_20const__2c_20char_20const__29($0, $1, $2) { - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - wasm2js_i32$0 = $3, wasm2js_i32$1 = decltype_28std____2____unwrap_iter_impl_char_20const__2c_20true_____unwrap_28std__declval_char_20const___28_29_29_29_20std____2____unwrap_iter_5babi_v160004_5d_char_20const__2c_20std____2____unwrap_iter_impl_char_20const__2c_20true__2c_200__28char_20const__29($1), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $3, wasm2js_i32$1 = decltype_28std____2____unwrap_iter_impl_char_20const__2c_20true_____unwrap_28std__declval_char_20const___28_29_29_29_20std____2____unwrap_iter_5babi_v160004_5d_char_20const__2c_20std____2____unwrap_iter_impl_char_20const__2c_20true__2c_200__28char_20const__29($2), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - std____2__pair_char_20const__2c_20char_20const____pair_5babi_v160004_5d_char_20const__2c_20char_20const__2c_20_28void__290__28char_20const____2c_20char_20const____29($0, $3 + 12 | 0, $3 + 8 | 0); - __stack_pointer = $3 + 16 | 0; -} - -function std____2__reverse_iterator_b2Vec2___20std____2__move_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____28std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 48 | 0; - __stack_pointer = $3; - HEAP32[$3 + 40 >> 2] = $0; - HEAP32[$3 + 36 >> 2] = $1; - HEAP32[$3 + 32 >> 2] = $2; - HEAP32[$3 + 20 >> 2] = HEAP32[$3 + 40 >> 2]; - HEAP32[$3 + 16 >> 2] = HEAP32[$3 + 36 >> 2]; - HEAP32[$3 + 12 >> 2] = HEAP32[$3 + 32 >> 2]; - std____2__pair_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____20std____2____move_5babi_v160004_5d_std____2___ClassicAlgPolicy_2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____28std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___29($3 + 24 | 0, HEAP32[$3 + 20 >> 2], HEAP32[$3 + 16 >> 2], HEAP32[$3 + 12 >> 2]); - HEAP32[$3 + 44 >> 2] = HEAP32[($3 + 24 | 0) + 4 >> 2]; - __stack_pointer = $3 + 48 | 0; - return HEAP32[$3 + 44 >> 2]; -} - -function b2WeldJoint__b2WeldJoint_28b2WeldJointDef_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Joint__b2Joint_28b2JointDef_20const__29($1, HEAP32[$2 + 8 >> 2]); - HEAP32[$1 >> 2] = 19808; - b2Vec2__b2Vec2_28_29($1 + 80 | 0); - b2Vec2__b2Vec2_28_29($1 + 88 | 0); - b2Vec3__b2Vec3_28_29($1 + 104 | 0); - b2Vec2__b2Vec2_28_29($1 + 124 | 0); - b2Vec2__b2Vec2_28_29($1 + 132 | 0); - b2Vec2__b2Vec2_28_29($1 + 140 | 0); - b2Vec2__b2Vec2_28_29($1 + 148 | 0); - b2Mat33__b2Mat33_28_29($1 + 172 | 0); - $3 = HEAP32[$2 + 8 >> 2]; - $4 = HEAP32[$3 + 20 >> 2]; - $0 = HEAP32[$3 + 24 >> 2]; - HEAP32[$1 + 80 >> 2] = $4; - HEAP32[$1 + 84 >> 2] = $0; - $3 = HEAP32[$2 + 8 >> 2]; - $0 = HEAP32[$3 + 28 >> 2]; - $4 = HEAP32[$3 + 32 >> 2]; - HEAP32[$1 + 88 >> 2] = $0; - HEAP32[$1 + 92 >> 2] = $4; - HEAPF32[$1 + 96 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 36 >> 2]; - HEAPF32[$1 + 68 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 40 >> 2]; - HEAPF32[$1 + 72 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 44 >> 2]; - b2Vec3__SetZero_28_29($1 + 104 | 0); - __stack_pointer = $2 + 16 | 0; - return $1; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______annotate_new_5babi_v160004_5d_28unsigned_20long_29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______annotate_contiguous_container_5babi_v160004_5d_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____data_5babi_v160004_5d_28_29_20const($0), std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____data_5babi_v160004_5d_28_29_20const($0) + (std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____capacity_5babi_v160004_5d_28_29_20const($0) << 3) | 0, std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____data_5babi_v160004_5d_28_29_20const($0) + (std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____capacity_5babi_v160004_5d_28_29_20const($0) << 3) | 0, std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____data_5babi_v160004_5d_28_29_20const($0) + (HEAP32[$2 + 8 >> 2] << 3) | 0); - __stack_pointer = $2 + 16 | 0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______annotate_shrink_5babi_v160004_5d_28unsigned_20long_29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______annotate_contiguous_container_5babi_v160004_5d_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____data_5babi_v160004_5d_28_29_20const($0), std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____data_5babi_v160004_5d_28_29_20const($0) + (std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____capacity_5babi_v160004_5d_28_29_20const($0) << 3) | 0, std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____data_5babi_v160004_5d_28_29_20const($0) + (HEAP32[$2 + 8 >> 2] << 3) | 0, std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____data_5babi_v160004_5d_28_29_20const($0) + (std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____size_5babi_v160004_5d_28_29_20const($0) << 3) | 0); - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2ContactListener____29_28unsigned_20int_2c_20unsigned_20int_29_2c_20void_2c_20b2ContactListener__2c_20unsigned_20int_2c_20unsigned_20int___invoke_28void_20_28b2ContactListener____20const__29_28unsigned_20int_2c_20unsigned_20int_29_2c_20b2ContactListener__2c_20unsigned_20int_2c_20unsigned_20int_29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - $2 = emscripten__internal__BindingType_b2ContactListener__2c_20void___fromWireType_28b2ContactListener__29(HEAP32[$4 + 8 >> 2]); - $0 = HEAP32[$4 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$4 + 4 >> 2]), emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$4 >> 2])); - __stack_pointer = $4 + 16 | 0; -} - -function void_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______construct_one_at_end_5babi_v160004_5d_b2Vec2_20const___28b2Vec2_20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - $0 = HEAP32[$2 + 28 >> 2]; - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2_____ConstructTransaction___ConstructTransaction_5babi_v160004_5d_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_29($2 + 12 | 0, $0, 1); - void_20std____2__allocator_traits_std____2__allocator_b2Vec2____construct_5babi_v160004_5d_b2Vec2_2c_20b2Vec2_20const__2c_20void__28std____2__allocator_b2Vec2___2c_20b2Vec2__2c_20b2Vec2_20const__29(std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______alloc_5babi_v160004_5d_28_29($0), b2Vec2__20std____2____to_address_5babi_v160004_5d_b2Vec2__28b2Vec2__29(HEAP32[$2 + 16 >> 2]), HEAP32[$2 + 24 >> 2]); - HEAP32[$2 + 16 >> 2] = HEAP32[$2 + 16 >> 2] + 8; - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2_____ConstructTransaction____ConstructTransaction_5babi_v160004_5d_28_29($2 + 12 | 0); - __stack_pointer = $2 + 32 | 0; -} - -function b2ContactListenerWrapper__isIndexOf_28unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - $0 = HEAP32[$2 + 28 >> 2]; - HEAP32[$2 + 20 >> 2] = HEAP32[$2 + 24 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__set_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____find_5babi_v160004_5d_28b2Fixture__20const__29($0 + 12 | 0, $2 + 20 | 0), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__set_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____end_5babi_v160004_5d_28_29($0 + 12 | 0), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - $0 = std____2__operator___5babi_v160004_5d_28std____2____tree_const_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20const__2c_20std____2____tree_const_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20const__29($2 + 16 | 0, $2 + 12 | 0); - __stack_pointer = $2 + 32 | 0; - return $0 & 1; -} - -function emscripten__internal__MethodCaller_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Color_20const____call_28emscripten___EM_VAL__2c_20char_20const__2c_20b2Vec2_20const__2c_20float__2c_20b2Color_20const__29($0, $1, $2, $3, $4) { - var $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $5 = __stack_pointer - 48 | 0; - __stack_pointer = $5; - HEAP32[$5 + 44 >> 2] = $0; - HEAP32[$5 + 40 >> 2] = $1; - HEAP32[$5 + 36 >> 2] = $2; - HEAP32[$5 + 32 >> 2] = $3; - HEAP32[$5 + 28 >> 2] = $4; - wasm2js_i32$0 = $5, wasm2js_i32$1 = emscripten__internal__Signature_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Color_20const____get_method_caller_28_29(), - HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; - emscripten__internal__WireTypePack_b2Vec2_20const__2c_20float__2c_20b2Color_20const____WireTypePack_28b2Vec2_20const__2c_20float__2c_20b2Color_20const__29($5, HEAP32[$5 + 36 >> 2], HEAP32[$5 + 32 >> 2], HEAP32[$5 + 28 >> 2]); - _emval_call_void_method(HEAP32[$5 + 24 >> 2], HEAP32[$5 + 44 >> 2], HEAP32[$5 + 40 >> 2], emscripten__internal__WireTypePack_b2Vec2_20const__2c_20float__2c_20b2Color_20const____operator_20void_20const__28_29_20const($5) | 0); - __stack_pointer = $5 + 48 | 0; -} - -function emscripten__internal__MethodInvoker_float_20_28b2Joint____29_28float_29_20const_2c_20float_2c_20b2Joint_20const__2c_20float___invoke_28float_20_28b2Joint____20const__29_28float_29_20const_2c_20b2Joint_20const__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $4 = emscripten__internal__BindingType_b2Joint_20const__2c_20void___fromWireType_28b2Joint_20const__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $4 = ($1 >> 1) + $4 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$4 >> 2] + $0 >> 2]; - } - wasm2js_i32$0 = $3, wasm2js_f32$0 = Math_fround(FUNCTION_TABLE[$0 | 0]($4, emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2]))), - HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; - $2 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29($3); - __stack_pointer = $3 + 16 | 0; - return Math_fround($2); -} - -function b2Sweep__GetTransform_28b2Transform__2c_20float_29_20const($0, $1, $2) { - var $3 = 0, $4 = 0, $5 = 0; - $3 = __stack_pointer - 48 | 0; - __stack_pointer = $3; - HEAP32[$3 + 44 >> 2] = $0; - HEAP32[$3 + 40 >> 2] = $1; - HEAPF32[$3 + 36 >> 2] = $2; - $4 = HEAP32[$3 + 44 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($3 + 20 | 0, Math_fround(Math_fround(1) - HEAPF32[$3 + 36 >> 2]), $4 + 8 | 0); - operator__28float_2c_20b2Vec2_20const__29($3 + 12 | 0, HEAPF32[$3 + 36 >> 2], $4 + 16 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($3 + 28 | 0, $3 + 20 | 0, $3 + 12 | 0); - $5 = HEAP32[$3 + 32 >> 2]; - $0 = HEAP32[$3 + 28 >> 2]; - $1 = $0; - $0 = HEAP32[$3 + 40 >> 2]; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $5; - HEAPF32[$3 + 8 >> 2] = Math_fround(Math_fround(Math_fround(1) - HEAPF32[$3 + 36 >> 2]) * HEAPF32[$4 + 24 >> 2]) + Math_fround(HEAPF32[$3 + 36 >> 2] * HEAPF32[$4 + 28 >> 2]); - b2Rot__Set_28float_29(HEAP32[$3 + 40 >> 2] + 8 | 0, HEAPF32[$3 + 8 >> 2]); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($3, HEAP32[$3 + 40 >> 2] + 8 | 0, $4); - b2Vec2__operator___28b2Vec2_20const__29_1(HEAP32[$3 + 40 >> 2], $3); - __stack_pointer = $3 + 48 | 0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______destroy_vector__operator_28_29_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______annotate_delete_5babi_v160004_5d_28_29_20const(HEAP32[$0 >> 2]); - void_20std____2____debug_db_erase_c_5babi_v160004_5d_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____29(HEAP32[$0 >> 2]); - if (HEAP32[HEAP32[$0 >> 2] >> 2]) { - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______clear_5babi_v160004_5d_28_29(HEAP32[$0 >> 2]); - std____2__allocator_traits_std____2__allocator_b2Vec2____deallocate_5babi_v160004_5d_28std____2__allocator_b2Vec2___2c_20b2Vec2__2c_20unsigned_20long_29(std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______alloc_5babi_v160004_5d_28_29(HEAP32[$0 >> 2]), HEAP32[HEAP32[$0 >> 2] >> 2], std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____capacity_5babi_v160004_5d_28_29_20const(HEAP32[$0 >> 2])); - } - __stack_pointer = $1 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28b2Vec2_20const__29_2c_20void_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20b2Vec2_20const____invoke_28void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______20const__29_28b2Vec2_20const__29_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20b2Vec2__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20void___fromWireType_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__internal__RegisterClassConstructor_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____20_28__29_28_29___invoke_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____20_28__29_28_29_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 >> 2] = 655; - $0 = emscripten__internal__TypeID_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___2c_20void___get_28_29(); - $2 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______getCount_28_29_20const($1 + 7 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______getTypes_28_29_20const($1 + 7 | 0); - HEAP32[$1 + 12 >> 2] = HEAP32[$1 >> 2]; - _embind_register_class_constructor($0 | 0, $2 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29() | 0, HEAP32[$1 >> 2], HEAP32[$1 + 8 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function void_20emscripten__function_bool_2c_20unsigned_20int_2c_20b2Transform_20const__2c_20b2Vec2_20const__2c_20emscripten__allow_raw_pointers__28char_20const__2c_20bool_20_28__29_28unsigned_20int_2c_20b2Transform_20const__2c_20b2Vec2_20const__29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 414; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_bool_2c_20unsigned_20int_2c_20b2Transform_20const__2c_20b2Vec2_20const____getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_bool_2c_20unsigned_20int_2c_20b2Transform_20const__2c_20b2Vec2_20const____getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2__vector_int_2c_20std____2__allocator_int______annotate_delete_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - std____2__vector_int_2c_20std____2__allocator_int______annotate_contiguous_container_5babi_v160004_5d_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_int_2c_20std____2__allocator_int____data_5babi_v160004_5d_28_29_20const($0), std____2__vector_int_2c_20std____2__allocator_int____data_5babi_v160004_5d_28_29_20const($0) + (std____2__vector_int_2c_20std____2__allocator_int____capacity_5babi_v160004_5d_28_29_20const($0) << 2) | 0, std____2__vector_int_2c_20std____2__allocator_int____data_5babi_v160004_5d_28_29_20const($0) + (std____2__vector_int_2c_20std____2__allocator_int____size_5babi_v160004_5d_28_29_20const($0) << 2) | 0, std____2__vector_int_2c_20std____2__allocator_int____data_5babi_v160004_5d_28_29_20const($0) + (std____2__vector_int_2c_20std____2__allocator_int____capacity_5babi_v160004_5d_28_29_20const($0) << 2) | 0); - __stack_pointer = $1 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2World____29_28b2QueryCallback__2c_20b2AABB_20const__29_20const_2c_20void_2c_20b2World_20const__2c_20b2QueryCallback__2c_20b2AABB_20const____invoke_28void_20_28b2World____20const__29_28b2QueryCallback__2c_20b2AABB_20const__29_20const_2c_20b2World_20const__2c_20b2QueryCallback__2c_20b2AABB__29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - $2 = emscripten__internal__BindingType_b2World_20const__2c_20void___fromWireType_28b2World_20const__29(HEAP32[$4 + 8 >> 2]); - $0 = HEAP32[$4 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_b2QueryCallback__2c_20void___fromWireType_28b2QueryCallback__29(HEAP32[$4 + 4 >> 2]), emscripten__internal__GenericBindingType_b2AABB___fromWireType_28b2AABB__29(HEAP32[$4 >> 2])); - __stack_pointer = $4 + 16 | 0; -} - -function emscripten__internal__MethodCaller_void_2c_20unsigned_20int__2c_20int__2c_20b2Color_20const____call_28emscripten___EM_VAL__2c_20char_20const__2c_20unsigned_20int__2c_20int__2c_20b2Color_20const__29($0, $1, $2, $3, $4) { - var $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $5 = __stack_pointer - 48 | 0; - __stack_pointer = $5; - HEAP32[$5 + 44 >> 2] = $0; - HEAP32[$5 + 40 >> 2] = $1; - HEAP32[$5 + 36 >> 2] = $2; - HEAP32[$5 + 32 >> 2] = $3; - HEAP32[$5 + 28 >> 2] = $4; - wasm2js_i32$0 = $5, wasm2js_i32$1 = emscripten__internal__Signature_void_2c_20unsigned_20int__2c_20int__2c_20b2Color_20const____get_method_caller_28_29(), - HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; - emscripten__internal__WireTypePack_unsigned_20int__2c_20int__2c_20b2Color_20const____WireTypePack_28unsigned_20int__2c_20int__2c_20b2Color_20const__29($5, HEAP32[$5 + 36 >> 2], HEAP32[$5 + 32 >> 2], HEAP32[$5 + 28 >> 2]); - _emval_call_void_method(HEAP32[$5 + 24 >> 2], HEAP32[$5 + 44 >> 2], HEAP32[$5 + 40 >> 2], emscripten__internal__WireTypePack_unsigned_20int__2c_20int__2c_20b2Color_20const____operator_20void_20const__28_29_20const($5) | 0); - __stack_pointer = $5 + 48 | 0; -} - -function b2FrictionJoint__b2FrictionJoint_28b2FrictionJointDef_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Joint__b2Joint_28b2JointDef_20const__29($1, HEAP32[$2 + 8 >> 2]); - HEAP32[$1 >> 2] = 19072; - b2Vec2__b2Vec2_28_29($1 + 68 | 0); - b2Vec2__b2Vec2_28_29($1 + 76 | 0); - b2Vec2__b2Vec2_28_29($1 + 84 | 0); - b2Vec2__b2Vec2_28_29($1 + 112 | 0); - b2Vec2__b2Vec2_28_29($1 + 120 | 0); - b2Vec2__b2Vec2_28_29($1 + 128 | 0); - b2Vec2__b2Vec2_28_29($1 + 136 | 0); - b2Mat22__b2Mat22_28_29($1 + 160 | 0); - $3 = HEAP32[$2 + 8 >> 2]; - $4 = HEAP32[$3 + 20 >> 2]; - $0 = HEAP32[$3 + 24 >> 2]; - HEAP32[$1 + 68 >> 2] = $4; - HEAP32[$1 + 72 >> 2] = $0; - $3 = HEAP32[$2 + 8 >> 2]; - $0 = HEAP32[$3 + 28 >> 2]; - $4 = HEAP32[$3 + 32 >> 2]; - HEAP32[$1 + 76 >> 2] = $0; - HEAP32[$1 + 80 >> 2] = $4; - b2Vec2__SetZero_28_29($1 + 84 | 0); - HEAPF32[$1 + 92 >> 2] = 0; - HEAPF32[$1 + 96 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 36 >> 2]; - HEAPF32[$1 + 100 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 40 >> 2]; - __stack_pointer = $2 + 16 | 0; - return $1; -} - -function std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______operator_28_29_5babi_v160004_5d_28std____2____tree_node_b2Fixture__2c_20void____29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (HEAP8[$0 + 4 | 0] & 1) { - void_20std____2__allocator_traits_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______destroy_5babi_v160004_5d_b2Fixture__2c_20void_2c_20void__28std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____2c_20b2Fixture___29(HEAP32[$0 >> 2], std____2____tree_key_value_types_b2Fixture______get_ptr_5babi_v160004_5d_28b2Fixture___29(HEAP32[$2 + 8 >> 2] + 16 | 0)); - } - if (HEAP32[$2 + 8 >> 2]) { - std____2__allocator_traits_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______deallocate_5babi_v160004_5d_28std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20unsigned_20long_29(HEAP32[$0 >> 2], HEAP32[$2 + 8 >> 2], 1); - } - __stack_pointer = $2 + 16 | 0; -} - -function void_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______construct_one_at_end_5babi_v160004_5d_b2Vec2__28b2Vec2___29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - $0 = HEAP32[$2 + 28 >> 2]; - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2_____ConstructTransaction___ConstructTransaction_5babi_v160004_5d_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_29($2 + 12 | 0, $0, 1); - void_20std____2__allocator_traits_std____2__allocator_b2Vec2____construct_5babi_v160004_5d_b2Vec2_2c_20b2Vec2_2c_20void__28std____2__allocator_b2Vec2___2c_20b2Vec2__2c_20b2Vec2___29(std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______alloc_5babi_v160004_5d_28_29($0), b2Vec2__20std____2____to_address_5babi_v160004_5d_b2Vec2__28b2Vec2__29(HEAP32[$2 + 16 >> 2]), HEAP32[$2 + 24 >> 2]); - HEAP32[$2 + 16 >> 2] = HEAP32[$2 + 16 >> 2] + 8; - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2_____ConstructTransaction____ConstructTransaction_5babi_v160004_5d_28_29($2 + 12 | 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2__reverse_iterator_int___20std____2__move_5babi_v160004_5d_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____28std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 48 | 0; - __stack_pointer = $3; - HEAP32[$3 + 40 >> 2] = $0; - HEAP32[$3 + 36 >> 2] = $1; - HEAP32[$3 + 32 >> 2] = $2; - HEAP32[$3 + 20 >> 2] = HEAP32[$3 + 40 >> 2]; - HEAP32[$3 + 16 >> 2] = HEAP32[$3 + 36 >> 2]; - HEAP32[$3 + 12 >> 2] = HEAP32[$3 + 32 >> 2]; - std____2__pair_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____20std____2____move_5babi_v160004_5d_std____2___ClassicAlgPolicy_2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____28std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___29($3 + 24 | 0, HEAP32[$3 + 20 >> 2], HEAP32[$3 + 16 >> 2], HEAP32[$3 + 12 >> 2]); - HEAP32[$3 + 44 >> 2] = HEAP32[($3 + 24 | 0) + 4 >> 2]; - __stack_pointer = $3 + 48 | 0; - return HEAP32[$3 + 44 >> 2]; -} - -function b2Mat33__Solve22_28b2Vec2_20const__29_20const($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $1; - HEAP32[$3 + 24 >> 2] = $2; - $1 = HEAP32[$3 + 28 >> 2]; - HEAPF32[$3 + 20 >> 2] = HEAPF32[$1 >> 2]; - HEAPF32[$3 + 16 >> 2] = HEAPF32[$1 + 12 >> 2]; - HEAPF32[$3 + 12 >> 2] = HEAPF32[$1 + 4 >> 2]; - HEAPF32[$3 + 8 >> 2] = HEAPF32[$1 + 16 >> 2]; - HEAPF32[$3 + 4 >> 2] = Math_fround(HEAPF32[$3 + 20 >> 2] * HEAPF32[$3 + 8 >> 2]) - Math_fround(HEAPF32[$3 + 16 >> 2] * HEAPF32[$3 + 12 >> 2]); - if (HEAPF32[$3 + 4 >> 2] != Math_fround(0)) { - HEAPF32[$3 + 4 >> 2] = Math_fround(1) / HEAPF32[$3 + 4 >> 2]; - } - b2Vec2__b2Vec2_28_29($0); - HEAPF32[$0 >> 2] = HEAPF32[$3 + 4 >> 2] * Math_fround(Math_fround(HEAPF32[$3 + 8 >> 2] * HEAPF32[HEAP32[$3 + 24 >> 2] >> 2]) - Math_fround(HEAPF32[$3 + 16 >> 2] * HEAPF32[HEAP32[$3 + 24 >> 2] + 4 >> 2])); - HEAPF32[$0 + 4 >> 2] = HEAPF32[$3 + 4 >> 2] * Math_fround(Math_fround(HEAPF32[$3 + 20 >> 2] * HEAPF32[HEAP32[$3 + 24 >> 2] + 4 >> 2]) - Math_fround(HEAPF32[$3 + 12 >> 2] * HEAPF32[HEAP32[$3 + 24 >> 2] >> 2])); - __stack_pointer = $3 + 32 | 0; -} - -function std____2__vector_int_2c_20std____2__allocator_int______annotate_new_5babi_v160004_5d_28unsigned_20long_29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - std____2__vector_int_2c_20std____2__allocator_int______annotate_contiguous_container_5babi_v160004_5d_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_int_2c_20std____2__allocator_int____data_5babi_v160004_5d_28_29_20const($0), std____2__vector_int_2c_20std____2__allocator_int____data_5babi_v160004_5d_28_29_20const($0) + (std____2__vector_int_2c_20std____2__allocator_int____capacity_5babi_v160004_5d_28_29_20const($0) << 2) | 0, std____2__vector_int_2c_20std____2__allocator_int____data_5babi_v160004_5d_28_29_20const($0) + (std____2__vector_int_2c_20std____2__allocator_int____capacity_5babi_v160004_5d_28_29_20const($0) << 2) | 0, std____2__vector_int_2c_20std____2__allocator_int____data_5babi_v160004_5d_28_29_20const($0) + (HEAP32[$2 + 8 >> 2] << 2) | 0); - __stack_pointer = $2 + 16 | 0; -} - -function b2Mat22__Solve_28b2Vec2_20const__29_20const($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $1; - HEAP32[$3 + 24 >> 2] = $2; - $1 = HEAP32[$3 + 28 >> 2]; - HEAPF32[$3 + 20 >> 2] = HEAPF32[$1 >> 2]; - HEAPF32[$3 + 16 >> 2] = HEAPF32[$1 + 8 >> 2]; - HEAPF32[$3 + 12 >> 2] = HEAPF32[$1 + 4 >> 2]; - HEAPF32[$3 + 8 >> 2] = HEAPF32[$1 + 12 >> 2]; - HEAPF32[$3 + 4 >> 2] = Math_fround(HEAPF32[$3 + 20 >> 2] * HEAPF32[$3 + 8 >> 2]) - Math_fround(HEAPF32[$3 + 16 >> 2] * HEAPF32[$3 + 12 >> 2]); - if (HEAPF32[$3 + 4 >> 2] != Math_fround(0)) { - HEAPF32[$3 + 4 >> 2] = Math_fround(1) / HEAPF32[$3 + 4 >> 2]; - } - b2Vec2__b2Vec2_28_29($0); - HEAPF32[$0 >> 2] = HEAPF32[$3 + 4 >> 2] * Math_fround(Math_fround(HEAPF32[$3 + 8 >> 2] * HEAPF32[HEAP32[$3 + 24 >> 2] >> 2]) - Math_fround(HEAPF32[$3 + 16 >> 2] * HEAPF32[HEAP32[$3 + 24 >> 2] + 4 >> 2])); - HEAPF32[$0 + 4 >> 2] = HEAPF32[$3 + 4 >> 2] * Math_fround(Math_fround(HEAPF32[$3 + 20 >> 2] * HEAPF32[HEAP32[$3 + 24 >> 2] + 4 >> 2]) - Math_fround(HEAPF32[$3 + 12 >> 2] * HEAPF32[HEAP32[$3 + 24 >> 2] >> 2])); - __stack_pointer = $3 + 32 | 0; -} - -function std____2__vector_int_2c_20std____2__allocator_int______annotate_shrink_5babi_v160004_5d_28unsigned_20long_29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - std____2__vector_int_2c_20std____2__allocator_int______annotate_contiguous_container_5babi_v160004_5d_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_int_2c_20std____2__allocator_int____data_5babi_v160004_5d_28_29_20const($0), std____2__vector_int_2c_20std____2__allocator_int____data_5babi_v160004_5d_28_29_20const($0) + (std____2__vector_int_2c_20std____2__allocator_int____capacity_5babi_v160004_5d_28_29_20const($0) << 2) | 0, std____2__vector_int_2c_20std____2__allocator_int____data_5babi_v160004_5d_28_29_20const($0) + (HEAP32[$2 + 8 >> 2] << 2) | 0, std____2__vector_int_2c_20std____2__allocator_int____data_5babi_v160004_5d_28_29_20const($0) + (std____2__vector_int_2c_20std____2__allocator_int____size_5babi_v160004_5d_28_29_20const($0) << 2) | 0); - __stack_pointer = $2 + 16 | 0; -} - -function void_20emscripten__internal__RegisterClassMethod_void_20_28__29_28b2DrawWrapper__29___invoke_b2DrawWrapper__28char_20const__2c_20void_20_28__29_28b2DrawWrapper__29_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 508; - $0 = emscripten__internal__TypeID_b2DrawWrapper_2c_20void___get_28_29(); - $1 = HEAP32[$2 + 24 >> 2]; - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2DrawWrapper____getCount_28_29_20const($2 + 19 | 0); - $4 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2DrawWrapper____getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_class_function($0 | 0, $1 | 0, $3 | 0, $4 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], void_20_28__emscripten__internal__getContext_void_20_28__29_28b2DrawWrapper__29__28void_20_28__20const__29_28b2DrawWrapper__29_29_29_28b2DrawWrapper__29($2 + 20 | 0) | 0, 0, 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassConstructor_std____2__vector_int_2c_20std____2__allocator_int____20_28__29_28_29___invoke_std____2__vector_int_2c_20std____2__allocator_int____28std____2__vector_int_2c_20std____2__allocator_int____20_28__29_28_29_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 >> 2] = 649; - $0 = emscripten__internal__TypeID_std____2__vector_int_2c_20std____2__allocator_int___2c_20void___get_28_29(); - $2 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_std____2__vector_int_2c_20std____2__allocator_int______getCount_28_29_20const($1 + 7 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_std____2__vector_int_2c_20std____2__allocator_int______getTypes_28_29_20const($1 + 7 | 0); - HEAP32[$1 + 12 >> 2] = HEAP32[$1 >> 2]; - _embind_register_class_constructor($0 | 0, $2 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29() | 0, HEAP32[$1 >> 2], HEAP32[$1 + 8 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function b2MotorJoint__b2MotorJoint_28b2MotorJointDef_20const__29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - b2Joint__b2Joint_28b2JointDef_20const__29($0, HEAP32[$2 + 8 >> 2]); - HEAP32[$0 >> 2] = 19208; - b2Vec2__b2Vec2_28_29($0 + 68 | 0); - b2Vec2__b2Vec2_28_29($0 + 80 | 0); - b2Vec2__b2Vec2_28_29($0 + 112 | 0); - b2Vec2__b2Vec2_28_29($0 + 120 | 0); - b2Vec2__b2Vec2_28_29($0 + 128 | 0); - b2Vec2__b2Vec2_28_29($0 + 136 | 0); - b2Vec2__b2Vec2_28_29($0 + 144 | 0); - b2Mat22__b2Mat22_28_29($0 + 172 | 0); - $1 = HEAP32[$2 + 8 >> 2]; - $3 = HEAP32[$1 + 24 >> 2]; - HEAP32[$0 + 68 >> 2] = HEAP32[$1 + 20 >> 2]; - HEAP32[$0 + 72 >> 2] = $3; - HEAPF32[$0 + 76 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 28 >> 2]; - b2Vec2__SetZero_28_29($0 + 80 | 0); - HEAPF32[$0 + 88 >> 2] = 0; - HEAPF32[$0 + 92 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 32 >> 2]; - HEAPF32[$0 + 96 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 36 >> 2]; - HEAPF32[$0 + 100 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 40 >> 2]; - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function std____2__vector_int_2c_20std____2__allocator_int______destroy_vector__operator_28_29_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - std____2__vector_int_2c_20std____2__allocator_int______annotate_delete_5babi_v160004_5d_28_29_20const(HEAP32[$0 >> 2]); - void_20std____2____debug_db_erase_c_5babi_v160004_5d_std____2__vector_int_2c_20std____2__allocator_int____28std____2__vector_int_2c_20std____2__allocator_int____29(HEAP32[$0 >> 2]); - if (HEAP32[HEAP32[$0 >> 2] >> 2]) { - std____2__vector_int_2c_20std____2__allocator_int______clear_5babi_v160004_5d_28_29(HEAP32[$0 >> 2]); - std____2__allocator_traits_std____2__allocator_int____deallocate_5babi_v160004_5d_28std____2__allocator_int___2c_20int__2c_20unsigned_20long_29(std____2__vector_int_2c_20std____2__allocator_int______alloc_5babi_v160004_5d_28_29(HEAP32[$0 >> 2]), HEAP32[HEAP32[$0 >> 2] >> 2], std____2__vector_int_2c_20std____2__allocator_int____capacity_5babi_v160004_5d_28_29_20const(HEAP32[$0 >> 2])); - } - __stack_pointer = $1 + 16 | 0; -} - -function void_20emscripten__function_void_2c_20unsigned_20int_2c_20int_2c_20float_2c_20float_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20int_2c_20float_2c_20float_29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 421; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20int_2c_20float_2c_20float___getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20int_2c_20float_2c_20float___getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20float_2c_20float__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20std____2__vector_int_2c_20std____2__allocator_int______construct_one_at_end_5babi_v160004_5d_int_20const___28int_20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - $0 = HEAP32[$2 + 28 >> 2]; - std____2__vector_int_2c_20std____2__allocator_int_____ConstructTransaction___ConstructTransaction_5babi_v160004_5d_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_29($2 + 12 | 0, $0, 1); - void_20std____2__allocator_traits_std____2__allocator_int____construct_5babi_v160004_5d_int_2c_20int_20const__2c_20void__28std____2__allocator_int___2c_20int__2c_20int_20const__29(std____2__vector_int_2c_20std____2__allocator_int______alloc_5babi_v160004_5d_28_29($0), int__20std____2____to_address_5babi_v160004_5d_int__28int__29(HEAP32[$2 + 16 >> 2]), HEAP32[$2 + 24 >> 2]); - HEAP32[$2 + 16 >> 2] = HEAP32[$2 + 16 >> 2] + 4; - std____2__vector_int_2c_20std____2__allocator_int_____ConstructTransaction____ConstructTransaction_5babi_v160004_5d_28_29($2 + 12 | 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($0) { - void_20std____2____debug_db_erase_c_5babi_v160004_5d_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____29($0); - if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______is_long_5babi_v160004_5d_28_29_20const($0)) { - std____2__allocator_traits_std____2__allocator_char____deallocate_5babi_v160004_5d_28std____2__allocator_char___2c_20char__2c_20unsigned_20long_29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_5babi_v160004_5d_28_29($0), std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_pointer_5babi_v160004_5d_28_29($0), std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_cap_5babi_v160004_5d_28_29_20const($0)); - } - return $0; -} - -function __cxxabiv1____vmi_class_type_info__has_unambiguous_public_base_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0, $5 = 0; - if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 + 8 >> 2], 0)) { - __cxxabiv1____class_type_info__process_found_base_class_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const($0, $1, $2, $3); - return; - } - $4 = HEAP32[$0 + 12 >> 2]; - $5 = $0 + 16 | 0; - __cxxabiv1____base_class_type_info__has_unambiguous_public_base_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const($5, $1, $2, $3); - $0 = $0 + 24 | 0; - $4 = ($4 << 3) + $5 | 0; - label$2: { - if ($0 >>> 0 >= $4 >>> 0) { - break label$2; - } - while (1) { - __cxxabiv1____base_class_type_info__has_unambiguous_public_base_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const($0, $1, $2, $3); - if (HEAPU8[$1 + 54 | 0]) { - break label$2; - } - $0 = $0 + 8 | 0; - if ($4 >>> 0 > $0 >>> 0) { - continue; - } - break; - } - } -} - -function b2PolygonShape__SetAsBox_28float_2c_20float_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAPF32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - HEAP32[$0 + 148 >> 2] = 4; - b2Vec2__Set_28float_2c_20float_29($0 + 20 | 0, Math_fround(-HEAPF32[$3 + 8 >> 2]), Math_fround(-HEAPF32[$3 + 4 >> 2])); - b2Vec2__Set_28float_2c_20float_29($0 + 28 | 0, HEAPF32[$3 + 8 >> 2], Math_fround(-HEAPF32[$3 + 4 >> 2])); - b2Vec2__Set_28float_2c_20float_29($0 + 36 | 0, HEAPF32[$3 + 8 >> 2], HEAPF32[$3 + 4 >> 2]); - b2Vec2__Set_28float_2c_20float_29($0 + 44 | 0, Math_fround(-HEAPF32[$3 + 8 >> 2]), HEAPF32[$3 + 4 >> 2]); - b2Vec2__Set_28float_2c_20float_29($0 + 84 | 0, Math_fround(0), Math_fround(-1)); - b2Vec2__Set_28float_2c_20float_29($0 + 92 | 0, Math_fround(1), Math_fround(0)); - b2Vec2__Set_28float_2c_20float_29($0 + 100 | 0, Math_fround(0), Math_fround(1)); - b2Vec2__Set_28float_2c_20float_29($0 + 108 | 0, Math_fround(-1), Math_fround(0)); - b2Vec2__SetZero_28_29($0 + 12 | 0); - __stack_pointer = $3 + 16 | 0; -} - -function b2Joint__b2Joint_28b2JointDef_20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 8 >> 2] = $0; - HEAP32[$2 + 4 >> 2] = $1; - $0 = HEAP32[$2 + 8 >> 2]; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$0 >> 2] = 19156; - if (HEAP32[HEAP32[$2 + 4 >> 2] + 8 >> 2] == HEAP32[HEAP32[$2 + 4 >> 2] + 12 >> 2]) { - __assert_fail(11244, 4788, 188, 2966); - wasm2js_trap(); - } - HEAP32[$0 + 4 >> 2] = HEAP32[HEAP32[$2 + 4 >> 2] >> 2]; - HEAP32[$0 + 8 >> 2] = 0; - HEAP32[$0 + 12 >> 2] = 0; - HEAP32[$0 + 48 >> 2] = HEAP32[HEAP32[$2 + 4 >> 2] + 8 >> 2]; - HEAP32[$0 + 52 >> 2] = HEAP32[HEAP32[$2 + 4 >> 2] + 12 >> 2]; - HEAP32[$0 + 56 >> 2] = 0; - HEAP8[$0 + 61 | 0] = HEAP8[HEAP32[$2 + 4 >> 2] + 16 | 0] & 1; - HEAP8[$0 + 60 | 0] = 0; - HEAP32[$0 + 64 >> 2] = HEAP32[HEAP32[$2 + 4 >> 2] + 4 >> 2]; - HEAP32[$0 + 20 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = 0; - HEAP32[$0 + 24 >> 2] = 0; - HEAP32[$0 + 28 >> 2] = 0; - HEAP32[$0 + 36 >> 2] = 0; - HEAP32[$0 + 32 >> 2] = 0; - HEAP32[$0 + 40 >> 2] = 0; - HEAP32[$0 + 44 >> 2] = 0; - __stack_pointer = $2 + 16 | 0; - return HEAP32[$2 + 12 >> 2]; -} - -function b2DistanceProxy__GetSupport_28b2Vec2_20const__29_20const($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - $0 = HEAP32[$2 + 28 >> 2]; - HEAP32[$2 + 20 >> 2] = 0; - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$0 + 16 >> 2], HEAP32[$2 + 24 >> 2]), - HEAPF32[wasm2js_i32$0 + 16 >> 2] = wasm2js_f32$0; - HEAP32[$2 + 12 >> 2] = 1; - while (1) { - if (HEAP32[$2 + 12 >> 2] < HEAP32[$0 + 20 >> 2]) { - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$0 + 16 >> 2] + (HEAP32[$2 + 12 >> 2] << 3) | 0, HEAP32[$2 + 24 >> 2]), - HEAPF32[wasm2js_i32$0 + 8 >> 2] = wasm2js_f32$0; - if (HEAPF32[$2 + 8 >> 2] > HEAPF32[$2 + 16 >> 2]) { - HEAP32[$2 + 20 >> 2] = HEAP32[$2 + 12 >> 2]; - HEAPF32[$2 + 16 >> 2] = HEAPF32[$2 + 8 >> 2]; - } - HEAP32[$2 + 12 >> 2] = HEAP32[$2 + 12 >> 2] + 1; - continue; - } - break; - } - __stack_pointer = $2 + 32 | 0; - return HEAP32[$2 + 20 >> 2]; -} - -function emscripten__internal__MethodInvoker_void_20_28b2PrismaticJoint____29_28float_2c_20float_29_2c_20void_2c_20b2PrismaticJoint__2c_20float_2c_20float___invoke_28void_20_28b2PrismaticJoint____20const__29_28float_2c_20float_29_2c_20b2PrismaticJoint__2c_20float_2c_20float_29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - $3 = Math_fround($3); - var $4 = 0, $5 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAPF32[$4 + 4 >> 2] = $2; - HEAPF32[$4 >> 2] = $3; - $5 = emscripten__internal__BindingType_b2PrismaticJoint__2c_20void___fromWireType_28b2PrismaticJoint__29(HEAP32[$4 + 8 >> 2]); - $0 = HEAP32[$4 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $5 = ($1 >> 1) + $5 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$5 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($5, emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$4 + 4 >> 2]), emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$4 >> 2])); - __stack_pointer = $4 + 16 | 0; -} - -function b2TestOverlap_28b2AABB_20const__2c_20b2AABB_20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 48 | 0; - __stack_pointer = $2; - HEAP32[$2 + 40 >> 2] = $0; - HEAP32[$2 + 36 >> 2] = $1; - b2Vec2__b2Vec2_28_29($2 + 24 | 0); - b2Vec2__b2Vec2_28_29($2 + 16 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 8 | 0, HEAP32[$2 + 36 >> 2], HEAP32[$2 + 40 >> 2] + 8 | 0); - $0 = HEAP32[$2 + 12 >> 2]; - $1 = HEAP32[$2 + 8 >> 2]; - HEAP32[$2 + 24 >> 2] = $1; - HEAP32[$2 + 28 >> 2] = $0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2, HEAP32[$2 + 40 >> 2], HEAP32[$2 + 36 >> 2] + 8 | 0); - $1 = HEAP32[$2 + 4 >> 2]; - $0 = HEAP32[$2 >> 2]; - HEAP32[$2 + 16 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - label$1: { - if (HEAPF32[$2 + 24 >> 2] > Math_fround(0) | HEAPF32[$2 + 28 >> 2] > Math_fround(0)) { - HEAP8[$2 + 47 | 0] = 0; - break label$1; - } - if (HEAPF32[$2 + 16 >> 2] > Math_fround(0) | HEAPF32[$2 + 20 >> 2] > Math_fround(0)) { - HEAP8[$2 + 47 | 0] = 0; - break label$1; - } - HEAP8[$2 + 47 | 0] = 1; - } - __stack_pointer = $2 + 48 | 0; - return HEAP8[$2 + 47 | 0] & 1; -} - -function void_20emscripten__function_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20unsigned_20int_2c_20int_29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 417; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20int___getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20int___getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function b2ChainAndPolygonContact__Evaluate_28b2Manifold__2c_20b2Transform_20const__2c_20b2Transform_20const__29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $4 = __stack_pointer - 80 | 0; - __stack_pointer = $4; - HEAP32[$4 + 76 >> 2] = $0; - HEAP32[$4 + 72 >> 2] = $1; - HEAP32[$4 + 68 >> 2] = $2; - HEAP32[$4 + 64 >> 2] = $3; - $0 = HEAP32[$4 + 76 >> 2]; - wasm2js_i32$0 = $4, wasm2js_i32$1 = b2Fixture__GetShape_28_29(HEAP32[$0 + 48 >> 2]), - HEAP32[wasm2js_i32$0 + 60 >> 2] = wasm2js_i32$1; - b2EdgeShape__b2EdgeShape_28_29($4 + 12 | 0); - b2ChainShape__GetChildEdge_28b2EdgeShape__2c_20int_29_20const(HEAP32[$4 + 60 >> 2], $4 + 12 | 0, HEAP32[$0 + 56 >> 2]); - b2CollideEdgeAndPolygon_28b2Manifold__2c_20b2EdgeShape_20const__2c_20b2Transform_20const__2c_20b2PolygonShape_20const__2c_20b2Transform_20const__29(HEAP32[$4 + 72 >> 2], $4 + 12 | 0, HEAP32[$4 + 68 >> 2], b2Fixture__GetShape_28_29(HEAP32[$0 + 52 >> 2]), HEAP32[$4 + 64 >> 2]); - b2EdgeShape___b2EdgeShape_28_29_1($4 + 12 | 0); - __stack_pointer = $4 + 80 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2RevoluteJoint____29_28float_2c_20float_29_2c_20void_2c_20b2RevoluteJoint__2c_20float_2c_20float___invoke_28void_20_28b2RevoluteJoint____20const__29_28float_2c_20float_29_2c_20b2RevoluteJoint__2c_20float_2c_20float_29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - $3 = Math_fround($3); - var $4 = 0, $5 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAPF32[$4 + 4 >> 2] = $2; - HEAPF32[$4 >> 2] = $3; - $5 = emscripten__internal__BindingType_b2RevoluteJoint__2c_20void___fromWireType_28b2RevoluteJoint__29(HEAP32[$4 + 8 >> 2]); - $0 = HEAP32[$4 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $5 = ($1 >> 1) + $5 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$5 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($5, emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$4 + 4 >> 2]), emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$4 >> 2])); - __stack_pointer = $4 + 16 | 0; -} - -function b2ChainAndCircleContact__Evaluate_28b2Manifold__2c_20b2Transform_20const__2c_20b2Transform_20const__29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $4 = __stack_pointer - 80 | 0; - __stack_pointer = $4; - HEAP32[$4 + 76 >> 2] = $0; - HEAP32[$4 + 72 >> 2] = $1; - HEAP32[$4 + 68 >> 2] = $2; - HEAP32[$4 + 64 >> 2] = $3; - $0 = HEAP32[$4 + 76 >> 2]; - wasm2js_i32$0 = $4, wasm2js_i32$1 = b2Fixture__GetShape_28_29(HEAP32[$0 + 48 >> 2]), - HEAP32[wasm2js_i32$0 + 60 >> 2] = wasm2js_i32$1; - b2EdgeShape__b2EdgeShape_28_29($4 + 12 | 0); - b2ChainShape__GetChildEdge_28b2EdgeShape__2c_20int_29_20const(HEAP32[$4 + 60 >> 2], $4 + 12 | 0, HEAP32[$0 + 56 >> 2]); - b2CollideEdgeAndCircle_28b2Manifold__2c_20b2EdgeShape_20const__2c_20b2Transform_20const__2c_20b2CircleShape_20const__2c_20b2Transform_20const__29(HEAP32[$4 + 72 >> 2], $4 + 12 | 0, HEAP32[$4 + 68 >> 2], b2Fixture__GetShape_28_29(HEAP32[$0 + 52 >> 2]), HEAP32[$4 + 64 >> 2]); - b2EdgeShape___b2EdgeShape_28_29_1($4 + 12 | 0); - __stack_pointer = $4 + 80 | 0; -} - -function b2RopeJoint__b2RopeJoint_28b2RopeJointDef_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Joint__b2Joint_28b2JointDef_20const__29($1, HEAP32[$2 + 8 >> 2]); - HEAP32[$1 >> 2] = 19728; - b2Vec2__b2Vec2_28_29($1 + 68 | 0); - b2Vec2__b2Vec2_28_29($1 + 76 | 0); - b2Vec2__b2Vec2_28_29($1 + 104 | 0); - b2Vec2__b2Vec2_28_29($1 + 112 | 0); - b2Vec2__b2Vec2_28_29($1 + 120 | 0); - b2Vec2__b2Vec2_28_29($1 + 128 | 0); - b2Vec2__b2Vec2_28_29($1 + 136 | 0); - $3 = HEAP32[$2 + 8 >> 2]; - $4 = HEAP32[$3 + 20 >> 2]; - $0 = HEAP32[$3 + 24 >> 2]; - HEAP32[$1 + 68 >> 2] = $4; - HEAP32[$1 + 72 >> 2] = $0; - $3 = HEAP32[$2 + 8 >> 2]; - $0 = HEAP32[$3 + 28 >> 2]; - $4 = HEAP32[$3 + 32 >> 2]; - HEAP32[$1 + 76 >> 2] = $0; - HEAP32[$1 + 80 >> 2] = $4; - HEAPF32[$1 + 84 >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] + 36 >> 2]; - HEAPF32[$1 + 160 >> 2] = 0; - HEAPF32[$1 + 92 >> 2] = 0; - HEAP32[$1 + 164 >> 2] = 0; - HEAPF32[$1 + 88 >> 2] = 0; - __stack_pointer = $2 + 16 | 0; - return $1; -} - -function emscripten__internal__MethodInvoker_bool_20_28b2ContactListenerWrapper____29_28unsigned_20int_29_2c_20bool_2c_20b2ContactListenerWrapper__2c_20unsigned_20int___invoke_28bool_20_28b2ContactListenerWrapper____20const__29_28unsigned_20int_29_2c_20b2ContactListenerWrapper__2c_20unsigned_20int_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_b2ContactListenerWrapper__2c_20void___fromWireType_28b2ContactListenerWrapper__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__BindingType_bool_2c_20void___toWireType_28bool_29(FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$3 + 4 >> 2])) & 1); - __stack_pointer = $3 + 16 | 0; - return $0 & 1; -} - -function void_20emscripten__function_unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_2c_20unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 419; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int___getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int___getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____resize_28unsigned_20long_2c_20b2Vec2_20const__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____size_5babi_v160004_5d_28_29_20const($0), - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - label$1: { - if (HEAPU32[$3 >> 2] < HEAPU32[$3 + 8 >> 2]) { - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______append_28unsigned_20long_2c_20b2Vec2_20const__29($0, HEAP32[$3 + 8 >> 2] - HEAP32[$3 >> 2] | 0, HEAP32[$3 + 4 >> 2]); - break label$1; - } - if (HEAPU32[$3 >> 2] > HEAPU32[$3 + 8 >> 2]) { - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______destruct_at_end_5babi_v160004_5d_28b2Vec2__29($0, HEAP32[$0 >> 2] + (HEAP32[$3 + 8 >> 2] << 3) | 0); - } - } - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__function_b2Vec2_2c_20b2Transform_20const__2c_20b2Vec2_20const__2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2Vec2_20_28__29_28b2Transform_20const__2c_20b2Vec2_20const__29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 396; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Vec2_2c_20b2Transform_20const__2c_20b2Vec2_20const____getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Vec2_2c_20b2Transform_20const__2c_20b2Vec2_20const____getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__function_void_2c_20unsigned_20int_2c_20float_2c_20float_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20float_2c_20float_29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 415; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20float_2c_20float___getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20float_2c_20float___getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float_2c_20float__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__MethodInvoker_float_20_28b2PrismaticJoint____29_28_29_20const_2c_20float_2c_20b2PrismaticJoint_20const____invoke_28float_20_28b2PrismaticJoint____20const__29_28_29_20const_2c_20b2PrismaticJoint_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2PrismaticJoint_20const__2c_20void___fromWireType_28b2PrismaticJoint_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(FUNCTION_TABLE[$0 | 0]($1)), HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; - $4 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29($2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($4); -} - -function __cxxabiv1____class_type_info__search_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_2c_20bool_29_20const($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 + 8 >> 2], $4)) { - __cxxabiv1____class_type_info__process_static_type_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_29_20const($1, $1, $2, $3); - return; - } - label$2: { - if (!is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 >> 2], $4)) { - break label$2; - } - if (!(HEAP32[$1 + 16 >> 2] != ($2 | 0) & HEAP32[$1 + 20 >> 2] != ($2 | 0))) { - if (($3 | 0) != 1) { - break label$2; - } - HEAP32[$1 + 32 >> 2] = 1; - return; - } - HEAP32[$1 + 20 >> 2] = $2; - HEAP32[$1 + 32 >> 2] = $3; - HEAP32[$1 + 40 >> 2] = HEAP32[$1 + 40 >> 2] + 1; - if (!(HEAP32[$1 + 36 >> 2] != 1 | HEAP32[$1 + 24 >> 2] != 2)) { - HEAP8[$1 + 54 | 0] = 1; - } - HEAP32[$1 + 44 >> 2] = 4; - } -} - -function emscripten__internal__MethodInvoker_float_20_28b2RevoluteJoint____29_28_29_20const_2c_20float_2c_20b2RevoluteJoint_20const____invoke_28float_20_28b2RevoluteJoint____20const__29_28_29_20const_2c_20b2RevoluteJoint_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2RevoluteJoint_20const__2c_20void___fromWireType_28b2RevoluteJoint_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(FUNCTION_TABLE[$0 | 0]($1)), HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; - $4 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29($2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($4); -} - -function emscripten__internal__MethodInvoker_float_20_28b2DistanceJoint____29_28_29_20const_2c_20float_2c_20b2DistanceJoint_20const____invoke_28float_20_28b2DistanceJoint____20const__29_28_29_20const_2c_20b2DistanceJoint_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2DistanceJoint_20const__2c_20void___fromWireType_28b2DistanceJoint_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(FUNCTION_TABLE[$0 | 0]($1)), HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; - $4 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29($2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($4); -} - -function void_20emscripten__function_void_2c_20unsigned_20int_2c_20b2Filter_20const__2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20b2Filter_20const__29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 409; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20b2Filter_20const____getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20b2Filter_20const____getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__MethodInvoker_b2Vec2_20_28b2RopeJoint____29_28float_29_20const_2c_20b2Vec2_2c_20b2RopeJoint_20const__2c_20float___invoke_28b2Vec2_20_28b2RopeJoint____20const__29_28float_29_20const_2c_20b2RopeJoint_20const__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0, $4 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $0; - HEAP32[$3 + 24 >> 2] = $1; - HEAPF32[$3 + 20 >> 2] = $2; - $4 = emscripten__internal__BindingType_b2RopeJoint_20const__2c_20void___fromWireType_28b2RopeJoint_20const__29(HEAP32[$3 + 24 >> 2]); - $0 = HEAP32[$3 + 28 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $4 = ($1 >> 1) + $4 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$4 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($3 + 12 | 0, $4, emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 20 >> 2])); - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2___29($3 + 12 | 0); - __stack_pointer = $3 + 32 | 0; - return $0 | 0; -} - -function emscripten__internal__MethodCaller_void_2c_20unsigned_20int__2c_20unsigned_20int____call_28emscripten___EM_VAL__2c_20char_20const__2c_20unsigned_20int__2c_20unsigned_20int__29($0, $1, $2, $3) { - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $4 = __stack_pointer - 48 | 0; - __stack_pointer = $4; - HEAP32[$4 + 44 >> 2] = $0; - HEAP32[$4 + 40 >> 2] = $1; - HEAP32[$4 + 36 >> 2] = $2; - HEAP32[$4 + 32 >> 2] = $3; - wasm2js_i32$0 = $4, wasm2js_i32$1 = emscripten__internal__Signature_void_2c_20unsigned_20int__2c_20unsigned_20int____get_method_caller_28_29(), - HEAP32[wasm2js_i32$0 + 28 >> 2] = wasm2js_i32$1; - emscripten__internal__WireTypePack_unsigned_20int__2c_20unsigned_20int____WireTypePack_28unsigned_20int__2c_20unsigned_20int__29($4 + 8 | 0, HEAP32[$4 + 36 >> 2], HEAP32[$4 + 32 >> 2]); - _emval_call_void_method(HEAP32[$4 + 28 >> 2], HEAP32[$4 + 44 >> 2], HEAP32[$4 + 40 >> 2], emscripten__internal__WireTypePack_unsigned_20int__2c_20unsigned_20int____operator_20void_20const__28_29_20const($4 + 8 | 0) | 0); - __stack_pointer = $4 + 48 | 0; -} - -function std____2__vector_int_2c_20std____2__allocator_int____resize_28unsigned_20long_2c_20int_20const__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__vector_int_2c_20std____2__allocator_int____size_5babi_v160004_5d_28_29_20const($0), - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - label$1: { - if (HEAPU32[$3 >> 2] < HEAPU32[$3 + 8 >> 2]) { - std____2__vector_int_2c_20std____2__allocator_int______append_28unsigned_20long_2c_20int_20const__29($0, HEAP32[$3 + 8 >> 2] - HEAP32[$3 >> 2] | 0, HEAP32[$3 + 4 >> 2]); - break label$1; - } - if (HEAPU32[$3 >> 2] > HEAPU32[$3 + 8 >> 2]) { - std____2__vector_int_2c_20std____2__allocator_int______destruct_at_end_5babi_v160004_5d_28int__29($0, HEAP32[$0 >> 2] + (HEAP32[$3 + 8 >> 2] << 2) | 0); - } - } - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__function_bool_2c_20unsigned_20int_2c_20b2Vec2_20const__2c_20emscripten__allow_raw_pointers__28char_20const__2c_20bool_20_28__29_28unsigned_20int_2c_20b2Vec2_20const__29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 411; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_bool_2c_20unsigned_20int_2c_20b2Vec2_20const____getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_bool_2c_20unsigned_20int_2c_20b2Vec2_20const____getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2__unique_ptr_std____2____tree_node_b2Fixture__2c_20void___2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______release_5babi_v160004_5d_28_29($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - wasm2js_i32$0 = $1, wasm2js_i32$1 = HEAP32[std____2____compressed_pair_std____2____tree_node_b2Fixture__2c_20void____2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______first_5babi_v160004_5d_28_29($0) >> 2], - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = std____2____compressed_pair_std____2____tree_node_b2Fixture__2c_20void____2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______first_5babi_v160004_5d_28_29($0), - wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function memchr($0, $1, $2) { - var $3 = 0, $4 = 0; - $3 = ($2 | 0) != 0; - label$1: { - label$2: { - label$3: { - if (!($0 & 3) | !$2) { - break label$3; - } - $4 = $1 & 255; - while (1) { - if (HEAPU8[$0 | 0] == ($4 | 0)) { - break label$2; - } - $2 = $2 - 1 | 0; - $3 = ($2 | 0) != 0; - $0 = $0 + 1 | 0; - if (!($0 & 3)) { - break label$3; - } - if ($2) { - continue; - } - break; - } - } - if (!$3) { - break label$1; - } - if (!(HEAPU8[$0 | 0] == ($1 & 255) | $2 >>> 0 < 4)) { - $4 = Math_imul($1 & 255, 16843009); - while (1) { - $3 = HEAP32[$0 >> 2] ^ $4; - if (($3 ^ -1) & $3 - 16843009 & -2139062144) { - break label$2; - } - $0 = $0 + 4 | 0; - $2 = $2 - 4 | 0; - if ($2 >>> 0 > 3) { - continue; - } - break; - } - } - if (!$2) { - break label$1; - } - } - $3 = $1 & 255; - while (1) { - if (HEAPU8[$0 | 0] == ($3 | 0)) { - return $0; - } - $0 = $0 + 1 | 0; - $2 = $2 - 1 | 0; - if ($2) { - continue; - } - break; - } - } - return 0; -} - -function b2World__RayCast_28b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const__29_20const($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 48 | 0; - __stack_pointer = $4; - HEAP32[$4 + 44 >> 2] = $0; - HEAP32[$4 + 40 >> 2] = $1; - HEAP32[$4 + 36 >> 2] = $2; - HEAP32[$4 + 32 >> 2] = $3; - $3 = HEAP32[$4 + 44 >> 2]; - HEAP32[$4 + 24 >> 2] = $3 + 102868; - HEAP32[$4 + 28 >> 2] = HEAP32[$4 + 40 >> 2]; - b2RayCastInput__b2RayCastInput_28_29($4 + 4 | 0); - HEAPF32[$4 + 20 >> 2] = 1; - $2 = HEAP32[$4 + 36 >> 2]; - $0 = HEAP32[$2 >> 2]; - $1 = HEAP32[$2 + 4 >> 2]; - $2 = $0; - $0 = $4 + 4 | 0; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $1; - $2 = HEAP32[$4 + 32 >> 2]; - $1 = HEAP32[$2 >> 2]; - $0 = HEAP32[$2 + 4 >> 2]; - $2 = $1; - $1 = $4 + 4 | 0; - HEAP32[$1 + 8 >> 2] = $2; - HEAP32[$1 + 12 >> 2] = $0; - void_20b2BroadPhase__RayCast_b2WorldRayCastWrapper__28b2WorldRayCastWrapper__2c_20b2RayCastInput_20const__29_20const($3 + 102868 | 0, $4 + 24 | 0, $4 + 4 | 0); - __stack_pointer = $4 + 48 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2Body____29_28b2Vec2_20const__2c_20float_29_2c_20void_2c_20b2Body__2c_20b2Vec2_20const__2c_20float___invoke_28void_20_28b2Body____20const__29_28b2Vec2_20const__2c_20float_29_2c_20b2Body__2c_20b2Vec2__2c_20float_29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = Math_fround($3); - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAPF32[$4 >> 2] = $3; - $2 = emscripten__internal__BindingType_b2Body__2c_20void___fromWireType_28b2Body__29(HEAP32[$4 + 8 >> 2]); - $0 = HEAP32[$4 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$4 + 4 >> 2]), emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$4 >> 2])); - __stack_pointer = $4 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2Body____29_28b2Vec2_20const__2c_20bool_29_2c_20void_2c_20b2Body__2c_20b2Vec2_20const__2c_20bool___invoke_28void_20_28b2Body____20const__29_28b2Vec2_20const__2c_20bool_29_2c_20b2Body__2c_20b2Vec2__2c_20bool_29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP8[$4 + 3 | 0] = $3 & 1; - $2 = emscripten__internal__BindingType_b2Body__2c_20void___fromWireType_28b2Body__29(HEAP32[$4 + 8 >> 2]); - $0 = HEAP32[$4 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$4 + 4 >> 2]), emscripten__internal__BindingType_bool_2c_20void___fromWireType_28bool_29(HEAP8[$4 + 3 | 0] & 1) & 1); - __stack_pointer = $4 + 16 | 0; -} - -function void_20emscripten__function_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 404; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20unsigned_20int___getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20unsigned_20int___getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__function_b2Vec2_20const__2c_20unsigned_20int_2c_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2Vec2_20const__20_28__29_28unsigned_20int_2c_20int_29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 420; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Vec2_20const__2c_20unsigned_20int_2c_20int___getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Vec2_20const__2c_20unsigned_20int_2c_20int___getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__function_b2AABB_20const__2c_20unsigned_20int_2c_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2AABB_20const__20_28__29_28unsigned_20int_2c_20int_29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 412; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2AABB_20const__2c_20unsigned_20int_2c_20int___getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2AABB_20const__2c_20unsigned_20int_2c_20int___getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__MethodInvoker_float_20_28b2WheelJoint____29_28_29_20const_2c_20float_2c_20b2WheelJoint_20const____invoke_28float_20_28b2WheelJoint____20const__29_28_29_20const_2c_20b2WheelJoint_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2WheelJoint_20const__2c_20void___fromWireType_28b2WheelJoint_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(FUNCTION_TABLE[$0 | 0]($1)), HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; - $4 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29($2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($4); -} - -function emscripten__internal__MethodInvoker_float_20_28b2MouseJoint____29_28_29_20const_2c_20float_2c_20b2MouseJoint_20const____invoke_28float_20_28b2MouseJoint____20const__29_28_29_20const_2c_20b2MouseJoint_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2MouseJoint_20const__2c_20void___fromWireType_28b2MouseJoint_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(FUNCTION_TABLE[$0 | 0]($1)), HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; - $4 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29($2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($4); -} - -function emscripten__internal__MethodInvoker_float_20_28b2MotorJoint____29_28_29_20const_2c_20float_2c_20b2MotorJoint_20const____invoke_28float_20_28b2MotorJoint____20const__29_28_29_20const_2c_20b2MotorJoint_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2MotorJoint_20const__2c_20void___fromWireType_28b2MotorJoint_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(FUNCTION_TABLE[$0 | 0]($1)), HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; - $4 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29($2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($4); -} - -function emscripten__internal__MethodInvoker_b2Vec2_20_28b2Body____29_28b2Vec2_20const__29_20const_2c_20b2Vec2_2c_20b2Body_20const__2c_20b2Vec2_20const____invoke_28b2Vec2_20_28b2Body____20const__29_28b2Vec2_20const__29_20const_2c_20b2Body_20const__2c_20b2Vec2__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $0; - HEAP32[$3 + 24 >> 2] = $1; - HEAP32[$3 + 20 >> 2] = $2; - $2 = emscripten__internal__BindingType_b2Body_20const__2c_20void___fromWireType_28b2Body_20const__29(HEAP32[$3 + 24 >> 2]); - $0 = HEAP32[$3 + 28 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($3 + 12 | 0, $2, emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$3 + 20 >> 2])); - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2___29($3 + 12 | 0); - __stack_pointer = $3 + 32 | 0; - return $0 | 0; -} - -function b2World___b2World_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 32 | 0; - __stack_pointer = $1; - HEAP32[$1 + 24 >> 2] = $0; - $0 = HEAP32[$1 + 24 >> 2]; - HEAP32[$1 + 28 >> 2] = $0; - HEAP32[$1 + 20 >> 2] = HEAP32[$0 + 102948 >> 2]; - while (1) { - if (HEAP32[$1 + 20 >> 2]) { - HEAP32[$1 + 16 >> 2] = HEAP32[HEAP32[$1 + 20 >> 2] + 96 >> 2]; - HEAP32[$1 + 12 >> 2] = HEAP32[HEAP32[$1 + 20 >> 2] + 100 >> 2]; - while (1) { - if (HEAP32[$1 + 12 >> 2]) { - HEAP32[$1 + 8 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] + 4 >> 2]; - HEAP32[HEAP32[$1 + 12 >> 2] + 28 >> 2] = 0; - b2Fixture__Destroy_28b2BlockAllocator__29(HEAP32[$1 + 12 >> 2], $0); - HEAP32[$1 + 12 >> 2] = HEAP32[$1 + 8 >> 2]; - continue; - } - break; - } - HEAP32[$1 + 20 >> 2] = HEAP32[$1 + 16 >> 2]; - continue; - } - break; - } - b2ContactManager___b2ContactManager_28_29($0 + 102868 | 0); - b2StackAllocator___b2StackAllocator_28_29($0 + 68 | 0); - b2BlockAllocator___b2BlockAllocator_28_29($0); - __stack_pointer = $1 + 32 | 0; - return HEAP32[$1 + 28 >> 2]; -} - -function emscripten__internal__Invoker_void_2c_20unsigned_20int_2c_20int_2c_20float_2c_20float___invoke_28void_20_28__29_28unsigned_20int_2c_20int_2c_20float_2c_20float_29_2c_20unsigned_20int_2c_20int_2c_20float_2c_20float_29($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = Math_fround($3); - $4 = Math_fround($4); - var $5 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAPF32[$5 + 16 >> 2] = $3; - HEAPF32[$5 + 12 >> 2] = $4; - $0 = HEAP32[$5 + 28 >> 2]; - FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$5 + 24 >> 2]), emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29(HEAP32[$5 + 20 >> 2]), emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$5 + 16 >> 2]), emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$5 + 12 >> 2])); - __stack_pointer = $5 + 32 | 0; -} - -function wcrtomb($0, $1, $2) { - var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = 1; - label$1: { - if ($0) { - if ($1 >>> 0 <= 127) { - break label$1; - } - label$3: { - if (!HEAP32[HEAP32[__get_tp() + 96 >> 2] >> 2]) { - if (($1 & -128) == 57216) { - break label$1; - } - break label$3; - } - if ($1 >>> 0 <= 2047) { - HEAP8[$0 + 1 | 0] = $1 & 63 | 128; - HEAP8[$0 | 0] = $1 >>> 6 | 192; - return 2; - } - if (!(($1 & -8192) != 57344 & $1 >>> 0 >= 55296)) { - HEAP8[$0 + 2 | 0] = $1 & 63 | 128; - HEAP8[$0 | 0] = $1 >>> 12 | 224; - HEAP8[$0 + 1 | 0] = $1 >>> 6 & 63 | 128; - return 3; - } - if ($1 - 65536 >>> 0 <= 1048575) { - HEAP8[$0 + 3 | 0] = $1 & 63 | 128; - HEAP8[$0 | 0] = $1 >>> 18 | 240; - HEAP8[$0 + 2 | 0] = $1 >>> 6 & 63 | 128; - HEAP8[$0 + 1 | 0] = $1 >>> 12 & 63 | 128; - return 4; - } - } - wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 25, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - $2 = -1; - } - return $2; - } - HEAP8[$0 | 0] = $1; - return 1; -} - -function emscripten__internal__MethodInvoker_float_20_28b2WeldJoint____29_28_29_20const_2c_20float_2c_20b2WeldJoint_20const____invoke_28float_20_28b2WeldJoint____20const__29_28_29_20const_2c_20b2WeldJoint_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2WeldJoint_20const__2c_20void___fromWireType_28b2WeldJoint_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(FUNCTION_TABLE[$0 | 0]($1)), HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; - $4 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29($2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($4); -} - -function emscripten__internal__MethodInvoker_float_20_28b2RopeJoint____29_28_29_20const_2c_20float_2c_20b2RopeJoint_20const____invoke_28float_20_28b2RopeJoint____20const__29_28_29_20const_2c_20b2RopeJoint_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2RopeJoint_20const__2c_20void___fromWireType_28b2RopeJoint_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(FUNCTION_TABLE[$0 | 0]($1)), HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; - $4 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29($2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($4); -} - -function emscripten__internal__MethodInvoker_b2Joint__20_28b2World____29_28b2JointDef_20const__29_2c_20b2Joint__2c_20b2World__2c_20b2JointDef_20const____invoke_28b2Joint__20_28b2World____20const__29_28b2JointDef_20const__29_2c_20b2World__2c_20b2JointDef_20const__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_b2World__2c_20void___fromWireType_28b2World__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__BindingType_b2Joint__2c_20void___toWireType_28b2Joint__29(FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_b2JointDef_20const__2c_20void___fromWireType_28b2JointDef_20const__29(HEAP32[$3 + 4 >> 2])) | 0); - __stack_pointer = $3 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__MethodInvoker_b2Vec2_20_28b2Joint____29_28float_29_20const_2c_20b2Vec2_2c_20b2Joint_20const__2c_20float___invoke_28b2Vec2_20_28b2Joint____20const__29_28float_29_20const_2c_20b2Joint_20const__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0, $4 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $0; - HEAP32[$3 + 24 >> 2] = $1; - HEAPF32[$3 + 20 >> 2] = $2; - $4 = emscripten__internal__BindingType_b2Joint_20const__2c_20void___fromWireType_28b2Joint_20const__29(HEAP32[$3 + 24 >> 2]); - $0 = HEAP32[$3 + 28 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $4 = ($1 >> 1) + $4 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$4 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($3 + 12 | 0, $4, emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 20 >> 2])); - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2___29($3 + 12 | 0); - __stack_pointer = $3 + 32 | 0; - return $0 | 0; -} - -function emscripten__internal__MethodInvoker_bool_20_28b2QueryCallback____29_28unsigned_20int_29_2c_20bool_2c_20b2QueryCallback__2c_20unsigned_20int___invoke_28bool_20_28b2QueryCallback____20const__29_28unsigned_20int_29_2c_20b2QueryCallback__2c_20unsigned_20int_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_b2QueryCallback__2c_20void___fromWireType_28b2QueryCallback__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__BindingType_bool_2c_20void___toWireType_28bool_29(FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$3 + 4 >> 2])) & 1); - __stack_pointer = $3 + 16 | 0; - return $0 & 1; -} - -function std____2__set_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____find_5babi_v160004_5d_28b2Fixture__20const__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 8 >> 2] = $0; - HEAP32[$2 + 4 >> 2] = $1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____find_b2Fixture___28b2Fixture__20const__29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 4 >> 2]), - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - std____2____tree_const_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long_____tree_const_iterator_5babi_v160004_5d_28std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__29($2 + 12 | 0, HEAP32[$2 >> 2]); - __stack_pointer = $2 + 16 | 0; - return HEAP32[$2 + 12 >> 2]; -} - -function emscripten__internal__MethodInvoker_void_20_28b2Body____29_28float_2c_20bool_29_2c_20void_2c_20b2Body__2c_20float_2c_20bool___invoke_28void_20_28b2Body____20const__29_28float_2c_20bool_29_2c_20b2Body__2c_20float_2c_20bool_29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAPF32[$4 + 4 >> 2] = $2; - HEAP8[$4 + 3 | 0] = $3 & 1; - $3 = emscripten__internal__BindingType_b2Body__2c_20void___fromWireType_28b2Body__29(HEAP32[$4 + 8 >> 2]); - $0 = HEAP32[$4 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $3 = ($1 >> 1) + $3 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$3 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($3, emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$4 + 4 >> 2]), emscripten__internal__BindingType_bool_2c_20void___fromWireType_28bool_29(HEAP8[$4 + 3 | 0] & 1) & 1); - __stack_pointer = $4 + 16 | 0; -} - -function std____2__reverse_iterator_b2Vec2___20std____2____rewrap_range_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____28std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = HEAP32[$2 + 24 >> 2]; - HEAP32[$2 + 12 >> 2] = HEAP32[$2 + 20 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__reverse_iterator_b2Vec2___20std____2____rewrap_iter_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2____unwrap_iter_impl_std____2__reverse_iterator_b2Vec2___2c_20false___28std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___29(HEAP32[$2 + 16 >> 2], HEAP32[$2 + 12 >> 2]), - HEAP32[wasm2js_i32$0 + 28 >> 2] = wasm2js_i32$1; - __stack_pointer = $2 + 32 | 0; - return HEAP32[$2 + 28 >> 2]; -} - -function emscripten__internal__MethodInvoker_b2Body__20_28b2World____29_28b2BodyDef_20const__29_2c_20b2Body__2c_20b2World__2c_20b2BodyDef_20const____invoke_28b2Body__20_28b2World____20const__29_28b2BodyDef_20const__29_2c_20b2World__2c_20b2BodyDef_20const__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_b2World__2c_20void___fromWireType_28b2World__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__BindingType_b2Body__2c_20void___toWireType_28b2Body__29(FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_b2BodyDef_20const__2c_20void___fromWireType_28b2BodyDef_20const__29(HEAP32[$3 + 4 >> 2])) | 0); - __stack_pointer = $3 + 16 | 0; - return $0 | 0; -} - -function std____2__pair_std____2____tree_const_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__2c_20bool___pair_5babi_v160004_5d_std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__2c_20bool_2c_20_28void__290__28std____2__pair_std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__2c_20bool____29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$2 + 4 >> 2] = HEAP32[HEAP32[$2 + 8 >> 2] >> 2]; - std____2____tree_const_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long_____tree_const_iterator_5babi_v160004_5d_28std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__29($0, HEAP32[$2 + 4 >> 2]); - HEAP8[$0 + 4 | 0] = HEAP8[HEAP32[$2 + 8 >> 2] + 4 | 0] & 1; - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function void_20emscripten__function_void_2c_20unsigned_20int_2c_20float_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20float_29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 399; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20float___getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20float___getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__function_b2Filter_20const__2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2Filter_20const__20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 410; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Filter_20const__2c_20unsigned_20int___getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Filter_20const__2c_20unsigned_20int___getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__function_float_2c_20unsigned_20int_2c_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20float_20_28__29_28unsigned_20int_2c_20int_29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 395; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_float_2c_20unsigned_20int_2c_20int___getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_float_2c_20unsigned_20int_2c_20int___getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__MethodInvoker_float_20_28b2Body____29_28_29_20const_2c_20float_2c_20b2Body_20const____invoke_28float_20_28b2Body____20const__29_28_29_20const_2c_20b2Body_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2Body_20const__2c_20void___fromWireType_28b2Body_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(FUNCTION_TABLE[$0 | 0]($1)), HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; - $4 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29($2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($4); -} - -function emscripten__internal__MethodInvoker_float_20_28b2AABB____29_28_29_20const_2c_20float_2c_20b2AABB_20const____invoke_28float_20_28b2AABB____20const__29_28_29_20const_2c_20b2AABB_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2AABB_20const__2c_20void___fromWireType_28b2AABB_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(FUNCTION_TABLE[$0 | 0]($1)), HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; - $4 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29($2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($4); -} - -function void_20emscripten__function_void_2c_20unsigned_20int_2c_20bool_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20bool_29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 397; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20bool___getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20bool___getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__MethodInvoker_bool_20_28b2AABB____29_28b2AABB_20const__29_20const_2c_20bool_2c_20b2AABB_20const__2c_20b2AABB_20const____invoke_28bool_20_28b2AABB____20const__29_28b2AABB_20const__29_20const_2c_20b2AABB_20const__2c_20b2AABB__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_b2AABB_20const__2c_20void___fromWireType_28b2AABB_20const__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__BindingType_bool_2c_20void___toWireType_28bool_29(FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__GenericBindingType_b2AABB___fromWireType_28b2AABB__29(HEAP32[$3 + 4 >> 2])) & 1); - __stack_pointer = $3 + 16 | 0; - return $0 & 1; -} - -function void_20emscripten__function_void_2c_20unsigned_20int_2c_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20int_29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 413; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20int___getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20int___getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__WireTypePack_unsigned_20int____WireTypePack_28unsigned_20int__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - $0 = HEAP32[$2 + 20 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__array_emscripten__internal__GenericWireType_2c_201ul___data_5babi_v160004_5d_28_29($0), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - $1 = HEAP32[$2 + 16 >> 2]; - HEAP32[$2 + 28 >> 2] = $2 + 12; - HEAP32[$2 + 24 >> 2] = $1; - void_20emscripten__internal__writeGenericWireType_unsigned_20int__28emscripten__internal__GenericWireType___2c_20unsigned_20int_29(HEAP32[$2 + 28 >> 2], emscripten__internal__BindingType_unsigned_20int_2c_20void___toWireType_28unsigned_20int_20const__29(HEAP32[$2 + 24 >> 2])); - emscripten__internal__writeGenericWireTypes_28emscripten__internal__GenericWireType___29(HEAP32[$2 + 28 >> 2]); - __stack_pointer = $2 + 32 | 0; - return $0; -} - -function emscripten__internal__Invoker_bool_2c_20unsigned_20int_2c_20b2Transform_20const__2c_20b2Vec2_20const____invoke_28bool_20_28__29_28unsigned_20int_2c_20b2Transform_20const__2c_20b2Vec2_20const__29_2c_20unsigned_20int_2c_20b2Transform__2c_20b2Vec2__29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - $0 = HEAP32[$4 + 12 >> 2]; - $0 = emscripten__internal__BindingType_bool_2c_20void___toWireType_28bool_29(FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$4 + 8 >> 2]), emscripten__internal__GenericBindingType_b2Transform___fromWireType_28b2Transform__29(HEAP32[$4 + 4 >> 2]), emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$4 >> 2])) & 1); - __stack_pointer = $4 + 16 | 0; - return $0 & 1; -} - -function void_20emscripten__function_b2Vec2_20const__2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20b2Vec2_20const__20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 416; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Vec2_20const__2c_20unsigned_20int___getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Vec2_20const__2c_20unsigned_20int___getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__MethodInvoker_unsigned_20int_20_28b2Draw____29_28_29_20const_2c_20unsigned_20int_2c_20b2Draw_20const____invoke_28unsigned_20int_20_28b2Draw____20const__29_28_29_20const_2c_20b2Draw_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2Draw_20const__2c_20void___fromWireType_28b2Draw_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - wasm2js_i32$0 = $2, wasm2js_i32$1 = FUNCTION_TABLE[$0 | 0]($1) | 0, HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - $0 = emscripten__internal__BindingType_unsigned_20int_2c_20void___toWireType_28unsigned_20int_20const__29($2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__WireTypePack_b2Transform_20const____WireTypePack_28b2Transform_20const__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - $0 = HEAP32[$2 + 20 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__array_emscripten__internal__GenericWireType_2c_201ul___data_5babi_v160004_5d_28_29($0), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - $1 = HEAP32[$2 + 16 >> 2]; - HEAP32[$2 + 28 >> 2] = $2 + 12; - HEAP32[$2 + 24 >> 2] = $1; - void_20emscripten__internal__writeGenericWireType_b2Transform__28emscripten__internal__GenericWireType___2c_20b2Transform__29(HEAP32[$2 + 28 >> 2], emscripten__internal__GenericBindingType_b2Transform___toWireType_28b2Transform_20const__29(HEAP32[$2 + 24 >> 2])); - emscripten__internal__writeGenericWireTypes_28emscripten__internal__GenericWireType___29(HEAP32[$2 + 28 >> 2]); - __stack_pointer = $2 + 32 | 0; - return $0; -} - -function void_20emscripten__function_unsigned_20int_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 403; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_unsigned_20int_2c_20unsigned_20int___getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_unsigned_20int_2c_20unsigned_20int___getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2__reverse_iterator_int___20std____2____rewrap_range_5babi_v160004_5d_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____28std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = HEAP32[$2 + 24 >> 2]; - HEAP32[$2 + 12 >> 2] = HEAP32[$2 + 20 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__reverse_iterator_int___20std____2____rewrap_iter_5babi_v160004_5d_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2____unwrap_iter_impl_std____2__reverse_iterator_int___2c_20false___28std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___29(HEAP32[$2 + 16 >> 2], HEAP32[$2 + 12 >> 2]), - HEAP32[wasm2js_i32$0 + 28 >> 2] = wasm2js_i32$1; - __stack_pointer = $2 + 32 | 0; - return HEAP32[$2 + 28 >> 2]; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____max_size_28_29_20const($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - wasm2js_i32$0 = $1, wasm2js_i32$1 = unsigned_20long_20std____2__allocator_traits_std____2__allocator_b2Vec2____max_size_5babi_v160004_5d_std____2__allocator_b2Vec2__2c_20void__28std____2__allocator_b2Vec2__20const__29(std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______alloc_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2])), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__numeric_limits_long___max_5babi_v160004_5d_28_29(), - HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - $0 = unsigned_20long_20const__20std____2__min_5babi_v160004_5d_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($1 + 8 | 0, $1 + 4 | 0); - __stack_pointer = $1 + 16 | 0; - return HEAP32[$0 >> 2]; -} - -function emscripten__internal__MethodInvoker_void_20_28b2ContactListenerWrapper____29_28unsigned_20int_29_2c_20void_2c_20b2ContactListenerWrapper__2c_20unsigned_20int___invoke_28void_20_28b2ContactListenerWrapper____20const__29_28unsigned_20int_29_2c_20b2ContactListenerWrapper__2c_20unsigned_20int_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_b2ContactListenerWrapper__2c_20void___fromWireType_28b2ContactListenerWrapper__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__Invoker_unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int___invoke_28unsigned_20int_20_28__29_28unsigned_20int_2c_20unsigned_20int_29_2c_20unsigned_20int_2c_20unsigned_20int_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - wasm2js_i32$0 = $3, wasm2js_i32$1 = FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$3 + 8 >> 2]), emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$3 + 4 >> 2])) | 0, - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - $0 = emscripten__internal__BindingType_unsigned_20int_2c_20void___toWireType_28unsigned_20int_20const__29($3); - __stack_pointer = $3 + 16 | 0; - return $0 | 0; -} - -function b2Mat22__GetInverse_28_29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $1; - $1 = HEAP32[$2 + 28 >> 2]; - HEAPF32[$2 + 24 >> 2] = HEAPF32[$1 >> 2]; - HEAPF32[$2 + 20 >> 2] = HEAPF32[$1 + 8 >> 2]; - HEAPF32[$2 + 16 >> 2] = HEAPF32[$1 + 4 >> 2]; - HEAPF32[$2 + 12 >> 2] = HEAPF32[$1 + 12 >> 2]; - b2Mat22__b2Mat22_28_29($0); - HEAPF32[$2 + 8 >> 2] = Math_fround(HEAPF32[$2 + 24 >> 2] * HEAPF32[$2 + 12 >> 2]) - Math_fround(HEAPF32[$2 + 20 >> 2] * HEAPF32[$2 + 16 >> 2]); - if (HEAPF32[$2 + 8 >> 2] != Math_fround(0)) { - HEAPF32[$2 + 8 >> 2] = Math_fround(1) / HEAPF32[$2 + 8 >> 2]; - } - HEAPF32[$0 >> 2] = HEAPF32[$2 + 8 >> 2] * HEAPF32[$2 + 12 >> 2]; - HEAPF32[$0 + 8 >> 2] = Math_fround(-HEAPF32[$2 + 8 >> 2]) * HEAPF32[$2 + 20 >> 2]; - HEAPF32[$0 + 4 >> 2] = Math_fround(-HEAPF32[$2 + 8 >> 2]) * HEAPF32[$2 + 16 >> 2]; - HEAPF32[$0 + 12 >> 2] = HEAPF32[$2 + 8 >> 2] * HEAPF32[$2 + 24 >> 2]; - __stack_pointer = $2 + 32 | 0; -} - -function b2ChainAndPolygonContact__b2ChainAndPolygonContact_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_29($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $5 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 24 >> 2] = $0; - HEAP32[$5 + 20 >> 2] = $1; - HEAP32[$5 + 16 >> 2] = $2; - HEAP32[$5 + 12 >> 2] = $3; - HEAP32[$5 + 8 >> 2] = $4; - $0 = HEAP32[$5 + 24 >> 2]; - HEAP32[$5 + 28 >> 2] = $0; - b2Contact__b2Contact_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_29($0, HEAP32[$5 + 20 >> 2], HEAP32[$5 + 16 >> 2], HEAP32[$5 + 12 >> 2], HEAP32[$5 + 8 >> 2]); - HEAP32[$0 >> 2] = 18688; - if ((b2Fixture__GetType_28_29_20const(HEAP32[$0 + 48 >> 2]) | 0) != 3) { - __assert_fail(7047, 4849, 46, 3248); - wasm2js_trap(); - } - if ((b2Fixture__GetType_28_29_20const(HEAP32[$0 + 52 >> 2]) | 0) != 2) { - __assert_fail(6930, 4849, 47, 3248); - wasm2js_trap(); - } - __stack_pointer = $5 + 32 | 0; - return HEAP32[$5 + 28 >> 2]; -} - -function std____2__reverse_iterator_b2Vec2___20std____2____rewrap_iter_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20std____2____unwrap_iter_impl_std____2__reverse_iterator_b2Vec2___2c_20false___28std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = HEAP32[$2 + 24 >> 2]; - HEAP32[$2 + 12 >> 2] = HEAP32[$2 + 20 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____unwrap_iter_impl_std____2__reverse_iterator_b2Vec2___2c_20false_____rewrap_5babi_v160004_5d_28std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___29(HEAP32[$2 + 16 >> 2], HEAP32[$2 + 12 >> 2]), - HEAP32[wasm2js_i32$0 + 28 >> 2] = wasm2js_i32$1; - __stack_pointer = $2 + 32 | 0; - return HEAP32[$2 + 28 >> 2]; -} - -function __cxxabiv1____pointer_type_info__can_catch_nested_28__cxxabiv1____shim_type_info_20const__29_20const($0, $1) { - var $2 = 0, $3 = 0; - label$1: { - while (1) { - if (!$1) { - return 0; - } - $1 = __dynamic_cast($1, 24196, 24340, 0); - if (!$1 | HEAP32[$1 + 8 >> 2] & (HEAP32[$0 + 8 >> 2] ^ -1)) { - break label$1; - } - if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29(HEAP32[$0 + 12 >> 2], HEAP32[$1 + 12 >> 2], 0)) { - return 1; - } - if (!(HEAP8[$0 + 8 | 0] & 1)) { - break label$1; - } - $2 = HEAP32[$0 + 12 >> 2]; - if (!$2) { - break label$1; - } - $0 = __dynamic_cast($2, 24196, 24340, 0); - if ($0) { - $1 = HEAP32[$1 + 12 >> 2]; - continue; - } - break; - } - $0 = __dynamic_cast($2, 24196, 24452, 0); - if (!$0) { - break label$1; - } - $3 = __cxxabiv1____pointer_to_member_type_info__can_catch_nested_28__cxxabiv1____shim_type_info_20const__29_20const($0, HEAP32[$1 + 12 >> 2]); - } - return $3; -} - -function std____2__vector_int_2c_20std____2__allocator_int____max_size_28_29_20const($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - wasm2js_i32$0 = $1, wasm2js_i32$1 = unsigned_20long_20std____2__allocator_traits_std____2__allocator_int____max_size_5babi_v160004_5d_std____2__allocator_int__2c_20void__28std____2__allocator_int__20const__29(std____2__vector_int_2c_20std____2__allocator_int______alloc_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2])), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__numeric_limits_long___max_5babi_v160004_5d_28_29(), - HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - $0 = unsigned_20long_20const__20std____2__min_5babi_v160004_5d_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($1 + 8 | 0, $1 + 4 | 0); - __stack_pointer = $1 + 16 | 0; - return HEAP32[$0 >> 2]; -} - -function emscripten__internal__WireTypePack_b2Vec2_20const____WireTypePack_28b2Vec2_20const__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - $0 = HEAP32[$2 + 20 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__array_emscripten__internal__GenericWireType_2c_201ul___data_5babi_v160004_5d_28_29($0), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - $1 = HEAP32[$2 + 16 >> 2]; - HEAP32[$2 + 28 >> 2] = $2 + 12; - HEAP32[$2 + 24 >> 2] = $1; - void_20emscripten__internal__writeGenericWireType_b2Vec2__28emscripten__internal__GenericWireType___2c_20b2Vec2__29(HEAP32[$2 + 28 >> 2], emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(HEAP32[$2 + 24 >> 2])); - emscripten__internal__writeGenericWireTypes_28emscripten__internal__GenericWireType___29(HEAP32[$2 + 28 >> 2]); - __stack_pointer = $2 + 32 | 0; - return $0; -} - -function b2CircleShape__ComputeMass_28b2MassData__2c_20float_29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0, $4 = 0, $5 = 0, $6 = Math_fround(0); - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $4 = HEAP32[$3 + 12 >> 2]; - HEAPF32[HEAP32[$3 + 8 >> 2] >> 2] = Math_fround(Math_fround(HEAPF32[$3 + 4 >> 2] * Math_fround(3.1415927410125732)) * HEAPF32[$4 + 8 >> 2]) * HEAPF32[$4 + 8 >> 2]; - $5 = HEAP32[$4 + 16 >> 2]; - $0 = HEAP32[$4 + 12 >> 2]; - $1 = $0; - $0 = HEAP32[$3 + 8 >> 2]; - HEAP32[$0 + 4 >> 2] = $1; - HEAP32[$0 + 8 >> 2] = $5; - $2 = HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]; - $6 = Math_fround(Math_fround(Math_fround(HEAPF32[$4 + 8 >> 2] * Math_fround(.5)) * HEAPF32[$4 + 8 >> 2]) + b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 12 | 0, $4 + 12 | 0)); - HEAPF32[HEAP32[$3 + 8 >> 2] + 12 >> 2] = $2 * $6; - __stack_pointer = $3 + 16 | 0; -} - -function b2ChainAndCircleContact__b2ChainAndCircleContact_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_29($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $5 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 24 >> 2] = $0; - HEAP32[$5 + 20 >> 2] = $1; - HEAP32[$5 + 16 >> 2] = $2; - HEAP32[$5 + 12 >> 2] = $3; - HEAP32[$5 + 8 >> 2] = $4; - $0 = HEAP32[$5 + 24 >> 2]; - HEAP32[$5 + 28 >> 2] = $0; - b2Contact__b2Contact_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_29($0, HEAP32[$5 + 20 >> 2], HEAP32[$5 + 16 >> 2], HEAP32[$5 + 12 >> 2], HEAP32[$5 + 8 >> 2]); - HEAP32[$0 >> 2] = 18628; - if ((b2Fixture__GetType_28_29_20const(HEAP32[$0 + 48 >> 2]) | 0) != 3) { - __assert_fail(7047, 5151, 46, 3353); - wasm2js_trap(); - } - if (b2Fixture__GetType_28_29_20const(HEAP32[$0 + 52 >> 2])) { - __assert_fail(9748, 5151, 47, 3353); - wasm2js_trap(); - } - __stack_pointer = $5 + 32 | 0; - return HEAP32[$5 + 28 >> 2]; -} - -function b2Body__ApplyForce_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool_29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0, $5 = Math_fround(0); - $4 = __stack_pointer - 32 | 0; - __stack_pointer = $4; - HEAP32[$4 + 28 >> 2] = $0; - HEAP32[$4 + 24 >> 2] = $1; - HEAP32[$4 + 20 >> 2] = $2; - HEAP8[$4 + 19 | 0] = $3; - $0 = HEAP32[$4 + 28 >> 2]; - label$1: { - if (HEAP32[$0 >> 2] != 2) { - break label$1; - } - if (!(!(HEAP8[$4 + 19 | 0] & 1) | HEAPU16[$0 + 4 >> 1] & 2)) { - b2Body__SetAwake_28bool_29($0, 1); - } - if (!(HEAPU16[$0 + 4 >> 1] & 2)) { - break label$1; - } - b2Vec2__operator___28b2Vec2_20const__29($0 + 76 | 0, HEAP32[$4 + 24 >> 2]); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 8 | 0, HEAP32[$4 + 20 >> 2], $0 + 44 | 0); - $5 = b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($4 + 8 | 0, HEAP32[$4 + 24 >> 2]); - HEAPF32[$0 + 84 >> 2] = HEAPF32[$0 + 84 >> 2] + $5; - } - __stack_pointer = $4 + 32 | 0; -} - -function b2BlockAllocator__Free_28void__2c_20int_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $0; - HEAP32[$3 + 24 >> 2] = $1; - HEAP32[$3 + 20 >> 2] = $2; - $0 = HEAP32[$3 + 28 >> 2]; - label$1: { - if (!HEAP32[$3 + 20 >> 2]) { - break label$1; - } - if (HEAP32[$3 + 20 >> 2] <= 0) { - __assert_fail(8759, 5506, 178, 10042); - wasm2js_trap(); - } - if (HEAP32[$3 + 20 >> 2] > 640) { - b2Free_28void__29(HEAP32[$3 + 24 >> 2]); - break label$1; - } - HEAP32[$3 + 16 >> 2] = HEAPU8[HEAP32[$3 + 20 >> 2] + 29428 | 0]; - if (!(HEAP32[$3 + 16 >> 2] < 14 & HEAP32[$3 + 16 >> 2] >= 0)) { - __assert_fail(2323, 5506, 187, 10042); - wasm2js_trap(); - } - HEAP32[$3 + 12 >> 2] = HEAP32[$3 + 24 >> 2]; - HEAP32[HEAP32[$3 + 12 >> 2] >> 2] = HEAP32[($0 + 12 | 0) + (HEAP32[$3 + 16 >> 2] << 2) >> 2]; - HEAP32[($0 + 12 | 0) + (HEAP32[$3 + 16 >> 2] << 2) >> 2] = HEAP32[$3 + 12 >> 2]; - } - __stack_pointer = $3 + 32 | 0; -} - -function b2WheelJoint__GetJointTranslation_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $1 = __stack_pointer - 48 | 0; - __stack_pointer = $1; - HEAP32[$1 + 44 >> 2] = $0; - $0 = HEAP32[$1 + 44 >> 2]; - HEAP32[$1 + 40 >> 2] = HEAP32[$0 + 48 >> 2]; - HEAP32[$1 + 36 >> 2] = HEAP32[$0 + 52 >> 2]; - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($1 + 28 | 0, HEAP32[$1 + 40 >> 2], $0 + 76 | 0); - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($1 + 20 | 0, HEAP32[$1 + 36 >> 2], $0 + 84 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 12 | 0, $1 + 20 | 0, $1 + 28 | 0); - b2Body__GetWorldVector_28b2Vec2_20const__29_20const($1 + 4 | 0, HEAP32[$1 + 40 >> 2], $0 + 92 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 12 | 0, $1 + 4 | 0), - HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; - __stack_pointer = $1 + 48 | 0; - return Math_fround(HEAPF32[$1 >> 2]); -} - -function std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char______compressed_pair_5babi_v160004_5d_std____2____default_init_tag_2c_20std____2____default_init_tag__28std____2____default_init_tag___2c_20std____2____default_init_tag___29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - std____2____compressed_pair_elem_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_200_2c_20false_____compressed_pair_elem_5babi_v160004_5d_28std____2____default_init_tag_29($0); - std____2____compressed_pair_elem_std____2__allocator_char__2c_201_2c_20true_____compressed_pair_elem_5babi_v160004_5d_28std____2____default_init_tag_29($0); - __stack_pointer = $3 + 16 | 0; - return $0; -} - -function void_20emscripten__function_float_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20float_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 400; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_float_2c_20unsigned_20int___getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_float_2c_20unsigned_20int___getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______destruct_at_end_5babi_v160004_5d_28b2Vec2__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______invalidate_iterators_past_5babi_v160004_5d_28b2Vec2__29($0, HEAP32[$2 + 8 >> 2]); - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____size_5babi_v160004_5d_28_29_20const($0), - HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______base_destruct_at_end_5babi_v160004_5d_28b2Vec2__29($0, HEAP32[$2 + 8 >> 2]); - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______annotate_shrink_5babi_v160004_5d_28unsigned_20long_29_20const($0, HEAP32[$2 + 4 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function b2CircleShape__ComputeAABB_28b2AABB__2c_20b2Transform_20const__2c_20int_29_20const($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 32 | 0; - __stack_pointer = $4; - HEAP32[$4 + 28 >> 2] = $0; - HEAP32[$4 + 24 >> 2] = $1; - HEAP32[$4 + 20 >> 2] = $2; - HEAP32[$4 + 16 >> 2] = $3; - $1 = HEAP32[$4 + 20 >> 2]; - $0 = HEAP32[$4 + 28 >> 2]; - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($4, HEAP32[$4 + 20 >> 2] + 8 | 0, $0 + 12 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($4 + 8 | 0, $1, $4); - b2Vec2__Set_28float_2c_20float_29(HEAP32[$4 + 24 >> 2], Math_fround(HEAPF32[$4 + 8 >> 2] - HEAPF32[$0 + 8 >> 2]), Math_fround(HEAPF32[$4 + 12 >> 2] - HEAPF32[$0 + 8 >> 2])); - b2Vec2__Set_28float_2c_20float_29(HEAP32[$4 + 24 >> 2] + 8 | 0, Math_fround(HEAPF32[$4 + 8 >> 2] + HEAPF32[$0 + 8 >> 2]), Math_fround(HEAPF32[$4 + 12 >> 2] + HEAPF32[$0 + 8 >> 2])); - __stack_pointer = $4 + 32 | 0; -} - -function void_20emscripten__function_void_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20void_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 401; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int___getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int___getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function b2EPCollider__ComputeEdgeSeparation_28_29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $1; - $1 = HEAP32[$2 + 28 >> 2]; - HEAP32[$0 >> 2] = 1; - HEAP32[$0 + 4 >> 2] = !(HEAP8[$1 + 248 | 0] & 1); - HEAPF32[$0 + 8 >> 2] = 34028234663852886e22; - HEAP32[$2 + 24 >> 2] = 0; - while (1) { - if (HEAP32[$2 + 24 >> 2] < HEAP32[$1 + 128 >> 2]) { - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 12 | 0, (HEAP32[$2 + 24 >> 2] << 3) + $1 | 0, $1 + 164 | 0); - wasm2js_i32$0 = $2, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 212 | 0, $2 + 12 | 0), - HEAPF32[wasm2js_i32$0 + 20 >> 2] = wasm2js_f32$0; - if (HEAPF32[$2 + 20 >> 2] < HEAPF32[$0 + 8 >> 2]) { - HEAPF32[$0 + 8 >> 2] = HEAPF32[$2 + 20 >> 2]; - } - HEAP32[$2 + 24 >> 2] = HEAP32[$2 + 24 >> 2] + 1; - continue; - } - break; - } - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__function_bool_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20bool_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 398; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_bool_2c_20unsigned_20int___getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_bool_2c_20unsigned_20int___getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function __cxxabiv1____class_type_info__process_static_type_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_29_20const($0, $1, $2, $3, $4) { - HEAP8[$1 + 53 | 0] = 1; - label$1: { - if (HEAP32[$1 + 4 >> 2] != ($3 | 0)) { - break label$1; - } - HEAP8[$1 + 52 | 0] = 1; - $3 = HEAP32[$1 + 16 >> 2]; - label$2: { - if (!$3) { - HEAP32[$1 + 36 >> 2] = 1; - HEAP32[$1 + 24 >> 2] = $4; - HEAP32[$1 + 16 >> 2] = $2; - if (($4 | 0) != 1) { - break label$1; - } - if (HEAP32[$1 + 48 >> 2] == 1) { - break label$2; - } - break label$1; - } - if (($2 | 0) == ($3 | 0)) { - $3 = HEAP32[$1 + 24 >> 2]; - if (($3 | 0) == 2) { - HEAP32[$1 + 24 >> 2] = $4; - $3 = $4; - } - if (HEAP32[$1 + 48 >> 2] != 1) { - break label$1; - } - if (($3 | 0) == 1) { - break label$2; - } - break label$1; - } - HEAP32[$1 + 36 >> 2] = HEAP32[$1 + 36 >> 2] + 1; - } - HEAP8[$1 + 54 | 0] = 1; - } -} - -function void_20emscripten__function_int_2c_20unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20int_20_28__29_28unsigned_20int_29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 407; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_int_2c_20unsigned_20int___getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_int_2c_20unsigned_20int___getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__WireTypePack_int_20const____WireTypePack_28int_20const__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - $0 = HEAP32[$2 + 20 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__array_emscripten__internal__GenericWireType_2c_201ul___data_5babi_v160004_5d_28_29($0), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - $1 = HEAP32[$2 + 16 >> 2]; - HEAP32[$2 + 28 >> 2] = $2 + 12; - HEAP32[$2 + 24 >> 2] = $1; - void_20emscripten__internal__writeGenericWireType_int__28emscripten__internal__GenericWireType___2c_20int_29(HEAP32[$2 + 28 >> 2], emscripten__internal__BindingType_int_2c_20void___toWireType_28int_20const__29(HEAP32[$2 + 24 >> 2])); - emscripten__internal__writeGenericWireTypes_28emscripten__internal__GenericWireType___29(HEAP32[$2 + 28 >> 2]); - __stack_pointer = $2 + 32 | 0; - return $0; -} - -function b2EdgeShape__operator__28b2EdgeShape_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0, $5 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - $5 = HEAP32[$3 + 12 >> 2]; - b2Shape__operator__28b2Shape_20const__29($5, HEAP32[$3 + 8 >> 2]); - $2 = HEAP32[$3 + 8 >> 2]; - $0 = HEAP32[$2 + 12 >> 2]; - $1 = HEAP32[$2 + 16 >> 2]; - $4 = $0; - $0 = $5; - HEAP32[$0 + 12 >> 2] = $4; - HEAP32[$0 + 16 >> 2] = $1; - HEAP16[$0 + 44 >> 1] = HEAPU16[$2 + 44 >> 1]; - $0 = HEAP32[$2 + 40 >> 2]; - $1 = HEAP32[$2 + 36 >> 2]; - $4 = $1; - $1 = $5; - HEAP32[$1 + 36 >> 2] = $4; - HEAP32[$1 + 40 >> 2] = $0; - $1 = HEAP32[$2 + 32 >> 2]; - $0 = HEAP32[$2 + 28 >> 2]; - $4 = $0; - $0 = $5; - HEAP32[$0 + 28 >> 2] = $4; - HEAP32[$0 + 32 >> 2] = $1; - $0 = HEAP32[$2 + 24 >> 2]; - $1 = HEAP32[$2 + 20 >> 2]; - $4 = $1; - $1 = $5; - HEAP32[$1 + 20 >> 2] = $4; - HEAP32[$1 + 24 >> 2] = $0; - __stack_pointer = $3 + 16 | 0; - return $1; -} - -function std____2__set_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____insert_5babi_v160004_5d_28b2Fixture__20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______insert_unique_5babi_v160004_5d_28b2Fixture__20const__29($3, HEAP32[$3 + 12 >> 2], HEAP32[$3 + 8 >> 2]); - std____2__pair_std____2____tree_const_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__2c_20bool___pair_5babi_v160004_5d_std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__2c_20bool_2c_20_28void__290__28std____2__pair_std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__2c_20bool____29($0, $3); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2ContactListener____29_28unsigned_20int_29_2c_20void_2c_20b2ContactListener__2c_20unsigned_20int___invoke_28void_20_28b2ContactListener____20const__29_28unsigned_20int_29_2c_20b2ContactListener__2c_20unsigned_20int_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_b2ContactListener__2c_20void___fromWireType_28b2ContactListener__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__Invoker_float_2c_20unsigned_20int_2c_20int___invoke_28float_20_28__29_28unsigned_20int_2c_20int_29_2c_20unsigned_20int_2c_20int_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, $4 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - wasm2js_i32$0 = $3, wasm2js_f32$0 = Math_fround(FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$3 + 8 >> 2]), emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29(HEAP32[$3 + 4 >> 2]))), - HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; - $4 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29($3); - __stack_pointer = $3 + 16 | 0; - return Math_fround($4); -} - -function std____2__reverse_iterator_int___20std____2____rewrap_iter_5babi_v160004_5d_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20std____2____unwrap_iter_impl_std____2__reverse_iterator_int___2c_20false___28std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 16 >> 2] = HEAP32[$2 + 24 >> 2]; - HEAP32[$2 + 12 >> 2] = HEAP32[$2 + 20 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____unwrap_iter_impl_std____2__reverse_iterator_int___2c_20false_____rewrap_5babi_v160004_5d_28std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___29(HEAP32[$2 + 16 >> 2], HEAP32[$2 + 12 >> 2]), - HEAP32[wasm2js_i32$0 + 28 >> 2] = wasm2js_i32$1; - __stack_pointer = $2 + 32 | 0; - return HEAP32[$2 + 28 >> 2]; -} - -function b2StackAllocator__Free_28void__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (HEAP32[$0 + 102796 >> 2] <= 0) { - __assert_fail(12445, 5575, 67, 10042); - wasm2js_trap(); - } - HEAP32[$2 + 4 >> 2] = (Math_imul(HEAP32[$0 + 102796 >> 2], 12) + $0 | 0) + 102400; - if (HEAP32[$2 + 8 >> 2] != HEAP32[HEAP32[$2 + 4 >> 2] >> 2]) { - __assert_fail(10621, 5575, 69, 10042); - wasm2js_trap(); - } - label$3: { - if (HEAP8[HEAP32[$2 + 4 >> 2] + 8 | 0] & 1) { - b2Free_28void__29(HEAP32[$2 + 8 >> 2]); - break label$3; - } - HEAP32[$0 + 102400 >> 2] = HEAP32[$0 + 102400 >> 2] - HEAP32[HEAP32[$2 + 4 >> 2] + 4 >> 2]; - } - HEAP32[$0 + 102404 >> 2] = HEAP32[$0 + 102404 >> 2] - HEAP32[HEAP32[$2 + 4 >> 2] + 4 >> 2]; - HEAP32[$0 + 102796 >> 2] = HEAP32[$0 + 102796 >> 2] - 1; - HEAP32[$2 + 8 >> 2] = 0; - __stack_pointer = $2 + 16 | 0; -} - -function float_20emscripten__val__call_float_2c_20unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float___28char_20const__2c_20unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float__29_20const($0, $1, $2, $3, $4, $5) { - var $6 = 0, $7 = Math_fround(0); - $6 = __stack_pointer - 32 | 0; - __stack_pointer = $6; - HEAP32[$6 + 28 >> 2] = $0; - HEAP32[$6 + 24 >> 2] = $1; - HEAP32[$6 + 20 >> 2] = $2; - HEAP32[$6 + 16 >> 2] = $3; - HEAP32[$6 + 12 >> 2] = $4; - HEAP32[$6 + 8 >> 2] = $5; - $7 = emscripten__internal__MethodCaller_float_2c_20unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float____call_28emscripten___EM_VAL__2c_20char_20const__2c_20unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float__29(HEAP32[HEAP32[$6 + 28 >> 2] >> 2], HEAP32[$6 + 24 >> 2], HEAP32[$6 + 20 >> 2], HEAP32[$6 + 16 >> 2], HEAP32[$6 + 12 >> 2], HEAP32[$6 + 8 >> 2]); - __stack_pointer = $6 + 32 | 0; - return $7; -} - -function void_20emscripten__internal__RegisterClassConstructor_b2PrismaticJointDef__20_28__29_28_29___invoke_b2PrismaticJointDef__28b2PrismaticJointDef__20_28__29_28_29_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 >> 2] = 593; - $0 = emscripten__internal__TypeID_b2PrismaticJointDef_2c_20void___get_28_29(); - $2 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2PrismaticJointDef____getCount_28_29_20const($1 + 7 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2PrismaticJointDef____getTypes_28_29_20const($1 + 7 | 0); - HEAP32[$1 + 12 >> 2] = HEAP32[$1 >> 2]; - _embind_register_class_constructor($0 | 0, $2 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29() | 0, HEAP32[$1 >> 2], HEAP32[$1 + 8 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function b2Sweep__Advance_28float_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAPF32[$2 + 24 >> 2] = $1; - $0 = HEAP32[$2 + 28 >> 2]; - if (!(HEAPF32[$0 + 32 >> 2] < Math_fround(1))) { - __assert_fail(8238, 7466, 696, 10192); - wasm2js_trap(); - } - HEAPF32[$2 + 20 >> 2] = Math_fround(HEAPF32[$2 + 24 >> 2] - HEAPF32[$0 + 32 >> 2]) / Math_fround(Math_fround(1) - HEAPF32[$0 + 32 >> 2]); - $1 = HEAPF32[$2 + 20 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 4 | 0, $0 + 16 | 0, $0 + 8 | 0); - operator__28float_2c_20b2Vec2_20const__29($2 + 12 | 0, $1, $2 + 4 | 0); - b2Vec2__operator___28b2Vec2_20const__29($0 + 8 | 0, $2 + 12 | 0); - HEAPF32[$0 + 24 >> 2] = Math_fround(HEAPF32[$2 + 20 >> 2] * Math_fround(HEAPF32[$0 + 28 >> 2] - HEAPF32[$0 + 24 >> 2])) + HEAPF32[$0 + 24 >> 2]; - HEAPF32[$0 + 32 >> 2] = HEAPF32[$2 + 24 >> 2]; - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassConstructor_b2RevoluteJointDef__20_28__29_28_29___invoke_b2RevoluteJointDef__28b2RevoluteJointDef__20_28__29_28_29_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 >> 2] = 606; - $0 = emscripten__internal__TypeID_b2RevoluteJointDef_2c_20void___get_28_29(); - $2 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2RevoluteJointDef____getCount_28_29_20const($1 + 7 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2RevoluteJointDef____getTypes_28_29_20const($1 + 7 | 0); - HEAP32[$1 + 12 >> 2] = HEAP32[$1 >> 2]; - _embind_register_class_constructor($0 | 0, $2 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29() | 0, HEAP32[$1 >> 2], HEAP32[$1 + 8 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function void_20emscripten__internal__RegisterClassConstructor_b2DistanceJointDef__20_28__29_28_29___invoke_b2DistanceJointDef__28b2DistanceJointDef__20_28__29_28_29_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 >> 2] = 564; - $0 = emscripten__internal__TypeID_b2DistanceJointDef_2c_20void___get_28_29(); - $2 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2DistanceJointDef____getCount_28_29_20const($1 + 7 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2DistanceJointDef____getTypes_28_29_20const($1 + 7 | 0); - HEAP32[$1 + 12 >> 2] = HEAP32[$1 >> 2]; - _embind_register_class_constructor($0 | 0, $2 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29() | 0, HEAP32[$1 >> 2], HEAP32[$1 + 8 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function emscripten__internal__Invoker_unsigned_20int_2c_20unsigned_20int_2c_20int___invoke_28unsigned_20int_20_28__29_28unsigned_20int_2c_20int_29_2c_20unsigned_20int_2c_20int_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - wasm2js_i32$0 = $3, wasm2js_i32$1 = FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$3 + 8 >> 2]), emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29(HEAP32[$3 + 4 >> 2])) | 0, - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - $0 = emscripten__internal__BindingType_unsigned_20int_2c_20void___toWireType_28unsigned_20int_20const__29($3); - __stack_pointer = $3 + 16 | 0; - return $0 | 0; -} - -function float_20emscripten__wrapper_b2RayCastCallback___call_float_2c_20unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float___28char_20const__2c_20unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float__29_20const($0, $1, $2, $3, $4, $5) { - var $6 = 0, $7 = Math_fround(0); - $6 = __stack_pointer - 32 | 0; - __stack_pointer = $6; - HEAP32[$6 + 28 >> 2] = $0; - HEAP32[$6 + 24 >> 2] = $1; - HEAP32[$6 + 20 >> 2] = $2; - HEAP32[$6 + 16 >> 2] = $3; - HEAP32[$6 + 12 >> 2] = $4; - HEAP32[$6 + 8 >> 2] = $5; - $7 = float_20emscripten__val__call_float_2c_20unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float___28char_20const__2c_20unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float__29_20const(HEAP32[$6 + 28 >> 2] + 8 | 0, HEAP32[$6 + 24 >> 2], HEAP32[$6 + 20 >> 2], HEAP32[$6 + 16 >> 2], HEAP32[$6 + 12 >> 2], HEAP32[$6 + 8 >> 2]); - __stack_pointer = $6 + 32 | 0; - return $7; -} - -function std____2__vector_int_2c_20std____2__allocator_int______destruct_at_end_5babi_v160004_5d_28int__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - std____2__vector_int_2c_20std____2__allocator_int______invalidate_iterators_past_5babi_v160004_5d_28int__29($0, HEAP32[$2 + 8 >> 2]); - wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__vector_int_2c_20std____2__allocator_int____size_5babi_v160004_5d_28_29_20const($0), - HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - std____2__vector_int_2c_20std____2__allocator_int______base_destruct_at_end_5babi_v160004_5d_28int__29($0, HEAP32[$2 + 8 >> 2]); - std____2__vector_int_2c_20std____2__allocator_int______annotate_shrink_5babi_v160004_5d_28unsigned_20long_29_20const($0, HEAP32[$2 + 4 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function __cxxabiv1____class_type_info__can_catch_28__cxxabiv1____shim_type_info_20const__2c_20void___29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, $4 = 0; - $3 = __stack_pointer + -64 | 0; - __stack_pointer = $3; - $4 = 1; - label$1: { - if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, $1, 0)) { - break label$1; - } - $4 = 0; - if (!$1) { - break label$1; - } - $1 = __dynamic_cast($1, 24196, 24244, 0); - $4 = 0; - if (!$1) { - break label$1; - } - __memset($3 + 12 | 0, 0, 52); - HEAP32[$3 + 56 >> 2] = 1; - HEAP32[$3 + 20 >> 2] = -1; - HEAP32[$3 + 16 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 28 >> 2]]($1, $3 + 8 | 0, HEAP32[$2 >> 2], 1); - $4 = HEAP32[$3 + 32 >> 2]; - if (($4 | 0) == 1) { - HEAP32[$2 >> 2] = HEAP32[$3 + 24 >> 2]; - } - $4 = ($4 | 0) == 1; - } - __stack_pointer = $3 - -64 | 0; - return $4 | 0; -} - -function void_20emscripten__function_void_2c_20unsigned_20int_2c_20unsigned_20int__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20unsigned_20int_29_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 404; - $0 = HEAP32[$2 + 24 >> 2]; - $1 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int_2c_20unsigned_20int___getCount_28_29_20const($2 + 19 | 0); - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int_2c_20unsigned_20int___getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], HEAP32[$2 + 20 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassConstructor_b2World__20_28__29_28b2Vec2___29___invoke_b2World__28b2World__20_28__29_28b2Vec2___29_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 >> 2] = 517; - $0 = emscripten__internal__TypeID_b2World_2c_20void___get_28_29(); - $2 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2World__2c_20b2Vec2_____getCount_28_29_20const($1 + 7 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2World__2c_20b2Vec2_____getTypes_28_29_20const($1 + 7 | 0); - HEAP32[$1 + 12 >> 2] = HEAP32[$1 >> 2]; - _embind_register_class_constructor($0 | 0, $2 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$1 >> 2], HEAP32[$1 + 8 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____clear_5babi_v160004_5d_28_29($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____size_5babi_v160004_5d_28_29_20const($0), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______clear_5babi_v160004_5d_28_29($0); - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______annotate_shrink_5babi_v160004_5d_28unsigned_20long_29_20const($0, HEAP32[$1 + 8 >> 2]); - void_20std____2____debug_db_invalidate_all_5babi_v160004_5d_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____29($0); - __stack_pointer = $1 + 16 | 0; -} - -function void_20emscripten__function_unsigned_20int_2c_20emscripten__allow_raw_pointers__28char_20const__2c_20unsigned_20int_20_28__29_28_29_2c_20emscripten__allow_raw_pointers_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = 406; - $0 = HEAP32[$2 + 20 >> 2]; - $1 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_unsigned_20int___getCount_28_29_20const($2 + 15 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_unsigned_20int___getTypes_28_29_20const($2 + 15 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 16 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__function_unsigned_20int_2c_20unsigned_20int_2c_20int__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_2c_20int_29_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 405; - $0 = HEAP32[$2 + 24 >> 2]; - $1 = emscripten__internal__WithPolicies____ArgTypeList_unsigned_20int_2c_20unsigned_20int_2c_20int___getCount_28_29_20const($2 + 19 | 0); - $3 = emscripten__internal__WithPolicies____ArgTypeList_unsigned_20int_2c_20unsigned_20int_2c_20int___getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], HEAP32[$2 + 20 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function void_20emscripten__internal__RegisterClassConstructor_b2WheelJointDef__20_28__29_28_29___invoke_b2WheelJointDef__28b2WheelJointDef__20_28__29_28_29_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 >> 2] = 639; - $0 = emscripten__internal__TypeID_b2WheelJointDef_2c_20void___get_28_29(); - $2 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2WheelJointDef____getCount_28_29_20const($1 + 7 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2WheelJointDef____getTypes_28_29_20const($1 + 7 | 0); - HEAP32[$1 + 12 >> 2] = HEAP32[$1 >> 2]; - _embind_register_class_constructor($0 | 0, $2 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29() | 0, HEAP32[$1 >> 2], HEAP32[$1 + 8 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function void_20emscripten__internal__RegisterClassConstructor_b2MouseJointDef__20_28__29_28_29___invoke_b2MouseJointDef__28b2MouseJointDef__20_28__29_28_29_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 >> 2] = 583; - $0 = emscripten__internal__TypeID_b2MouseJointDef_2c_20void___get_28_29(); - $2 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2MouseJointDef____getCount_28_29_20const($1 + 7 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2MouseJointDef____getTypes_28_29_20const($1 + 7 | 0); - HEAP32[$1 + 12 >> 2] = HEAP32[$1 >> 2]; - _embind_register_class_constructor($0 | 0, $2 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29() | 0, HEAP32[$1 >> 2], HEAP32[$1 + 8 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function void_20emscripten__internal__RegisterClassConstructor_b2MotorJointDef__20_28__29_28_29___invoke_b2MotorJointDef__28b2MotorJointDef__20_28__29_28_29_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 >> 2] = 573; - $0 = emscripten__internal__TypeID_b2MotorJointDef_2c_20void___get_28_29(); - $2 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2MotorJointDef____getCount_28_29_20const($1 + 7 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2MotorJointDef____getTypes_28_29_20const($1 + 7 | 0); - HEAP32[$1 + 12 >> 2] = HEAP32[$1 >> 2]; - _embind_register_class_constructor($0 | 0, $2 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29() | 0, HEAP32[$1 >> 2], HEAP32[$1 + 8 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2World____29_28b2ContactListener__29_2c_20void_2c_20b2World__2c_20b2ContactListener____invoke_28void_20_28b2World____20const__29_28b2ContactListener__29_2c_20b2World__2c_20b2ContactListener__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_b2World__2c_20void___fromWireType_28b2World__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_b2ContactListener__2c_20void___fromWireType_28b2ContactListener__29(HEAP32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2Body____29_28b2MassData__29_20const_2c_20void_2c_20b2Body_20const__2c_20b2MassData____invoke_28void_20_28b2Body____20const__29_28b2MassData__29_20const_2c_20b2Body_20const__2c_20b2MassData__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_b2Body_20const__2c_20void___fromWireType_28b2Body_20const__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_b2MassData__2c_20void___fromWireType_28b2MassData__29(HEAP32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_b2Vec2_20const__20_28b2PrismaticJoint____29_28_29_20const_2c_20b2Vec2_20const__2c_20b2PrismaticJoint_20const____invoke_28b2Vec2_20const__20_28b2PrismaticJoint____20const__29_28_29_20const_2c_20b2PrismaticJoint_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2PrismaticJoint_20const__2c_20void___fromWireType_28b2PrismaticJoint_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(FUNCTION_TABLE[$0 | 0]($1) | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______base_destruct_at_end_5babi_v160004_5d_28b2Vec2__29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$2 + 4 >> 2] = HEAP32[$0 + 4 >> 2]; - while (1) { - if (HEAP32[$2 + 8 >> 2] != HEAP32[$2 + 4 >> 2]) { - $3 = std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______alloc_5babi_v160004_5d_28_29($0); - $1 = HEAP32[$2 + 4 >> 2] - 8 | 0; - HEAP32[$2 + 4 >> 2] = $1; - void_20std____2__allocator_traits_std____2__allocator_b2Vec2____destroy_5babi_v160004_5d_b2Vec2_2c_20void__28std____2__allocator_b2Vec2___2c_20b2Vec2__29($3, b2Vec2__20std____2____to_address_5babi_v160004_5d_b2Vec2__28b2Vec2__29($1)); - continue; - } - break; - } - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 8 >> 2]; - __stack_pointer = $2 + 16 | 0; -} - -function void_20emscripten__internal__RegisterClassConstructor_b2WeldJointDef__20_28__29_28_29___invoke_b2WeldJointDef__28b2WeldJointDef__20_28__29_28_29_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 >> 2] = 630; - $0 = emscripten__internal__TypeID_b2WeldJointDef_2c_20void___get_28_29(); - $2 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2WeldJointDef____getCount_28_29_20const($1 + 7 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2WeldJointDef____getTypes_28_29_20const($1 + 7 | 0); - HEAP32[$1 + 12 >> 2] = HEAP32[$1 >> 2]; - _embind_register_class_constructor($0 | 0, $2 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29() | 0, HEAP32[$1 >> 2], HEAP32[$1 + 8 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function void_20emscripten__internal__RegisterClassConstructor_b2RopeJointDef__20_28__29_28_29___invoke_b2RopeJointDef__28b2RopeJointDef__20_28__29_28_29_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 >> 2] = 619; - $0 = emscripten__internal__TypeID_b2RopeJointDef_2c_20void___get_28_29(); - $2 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2RopeJointDef____getCount_28_29_20const($1 + 7 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2RopeJointDef____getTypes_28_29_20const($1 + 7 | 0); - HEAP32[$1 + 12 >> 2] = HEAP32[$1 >> 2]; - _embind_register_class_constructor($0 | 0, $2 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29() | 0, HEAP32[$1 >> 2], HEAP32[$1 + 8 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2PrismaticJoint____29_28float_29_2c_20void_2c_20b2PrismaticJoint__2c_20float___invoke_28void_20_28b2PrismaticJoint____20const__29_28float_29_2c_20b2PrismaticJoint__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0, $4 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $4 = emscripten__internal__BindingType_b2PrismaticJoint__2c_20void___fromWireType_28b2PrismaticJoint__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $4 = ($1 >> 1) + $4 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$4 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($4, emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__MethodCaller_void_2c_20b2Transform_20const____call_28emscripten___EM_VAL__2c_20char_20const__2c_20b2Transform_20const__29($0, $1, $2) { - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $0; - HEAP32[$3 + 24 >> 2] = $1; - HEAP32[$3 + 20 >> 2] = $2; - wasm2js_i32$0 = $3, wasm2js_i32$1 = emscripten__internal__Signature_void_2c_20b2Transform_20const____get_method_caller_28_29(), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - emscripten__internal__WireTypePack_b2Transform_20const____WireTypePack_28b2Transform_20const__29($3 + 8 | 0, HEAP32[$3 + 20 >> 2]); - _emval_call_void_method(HEAP32[$3 + 16 >> 2], HEAP32[$3 + 28 >> 2], HEAP32[$3 + 24 >> 2], emscripten__internal__WireTypePack_b2Transform_20const____operator_20void_20const__28_29_20const($3 + 8 | 0) | 0); - __stack_pointer = $3 + 32 | 0; -} - -function emscripten__internal__MethodInvoker_b2Vec2_20const__20_28b2RevoluteJoint____29_28_29_20const_2c_20b2Vec2_20const__2c_20b2RevoluteJoint_20const____invoke_28b2Vec2_20const__20_28b2RevoluteJoint____20const__29_28_29_20const_2c_20b2RevoluteJoint_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2RevoluteJoint_20const__2c_20void___fromWireType_28b2RevoluteJoint_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(FUNCTION_TABLE[$0 | 0]($1) | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__MethodInvoker_b2Vec2_20const__20_28b2DistanceJoint____29_28_29_20const_2c_20b2Vec2_20const__2c_20b2DistanceJoint_20const____invoke_28b2Vec2_20const__20_28b2DistanceJoint____20const__29_28_29_20const_2c_20b2DistanceJoint_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2DistanceJoint_20const__2c_20void___fromWireType_28b2DistanceJoint_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(FUNCTION_TABLE[$0 | 0]($1) | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function void_20emscripten__val__call_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const___28char_20const__2c_20b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const__29_20const($0, $1, $2, $3, $4, $5) { - var $6 = 0; - $6 = __stack_pointer - 32 | 0; - __stack_pointer = $6; - HEAP32[$6 + 28 >> 2] = $0; - HEAP32[$6 + 24 >> 2] = $1; - HEAP32[$6 + 20 >> 2] = $2; - HEAP32[$6 + 16 >> 2] = $3; - HEAP32[$6 + 12 >> 2] = $4; - HEAP32[$6 + 8 >> 2] = $5; - emscripten__internal__MethodCaller_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const____call_28emscripten___EM_VAL__2c_20char_20const__2c_20b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const__29(HEAP32[HEAP32[$6 + 28 >> 2] >> 2], HEAP32[$6 + 24 >> 2], HEAP32[$6 + 20 >> 2], HEAP32[$6 + 16 >> 2], HEAP32[$6 + 12 >> 2], HEAP32[$6 + 8 >> 2]); - __stack_pointer = $6 + 32 | 0; -} - -function b2GrowableStack_int_2c_20256___Push_28int_20const__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (HEAP32[$0 + 1028 >> 2] == HEAP32[$0 + 1032 >> 2]) { - HEAP32[$2 + 4 >> 2] = HEAP32[$0 >> 2]; - HEAP32[$0 + 1032 >> 2] = HEAP32[$0 + 1032 >> 2] << 1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2Alloc_28int_29(HEAP32[$0 + 1032 >> 2] << 2), - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - __memcpy(HEAP32[$0 >> 2], HEAP32[$2 + 4 >> 2], HEAP32[$0 + 1028 >> 2] << 2); - if (HEAP32[$2 + 4 >> 2] != ($0 + 4 | 0)) { - b2Free_28void__29(HEAP32[$2 + 4 >> 2]); - } - } - HEAP32[HEAP32[$0 >> 2] + (HEAP32[$0 + 1028 >> 2] << 2) >> 2] = HEAP32[HEAP32[$2 + 8 >> 2] >> 2]; - HEAP32[$0 + 1028 >> 2] = HEAP32[$0 + 1028 >> 2] + 1; - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__FunctionInvoker_void_20_28__29_28b2AABB__2c_20b2AABB__2c_20b2AABB__29_2c_20void_2c_20b2AABB__2c_20b2AABB__2c_20b2AABB____invoke_28void_20_28___29_28b2AABB__2c_20b2AABB__2c_20b2AABB__29_2c_20b2AABB__2c_20b2AABB__2c_20b2AABB__29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - $0 = HEAP32[HEAP32[$4 + 12 >> 2] >> 2]; - FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_b2AABB__2c_20void___fromWireType_28b2AABB__29(HEAP32[$4 + 8 >> 2]), emscripten__internal__BindingType_b2AABB__2c_20void___fromWireType_28b2AABB__29(HEAP32[$4 + 4 >> 2]), emscripten__internal__BindingType_b2AABB__2c_20void___fromWireType_28b2AABB__29(HEAP32[$4 >> 2])); - __stack_pointer = $4 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2RevoluteJoint____29_28float_29_2c_20void_2c_20b2RevoluteJoint__2c_20float___invoke_28void_20_28b2RevoluteJoint____20const__29_28float_29_2c_20b2RevoluteJoint__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0, $4 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $4 = emscripten__internal__BindingType_b2RevoluteJoint__2c_20void___fromWireType_28b2RevoluteJoint__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $4 = ($1 >> 1) + $4 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$4 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($4, emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2DistanceJoint____29_28float_29_2c_20void_2c_20b2DistanceJoint__2c_20float___invoke_28void_20_28b2DistanceJoint____20const__29_28float_29_2c_20b2DistanceJoint__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0, $4 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $4 = emscripten__internal__BindingType_b2DistanceJoint__2c_20void___fromWireType_28b2DistanceJoint__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $4 = ($1 >> 1) + $4 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$4 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($4, emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function __fwritex($0, $1, $2) { - var $3 = 0, $4 = 0, $5 = 0; - $3 = HEAP32[$2 + 16 >> 2]; - label$1: { - if (!$3) { - if (__towrite($2)) { - break label$1; - } - $3 = HEAP32[$2 + 16 >> 2]; - } - $5 = HEAP32[$2 + 20 >> 2]; - if ($3 - $5 >>> 0 < $1 >>> 0) { - return FUNCTION_TABLE[HEAP32[$2 + 36 >> 2]]($2, $0, $1) | 0; - } - label$4: { - if (HEAP32[$2 + 80 >> 2] < 0) { - $3 = 0; - break label$4; - } - $4 = $1; - while (1) { - $3 = $4; - if (!$3) { - $3 = 0; - break label$4; - } - $4 = $3 - 1 | 0; - if (HEAPU8[$4 + $0 | 0] != 10) { - continue; - } - break; - } - $4 = FUNCTION_TABLE[HEAP32[$2 + 36 >> 2]]($2, $0, $3) | 0; - if ($4 >>> 0 < $3 >>> 0) { - break label$1; - } - $0 = $0 + $3 | 0; - $1 = $1 - $3 | 0; - $5 = HEAP32[$2 + 20 >> 2]; - } - __memcpy($5, $0, $1); - HEAP32[$2 + 20 >> 2] = HEAP32[$2 + 20 >> 2] + $1; - $4 = $1 + $3 | 0; - } - return $4; -} - -function emscripten__value_object_b2RayCastOutput___value_object_28char_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0, $5 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - $0 = HEAP32[$2 + 20 >> 2]; - emscripten__internal__noncopyable__noncopyable_28_29($0); - HEAP32[$2 + 12 >> 2] = 462; - HEAP32[$2 + 8 >> 2] = 463; - $1 = emscripten__internal__TypeID_b2RayCastOutput_2c_20void___get_28_29(); - $3 = HEAP32[$2 + 16 >> 2]; - HEAP32[$2 + 24 >> 2] = HEAP32[$2 + 12 >> 2]; - $4 = char_20const__20emscripten__internal__getGenericSignature_int__28_29(); - $5 = HEAP32[$2 + 12 >> 2]; - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_value_object($1 | 0, $3 | 0, $4 | 0, $5 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 32 | 0; - return $0; -} - -function emscripten__class__b2RayCastCallback_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2RayCastCallback_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2RayCastCallbackWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2RayCastCallbackWrapper__29____invoke_28b2RayCastCallbackWrapper__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - emscripten__class__b2RayCastCallback_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2RayCastCallback_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2RayCastCallbackWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2RayCastCallbackWrapper__29__operator_28_29_28b2RayCastCallbackWrapper__29_20const($1 + 11 | 0, HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function emscripten__class__b2ContactListener_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2ContactListener_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2ContactListenerWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2ContactListenerWrapper__29____invoke_28b2ContactListenerWrapper__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - emscripten__class__b2ContactListener_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2ContactListener_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2ContactListenerWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2ContactListenerWrapper__29__operator_28_29_28b2ContactListenerWrapper__29_20const($1 + 11 | 0, HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function emscripten__value_object_b2RayCastInput___value_object_28char_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0, $5 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - $0 = HEAP32[$2 + 20 >> 2]; - emscripten__internal__noncopyable__noncopyable_28_29($0); - HEAP32[$2 + 12 >> 2] = 456; - HEAP32[$2 + 8 >> 2] = 457; - $1 = emscripten__internal__TypeID_b2RayCastInput_2c_20void___get_28_29(); - $3 = HEAP32[$2 + 16 >> 2]; - HEAP32[$2 + 24 >> 2] = HEAP32[$2 + 12 >> 2]; - $4 = char_20const__20emscripten__internal__getGenericSignature_int__28_29(); - $5 = HEAP32[$2 + 12 >> 2]; - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_value_object($1 | 0, $3 | 0, $4 | 0, $5 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 32 | 0; - return $0; -} - -function emscripten__internal__VectorAccess_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2_____get_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - label$1: { - if (HEAPU32[$3 + 4 >> 2] < std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____size_5babi_v160004_5d_28_29_20const(HEAP32[$3 + 8 >> 2]) >>> 0) { - emscripten__val__val_b2Vec2_20const___28b2Vec2_20const__29($0, std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____operator_5b_5d_5babi_v160004_5d_28unsigned_20long_29_20const(HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2])); - break label$1; - } - emscripten__val__undefined_28_29($0); - } - __stack_pointer = $3 + 16 | 0; -} - -function b2MulT_28b2Transform_20const__2c_20b2Vec2_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $1; - HEAP32[$3 + 24 >> 2] = $2; - HEAPF32[$3 + 20 >> 2] = HEAPF32[HEAP32[$3 + 24 >> 2] >> 2] - HEAPF32[HEAP32[$3 + 28 >> 2] >> 2]; - HEAPF32[$3 + 16 >> 2] = HEAPF32[HEAP32[$3 + 24 >> 2] + 4 >> 2] - HEAPF32[HEAP32[$3 + 28 >> 2] + 4 >> 2]; - HEAPF32[$3 + 12 >> 2] = Math_fround(HEAPF32[HEAP32[$3 + 28 >> 2] + 12 >> 2] * HEAPF32[$3 + 20 >> 2]) + Math_fround(HEAPF32[HEAP32[$3 + 28 >> 2] + 8 >> 2] * HEAPF32[$3 + 16 >> 2]); - HEAPF32[$3 + 8 >> 2] = Math_fround(Math_fround(-HEAPF32[HEAP32[$3 + 28 >> 2] + 8 >> 2]) * HEAPF32[$3 + 20 >> 2]) + Math_fround(HEAPF32[HEAP32[$3 + 28 >> 2] + 12 >> 2] * HEAPF32[$3 + 16 >> 2]); - b2Vec2__b2Vec2_28float_2c_20float_29($0, HEAPF32[$3 + 12 >> 2], HEAPF32[$3 + 8 >> 2]); - __stack_pointer = $3 + 32 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2MouseJoint____29_28b2Vec2_20const__29_2c_20void_2c_20b2MouseJoint__2c_20b2Vec2_20const____invoke_28void_20_28b2MouseJoint____20const__29_28b2Vec2_20const__29_2c_20b2MouseJoint__2c_20b2Vec2__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_b2MouseJoint__2c_20void___fromWireType_28b2MouseJoint__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2MotorJoint____29_28b2Vec2_20const__29_2c_20void_2c_20b2MotorJoint__2c_20b2Vec2_20const____invoke_28void_20_28b2MotorJoint____20const__29_28b2Vec2_20const__29_2c_20b2MotorJoint__2c_20b2Vec2__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_b2MotorJoint__2c_20void___fromWireType_28b2MotorJoint__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function b2Fixture__RayCast_28b2RayCastOutput__2c_20b2RayCastInput_20const__2c_20int_29_20const($0, $1, $2, $3) { - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_i32$2 = 0, wasm2js_i32$3 = 0, wasm2js_i32$4 = 0, wasm2js_i32$5 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - $0 = HEAP32[$4 + 12 >> 2]; - $1 = HEAP32[$0 + 12 >> 2]; - $0 = (wasm2js_i32$1 = $1, wasm2js_i32$2 = HEAP32[$4 + 8 >> 2], wasm2js_i32$3 = HEAP32[$4 + 4 >> 2], - wasm2js_i32$4 = b2Body__GetTransform_28_29_20const(HEAP32[$0 + 8 >> 2]), wasm2js_i32$5 = HEAP32[$4 >> 2], - wasm2js_i32$0 = HEAP32[HEAP32[$1 >> 2] + 20 >> 2], FUNCTION_TABLE[wasm2js_i32$0](wasm2js_i32$1 | 0, wasm2js_i32$2 | 0, wasm2js_i32$3 | 0, wasm2js_i32$4 | 0, wasm2js_i32$5 | 0) | 0); - __stack_pointer = $4 + 16 | 0; - return $0 & 1; -} - -function emscripten__value_object_b2Transform___value_object_28char_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0, $5 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - $0 = HEAP32[$2 + 20 >> 2]; - emscripten__internal__noncopyable__noncopyable_28_29($0); - HEAP32[$2 + 12 >> 2] = 446; - HEAP32[$2 + 8 >> 2] = 447; - $1 = emscripten__internal__TypeID_b2Transform_2c_20void___get_28_29(); - $3 = HEAP32[$2 + 16 >> 2]; - HEAP32[$2 + 24 >> 2] = HEAP32[$2 + 12 >> 2]; - $4 = char_20const__20emscripten__internal__getGenericSignature_int__28_29(); - $5 = HEAP32[$2 + 12 >> 2]; - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_value_object($1 | 0, $3 | 0, $4 | 0, $5 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 32 | 0; - return $0; -} - -function std____2__pair_std____2____unwrap_ref_decay_std____2__reverse_iterator_b2Vec2_____type_2c_20std____2____unwrap_ref_decay_std____2__reverse_iterator_b2Vec2_____type__20std____2__make_pair_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2____28std____2__reverse_iterator_b2Vec2_____2c_20std____2__reverse_iterator_b2Vec2_____29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - std____2__pair_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2_____pair_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20_28void__290__28std____2__reverse_iterator_b2Vec2_____2c_20std____2__reverse_iterator_b2Vec2_____29($0, HEAP32[$3 + 12 >> 2], HEAP32[$3 + 8 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2PrismaticJoint____29_28bool_29_2c_20void_2c_20b2PrismaticJoint__2c_20bool___invoke_28void_20_28b2PrismaticJoint____20const__29_28bool_29_2c_20b2PrismaticJoint__2c_20bool_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP8[$3 + 7 | 0] = $2 & 1; - $2 = emscripten__internal__BindingType_b2PrismaticJoint__2c_20void___fromWireType_28b2PrismaticJoint__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_bool_2c_20void___fromWireType_28bool_29(HEAP8[$3 + 7 | 0] & 1) & 1); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2Draw____29_28b2Transform_20const__29_2c_20void_2c_20b2Draw__2c_20b2Transform_20const____invoke_28void_20_28b2Draw____20const__29_28b2Transform_20const__29_2c_20b2Draw__2c_20b2Transform__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_b2Draw__2c_20void___fromWireType_28b2Draw__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__GenericBindingType_b2Transform___fromWireType_28b2Transform__29(HEAP32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__value_object_b2MassData___value_object_28char_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0, $5 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - $0 = HEAP32[$2 + 20 >> 2]; - emscripten__internal__noncopyable__noncopyable_28_29($0); - HEAP32[$2 + 12 >> 2] = 468; - HEAP32[$2 + 8 >> 2] = 469; - $1 = emscripten__internal__TypeID_b2MassData_2c_20void___get_28_29(); - $3 = HEAP32[$2 + 16 >> 2]; - HEAP32[$2 + 24 >> 2] = HEAP32[$2 + 12 >> 2]; - $4 = char_20const__20emscripten__internal__getGenericSignature_int__28_29(); - $5 = HEAP32[$2 + 12 >> 2]; - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_value_object($1 | 0, $3 | 0, $4 | 0, $5 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 32 | 0; - return $0; -} - -function b2PrismaticJoint__GetJointTranslation_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $1 = __stack_pointer - 48 | 0; - __stack_pointer = $1; - HEAP32[$1 + 44 >> 2] = $0; - $0 = HEAP32[$1 + 44 >> 2]; - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($1 + 36 | 0, HEAP32[$0 + 48 >> 2], $0 + 68 | 0); - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($1 + 28 | 0, HEAP32[$0 + 52 >> 2], $0 + 76 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 20 | 0, $1 + 28 | 0, $1 + 36 | 0); - b2Body__GetWorldVector_28b2Vec2_20const__29_20const($1 + 12 | 0, HEAP32[$0 + 48 >> 2], $0 + 84 | 0); - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 20 | 0, $1 + 12 | 0), - HEAPF32[wasm2js_i32$0 + 8 >> 2] = wasm2js_f32$0; - __stack_pointer = $1 + 48 | 0; - return Math_fround(HEAPF32[$1 + 8 >> 2]); -} - -function b2Simplex__WriteCache_28b2SimplexCache__29_20const($0, $1) { - var $2 = 0, $3 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - $3 = b2Simplex__GetMetric_28_29_20const($0); - HEAPF32[HEAP32[$2 + 8 >> 2] >> 2] = $3; - HEAP16[HEAP32[$2 + 8 >> 2] + 4 >> 1] = HEAP32[$0 + 108 >> 2]; - HEAP32[$2 + 4 >> 2] = $0; - HEAP32[$2 >> 2] = 0; - while (1) { - if (HEAP32[$2 >> 2] < HEAP32[$0 + 108 >> 2]) { - HEAP8[HEAP32[$2 >> 2] + (HEAP32[$2 + 8 >> 2] + 6 | 0) | 0] = HEAP32[(HEAP32[$2 + 4 >> 2] + Math_imul(HEAP32[$2 >> 2], 36) | 0) + 28 >> 2]; - HEAP8[HEAP32[$2 >> 2] + (HEAP32[$2 + 8 >> 2] + 9 | 0) | 0] = HEAP32[(HEAP32[$2 + 4 >> 2] + Math_imul(HEAP32[$2 >> 2], 36) | 0) + 32 >> 2]; - HEAP32[$2 >> 2] = HEAP32[$2 >> 2] + 1; - continue; - } - break; - } - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_b2Vec2_20const__20_28b2WheelJoint____29_28_29_20const_2c_20b2Vec2_20const__2c_20b2WheelJoint_20const____invoke_28b2Vec2_20const__20_28b2WheelJoint____20const__29_28_29_20const_2c_20b2WheelJoint_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2WheelJoint_20const__2c_20void___fromWireType_28b2WheelJoint_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(FUNCTION_TABLE[$0 | 0]($1) | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__MethodInvoker_b2Vec2_20const__20_28b2MouseJoint____29_28_29_20const_2c_20b2Vec2_20const__2c_20b2MouseJoint_20const____invoke_28b2Vec2_20const__20_28b2MouseJoint____20const__29_28_29_20const_2c_20b2MouseJoint_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2MouseJoint_20const__2c_20void___fromWireType_28b2MouseJoint_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(FUNCTION_TABLE[$0 | 0]($1) | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__MethodInvoker_b2Vec2_20const__20_28b2MotorJoint____29_28_29_20const_2c_20b2Vec2_20const__2c_20b2MotorJoint_20const____invoke_28b2Vec2_20const__20_28b2MotorJoint____20const__29_28_29_20const_2c_20b2MotorJoint_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2MotorJoint_20const__2c_20void___fromWireType_28b2MotorJoint_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(FUNCTION_TABLE[$0 | 0]($1) | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function void_20emscripten__function_void_2c_20unsigned_20int_2c_20float__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20float_29_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 399; - $0 = HEAP32[$2 + 24 >> 2]; - $1 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int_2c_20float___getCount_28_29_20const($2 + 19 | 0); - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int_2c_20float___getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, HEAP32[$2 + 12 >> 2], HEAP32[$2 + 20 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__value_object_b2Filter___value_object_28char_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0, $5 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - $0 = HEAP32[$2 + 20 >> 2]; - emscripten__internal__noncopyable__noncopyable_28_29($0); - HEAP32[$2 + 12 >> 2] = 474; - HEAP32[$2 + 8 >> 2] = 475; - $1 = emscripten__internal__TypeID_b2Filter_2c_20void___get_28_29(); - $3 = HEAP32[$2 + 16 >> 2]; - HEAP32[$2 + 24 >> 2] = HEAP32[$2 + 12 >> 2]; - $4 = char_20const__20emscripten__internal__getGenericSignature_int__28_29(); - $5 = HEAP32[$2 + 12 >> 2]; - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_value_object($1 | 0, $3 | 0, $4 | 0, $5 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 32 | 0; - return $0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2RevoluteJoint____29_28bool_29_2c_20void_2c_20b2RevoluteJoint__2c_20bool___invoke_28void_20_28b2RevoluteJoint____20const__29_28bool_29_2c_20b2RevoluteJoint__2c_20bool_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP8[$3 + 7 | 0] = $2 & 1; - $2 = emscripten__internal__BindingType_b2RevoluteJoint__2c_20void___fromWireType_28b2RevoluteJoint__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_bool_2c_20void___fromWireType_28bool_29(HEAP8[$3 + 7 | 0] & 1) & 1); - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__internal__RegisterClassConstructor_b2JointDef__20_28__29_28_29___invoke_b2JointDef__28b2JointDef__20_28__29_28_29_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 >> 2] = 552; - $0 = emscripten__internal__TypeID_b2JointDef_2c_20void___get_28_29(); - $2 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2JointDef____getCount_28_29_20const($1 + 7 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2JointDef____getTypes_28_29_20const($1 + 7 | 0); - HEAP32[$1 + 12 >> 2] = HEAP32[$1 >> 2]; - _embind_register_class_constructor($0 | 0, $2 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29() | 0, HEAP32[$1 >> 2], HEAP32[$1 + 8 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function emscripten__value_object_b2Color___value_object_28char_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0, $5 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - $0 = HEAP32[$2 + 20 >> 2]; - emscripten__internal__noncopyable__noncopyable_28_29($0); - HEAP32[$2 + 12 >> 2] = 452; - HEAP32[$2 + 8 >> 2] = 453; - $1 = emscripten__internal__TypeID_b2Color_2c_20void___get_28_29(); - $3 = HEAP32[$2 + 16 >> 2]; - HEAP32[$2 + 24 >> 2] = HEAP32[$2 + 12 >> 2]; - $4 = char_20const__20emscripten__internal__getGenericSignature_int__28_29(); - $5 = HEAP32[$2 + 12 >> 2]; - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_value_object($1 | 0, $3 | 0, $4 | 0, $5 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 32 | 0; - return $0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2WheelJoint____29_28float_29_2c_20void_2c_20b2WheelJoint__2c_20float___invoke_28void_20_28b2WheelJoint____20const__29_28float_29_2c_20b2WheelJoint__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0, $4 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $4 = emscripten__internal__BindingType_b2WheelJoint__2c_20void___fromWireType_28b2WheelJoint__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $4 = ($1 >> 1) + $4 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$4 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($4, emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2MouseJoint____29_28float_29_2c_20void_2c_20b2MouseJoint__2c_20float___invoke_28void_20_28b2MouseJoint____20const__29_28float_29_2c_20b2MouseJoint__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0, $4 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $4 = emscripten__internal__BindingType_b2MouseJoint__2c_20void___fromWireType_28b2MouseJoint__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $4 = ($1 >> 1) + $4 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$4 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($4, emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2MotorJoint____29_28float_29_2c_20void_2c_20b2MotorJoint__2c_20float___invoke_28void_20_28b2MotorJoint____20const__29_28float_29_2c_20b2MotorJoint__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0, $4 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $4 = emscripten__internal__BindingType_b2MotorJoint__2c_20void___fromWireType_28b2MotorJoint__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $4 = ($1 >> 1) + $4 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$4 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($4, emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2Draw____29_28unsigned_20int_29_2c_20void_2c_20b2Draw__2c_20unsigned_20int___invoke_28void_20_28b2Draw____20const__29_28unsigned_20int_29_2c_20b2Draw__2c_20unsigned_20int_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_b2Draw__2c_20void___fromWireType_28b2Draw__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__wrapper_b2Draw___call_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const___28char_20const__2c_20b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const__29_20const($0, $1, $2, $3, $4, $5) { - var $6 = 0; - $6 = __stack_pointer - 32 | 0; - __stack_pointer = $6; - HEAP32[$6 + 28 >> 2] = $0; - HEAP32[$6 + 24 >> 2] = $1; - HEAP32[$6 + 20 >> 2] = $2; - HEAP32[$6 + 16 >> 2] = $3; - HEAP32[$6 + 12 >> 2] = $4; - HEAP32[$6 + 8 >> 2] = $5; - void_20emscripten__val__call_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const___28char_20const__2c_20b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const__29_20const(HEAP32[$6 + 28 >> 2] + 12 | 0, HEAP32[$6 + 24 >> 2], HEAP32[$6 + 20 >> 2], HEAP32[$6 + 16 >> 2], HEAP32[$6 + 12 >> 2], HEAP32[$6 + 8 >> 2]); - __stack_pointer = $6 + 32 | 0; -} - -function std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_______destruct_at_end_5babi_v160004_5d_28b2Vec2__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 8 >> 2] = $0; - HEAP32[$2 + 4 >> 2] = $1; - $0 = HEAP32[$2 + 8 >> 2]; - while (1) { - if (HEAP32[$2 + 4 >> 2] != HEAP32[$0 + 8 >> 2]) { - $3 = std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_______alloc_5babi_v160004_5d_28_29($0); - $1 = HEAP32[$0 + 8 >> 2] - 8 | 0; - HEAP32[$0 + 8 >> 2] = $1; - void_20std____2__allocator_traits_std____2__allocator_b2Vec2____destroy_5babi_v160004_5d_b2Vec2_2c_20void__28std____2__allocator_b2Vec2___2c_20b2Vec2__29($3, b2Vec2__20std____2____to_address_5babi_v160004_5d_b2Vec2__28b2Vec2__29($1)); - continue; - } - break; - } - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__value_object_b2Vec2___value_object_28char_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0, $5 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - $0 = HEAP32[$2 + 20 >> 2]; - emscripten__internal__noncopyable__noncopyable_28_29($0); - HEAP32[$2 + 12 >> 2] = 430; - HEAP32[$2 + 8 >> 2] = 431; - $1 = emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29(); - $3 = HEAP32[$2 + 16 >> 2]; - HEAP32[$2 + 24 >> 2] = HEAP32[$2 + 12 >> 2]; - $4 = char_20const__20emscripten__internal__getGenericSignature_int__28_29(); - $5 = HEAP32[$2 + 12 >> 2]; - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_value_object($1 | 0, $3 | 0, $4 | 0, $5 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 32 | 0; - return $0; -} - -function void_20emscripten__function_float_2c_20unsigned_20int_2c_20int__28char_20const__2c_20float_20_28__29_28unsigned_20int_2c_20int_29_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 395; - $0 = HEAP32[$2 + 24 >> 2]; - $1 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20unsigned_20int_2c_20int___getCount_28_29_20const($2 + 19 | 0); - $3 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20unsigned_20int_2c_20int___getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], HEAP32[$2 + 20 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__MethodInvoker_b2Vec2_20const__20_28b2WeldJoint____29_28_29_20const_2c_20b2Vec2_20const__2c_20b2WeldJoint_20const____invoke_28b2Vec2_20const__20_28b2WeldJoint____20const__29_28_29_20const_2c_20b2WeldJoint_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2WeldJoint_20const__2c_20void___fromWireType_28b2WeldJoint_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(FUNCTION_TABLE[$0 | 0]($1) | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__MethodInvoker_b2Vec2_20const__20_28b2RopeJoint____29_28_29_20const_2c_20b2Vec2_20const__2c_20b2RopeJoint_20const____invoke_28b2Vec2_20const__20_28b2RopeJoint____20const__29_28_29_20const_2c_20b2RopeJoint_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2RopeJoint_20const__2c_20void___fromWireType_28b2RopeJoint_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(FUNCTION_TABLE[$0 | 0]($1) | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function void_20emscripten__function_void_2c_20unsigned_20int_2c_20bool__28char_20const__2c_20void_20_28__29_28unsigned_20int_2c_20bool_29_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 397; - $0 = HEAP32[$2 + 24 >> 2]; - $1 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int_2c_20bool___getCount_28_29_20const($2 + 19 | 0); - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int_2c_20bool___getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], HEAP32[$2 + 20 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__value_object_b2Rot___value_object_28char_20const__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0, $5 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 20 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $1; - $0 = HEAP32[$2 + 20 >> 2]; - emscripten__internal__noncopyable__noncopyable_28_29($0); - HEAP32[$2 + 12 >> 2] = 442; - HEAP32[$2 + 8 >> 2] = 443; - $1 = emscripten__internal__TypeID_b2Rot_2c_20void___get_28_29(); - $3 = HEAP32[$2 + 16 >> 2]; - HEAP32[$2 + 24 >> 2] = HEAP32[$2 + 12 >> 2]; - $4 = char_20const__20emscripten__internal__getGenericSignature_int__28_29(); - $5 = HEAP32[$2 + 12 >> 2]; - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 8 >> 2]; - _embind_register_value_object($1 | 0, $3 | 0, $4 | 0, $5 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() | 0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 32 | 0; - return $0; -} - -function emscripten__class__b2QueryCallback_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2QueryCallback_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2QueryCallbackWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2QueryCallbackWrapper__29____invoke_28b2QueryCallbackWrapper__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - emscripten__class__b2QueryCallback_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2QueryCallback_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2QueryCallbackWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2QueryCallbackWrapper__29__operator_28_29_28b2QueryCallbackWrapper__29_20const($1 + 11 | 0, HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function decltype_28std____2____unwrap_iter_impl_std____2__reverse_iterator_b2Vec2___2c_20false_____unwrap_28std__declval_std____2__reverse_iterator_b2Vec2____28_29_29_29_20std____2____unwrap_iter_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2___2c_20std____2____unwrap_iter_impl_std____2__reverse_iterator_b2Vec2___2c_20false__2c_200__28std____2__reverse_iterator_b2Vec2___29($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 + 4 >> 2] = HEAP32[$1 + 8 >> 2]; - wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2____unwrap_iter_impl_std____2__reverse_iterator_b2Vec2___2c_20false_____unwrap_5babi_v160004_5d_28std____2__reverse_iterator_b2Vec2___29(HEAP32[$1 + 4 >> 2]), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 12 >> 2]; -} - -function void_20emscripten__internal__RegisterClassConstructor_b2BodyDef__20_28__29_28_29___invoke_b2BodyDef__28b2BodyDef__20_28__29_28_29_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 >> 2] = 532; - $0 = emscripten__internal__TypeID_b2BodyDef_2c_20void___get_28_29(); - $2 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2BodyDef____getCount_28_29_20const($1 + 7 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2BodyDef____getTypes_28_29_20const($1 + 7 | 0); - HEAP32[$1 + 12 >> 2] = HEAP32[$1 >> 2]; - _embind_register_class_constructor($0 | 0, $2 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29() | 0, HEAP32[$1 >> 2], HEAP32[$1 + 8 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2WeldJoint____29_28float_29_2c_20void_2c_20b2WeldJoint__2c_20float___invoke_28void_20_28b2WeldJoint____20const__29_28float_29_2c_20b2WeldJoint__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0, $4 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $4 = emscripten__internal__BindingType_b2WeldJoint__2c_20void___fromWireType_28b2WeldJoint__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $4 = ($1 >> 1) + $4 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$4 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($4, emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2RopeJoint____29_28float_29_2c_20void_2c_20b2RopeJoint__2c_20float___invoke_28void_20_28b2RopeJoint____20const__29_28float_29_2c_20b2RopeJoint__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0, $4 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $4 = emscripten__internal__BindingType_b2RopeJoint__2c_20void___fromWireType_28b2RopeJoint__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $4 = ($1 >> 1) + $4 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$4 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($4, emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__val_20emscripten__internal__wrapped_extend_b2RayCastCallbackWrapper__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - emscripten__val__take_ownership_28emscripten___EM_VAL__29($0, _embind_create_inheriting_constructor(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____c_str_5babi_v160004_5d_28_29_20const(HEAP32[$3 + 8 >> 2]) | 0, emscripten__internal__TypeID_b2RayCastCallbackWrapper_2c_20void___get_28_29() | 0, emscripten__val__as_handle_28_29_20const(HEAP32[$3 + 4 >> 2]) | 0) | 0); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__val_20emscripten__internal__wrapped_extend_b2ContactListenerWrapper__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - emscripten__val__take_ownership_28emscripten___EM_VAL__29($0, _embind_create_inheriting_constructor(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____c_str_5babi_v160004_5d_28_29_20const(HEAP32[$3 + 8 >> 2]) | 0, emscripten__internal__TypeID_b2ContactListenerWrapper_2c_20void___get_28_29() | 0, emscripten__val__as_handle_28_29_20const(HEAP32[$3 + 4 >> 2]) | 0) | 0); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_b2Transform_20const__20_28b2Body____29_28_29_20const_2c_20b2Transform_20const__2c_20b2Body_20const____invoke_28b2Transform_20const__20_28b2Body____20const__29_28_29_20const_2c_20b2Body_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2Body_20const__2c_20void___fromWireType_28b2Body_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__GenericBindingType_b2Transform___toWireType_28b2Transform_20const__29(FUNCTION_TABLE[$0 | 0]($1) | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__MethodCaller_void_2c_20unsigned_20int____call_28emscripten___EM_VAL__2c_20char_20const__2c_20unsigned_20int__29($0, $1, $2) { - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $0; - HEAP32[$3 + 24 >> 2] = $1; - HEAP32[$3 + 20 >> 2] = $2; - wasm2js_i32$0 = $3, wasm2js_i32$1 = emscripten__internal__Signature_void_2c_20unsigned_20int____get_method_caller_28_29(), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - emscripten__internal__WireTypePack_unsigned_20int____WireTypePack_28unsigned_20int__29($3 + 8 | 0, HEAP32[$3 + 20 >> 2]); - _emval_call_void_method(HEAP32[$3 + 16 >> 2], HEAP32[$3 + 28 >> 2], HEAP32[$3 + 24 >> 2], emscripten__internal__WireTypePack_unsigned_20int____operator_20void_20const__28_29_20const($3 + 8 | 0) | 0); - __stack_pointer = $3 + 32 | 0; -} - -function b2BlockAllocator__b2BlockAllocator_28_29($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[$0 + 8 >> 2] = 128; - HEAP32[$0 + 4 >> 2] = 0; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2Alloc_28int_29(HEAP32[$0 + 8 >> 2] << 3), - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - __memset(HEAP32[$0 >> 2], 0, HEAP32[$0 + 8 >> 2] << 3); - HEAP32[$0 + 12 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = 0; - HEAP32[$0 + 60 >> 2] = 0; - HEAP32[$0 + 64 >> 2] = 0; - HEAP32[$0 + 52 >> 2] = 0; - HEAP32[$0 + 56 >> 2] = 0; - HEAP32[$0 + 44 >> 2] = 0; - HEAP32[$0 + 48 >> 2] = 0; - HEAP32[$0 + 36 >> 2] = 0; - HEAP32[$0 + 40 >> 2] = 0; - HEAP32[$0 + 28 >> 2] = 0; - HEAP32[$0 + 32 >> 2] = 0; - HEAP32[$0 + 20 >> 2] = 0; - HEAP32[$0 + 24 >> 2] = 0; - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2__vector_int_2c_20std____2__allocator_int______base_destruct_at_end_5babi_v160004_5d_28int__29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$2 + 4 >> 2] = HEAP32[$0 + 4 >> 2]; - while (1) { - if (HEAP32[$2 + 8 >> 2] != HEAP32[$2 + 4 >> 2]) { - $3 = std____2__vector_int_2c_20std____2__allocator_int______alloc_5babi_v160004_5d_28_29($0); - $1 = HEAP32[$2 + 4 >> 2] - 4 | 0; - HEAP32[$2 + 4 >> 2] = $1; - void_20std____2__allocator_traits_std____2__allocator_int____destroy_5babi_v160004_5d_int_2c_20void__28std____2__allocator_int___2c_20int__29($3, int__20std____2____to_address_5babi_v160004_5d_int__28int__29($1)); - continue; - } - break; - } - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 8 >> 2]; - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__val_20emscripten__internal__wrapped_extend_b2QueryCallbackWrapper__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - emscripten__val__take_ownership_28emscripten___EM_VAL__29($0, _embind_create_inheriting_constructor(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____c_str_5babi_v160004_5d_28_29_20const(HEAP32[$3 + 8 >> 2]) | 0, emscripten__internal__TypeID_b2QueryCallbackWrapper_2c_20void___get_28_29() | 0, emscripten__val__as_handle_28_29_20const(HEAP32[$3 + 4 >> 2]) | 0) | 0); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__Invoker_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20int___invoke_28void_20_28__29_28unsigned_20int_2c_20unsigned_20int_2c_20int_29_2c_20unsigned_20int_2c_20unsigned_20int_2c_20int_29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - $0 = HEAP32[$4 + 12 >> 2]; - FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$4 + 8 >> 2]), emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$4 + 4 >> 2]), emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29(HEAP32[$4 >> 2])); - __stack_pointer = $4 + 16 | 0; -} - -function b2ChainAndPolygonContact__Create_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAP32[$5 + 12 >> 2] = $4; - wasm2js_i32$0 = $5, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$5 + 12 >> 2], 148), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - $0 = HEAP32[$5 + 8 >> 2]; - b2ChainAndPolygonContact__b2ChainAndPolygonContact_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_29($0, HEAP32[$5 + 28 >> 2], HEAP32[$5 + 24 >> 2], HEAP32[$5 + 20 >> 2], HEAP32[$5 + 16 >> 2]); - __stack_pointer = $5 + 32 | 0; - return $0 | 0; -} - -function void_20emscripten__function_unsigned_20int_2c_20unsigned_20int__28char_20const__2c_20unsigned_20int_20_28__29_28unsigned_20int_29_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 403; - $0 = HEAP32[$2 + 24 >> 2]; - $1 = emscripten__internal__WithPolicies____ArgTypeList_unsigned_20int_2c_20unsigned_20int___getCount_28_29_20const($2 + 19 | 0); - $3 = emscripten__internal__WithPolicies____ArgTypeList_unsigned_20int_2c_20unsigned_20int___getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], HEAP32[$2 + 20 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____allocate_5babi_v160004_5d_28unsigned_20long_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - if (HEAPU32[$2 + 8 >> 2] > unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______max_size_5babi_v160004_5d_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void____2c_20void__28std____2__allocator_std____2____tree_node_b2Fixture__2c_20void____20const__29(HEAP32[$2 + 12 >> 2]) >>> 0) { - std____throw_bad_array_new_length_5babi_v160004_5d_28_29(); - wasm2js_trap(); - } - $0 = std____2____libcpp_allocate_5babi_v160004_5d_28unsigned_20long_2c_20unsigned_20long_29(Math_imul(HEAP32[$2 + 8 >> 2], 20), 4); - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function b2ChainAndCircleContact__Create_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAP32[$5 + 12 >> 2] = $4; - wasm2js_i32$0 = $5, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$5 + 12 >> 2], 148), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - $0 = HEAP32[$5 + 8 >> 2]; - b2ChainAndCircleContact__b2ChainAndCircleContact_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_29($0, HEAP32[$5 + 28 >> 2], HEAP32[$5 + 24 >> 2], HEAP32[$5 + 20 >> 2], HEAP32[$5 + 16 >> 2]); - __stack_pointer = $5 + 32 | 0; - return $0 | 0; -} - -function emscripten__internal__VectorAccess_std____2__vector_int_2c_20std____2__allocator_int_____get_28std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - label$1: { - if (HEAPU32[$3 + 4 >> 2] < std____2__vector_int_2c_20std____2__allocator_int____size_5babi_v160004_5d_28_29_20const(HEAP32[$3 + 8 >> 2]) >>> 0) { - emscripten__val__val_int_20const___28int_20const__29($0, std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_5babi_v160004_5d_28unsigned_20long_29_20const(HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2])); - break label$1; - } - emscripten__val__undefined_28_29($0); - } - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_bool_20_28b2PrismaticJoint____29_28_29_20const_2c_20bool_2c_20b2PrismaticJoint_20const____invoke_28bool_20_28b2PrismaticJoint____20const__29_28_29_20const_2c_20b2PrismaticJoint_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2PrismaticJoint_20const__2c_20void___fromWireType_28b2PrismaticJoint_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__BindingType_bool_2c_20void___toWireType_28bool_29(FUNCTION_TABLE[$0 | 0]($1) & 1); - __stack_pointer = $2 + 16 | 0; - return $0 & 1; -} - -function emscripten__internal__MethodInvoker_void_20_28b2World____29_28b2Vec2_20const__29_2c_20void_2c_20b2World__2c_20b2Vec2_20const____invoke_28void_20_28b2World____20const__29_28b2Vec2_20const__29_2c_20b2World__2c_20b2Vec2__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_b2World__2c_20void___fromWireType_28b2World__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2WheelJoint____29_28bool_29_2c_20void_2c_20b2WheelJoint__2c_20bool___invoke_28void_20_28b2WheelJoint____20const__29_28bool_29_2c_20b2WheelJoint__2c_20bool_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP8[$3 + 7 | 0] = $2 & 1; - $2 = emscripten__internal__BindingType_b2WheelJoint__2c_20void___fromWireType_28b2WheelJoint__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_bool_2c_20void___fromWireType_28bool_29(HEAP8[$3 + 7 | 0] & 1) & 1); - __stack_pointer = $3 + 16 | 0; -} - -function b2Cross_28b2Vec3_20const__2c_20b2Vec3_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - b2Vec3__b2Vec3_28float_2c_20float_2c_20float_29($0, Math_fround(Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 4 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] + 8 >> 2]) - Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 8 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2])), Math_fround(Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 8 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]) - Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] + 8 >> 2])), Math_fround(Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2]) - Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 4 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]))); - __stack_pointer = $3 + 16 | 0; -} - -function std____2____compressed_pair_b2Vec2__2c_20std____2__allocator_b2Vec2_______compressed_pair_5babi_v160004_5d_std__nullptr_t_2c_20std____2__allocator_b2Vec2____28std__nullptr_t___2c_20std____2__allocator_b2Vec2___29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - std____2____compressed_pair_elem_b2Vec2__2c_200_2c_20false_____compressed_pair_elem_5babi_v160004_5d_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, HEAP32[$3 + 8 >> 2]); - std____2____compressed_pair_elem_std____2__allocator_b2Vec2___2c_201_2c_20false_____compressed_pair_elem_5babi_v160004_5d_std____2__allocator_b2Vec2___2c_20void__28std____2__allocator_b2Vec2___29($0 + 4 | 0, HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; - return $0; -} - -function emscripten__internal__MethodInvoker_bool_20_28b2RevoluteJoint____29_28_29_20const_2c_20bool_2c_20b2RevoluteJoint_20const____invoke_28bool_20_28b2RevoluteJoint____20const__29_28_29_20const_2c_20b2RevoluteJoint_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2RevoluteJoint_20const__2c_20void___fromWireType_28b2RevoluteJoint_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__BindingType_bool_2c_20void___toWireType_28bool_29(FUNCTION_TABLE[$0 | 0]($1) & 1); - __stack_pointer = $2 + 16 | 0; - return $0 & 1; -} - -function emscripten__internal__MethodInvoker_void_20_28b2Body____29_28b2Vec2_20const__29_2c_20void_2c_20b2Body__2c_20b2Vec2_20const____invoke_28void_20_28b2Body____20const__29_28b2Vec2_20const__29_2c_20b2Body__2c_20b2Vec2__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_b2Body__2c_20void___fromWireType_28b2Body__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__internal__RegisterClassConstructor_b2AABB__20_28__29_28_29___invoke_b2AABB__28b2AABB__20_28__29_28_29_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 >> 2] = 509; - $0 = emscripten__internal__TypeID_b2AABB_2c_20void___get_28_29(); - $2 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2AABB____getCount_28_29_20const($1 + 7 | 0); - $3 = emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2AABB____getTypes_28_29_20const($1 + 7 | 0); - HEAP32[$1 + 12 >> 2] = HEAP32[$1 >> 2]; - _embind_register_class_constructor($0 | 0, $2 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29() | 0, HEAP32[$1 >> 2], HEAP32[$1 + 8 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function emscripten__internal__Invoker_void_2c_20unsigned_20int_2c_20float_2c_20float___invoke_28void_20_28__29_28unsigned_20int_2c_20float_2c_20float_29_2c_20unsigned_20int_2c_20float_2c_20float_29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - $3 = Math_fround($3); - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAPF32[$4 + 4 >> 2] = $2; - HEAPF32[$4 >> 2] = $3; - $0 = HEAP32[$4 + 12 >> 2]; - FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$4 + 8 >> 2]), emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$4 + 4 >> 2]), emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$4 >> 2])); - __stack_pointer = $4 + 16 | 0; -} - -function decltype_28std____2____unwrap_iter_impl_std____2__reverse_iterator_int___2c_20false_____unwrap_28std__declval_std____2__reverse_iterator_int____28_29_29_29_20std____2____unwrap_iter_5babi_v160004_5d_std____2__reverse_iterator_int___2c_20std____2____unwrap_iter_impl_std____2__reverse_iterator_int___2c_20false__2c_200__28std____2__reverse_iterator_int___29($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 + 4 >> 2] = HEAP32[$1 + 8 >> 2]; - wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2____unwrap_iter_impl_std____2__reverse_iterator_int___2c_20false_____unwrap_5babi_v160004_5d_28std____2__reverse_iterator_int___29(HEAP32[$1 + 4 >> 2]), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 12 >> 2]; -} - -function std____2__pair_std____2____unwrap_ref_decay_std____2__reverse_iterator_int_____type_2c_20std____2____unwrap_ref_decay_std____2__reverse_iterator_int_____type__20std____2__make_pair_5babi_v160004_5d_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int____28std____2__reverse_iterator_int_____2c_20std____2__reverse_iterator_int_____29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - std____2__pair_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int_____pair_5babi_v160004_5d_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20_28void__290__28std____2__reverse_iterator_int_____2c_20std____2__reverse_iterator_int_____29($0, HEAP32[$3 + 12 >> 2], HEAP32[$3 + 8 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__val_20emscripten__internal__wrapped_extend_b2DrawWrapper__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - emscripten__val__take_ownership_28emscripten___EM_VAL__29($0, _embind_create_inheriting_constructor(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____c_str_5babi_v160004_5d_28_29_20const(HEAP32[$3 + 8 >> 2]) | 0, emscripten__internal__TypeID_b2DrawWrapper_2c_20void___get_28_29() | 0, emscripten__val__as_handle_28_29_20const(HEAP32[$3 + 4 >> 2]) | 0) | 0); - __stack_pointer = $3 + 16 | 0; -} - -function b2CircleShape__TestPoint_28b2Transform_20const__2c_20b2Vec2_20const__29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, $4 = Math_fround(0); - $3 = __stack_pointer - 48 | 0; - __stack_pointer = $3; - HEAP32[$3 + 44 >> 2] = $0; - HEAP32[$3 + 40 >> 2] = $1; - HEAP32[$3 + 36 >> 2] = $2; - $1 = HEAP32[$3 + 40 >> 2]; - $0 = HEAP32[$3 + 44 >> 2]; - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($3 + 20 | 0, HEAP32[$3 + 40 >> 2] + 8 | 0, $0 + 12 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($3 + 28 | 0, $1, $3 + 20 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 12 | 0, HEAP32[$3 + 36 >> 2], $3 + 28 | 0); - $1 = $3 + 12 | 0; - $4 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($1, $1); - __stack_pointer = $3 + 48 | 0; - return Math_fround(HEAPF32[$0 + 8 >> 2] * HEAPF32[$0 + 8 >> 2]) >= $4 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2World____29_28b2Joint__29_2c_20void_2c_20b2World__2c_20b2Joint____invoke_28void_20_28b2World____20const__29_28b2Joint__29_2c_20b2World__2c_20b2Joint__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_b2World__2c_20void___fromWireType_28b2World__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_b2Joint__2c_20void___fromWireType_28b2Joint__29(HEAP32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2Body____29_28b2BodyType_29_2c_20void_2c_20b2Body__2c_20b2BodyType___invoke_28void_20_28b2Body____20const__29_28b2BodyType_29_2c_20b2Body__2c_20b2BodyType_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_b2Body__2c_20void___fromWireType_28b2Body__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__EnumBindingType_b2BodyType___fromWireType_28b2BodyType_29(HEAP32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function b2ContactListenerWrapper__PostSolve_28unsigned_20int_2c_20unsigned_20int_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - label$1: { - if (!(b2ContactListenerWrapper__isIndexOf_28unsigned_20int_29($0, b2Contact__GetFixtureA_28_29(HEAP32[$3 + 8 >> 2])) & 1)) { - if (!(b2ContactListenerWrapper__isIndexOf_28unsigned_20int_29($0, b2Contact__GetFixtureB_28_29(HEAP32[$3 + 8 >> 2])) & 1)) { - break label$1; - } - } - void_20emscripten__wrapper_b2ContactListener___call_void_2c_20unsigned_20int__2c_20unsigned_20int___28char_20const__2c_20unsigned_20int__2c_20unsigned_20int__29_20const($0, 8856, $3 + 8 | 0, $3 + 4 | 0); - } - __stack_pointer = $3 + 16 | 0; -} - -function b2ContactListenerWrapper__PreSolve_28unsigned_20int_2c_20unsigned_20int_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - label$1: { - if (!(b2ContactListenerWrapper__isIndexOf_28unsigned_20int_29($0, b2Contact__GetFixtureA_28_29(HEAP32[$3 + 8 >> 2])) & 1)) { - if (!(b2ContactListenerWrapper__isIndexOf_28unsigned_20int_29($0, b2Contact__GetFixtureB_28_29(HEAP32[$3 + 8 >> 2])) & 1)) { - break label$1; - } - } - void_20emscripten__wrapper_b2ContactListener___call_void_2c_20unsigned_20int__2c_20unsigned_20int___28char_20const__2c_20unsigned_20int__2c_20unsigned_20int__29_20const($0, 8866, $3 + 8 | 0, $3 + 4 | 0); - } - __stack_pointer = $3 + 16 | 0; -} - -function std____2__set_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____end_5babi_v160004_5d_28_29($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____end_5babi_v160004_5d_28_29(HEAP32[$1 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - std____2____tree_const_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long_____tree_const_iterator_5babi_v160004_5d_28std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__29($1 + 12 | 0, HEAP32[$1 + 4 >> 2]); - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__MethodInvoker_b2Vec2_20const__20_28b2Body____29_28_29_20const_2c_20b2Vec2_20const__2c_20b2Body_20const____invoke_28b2Vec2_20const__20_28b2Body____20const__29_28_29_20const_2c_20b2Body_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2Body_20const__2c_20void___fromWireType_28b2Body_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(FUNCTION_TABLE[$0 | 0]($1) | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function std____2____compressed_pair_unsigned_20long_2c_20std____2__less_b2Fixture_______compressed_pair_5babi_v160004_5d_int_2c_20std____2__less_b2Fixture___20const___28int___2c_20std____2__less_b2Fixture___20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____compressed_pair_elem_5babi_v160004_5d_int_2c_20void__28int___29($0, HEAP32[$3 + 8 >> 2]); - std____2____compressed_pair_elem_std____2__less_b2Fixture___2c_201_2c_20true_____compressed_pair_elem_5babi_v160004_5d_std____2__less_b2Fixture___20const__2c_20void__28std____2__less_b2Fixture___20const__29($0, HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; - return $0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2Body____29_28float_29_2c_20void_2c_20b2Body__2c_20float___invoke_28void_20_28b2Body____20const__29_28float_29_2c_20b2Body__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0, $4 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $4 = emscripten__internal__BindingType_b2Body__2c_20void___fromWireType_28b2Body__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $4 = ($1 >> 1) + $4 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$4 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($4, emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2World____29_28b2Draw__29_2c_20void_2c_20b2World__2c_20b2Draw____invoke_28void_20_28b2World____20const__29_28b2Draw__29_2c_20b2World__2c_20b2Draw__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_b2World__2c_20void___fromWireType_28b2World__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_b2Draw__2c_20void___fromWireType_28b2Draw__29(HEAP32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2World____29_28b2Body__29_2c_20void_2c_20b2World__2c_20b2Body____invoke_28void_20_28b2World____20const__29_28b2Body__29_2c_20b2World__2c_20b2Body__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_b2World__2c_20void___fromWireType_28b2World__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_b2Body__2c_20void___fromWireType_28b2Body__29(HEAP32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function std____2____split_buffer_int_2c_20std____2__allocator_int_______destruct_at_end_5babi_v160004_5d_28int__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 8 >> 2] = $0; - HEAP32[$2 + 4 >> 2] = $1; - $0 = HEAP32[$2 + 8 >> 2]; - while (1) { - if (HEAP32[$2 + 4 >> 2] != HEAP32[$0 + 8 >> 2]) { - $3 = std____2____split_buffer_int_2c_20std____2__allocator_int_______alloc_5babi_v160004_5d_28_29($0); - $1 = HEAP32[$0 + 8 >> 2] - 4 | 0; - HEAP32[$0 + 8 >> 2] = $1; - void_20std____2__allocator_traits_std____2__allocator_int____destroy_5babi_v160004_5d_int_2c_20void__28std____2__allocator_int___2c_20int__29($3, int__20std____2____to_address_5babi_v160004_5d_int__28int__29($1)); - continue; - } - break; - } - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_bool_20_28b2WheelJoint____29_28_29_20const_2c_20bool_2c_20b2WheelJoint_20const____invoke_28bool_20_28b2WheelJoint____20const__29_28_29_20const_2c_20b2WheelJoint_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2WheelJoint_20const__2c_20void___fromWireType_28b2WheelJoint_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__BindingType_bool_2c_20void___toWireType_28bool_29(FUNCTION_TABLE[$0 | 0]($1) & 1); - __stack_pointer = $2 + 16 | 0; - return $0 & 1; -} - -function emscripten__internal__MethodInvoker_b2JointType_20_28b2Joint____29_28_29_20const_2c_20b2JointType_2c_20b2Joint_20const____invoke_28b2JointType_20_28b2Joint____20const__29_28_29_20const_2c_20b2Joint_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2Joint_20const__2c_20void___fromWireType_28b2Joint_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__EnumBindingType_b2JointType___toWireType_28b2JointType_29(FUNCTION_TABLE[$0 | 0]($1) | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function PolygonShapeSetAsBoxWithCenterAndAngle_28unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_29($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = Math_fround($1); - $2 = Math_fround($2); - $3 = Math_fround($3); - $4 = Math_fround($4); - $5 = Math_fround($5); - var $6 = 0; - $6 = __stack_pointer - 32 | 0; - __stack_pointer = $6; - HEAP32[$6 + 28 >> 2] = $0; - HEAPF32[$6 + 24 >> 2] = $1; - HEAPF32[$6 + 20 >> 2] = $2; - HEAPF32[$6 + 16 >> 2] = $3; - HEAPF32[$6 + 12 >> 2] = $4; - HEAPF32[$6 + 8 >> 2] = $5; - $0 = HEAP32[$6 + 28 >> 2]; - $1 = HEAPF32[$6 + 24 >> 2]; - $2 = HEAPF32[$6 + 20 >> 2]; - b2Vec2__b2Vec2_28float_2c_20float_29($6, HEAPF32[$6 + 16 >> 2], HEAPF32[$6 + 12 >> 2]); - b2PolygonShape__SetAsBox_28float_2c_20float_2c_20b2Vec2_20const__2c_20float_29($0, $1, $2, $6, HEAPF32[$6 + 8 >> 2]); - __stack_pointer = $6 + 32 | 0; -} - -function std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______insert_unique_5babi_v160004_5d_28b2Fixture__20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - std____2__pair_std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__2c_20bool__20std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______emplace_unique_key_args_b2Fixture__2c_20b2Fixture__20const___28b2Fixture__20const__2c_20b2Fixture__20const__29($0, HEAP32[$3 + 12 >> 2], std____2____tree_key_value_types_b2Fixture______get_key_5babi_v160004_5d_28b2Fixture__20const__29(HEAP32[$3 + 8 >> 2]), HEAP32[$3 + 8 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____push_back_5babi_v160004_5d_28b2Vec2_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - label$1: { - if (HEAP32[$0 + 4 >> 2] != HEAP32[std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______end_cap_5babi_v160004_5d_28_29($0) >> 2]) { - void_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______construct_one_at_end_5babi_v160004_5d_b2Vec2_20const___28b2Vec2_20const__29($0, HEAP32[$2 + 8 >> 2]); - break label$1; - } - void_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______push_back_slow_path_b2Vec2_20const___28b2Vec2_20const__29($0, HEAP32[$2 + 8 >> 2]); - } - __stack_pointer = $2 + 16 | 0; -} - -function std____2____compressed_pair_int__2c_20std____2__allocator_int_______compressed_pair_5babi_v160004_5d_std__nullptr_t_2c_20std____2__allocator_int____28std__nullptr_t___2c_20std____2__allocator_int___29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - std____2____compressed_pair_elem_int__2c_200_2c_20false_____compressed_pair_elem_5babi_v160004_5d_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, HEAP32[$3 + 8 >> 2]); - std____2____compressed_pair_elem_std____2__allocator_int___2c_201_2c_20false_____compressed_pair_elem_5babi_v160004_5d_std____2__allocator_int___2c_20void__28std____2__allocator_int___29($0 + 4 | 0, HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; - return $0; -} - -function void_20emscripten__function_b2Vec2_2c_20unsigned_20int__28char_20const__2c_20b2Vec2_20_28__29_28unsigned_20int_29_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 402; - $0 = HEAP32[$2 + 24 >> 2]; - $1 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20unsigned_20int___getCount_28_29_20const($2 + 19 | 0); - $3 = emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20unsigned_20int___getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], HEAP32[$2 + 20 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2World____29_28bool_29_2c_20void_2c_20b2World__2c_20bool___invoke_28void_20_28b2World____20const__29_28bool_29_2c_20b2World__2c_20bool_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP8[$3 + 7 | 0] = $2 & 1; - $2 = emscripten__internal__BindingType_b2World__2c_20void___fromWireType_28b2World__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_bool_2c_20void___fromWireType_28bool_29(HEAP8[$3 + 7 | 0] & 1) & 1); - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__function_float_2c_20unsigned_20int__28char_20const__2c_20float_20_28__29_28unsigned_20int_29_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 400; - $0 = HEAP32[$2 + 24 >> 2]; - $1 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20unsigned_20int___getCount_28_29_20const($2 + 19 | 0); - $3 = emscripten__internal__WithPolicies____ArgTypeList_float_2c_20unsigned_20int___getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], HEAP32[$2 + 20 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2________split_buffer_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - $0 = HEAP32[$1 + 8 >> 2]; - HEAP32[$1 + 12 >> 2] = $0; - std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_____clear_5babi_v160004_5d_28_29($0); - if (HEAP32[$0 >> 2]) { - std____2__allocator_traits_std____2__allocator_b2Vec2____deallocate_5babi_v160004_5d_28std____2__allocator_b2Vec2___2c_20b2Vec2__2c_20unsigned_20long_29(std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_______alloc_5babi_v160004_5d_28_29($0), HEAP32[$0 >> 2], std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_____capacity_5babi_v160004_5d_28_29_20const($0)); - } - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__MethodInvoker_b2BodyType_20_28b2Body____29_28_29_20const_2c_20b2BodyType_2c_20b2Body_20const____invoke_28b2BodyType_20_28b2Body____20const__29_28_29_20const_2c_20b2Body_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2Body_20const__2c_20void___fromWireType_28b2Body_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__EnumBindingType_b2BodyType___toWireType_28b2BodyType_29(FUNCTION_TABLE[$0 | 0]($1) | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function void_20emscripten__function_void_2c_20unsigned_20int__28char_20const__2c_20void_20_28__29_28unsigned_20int_29_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 401; - $0 = HEAP32[$2 + 24 >> 2]; - $1 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int___getCount_28_29_20const($2 + 19 | 0); - $3 = emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int___getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], HEAP32[$2 + 20 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2Body____29_28bool_29_2c_20void_2c_20b2Body__2c_20bool___invoke_28void_20_28b2Body____20const__29_28bool_29_2c_20b2Body__2c_20bool_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP8[$3 + 7 | 0] = $2 & 1; - $2 = emscripten__internal__BindingType_b2Body__2c_20void___fromWireType_28b2Body__29(HEAP32[$3 + 8 >> 2]); - $0 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $2 = ($1 >> 1) + $2 | 0; - if ($1 & 1) { - $0 = HEAP32[HEAP32[$2 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_bool_2c_20void___fromWireType_28bool_29(HEAP8[$3 + 7 | 0] & 1) & 1); - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__function_bool_2c_20unsigned_20int__28char_20const__2c_20bool_20_28__29_28unsigned_20int_29_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 398; - $0 = HEAP32[$2 + 24 >> 2]; - $1 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20unsigned_20int___getCount_28_29_20const($2 + 19 | 0); - $3 = emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20unsigned_20int___getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], HEAP32[$2 + 20 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function b2RayCastCallbackWrapper__ReportFixture_28unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float_29($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = Math_fround($4); - var $5 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAPF32[$5 + 12 >> 2] = $4; - $4 = float_20emscripten__wrapper_b2RayCastCallback___call_float_2c_20unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float___28char_20const__2c_20unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float__29_20const(HEAP32[$5 + 28 >> 2], 9411, $5 + 24 | 0, HEAP32[$5 + 20 >> 2], HEAP32[$5 + 16 >> 2], $5 + 12 | 0); - __stack_pointer = $5 + 32 | 0; - return Math_fround($4); -} - -function emscripten__internal__MethodInvoker_b2Vec2_20_28b2World____29_28_29_20const_2c_20b2Vec2_2c_20b2World_20const____invoke_28b2Vec2_20_28b2World____20const__29_28_29_20const_2c_20b2World_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2World_20const__2c_20void___fromWireType_28b2World_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, $1); - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2___29($2); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__MethodInvoker_b2Vec2_20_28b2Joint____29_28_29_20const_2c_20b2Vec2_2c_20b2Joint_20const____invoke_28b2Vec2_20_28b2Joint____20const__29_28_29_20const_2c_20b2Joint_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2Joint_20const__2c_20void___fromWireType_28b2Joint_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, $1); - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2___29($2); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - HEAPF32[$3 + 4 >> 2] = Math_fround(Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 12 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]) - Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 8 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2])) + HEAPF32[HEAP32[$3 + 12 >> 2] >> 2]; - HEAPF32[$3 >> 2] = Math_fround(Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 8 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]) + Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 12 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2])) + HEAPF32[HEAP32[$3 + 12 >> 2] + 4 >> 2]; - b2Vec2__b2Vec2_28float_2c_20float_29($0, HEAPF32[$3 + 4 >> 2], HEAPF32[$3 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__Signature_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const____get_method_caller_28_29() { - var $0 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $0 = __stack_pointer - 16 | 0; - __stack_pointer = $0; - if (!(HEAP8[29396] & 1)) { - wasm2js_i32$0 = 29392, wasm2js_i32$1 = _emval_get_method_caller(emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const____getCount_28_29_20const($0 + 15 | 0) | 0, emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const____getTypes_28_29_20const($0 + 15 | 0) | 0) | 0, - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - HEAP8[29396] = 1; - } - __stack_pointer = $0 + 16 | 0; - return HEAP32[7348]; -} - -function emscripten__internal__Signature_float_2c_20unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float____get_method_caller_28_29() { - var $0 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $0 = __stack_pointer - 16 | 0; - __stack_pointer = $0; - if (!(HEAP8[29356] & 1)) { - wasm2js_i32$0 = 29352, wasm2js_i32$1 = _emval_get_method_caller(emscripten__internal__WithPolicies____ArgTypeList_float_2c_20unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float____getCount_28_29_20const($0 + 15 | 0) | 0, emscripten__internal__WithPolicies____ArgTypeList_float_2c_20unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float____getTypes_28_29_20const($0 + 15 | 0) | 0) | 0, - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - HEAP8[29356] = 1; - } - __stack_pointer = $0 + 16 | 0; - return HEAP32[7338]; -} - -function void_20emscripten__function_int_2c_20unsigned_20int__28char_20const__2c_20int_20_28__29_28unsigned_20int_29_29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 24 >> 2] = $0; - HEAP32[$2 + 20 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = 407; - $0 = HEAP32[$2 + 24 >> 2]; - $1 = emscripten__internal__WithPolicies____ArgTypeList_int_2c_20unsigned_20int___getCount_28_29_20const($2 + 19 | 0); - $3 = emscripten__internal__WithPolicies____ArgTypeList_int_2c_20unsigned_20int___getTypes_28_29_20const($2 + 19 | 0); - HEAP32[$2 + 28 >> 2] = HEAP32[$2 + 12 >> 2]; - _embind_register_function($0 | 0, $1 | 0, $3 | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, HEAP32[$2 + 12 >> 2], HEAP32[$2 + 20 >> 2], 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__Invoker_b2Vec2_2c_20b2Transform_20const__2c_20b2Vec2_20const____invoke_28b2Vec2_20_28__29_28b2Transform_20const__2c_20b2Vec2_20const__29_2c_20b2Transform__2c_20b2Vec2__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $0; - HEAP32[$3 + 24 >> 2] = $1; - HEAP32[$3 + 20 >> 2] = $2; - $0 = HEAP32[$3 + 28 >> 2]; - FUNCTION_TABLE[$0 | 0]($3 + 12 | 0, emscripten__internal__GenericBindingType_b2Transform___fromWireType_28b2Transform__29(HEAP32[$3 + 24 >> 2]), emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$3 + 20 >> 2])); - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2___29($3 + 12 | 0); - __stack_pointer = $3 + 32 | 0; - return $0 | 0; -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_pointer_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - label$1: { - if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______is_long_5babi_v160004_5d_28_29_20const($0) & 1) { - $0 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_pointer_5babi_v160004_5d_28_29_20const($0); - break label$1; - } - $0 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_short_pointer_5babi_v160004_5d_28_29_20const($0); - } - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2BroadPhase__BufferMove_28int_29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (HEAP32[$0 + 40 >> 2] == HEAP32[$0 + 36 >> 2]) { - HEAP32[$2 + 4 >> 2] = HEAP32[$0 + 32 >> 2]; - HEAP32[$0 + 36 >> 2] = HEAP32[$0 + 36 >> 2] << 1; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2Alloc_28int_29(HEAP32[$0 + 36 >> 2] << 2), - HEAP32[wasm2js_i32$0 + 32 >> 2] = wasm2js_i32$1; - __memcpy(HEAP32[$0 + 32 >> 2], HEAP32[$2 + 4 >> 2], HEAP32[$0 + 40 >> 2] << 2); - b2Free_28void__29(HEAP32[$2 + 4 >> 2]); - } - HEAP32[HEAP32[$0 + 32 >> 2] + (HEAP32[$0 + 40 >> 2] << 2) >> 2] = HEAP32[$2 + 8 >> 2]; - HEAP32[$0 + 40 >> 2] = HEAP32[$0 + 40 >> 2] + 1; - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_b2Vec2_20_28b2AABB____29_28_29_20const_2c_20b2Vec2_2c_20b2AABB_20const____invoke_28b2Vec2_20_28b2AABB____20const__29_28_29_20const_2c_20b2AABB_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2AABB_20const__2c_20void___fromWireType_28b2AABB_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($2, $1); - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2___29($2); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function b2Body__Advance_28float_29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $0; - HEAPF32[$3 + 24 >> 2] = $1; - $2 = HEAP32[$3 + 28 >> 2]; - b2Sweep__Advance_28float_29($2 + 28 | 0, HEAPF32[$3 + 24 >> 2]); - $0 = HEAP32[$2 + 40 >> 2]; - $4 = HEAP32[$2 + 36 >> 2]; - HEAP32[$2 + 44 >> 2] = $4; - HEAP32[$2 + 48 >> 2] = $0; - HEAPF32[$2 + 56 >> 2] = HEAPF32[$2 + 52 >> 2]; - b2Rot__Set_28float_29($2 + 20 | 0, HEAPF32[$2 + 56 >> 2]); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($3 + 8 | 0, $2 + 20 | 0, $2 + 28 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 16 | 0, $2 + 44 | 0, $3 + 8 | 0); - $4 = HEAP32[$3 + 20 >> 2]; - $0 = HEAP32[$3 + 16 >> 2]; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 16 >> 2] = $4; - __stack_pointer = $3 + 32 | 0; -} - -function b2PolygonShape__b2PolygonShape_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 8 >> 2] = $0; - $1 = HEAP32[$2 + 8 >> 2]; - HEAP32[$2 + 12 >> 2] = $1; - b2Shape__b2Shape_28_29($1); - HEAP32[$1 >> 2] = 18336; - b2Vec2__b2Vec2_28_29($1 + 12 | 0); - $0 = $1 + 20 | 0; - $3 = $0 - -64 | 0; - while (1) { - b2Vec2__b2Vec2_28_29($0); - $0 = $0 + 8 | 0; - if (($3 | 0) != ($0 | 0)) { - continue; - } - break; - } - $0 = $1 + 84 | 0; - $3 = $0 - -64 | 0; - while (1) { - b2Vec2__b2Vec2_28_29($0); - $0 = $0 + 8 | 0; - if (($3 | 0) != ($0 | 0)) { - continue; - } - break; - } - HEAP32[$1 + 4 >> 2] = 2; - HEAPF32[$1 + 8 >> 2] = .009999999776482582; - HEAP32[$1 + 148 >> 2] = 0; - b2Vec2__SetZero_28_29($1 + 12 | 0); - __stack_pointer = $2 + 16 | 0; - return HEAP32[$2 + 12 >> 2]; -} - -function b2EdgeAndPolygonContact__b2EdgeAndPolygonContact_28b2Fixture__2c_20b2Fixture__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 8 >> 2] = $0; - HEAP32[$3 + 4 >> 2] = $1; - HEAP32[$3 >> 2] = $2; - $0 = HEAP32[$3 + 8 >> 2]; - HEAP32[$3 + 12 >> 2] = $0; - b2Contact__b2Contact_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_29($0, HEAP32[$3 + 4 >> 2], 0, HEAP32[$3 >> 2], 0); - HEAP32[$0 >> 2] = 18932; - if ((b2Fixture__GetType_28_29_20const(HEAP32[$0 + 48 >> 2]) | 0) != 1) { - __assert_fail(9969, 4926, 45, 3273); - wasm2js_trap(); - } - if ((b2Fixture__GetType_28_29_20const(HEAP32[$0 + 52 >> 2]) | 0) != 2) { - __assert_fail(6930, 4926, 46, 3273); - wasm2js_trap(); - } - __stack_pointer = $3 + 16 | 0; - return HEAP32[$3 + 12 >> 2]; -} - -function b2MulT_28b2Transform_20const__2c_20b2Transform_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $1; - HEAP32[$3 + 24 >> 2] = $2; - b2Transform__b2Transform_28_29($0); - b2MulT_28b2Rot_20const__2c_20b2Rot_20const__29($3 + 16 | 0, HEAP32[$3 + 28 >> 2] + 8 | 0, HEAP32[$3 + 24 >> 2] + 8 | 0); - $1 = HEAP32[$3 + 20 >> 2]; - $2 = HEAP32[$3 + 16 >> 2]; - HEAP32[$0 + 8 >> 2] = $2; - HEAP32[$0 + 12 >> 2] = $1; - $1 = HEAP32[$3 + 28 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3, HEAP32[$3 + 24 >> 2], HEAP32[$3 + 28 >> 2]); - b2MulT_28b2Rot_20const__2c_20b2Vec2_20const__29($3 + 8 | 0, $1 + 8 | 0, $3); - $2 = HEAP32[$3 + 12 >> 2]; - $1 = HEAP32[$3 + 8 >> 2]; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - __stack_pointer = $3 + 32 | 0; -} - -function emscripten__internal__MethodInvoker_bool_20_28b2World____29_28_29_20const_2c_20bool_2c_20b2World_20const____invoke_28bool_20_28b2World____20const__29_28_29_20const_2c_20b2World_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2World_20const__2c_20void___fromWireType_28b2World_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__BindingType_bool_2c_20void___toWireType_28bool_29(FUNCTION_TABLE[$0 | 0]($1) & 1); - __stack_pointer = $2 + 16 | 0; - return $0 & 1; -} - -function emscripten__internal__MethodInvoker_bool_20_28b2Joint____29_28_29_20const_2c_20bool_2c_20b2Joint_20const____invoke_28bool_20_28b2Joint____20const__29_28_29_20const_2c_20b2Joint_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2Joint_20const__2c_20void___fromWireType_28b2Joint_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__BindingType_bool_2c_20void___toWireType_28bool_29(FUNCTION_TABLE[$0 | 0]($1) & 1); - __stack_pointer = $2 + 16 | 0; - return $0 & 1; -} - -function b2PolygonAndCircleContact__b2PolygonAndCircleContact_28b2Fixture__2c_20b2Fixture__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 8 >> 2] = $0; - HEAP32[$3 + 4 >> 2] = $1; - HEAP32[$3 >> 2] = $2; - $0 = HEAP32[$3 + 8 >> 2]; - HEAP32[$3 + 12 >> 2] = $0; - b2Contact__b2Contact_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_29($0, HEAP32[$3 + 4 >> 2], 0, HEAP32[$3 >> 2], 0); - HEAP32[$0 >> 2] = 19368; - if ((b2Fixture__GetType_28_29_20const(HEAP32[$0 + 48 >> 2]) | 0) != 2) { - __assert_fail(6974, 5073, 45, 3327); - wasm2js_trap(); - } - if (b2Fixture__GetType_28_29_20const(HEAP32[$0 + 52 >> 2])) { - __assert_fail(9748, 5073, 46, 3327); - wasm2js_trap(); - } - __stack_pointer = $3 + 16 | 0; - return HEAP32[$3 + 12 >> 2]; -} - -function b2PolygonAndCircleContact__Create_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAP32[$5 + 12 >> 2] = $4; - wasm2js_i32$0 = $5, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$5 + 12 >> 2], 148), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - $0 = HEAP32[$5 + 8 >> 2]; - b2PolygonAndCircleContact__b2PolygonAndCircleContact_28b2Fixture__2c_20b2Fixture__29($0, HEAP32[$5 + 28 >> 2], HEAP32[$5 + 20 >> 2]); - __stack_pointer = $5 + 32 | 0; - return $0 | 0; -} - -function emscripten__internal__MethodInvoker_bool_20_28b2Body____29_28_29_20const_2c_20bool_2c_20b2Body_20const____invoke_28bool_20_28b2Body____20const__29_28_29_20const_2c_20b2Body_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2Body_20const__2c_20void___fromWireType_28b2Body_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__BindingType_bool_2c_20void___toWireType_28bool_29(FUNCTION_TABLE[$0 | 0]($1) & 1); - __stack_pointer = $2 + 16 | 0; - return $0 & 1; -} - -function emscripten__internal__MethodInvoker_bool_20_28b2AABB____29_28_29_20const_2c_20bool_2c_20b2AABB_20const____invoke_28bool_20_28b2AABB____20const__29_28_29_20const_2c_20b2AABB_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2AABB_20const__2c_20void___fromWireType_28b2AABB_20const__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__BindingType_bool_2c_20void___toWireType_28bool_29(FUNCTION_TABLE[$0 | 0]($1) & 1); - __stack_pointer = $2 + 16 | 0; - return $0 & 1; -} - -function b2PrismaticJoint__SetLimits_28float_2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = Math_fround($1); - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAPF32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - if (!(HEAPF32[$3 + 8 >> 2] <= HEAPF32[$3 + 4 >> 2])) { - __assert_fail(4156, 4717, 574, 3570); - wasm2js_trap(); - } - if (!(HEAPF32[$3 + 8 >> 2] == HEAPF32[$0 + 120 >> 2] & HEAPF32[$3 + 4 >> 2] == HEAPF32[$0 + 124 >> 2])) { - b2Body__SetAwake_28bool_29(HEAP32[$0 + 48 >> 2], 1); - b2Body__SetAwake_28bool_29(HEAP32[$0 + 52 >> 2], 1); - HEAPF32[$0 + 120 >> 2] = HEAPF32[$3 + 8 >> 2]; - HEAPF32[$0 + 124 >> 2] = HEAPF32[$3 + 4 >> 2]; - HEAPF32[$0 + 112 >> 2] = 0; - } - __stack_pointer = $3 + 16 | 0; -} - -function b2EdgeAndCircleContact__b2EdgeAndCircleContact_28b2Fixture__2c_20b2Fixture__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 8 >> 2] = $0; - HEAP32[$3 + 4 >> 2] = $1; - HEAP32[$3 >> 2] = $2; - $0 = HEAP32[$3 + 8 >> 2]; - HEAP32[$3 + 12 >> 2] = $0; - b2Contact__b2Contact_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_29($0, HEAP32[$3 + 4 >> 2], 0, HEAP32[$3 >> 2], 0); - HEAP32[$0 >> 2] = 18872; - if ((b2Fixture__GetType_28_29_20const(HEAP32[$0 + 48 >> 2]) | 0) != 1) { - __assert_fail(9969, 5227, 45, 3377); - wasm2js_trap(); - } - if (b2Fixture__GetType_28_29_20const(HEAP32[$0 + 52 >> 2])) { - __assert_fail(9748, 5227, 46, 3377); - wasm2js_trap(); - } - __stack_pointer = $3 + 16 | 0; - return HEAP32[$3 + 12 >> 2]; -} - -function emscripten__internal__FunctionInvoker_unsigned_20int_20_28__29_28b2Body__29_2c_20unsigned_20int_2c_20b2Body____invoke_28unsigned_20int_20_28___29_28b2Body__29_2c_20b2Body__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[HEAP32[$2 + 12 >> 2] >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_b2Body__2c_20void___fromWireType_28b2Body__29(HEAP32[$2 + 8 >> 2])) | 0, - HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - $0 = emscripten__internal__BindingType_unsigned_20int_2c_20void___toWireType_28unsigned_20int_20const__29($2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function b2PolygonContact__b2PolygonContact_28b2Fixture__2c_20b2Fixture__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 8 >> 2] = $0; - HEAP32[$3 + 4 >> 2] = $1; - HEAP32[$3 >> 2] = $2; - $0 = HEAP32[$3 + 8 >> 2]; - HEAP32[$3 + 12 >> 2] = $0; - b2Contact__b2Contact_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_29($0, HEAP32[$3 + 4 >> 2], 0, HEAP32[$3 >> 2], 0); - HEAP32[$0 >> 2] = 19428; - if ((b2Fixture__GetType_28_29_20const(HEAP32[$0 + 48 >> 2]) | 0) != 2) { - __assert_fail(6974, 5002, 48, 3297); - wasm2js_trap(); - } - if ((b2Fixture__GetType_28_29_20const(HEAP32[$0 + 52 >> 2]) | 0) != 2) { - __assert_fail(6930, 5002, 49, 3297); - wasm2js_trap(); - } - __stack_pointer = $3 + 16 | 0; - return HEAP32[$3 + 12 >> 2]; -} - -function b2EdgeAndPolygonContact__Create_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAP32[$5 + 12 >> 2] = $4; - wasm2js_i32$0 = $5, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$5 + 12 >> 2], 148), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - $0 = HEAP32[$5 + 8 >> 2]; - b2EdgeAndPolygonContact__b2EdgeAndPolygonContact_28b2Fixture__2c_20b2Fixture__29($0, HEAP32[$5 + 28 >> 2], HEAP32[$5 + 20 >> 2]); - __stack_pointer = $5 + 32 | 0; - return $0 | 0; -} - -function b2RevoluteJoint__SetLimits_28float_2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = Math_fround($1); - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAPF32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - if (!(HEAPF32[$3 + 8 >> 2] <= HEAPF32[$3 + 4 >> 2])) { - __assert_fail(4156, 4580, 484, 3570); - wasm2js_trap(); - } - if (!(HEAPF32[$3 + 8 >> 2] == HEAPF32[$0 + 120 >> 2] & HEAPF32[$3 + 4 >> 2] == HEAPF32[$0 + 124 >> 2])) { - b2Body__SetAwake_28bool_29(HEAP32[$0 + 48 >> 2], 1); - b2Body__SetAwake_28bool_29(HEAP32[$0 + 52 >> 2], 1); - HEAPF32[$0 + 92 >> 2] = 0; - HEAPF32[$0 + 120 >> 2] = HEAPF32[$3 + 8 >> 2]; - HEAPF32[$0 + 124 >> 2] = HEAPF32[$3 + 4 >> 2]; - } - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__val__call_void_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const___28char_20const__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29_20const($0, $1, $2, $3, $4) { - var $5 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAP32[$5 + 12 >> 2] = $4; - emscripten__internal__MethodCaller_void_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const____call_28emscripten___EM_VAL__2c_20char_20const__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29(HEAP32[HEAP32[$5 + 28 >> 2] >> 2], HEAP32[$5 + 24 >> 2], HEAP32[$5 + 20 >> 2], HEAP32[$5 + 16 >> 2], HEAP32[$5 + 12 >> 2]); - __stack_pointer = $5 + 32 | 0; -} - -function b2EdgeAndCircleContact__Create_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAP32[$5 + 12 >> 2] = $4; - wasm2js_i32$0 = $5, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$5 + 12 >> 2], 148), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - $0 = HEAP32[$5 + 8 >> 2]; - b2EdgeAndCircleContact__b2EdgeAndCircleContact_28b2Fixture__2c_20b2Fixture__29($0, HEAP32[$5 + 28 >> 2], HEAP32[$5 + 20 >> 2]); - __stack_pointer = $5 + 32 | 0; - return $0 | 0; -} - -function std____2____split_buffer_int_2c_20std____2__allocator_int________split_buffer_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - $0 = HEAP32[$1 + 8 >> 2]; - HEAP32[$1 + 12 >> 2] = $0; - std____2____split_buffer_int_2c_20std____2__allocator_int_____clear_5babi_v160004_5d_28_29($0); - if (HEAP32[$0 >> 2]) { - std____2__allocator_traits_std____2__allocator_int____deallocate_5babi_v160004_5d_28std____2__allocator_int___2c_20int__2c_20unsigned_20long_29(std____2____split_buffer_int_2c_20std____2__allocator_int_______alloc_5babi_v160004_5d_28_29($0), HEAP32[$0 >> 2], std____2____split_buffer_int_2c_20std____2__allocator_int_____capacity_5babi_v160004_5d_28_29_20const($0)); - } - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 12 >> 2]; -} - -function std____2__vector_int_2c_20std____2__allocator_int____push_back_5babi_v160004_5d_28int_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - label$1: { - if (HEAP32[$0 + 4 >> 2] != HEAP32[std____2__vector_int_2c_20std____2__allocator_int______end_cap_5babi_v160004_5d_28_29($0) >> 2]) { - void_20std____2__vector_int_2c_20std____2__allocator_int______construct_one_at_end_5babi_v160004_5d_int_20const___28int_20const__29($0, HEAP32[$2 + 8 >> 2]); - break label$1; - } - void_20std____2__vector_int_2c_20std____2__allocator_int______push_back_slow_path_int_20const___28int_20const__29($0, HEAP32[$2 + 8 >> 2]); - } - __stack_pointer = $2 + 16 | 0; -} - -function std____2__operator___5babi_v160004_5d_28std____2____tree_const_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20const__2c_20std____2____tree_const_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = std____2__operator___5babi_v160004_5d_28std____2____tree_const_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20const__2c_20std____2____tree_const_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20const__29_1(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]) ^ -1; - __stack_pointer = $2 + 16 | 0; - return $0 & 1; -} - -function emscripten__internal__Invoker_float_2c_20unsigned_20int___invoke_28float_20_28__29_28unsigned_20int_29_2c_20unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$2 + 8 >> 2]))), - HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; - $3 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29($2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($3); -} - -function std____2____compressed_pair_b2Vec2__2c_20std____2__allocator_b2Vec2______compressed_pair_5babi_v160004_5d_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - std____2____compressed_pair_elem_b2Vec2__2c_200_2c_20false_____compressed_pair_elem_5babi_v160004_5d_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, HEAP32[$3 + 8 >> 2]); - std____2____compressed_pair_elem_std____2__allocator_b2Vec2__2c_201_2c_20true_____compressed_pair_elem_5babi_v160004_5d_28std____2____default_init_tag_29($0); - __stack_pointer = $3 + 16 | 0; - return $0; -} - -function b2AABB__Contains_28b2AABB_20const__29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP8[$2 + 7 | 0] = 1; - $3 = HEAP8[$2 + 7 | 0] & 1 ? HEAPF32[$0 >> 2] <= HEAPF32[HEAP32[$2 + 8 >> 2] >> 2] : $3; - HEAP8[$2 + 7 | 0] = $3; - $4 = HEAP8[$2 + 7 | 0] & 1 ? HEAPF32[$0 + 4 >> 2] <= HEAPF32[HEAP32[$2 + 8 >> 2] + 4 >> 2] : $4; - HEAP8[$2 + 7 | 0] = $4; - $5 = HEAP8[$2 + 7 | 0] & 1 ? HEAPF32[HEAP32[$2 + 8 >> 2] + 8 >> 2] <= HEAPF32[$0 + 8 >> 2] : $5; - HEAP8[$2 + 7 | 0] = $5; - $6 = HEAP8[$2 + 7 | 0] & 1 ? HEAPF32[HEAP32[$2 + 8 >> 2] + 12 >> 2] <= HEAPF32[$0 + 12 >> 2] : $6; - HEAP8[$2 + 7 | 0] = $6; - return HEAP8[$2 + 7 | 0] & 1; -} - -function emscripten__internal__Signature_void_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const____get_method_caller_28_29() { - var $0 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $0 = __stack_pointer - 16 | 0; - __stack_pointer = $0; - if (!(HEAP8[29404] & 1)) { - wasm2js_i32$0 = 29400, wasm2js_i32$1 = _emval_get_method_caller(emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const____getCount_28_29_20const($0 + 15 | 0) | 0, emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const____getTypes_28_29_20const($0 + 15 | 0) | 0) | 0, - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - HEAP8[29404] = 1; - } - __stack_pointer = $0 + 16 | 0; - return HEAP32[7350]; -} - -function std____2____compressed_pair_std____2____tree_end_node_std____2____tree_node_base_void_____2c_20std____2__allocator_std____2____tree_node_b2Fixture__2c_20void________compressed_pair_5babi_v160004_5d_true_2c_20void__28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - std____2____compressed_pair_elem_std____2____tree_end_node_std____2____tree_node_base_void_____2c_200_2c_20false_____compressed_pair_elem_5babi_v160004_5d_28std____2____value_init_tag_29($0); - std____2____compressed_pair_elem_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void____2c_201_2c_20true_____compressed_pair_elem_5babi_v160004_5d_28std____2____value_init_tag_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__class__b2Draw_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2Draw_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2DrawWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2DrawWrapper__29____invoke_28b2DrawWrapper__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - emscripten__class__b2Draw_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2Draw_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2DrawWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2DrawWrapper__29__operator_28_29_28b2DrawWrapper__29_20const($1 + 11 | 0, HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function b2DrawWrapper__DrawSolidCircle_28b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const__29($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - $3 = $3 | 0; - $4 = $4 | 0; - var $5 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAPF32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAP32[$5 + 12 >> 2] = $4; - void_20emscripten__wrapper_b2Draw___call_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const___28char_20const__2c_20b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const__29_20const(HEAP32[$5 + 28 >> 2], 9868, HEAP32[$5 + 24 >> 2], $5 + 20 | 0, HEAP32[$5 + 16 >> 2], HEAP32[$5 + 12 >> 2]); - __stack_pointer = $5 + 32 | 0; -} - -function emscripten__internal__Invoker_bool_2c_20unsigned_20int_2c_20b2Vec2_20const____invoke_28bool_20_28__29_28unsigned_20int_2c_20b2Vec2_20const__29_2c_20unsigned_20int_2c_20b2Vec2__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - $0 = emscripten__internal__BindingType_bool_2c_20void___toWireType_28bool_29(FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$3 + 8 >> 2]), emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$3 + 4 >> 2])) & 1); - __stack_pointer = $3 + 16 | 0; - return $0 & 1; -} - -function emscripten__internal__Invoker_b2Vec2_20const__2c_20unsigned_20int_2c_20int___invoke_28b2Vec2_20const__20_28__29_28unsigned_20int_2c_20int_29_2c_20unsigned_20int_2c_20int_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$3 + 8 >> 2]), emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29(HEAP32[$3 + 4 >> 2])) | 0); - __stack_pointer = $3 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__Invoker_b2AABB_20const__2c_20unsigned_20int_2c_20int___invoke_28b2AABB_20const__20_28__29_28unsigned_20int_2c_20int_29_2c_20unsigned_20int_2c_20int_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - $0 = emscripten__internal__GenericBindingType_b2AABB___toWireType_28b2AABB_20const__29(FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$3 + 8 >> 2]), emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29(HEAP32[$3 + 4 >> 2])) | 0); - __stack_pointer = $3 + 16 | 0; - return $0 | 0; -} - -function b2PolygonContact__Create_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAP32[$5 + 12 >> 2] = $4; - wasm2js_i32$0 = $5, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$5 + 12 >> 2], 148), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - $0 = HEAP32[$5 + 8 >> 2]; - b2PolygonContact__b2PolygonContact_28b2Fixture__2c_20b2Fixture__29($0, HEAP32[$5 + 28 >> 2], HEAP32[$5 + 20 >> 2]); - __stack_pointer = $5 + 32 | 0; - return $0 | 0; -} - -function b2CircleContact__b2CircleContact_28b2Fixture__2c_20b2Fixture__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 8 >> 2] = $0; - HEAP32[$3 + 4 >> 2] = $1; - HEAP32[$3 >> 2] = $2; - $0 = HEAP32[$3 + 8 >> 2]; - HEAP32[$3 + 12 >> 2] = $0; - b2Contact__b2Contact_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_29($0, HEAP32[$3 + 4 >> 2], 0, HEAP32[$3 >> 2], 0); - HEAP32[$0 >> 2] = 18508; - if (b2Fixture__GetType_28_29_20const(HEAP32[$0 + 48 >> 2])) { - __assert_fail(9791, 5302, 47, 3400); - wasm2js_trap(); - } - if (b2Fixture__GetType_28_29_20const(HEAP32[$0 + 52 >> 2])) { - __assert_fail(9748, 5302, 48, 3400); - wasm2js_trap(); - } - __stack_pointer = $3 + 16 | 0; - return HEAP32[$3 + 12 >> 2]; -} - -function b2CircleContact__Create_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - var $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAP32[$5 + 12 >> 2] = $4; - wasm2js_i32$0 = $5, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$5 + 12 >> 2], 148), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - $0 = HEAP32[$5 + 8 >> 2]; - b2CircleContact__b2CircleContact_28b2Fixture__2c_20b2Fixture__29($0, HEAP32[$5 + 28 >> 2], HEAP32[$5 + 20 >> 2]); - __stack_pointer = $5 + 32 | 0; - return $0 | 0; -} - -function void_20emscripten__wrapper_b2Draw___call_void_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const___28char_20const__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29_20const($0, $1, $2, $3, $4) { - var $5 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAP32[$5 + 12 >> 2] = $4; - void_20emscripten__val__call_void_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const___28char_20const__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29_20const(HEAP32[$5 + 28 >> 2] + 12 | 0, HEAP32[$5 + 24 >> 2], HEAP32[$5 + 20 >> 2], HEAP32[$5 + 16 >> 2], HEAP32[$5 + 12 >> 2]); - __stack_pointer = $5 + 32 | 0; -} - -function std____2____compressed_pair_int__2c_20std____2__allocator_int______compressed_pair_5babi_v160004_5d_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - std____2____compressed_pair_elem_int__2c_200_2c_20false_____compressed_pair_elem_5babi_v160004_5d_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, HEAP32[$3 + 8 >> 2]); - std____2____compressed_pair_elem_std____2__allocator_int__2c_201_2c_20true_____compressed_pair_elem_5babi_v160004_5d_28std____2____default_init_tag_29($0); - __stack_pointer = $3 + 16 | 0; - return $0; -} - -function emscripten__internal__MethodInvoker_b2Body__20_28b2Joint____29_28_29_2c_20b2Body__2c_20b2Joint____invoke_28b2Body__20_28b2Joint____20const__29_28_29_2c_20b2Joint__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2Joint__2c_20void___fromWireType_28b2Joint__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__BindingType_b2Body__2c_20void___toWireType_28b2Body__29(FUNCTION_TABLE[$0 | 0]($1) | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__MethodInvoker_b2World__20_28b2Body____29_28_29_2c_20b2World__2c_20b2Body____invoke_28b2World__20_28b2Body____20const__29_28_29_2c_20b2Body__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2Body__2c_20void___fromWireType_28b2Body__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - $0 = emscripten__internal__BindingType_b2World__2c_20void___toWireType_28b2World__29(FUNCTION_TABLE[$0 | 0]($1) | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____vector_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$1 + 8 >> 2] = 0; - std____2____compressed_pair_b2Vec2__2c_20std____2__allocator_b2Vec2______compressed_pair_5babi_v160004_5d_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $1 + 8 | 0, $1 + 7 | 0); - void_20std____2____debug_db_insert_c_5babi_v160004_5d_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2__enable_if_is_reference_decltype_28_std__declval_std____2__reverse_iterator_b2Vec2_____28_29_29___value_2c_20decltype_28std__move_28_std__declval_std____2__reverse_iterator_b2Vec2_____28_29_29_29___type_20std____2___IterOps_std____2___ClassicAlgPolicy_____iter_move_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2_____28std____2__reverse_iterator_b2Vec2____29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - void_20std____2___IterOps_std____2___ClassicAlgPolicy_____validate_iter_reference_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2_____28_29(); - $0 = std____2__reverse_iterator_b2Vec2____operator__5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Mul_28b2Mat33_20const__2c_20b2Vec3_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer + -64 | 0; - __stack_pointer = $3; - HEAP32[$3 + 60 >> 2] = $1; - HEAP32[$3 + 56 >> 2] = $2; - operator__28float_2c_20b2Vec3_20const__29($3 + 32 | 0, HEAPF32[HEAP32[$3 + 56 >> 2] >> 2], HEAP32[$3 + 60 >> 2]); - operator__28float_2c_20b2Vec3_20const__29($3 + 20 | 0, HEAPF32[HEAP32[$3 + 56 >> 2] + 4 >> 2], HEAP32[$3 + 60 >> 2] + 12 | 0); - operator__28b2Vec3_20const__2c_20b2Vec3_20const__29_1($3 + 44 | 0, $3 + 32 | 0, $3 + 20 | 0); - operator__28float_2c_20b2Vec3_20const__29($3 + 8 | 0, HEAPF32[HEAP32[$3 + 56 >> 2] + 8 >> 2], HEAP32[$3 + 60 >> 2] + 24 | 0); - operator__28b2Vec3_20const__2c_20b2Vec3_20const__29_1($0, $3 + 44 | 0, $3 + 8 | 0); - __stack_pointer = $3 - -64 | 0; -} - -function emscripten__internal__Invoker_unsigned_20int_2c_20unsigned_20int___invoke_28unsigned_20int_20_28__29_28unsigned_20int_29_2c_20unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$2 + 8 >> 2])) | 0, - HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - $0 = emscripten__internal__BindingType_unsigned_20int_2c_20void___toWireType_28unsigned_20int_20const__29($2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____push_back_5babi_v160004_5d_28b2Vec2___29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - label$1: { - if (HEAPU32[$0 + 4 >> 2] < HEAPU32[std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______end_cap_5babi_v160004_5d_28_29($0) >> 2]) { - void_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______construct_one_at_end_5babi_v160004_5d_b2Vec2__28b2Vec2___29($0, HEAP32[$2 + 8 >> 2]); - break label$1; - } - void_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______push_back_slow_path_b2Vec2__28b2Vec2___29($0, HEAP32[$2 + 8 >> 2]); - } - __stack_pointer = $2 + 16 | 0; -} - -function void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______emscripten__internal__getContext_void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28unsigned_20long_2c_20b2Vec2_20const__29__28void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______20const__29_28unsigned_20long_2c_20b2Vec2_20const__29_29_29_28unsigned_20long_2c_20b2Vec2_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function std____2__operator___5babi_v160004_5d_28std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20const__2c_20std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20const__29_1($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = std____2__operator___5babi_v160004_5d_28std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20const__2c_20std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20const__29(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]) ^ -1; - __stack_pointer = $2 + 16 | 0; - return $0 & 1; -} - -function b2EdgeShape__ComputeMass_28b2MassData__2c_20float_29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0, $4 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $0; - HEAP32[$3 + 24 >> 2] = $1; - HEAPF32[$3 + 20 >> 2] = $2; - $0 = HEAP32[$3 + 28 >> 2]; - HEAPF32[HEAP32[$3 + 24 >> 2] >> 2] = 0; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($3 + 4 | 0, $0 + 12 | 0, $0 + 20 | 0); - operator__28float_2c_20b2Vec2_20const__29($3 + 12 | 0, Math_fround(.5), $3 + 4 | 0); - $4 = HEAP32[$3 + 16 >> 2]; - $0 = HEAP32[$3 + 12 >> 2]; - $1 = $0; - $0 = HEAP32[$3 + 24 >> 2]; - HEAP32[$0 + 4 >> 2] = $1; - HEAP32[$0 + 8 >> 2] = $4; - HEAPF32[HEAP32[$3 + 24 >> 2] + 12 >> 2] = 0; - __stack_pointer = $3 + 32 | 0; -} - -function void_20emscripten__val__call_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Color_20const___28char_20const__2c_20b2Vec2_20const__2c_20float__2c_20b2Color_20const__29_20const($0, $1, $2, $3, $4) { - var $5 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAP32[$5 + 12 >> 2] = $4; - emscripten__internal__MethodCaller_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Color_20const____call_28emscripten___EM_VAL__2c_20char_20const__2c_20b2Vec2_20const__2c_20float__2c_20b2Color_20const__29(HEAP32[HEAP32[$5 + 28 >> 2] >> 2], HEAP32[$5 + 24 >> 2], HEAP32[$5 + 20 >> 2], HEAP32[$5 + 16 >> 2], HEAP32[$5 + 12 >> 2]); - __stack_pointer = $5 + 32 | 0; -} - -function emscripten__internal__Signature_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Color_20const____get_method_caller_28_29() { - var $0 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $0 = __stack_pointer - 16 | 0; - __stack_pointer = $0; - if (!(HEAP8[29388] & 1)) { - wasm2js_i32$0 = 29384, wasm2js_i32$1 = _emval_get_method_caller(emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Color_20const____getCount_28_29_20const($0 + 15 | 0) | 0, emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Color_20const____getTypes_28_29_20const($0 + 15 | 0) | 0) | 0, - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - HEAP8[29388] = 1; - } - __stack_pointer = $0 + 16 | 0; - return HEAP32[7346]; -} - -function emscripten__internal__Invoker_b2RayCastCallbackWrapper__2c_20emscripten__val_____invoke_28b2RayCastCallbackWrapper__20_28__29_28emscripten__val___29_2c_20emscripten___EM_VAL__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - emscripten__internal__BindingType_emscripten__val___2c_20void___fromWireType_28emscripten___EM_VAL__29($2 + 4 | 0, HEAP32[$2 + 8 >> 2]); - $0 = emscripten__internal__BindingType_b2RayCastCallbackWrapper__2c_20void___toWireType_28b2RayCastCallbackWrapper__29(FUNCTION_TABLE[$0 | 0]($2 + 4 | 0) | 0); - emscripten__val___val_28_29($2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__Invoker_b2ContactListenerWrapper__2c_20emscripten__val_____invoke_28b2ContactListenerWrapper__20_28__29_28emscripten__val___29_2c_20emscripten___EM_VAL__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - emscripten__internal__BindingType_emscripten__val___2c_20void___fromWireType_28emscripten___EM_VAL__29($2 + 4 | 0, HEAP32[$2 + 8 >> 2]); - $0 = emscripten__internal__BindingType_b2ContactListenerWrapper__2c_20void___toWireType_28b2ContactListenerWrapper__29(FUNCTION_TABLE[$0 | 0]($2 + 4 | 0) | 0); - emscripten__val___val_28_29($2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function b2BroadPhase__TestOverlap_28int_2c_20int_29_20const($0, $1, $2) { - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $0; - HEAP32[$3 + 24 >> 2] = $1; - HEAP32[$3 + 20 >> 2] = $2; - $0 = HEAP32[$3 + 28 >> 2]; - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2DynamicTree__GetFatAABB_28int_29_20const($0, HEAP32[$3 + 24 >> 2]), - HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2DynamicTree__GetFatAABB_28int_29_20const($0, HEAP32[$3 + 20 >> 2]), - HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; - $0 = b2TestOverlap_28b2AABB_20const__2c_20b2AABB_20const__29(HEAP32[$3 + 16 >> 2], HEAP32[$3 + 12 >> 2]); - __stack_pointer = $3 + 32 | 0; - return $0 & 1; -} - -function std____2__enable_if_is_reference_decltype_28_std__declval_std____2__reverse_iterator_int_____28_29_29___value_2c_20decltype_28std__move_28_std__declval_std____2__reverse_iterator_int_____28_29_29_29___type_20std____2___IterOps_std____2___ClassicAlgPolicy_____iter_move_5babi_v160004_5d_std____2__reverse_iterator_int_____28std____2__reverse_iterator_int____29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - void_20std____2___IterOps_std____2___ClassicAlgPolicy_____validate_iter_reference_5babi_v160004_5d_std____2__reverse_iterator_int_____28_29(); - $0 = std____2__reverse_iterator_int____operator__5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20emscripten__val__call_void_2c_20unsigned_20int__2c_20int__2c_20b2Color_20const___28char_20const__2c_20unsigned_20int__2c_20int__2c_20b2Color_20const__29_20const($0, $1, $2, $3, $4) { - var $5 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAP32[$5 + 12 >> 2] = $4; - emscripten__internal__MethodCaller_void_2c_20unsigned_20int__2c_20int__2c_20b2Color_20const____call_28emscripten___EM_VAL__2c_20char_20const__2c_20unsigned_20int__2c_20int__2c_20b2Color_20const__29(HEAP32[HEAP32[$5 + 28 >> 2] >> 2], HEAP32[$5 + 24 >> 2], HEAP32[$5 + 20 >> 2], HEAP32[$5 + 16 >> 2], HEAP32[$5 + 12 >> 2]); - __stack_pointer = $5 + 32 | 0; -} - -function b2Vec2__Normalize_28_29($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - $0 = HEAP32[$1 + 8 >> 2]; - wasm2js_i32$0 = $1, wasm2js_f32$0 = b2Vec2__Length_28_29_20const($0), HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; - label$1: { - if (HEAPF32[$1 + 4 >> 2] < Math_fround(1.1920928955078125e-7)) { - HEAPF32[$1 + 12 >> 2] = 0; - break label$1; - } - HEAPF32[$1 >> 2] = Math_fround(1) / HEAPF32[$1 + 4 >> 2]; - HEAPF32[$0 >> 2] = HEAPF32[$0 >> 2] * HEAPF32[$1 >> 2]; - HEAPF32[$0 + 4 >> 2] = HEAPF32[$0 + 4 >> 2] * HEAPF32[$1 >> 2]; - HEAPF32[$1 + 12 >> 2] = HEAPF32[$1 + 4 >> 2]; - } - __stack_pointer = $1 + 16 | 0; - return HEAPF32[$1 + 12 >> 2]; -} - -function emscripten__internal__Signature_void_2c_20unsigned_20int__2c_20int__2c_20b2Color_20const____get_method_caller_28_29() { - var $0 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $0 = __stack_pointer - 16 | 0; - __stack_pointer = $0; - if (!(HEAP8[29380] & 1)) { - wasm2js_i32$0 = 29376, wasm2js_i32$1 = _emval_get_method_caller(emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int__2c_20int__2c_20b2Color_20const____getCount_28_29_20const($0 + 15 | 0) | 0, emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int__2c_20int__2c_20b2Color_20const____getTypes_28_29_20const($0 + 15 | 0) | 0) | 0, - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - HEAP8[29380] = 1; - } - __stack_pointer = $0 + 16 | 0; - return HEAP32[7344]; -} - -function emscripten__internal__VectorAccess_std____2__vector_int_2c_20std____2__allocator_int_____set_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[HEAP32[$3 + 4 >> 2] >> 2]; - wasm2js_i32$0 = std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_5babi_v160004_5d_28unsigned_20long_29(HEAP32[$3 + 12 >> 2], HEAP32[$3 + 8 >> 2]), - wasm2js_i32$1 = $0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - __stack_pointer = $3 + 16 | 0; - return 1; -} - -function unsigned_20long_20const__20std____2__min_5babi_v160004_5d_unsigned_20long_2c_20std____2____less_unsigned_20long_2c_20unsigned_20long___28unsigned_20long_20const__2c_20unsigned_20long_20const__2c_20std____2____less_unsigned_20long_2c_20unsigned_20long__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 8 >> 2] = $0; - HEAP32[$2 + 4 >> 2] = $1; - label$1: { - if (std____2____less_unsigned_20long_2c_20unsigned_20long___operator_28_29_5babi_v160004_5d_28unsigned_20long_20const__2c_20unsigned_20long_20const__29_20const($2 + 15 | 0, HEAP32[$2 + 4 >> 2], HEAP32[$2 + 8 >> 2]) & 1) { - $0 = HEAP32[$2 + 4 >> 2]; - break label$1; - } - $0 = HEAP32[$2 + 8 >> 2]; - } - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function unsigned_20long_20const__20std____2__max_5babi_v160004_5d_unsigned_20long_2c_20std____2____less_unsigned_20long_2c_20unsigned_20long___28unsigned_20long_20const__2c_20unsigned_20long_20const__2c_20std____2____less_unsigned_20long_2c_20unsigned_20long__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 8 >> 2] = $0; - HEAP32[$2 + 4 >> 2] = $1; - label$1: { - if (std____2____less_unsigned_20long_2c_20unsigned_20long___operator_28_29_5babi_v160004_5d_28unsigned_20long_20const__2c_20unsigned_20long_20const__29_20const($2 + 15 | 0, HEAP32[$2 + 8 >> 2], HEAP32[$2 + 4 >> 2]) & 1) { - $0 = HEAP32[$2 + 4 >> 2]; - break label$1; - } - $0 = HEAP32[$2 + 8 >> 2]; - } - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function emscripten__internal__FunctionInvoker_void_20_28__29_28b2Body__2c_20b2MassData_20const__29_2c_20void_2c_20b2Body__2c_20b2MassData_20const____invoke_28void_20_28___29_28b2Body__2c_20b2MassData_20const__29_2c_20b2Body__2c_20b2MassData__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[HEAP32[$3 + 12 >> 2] >> 2]; - FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_b2Body__2c_20void___fromWireType_28b2Body__29(HEAP32[$3 + 8 >> 2]), emscripten__internal__GenericBindingType_b2MassData___fromWireType_28b2MassData__29(HEAP32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function b2DynamicTree__FreeNode_28int_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (!(HEAP32[$2 + 8 >> 2] < HEAP32[$0 + 12 >> 2] & HEAP32[$2 + 8 >> 2] >= 0)) { - __assert_fail(1430, 6056, 98, 10060); - wasm2js_trap(); - } - if (HEAP32[$0 + 8 >> 2] <= 0) { - __assert_fail(2514, 6056, 99, 10060); - wasm2js_trap(); - } - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 40) | 0) + 20 >> 2] = HEAP32[$0 + 16 >> 2]; - HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 40) | 0) + 32 >> 2] = -1; - HEAP32[$0 + 16 >> 2] = HEAP32[$2 + 8 >> 2]; - HEAP32[$0 + 8 >> 2] = HEAP32[$0 + 8 >> 2] - 1; - __stack_pointer = $2 + 16 | 0; -} - -function std____2__vector_int_2c_20std____2__allocator_int____vector_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$1 + 8 >> 2] = 0; - std____2____compressed_pair_int__2c_20std____2__allocator_int______compressed_pair_5babi_v160004_5d_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $1 + 8 | 0, $1 + 7 | 0); - void_20std____2____debug_db_insert_c_5babi_v160004_5d_std____2__vector_int_2c_20std____2__allocator_int____28std____2__vector_int_2c_20std____2__allocator_int____29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__Invoker_b2QueryCallbackWrapper__2c_20emscripten__val_____invoke_28b2QueryCallbackWrapper__20_28__29_28emscripten__val___29_2c_20emscripten___EM_VAL__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - emscripten__internal__BindingType_emscripten__val___2c_20void___fromWireType_28emscripten___EM_VAL__29($2 + 4 | 0, HEAP32[$2 + 8 >> 2]); - $0 = emscripten__internal__BindingType_b2QueryCallbackWrapper__2c_20void___toWireType_28b2QueryCallbackWrapper__29(FUNCTION_TABLE[$0 | 0]($2 + 4 | 0) | 0); - emscripten__val___val_28_29($2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function b2BodyDef__b2BodyDef_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Vec2__b2Vec2_28_29($0 + 4 | 0); - b2Vec2__b2Vec2_28_29($0 + 16 | 0); - HEAP32[$0 + 44 >> 2] = 0; - b2Vec2__Set_28float_2c_20float_29($0 + 4 | 0, Math_fround(0), Math_fround(0)); - HEAPF32[$0 + 12 >> 2] = 0; - b2Vec2__Set_28float_2c_20float_29($0 + 16 | 0, Math_fround(0), Math_fround(0)); - HEAPF32[$0 + 24 >> 2] = 0; - HEAPF32[$0 + 28 >> 2] = 0; - HEAPF32[$0 + 32 >> 2] = 0; - HEAP8[$0 + 36 | 0] = 1; - HEAP8[$0 + 37 | 0] = 1; - HEAP8[$0 + 38 | 0] = 0; - HEAP8[$0 + 39 | 0] = 0; - HEAP32[$0 >> 2] = 0; - HEAP8[$0 + 40 | 0] = 1; - HEAPF32[$0 + 48 >> 2] = 1; - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function float_20_28b2RayCastCallback____emscripten__internal__getContext_float_20_28b2RayCastCallback____29_28unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float_29__28float_20_28b2RayCastCallback____20const__29_28unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float_29_29_29_28unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20emscripten__wrapper_b2Draw___call_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Color_20const___28char_20const__2c_20b2Vec2_20const__2c_20float__2c_20b2Color_20const__29_20const($0, $1, $2, $3, $4) { - var $5 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAP32[$5 + 12 >> 2] = $4; - void_20emscripten__val__call_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Color_20const___28char_20const__2c_20b2Vec2_20const__2c_20float__2c_20b2Color_20const__29_20const(HEAP32[$5 + 28 >> 2] + 12 | 0, HEAP32[$5 + 24 >> 2], HEAP32[$5 + 20 >> 2], HEAP32[$5 + 16 >> 2], HEAP32[$5 + 12 >> 2]); - __stack_pointer = $5 + 32 | 0; -} - -function void_20_28std____2__vector_int_2c_20std____2__allocator_int______emscripten__internal__getContext_void_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28unsigned_20long_2c_20int_20const__29__28void_20_28std____2__vector_int_2c_20std____2__allocator_int______20const__29_28unsigned_20long_2c_20int_20const__29_29_29_28unsigned_20long_2c_20int_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2SizeMap__b2SizeMap_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - $0 = HEAP32[$1 + 8 >> 2]; - HEAP32[$1 + 12 >> 2] = $0; - HEAP32[$1 + 4 >> 2] = 0; - HEAP8[$0 | 0] = 0; - HEAP32[$1 >> 2] = 1; - while (1) { - if (HEAP32[$1 >> 2] <= 640) { - if (HEAP32[$1 + 4 >> 2] >= 14) { - __assert_fail(2363, 5506, 60, 6345); - wasm2js_trap(); - } else { - if (HEAP32[$1 >> 2] > HEAP32[(HEAP32[$1 + 4 >> 2] << 2) + 18400 >> 2]) { - HEAP32[$1 + 4 >> 2] = HEAP32[$1 + 4 >> 2] + 1; - } - HEAP8[HEAP32[$1 >> 2] + $0 | 0] = HEAP32[$1 + 4 >> 2]; - HEAP32[$1 >> 2] = HEAP32[$1 >> 2] + 1; - continue; - } - } - break; - } - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2Body__ApplyLinearImpulseToCenter_28b2Vec2_20const__2c_20bool_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $0; - HEAP32[$3 + 24 >> 2] = $1; - HEAP8[$3 + 23 | 0] = $2; - $0 = HEAP32[$3 + 28 >> 2]; - label$1: { - if (HEAP32[$0 >> 2] != 2) { - break label$1; - } - if (!(!(HEAP8[$3 + 23 | 0] & 1) | HEAPU16[$0 + 4 >> 1] & 2)) { - b2Body__SetAwake_28bool_29($0, 1); - } - if (!(HEAPU16[$0 + 4 >> 1] & 2)) { - break label$1; - } - operator__28float_2c_20b2Vec2_20const__29($3 + 12 | 0, HEAPF32[$0 + 120 >> 2], HEAP32[$3 + 24 >> 2]); - b2Vec2__operator___28b2Vec2_20const__29($0 - -64 | 0, $3 + 12 | 0); - } - __stack_pointer = $3 + 32 | 0; -} - -function emscripten__internal__VectorAccess_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2_____set_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 4 >> 2]; - $1 = std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____operator_5b_5d_5babi_v160004_5d_28unsigned_20long_29(HEAP32[$3 + 12 >> 2], HEAP32[$3 + 8 >> 2]); - $2 = HEAP32[$0 + 4 >> 2]; - HEAP32[$1 >> 2] = HEAP32[$0 >> 2]; - HEAP32[$1 + 4 >> 2] = $2; - __stack_pointer = $3 + 16 | 0; - return 1; -} - -function void_20std____2__allocator_traits_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______construct_5babi_v160004_5d_b2Fixture__2c_20b2Fixture__20const__2c_20void__28std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____2c_20b2Fixture___2c_20b2Fixture__20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - void_20std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____construct_5babi_v160004_5d_b2Fixture__2c_20b2Fixture__20const___28b2Fixture___2c_20b2Fixture__20const__29(HEAP32[$3 + 12 >> 2], HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__wrapper_b2Draw___call_void_2c_20unsigned_20int__2c_20int__2c_20b2Color_20const___28char_20const__2c_20unsigned_20int__2c_20int__2c_20b2Color_20const__29_20const($0, $1, $2, $3, $4) { - var $5 = 0; - $5 = __stack_pointer - 32 | 0; - __stack_pointer = $5; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAP32[$5 + 12 >> 2] = $4; - void_20emscripten__val__call_void_2c_20unsigned_20int__2c_20int__2c_20b2Color_20const___28char_20const__2c_20unsigned_20int__2c_20int__2c_20b2Color_20const__29_20const(HEAP32[$5 + 28 >> 2] + 12 | 0, HEAP32[$5 + 24 >> 2], HEAP32[$5 + 20 >> 2], HEAP32[$5 + 16 >> 2], HEAP32[$5 + 12 >> 2]); - __stack_pointer = $5 + 32 | 0; -} - -function b2PrismaticJointDef__b2PrismaticJointDef_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2JointDef__b2JointDef_28_29($0); - b2Vec2__b2Vec2_28_29($0 + 20 | 0); - b2Vec2__b2Vec2_28_29($0 + 28 | 0); - b2Vec2__b2Vec2_28_29($0 + 36 | 0); - HEAP32[$0 >> 2] = 2; - b2Vec2__SetZero_28_29($0 + 20 | 0); - b2Vec2__SetZero_28_29($0 + 28 | 0); - b2Vec2__Set_28float_2c_20float_29($0 + 36 | 0, Math_fround(1), Math_fround(0)); - HEAPF32[$0 + 44 >> 2] = 0; - HEAP8[$0 + 48 | 0] = 0; - HEAPF32[$0 + 52 >> 2] = 0; - HEAPF32[$0 + 56 >> 2] = 0; - HEAP8[$0 + 60 | 0] = 0; - HEAPF32[$0 + 64 >> 2] = 0; - HEAPF32[$0 + 68 >> 2] = 0; - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2ContactListenerWrapper__BeginContact_28unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - label$1: { - if (!(b2ContactListenerWrapper__isIndexOf_28unsigned_20int_29($0, b2Contact__GetFixtureA_28_29(HEAP32[$2 + 8 >> 2])) & 1)) { - if (!(b2ContactListenerWrapper__isIndexOf_28unsigned_20int_29($0, b2Contact__GetFixtureB_28_29(HEAP32[$2 + 8 >> 2])) & 1)) { - break label$1; - } - } - void_20emscripten__wrapper_b2ContactListener___call_void_2c_20unsigned_20int___28char_20const__2c_20unsigned_20int__29_20const($0, 3314, $2 + 8 | 0); - } - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__FunctionInvoker_void_20_28__29_28b2JointDef__2c_20b2Body__29_2c_20void_2c_20b2JointDef__2c_20b2Body____invoke_28void_20_28___29_28b2JointDef__2c_20b2Body__29_2c_20b2JointDef__2c_20b2Body__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[HEAP32[$3 + 12 >> 2] >> 2]; - FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_b2JointDef__2c_20void___fromWireType_28b2JointDef__29(HEAP32[$3 + 8 >> 2]), emscripten__internal__BindingType_b2Body__2c_20void___fromWireType_28b2Body__29(HEAP32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function b2ContactListenerWrapper__EndContact_28unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - label$1: { - if (!(b2ContactListenerWrapper__isIndexOf_28unsigned_20int_29($0, b2Contact__GetFixtureA_28_29(HEAP32[$2 + 8 >> 2])) & 1)) { - if (!(b2ContactListenerWrapper__isIndexOf_28unsigned_20int_29($0, b2Contact__GetFixtureB_28_29(HEAP32[$2 + 8 >> 2])) & 1)) { - break label$1; - } - } - void_20emscripten__wrapper_b2ContactListener___call_void_2c_20unsigned_20int___28char_20const__2c_20unsigned_20int__29_20const($0, 3416, $2 + 8 | 0); - } - __stack_pointer = $2 + 16 | 0; -} - -function b2AABB__Combine_28b2AABB_20const__2c_20b2AABB_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $0; - HEAP32[$3 + 24 >> 2] = $1; - HEAP32[$3 + 20 >> 2] = $2; - $0 = HEAP32[$3 + 28 >> 2]; - b2Min_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 12 | 0, HEAP32[$3 + 24 >> 2], HEAP32[$3 + 20 >> 2]); - $1 = HEAP32[$3 + 16 >> 2]; - $2 = HEAP32[$3 + 12 >> 2]; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $1; - b2Max_28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 4 | 0, HEAP32[$3 + 24 >> 2] + 8 | 0, HEAP32[$3 + 20 >> 2] + 8 | 0); - $2 = HEAP32[$3 + 8 >> 2]; - $1 = HEAP32[$3 + 4 >> 2]; - HEAP32[$0 + 8 >> 2] = $1; - HEAP32[$0 + 12 >> 2] = $2; - __stack_pointer = $3 + 32 | 0; -} - -function emscripten__internal__Invoker_int_2c_20unsigned_20int___invoke_28int_20_28__29_28unsigned_20int_29_2c_20unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$2 + 8 >> 2])) | 0, - HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - $0 = emscripten__internal__BindingType_int_2c_20void___toWireType_28int_20const__29($2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function std____2__pair_char_20const__2c_20char___20std____2____copy_trivial_impl_5babi_v160004_5d_char_20const_2c_20char__28char_20const__2c_20char_20const__2c_20char__29($0, $1, $2, $3) { - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $2; - $2 = $2 - $1 | 0; - wasm2js_i32$0 = $4, wasm2js_i32$1 = $2 + memmove($3, $1, $2) | 0, HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - std____2__pair_std____2____unwrap_ref_decay_char_20const_____type_2c_20std____2____unwrap_ref_decay_char____type__20std____2__make_pair_5babi_v160004_5d_char_20const___2c_20char___28char_20const___2c_20char____29($0, $4 + 12 | 0, $4 + 8 | 0); - __stack_pointer = $4 + 16 | 0; -} - -function b2Body__GetMassData_28b2MassData__29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = Math_fround(0), $4 = Math_fround(0), $5 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAPF32[HEAP32[$2 + 8 >> 2] >> 2] = HEAPF32[$0 + 116 >> 2]; - $3 = HEAPF32[$0 + 124 >> 2]; - $4 = Math_fround(HEAPF32[$0 + 116 >> 2] * b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($0 + 28 | 0, $0 + 28 | 0)); - HEAPF32[HEAP32[$2 + 8 >> 2] + 12 >> 2] = $4 + $3; - $5 = HEAP32[$0 + 32 >> 2]; - $0 = HEAP32[$0 + 28 >> 2]; - $1 = $0; - $0 = HEAP32[$2 + 8 >> 2]; - HEAP32[$0 + 4 >> 2] = $1; - HEAP32[$0 + 8 >> 2] = $5; - __stack_pointer = $2 + 16 | 0; -} - -function b2PolygonAndCircleContact__Evaluate_28b2Manifold__2c_20b2Transform_20const__2c_20b2Transform_20const__29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - $0 = HEAP32[$4 + 12 >> 2]; - b2CollidePolygonAndCircle_28b2Manifold__2c_20b2PolygonShape_20const__2c_20b2Transform_20const__2c_20b2CircleShape_20const__2c_20b2Transform_20const__29(HEAP32[$4 + 8 >> 2], b2Fixture__GetShape_28_29(HEAP32[$0 + 48 >> 2]), HEAP32[$4 + 4 >> 2], b2Fixture__GetShape_28_29(HEAP32[$0 + 52 >> 2]), HEAP32[$4 >> 2]); - __stack_pointer = $4 + 16 | 0; -} - -function b2CollideEdgeAndPolygon_28b2Manifold__2c_20b2EdgeShape_20const__2c_20b2Transform_20const__2c_20b2PolygonShape_20const__2c_20b2Transform_20const__29($0, $1, $2, $3, $4) { - var $5 = 0; - $5 = __stack_pointer - 272 | 0; - __stack_pointer = $5; - HEAP32[$5 + 268 >> 2] = $0; - HEAP32[$5 + 264 >> 2] = $1; - HEAP32[$5 + 260 >> 2] = $2; - HEAP32[$5 + 256 >> 2] = $3; - HEAP32[$5 + 252 >> 2] = $4; - b2EPCollider__b2EPCollider_28_29($5); - b2EPCollider__Collide_28b2Manifold__2c_20b2EdgeShape_20const__2c_20b2Transform_20const__2c_20b2PolygonShape_20const__2c_20b2Transform_20const__29($5, HEAP32[$5 + 268 >> 2], HEAP32[$5 + 264 >> 2], HEAP32[$5 + 260 >> 2], HEAP32[$5 + 256 >> 2], HEAP32[$5 + 252 >> 2]); - __stack_pointer = $5 + 272 | 0; -} - -function fmt_u($0, $1, $2) { - var $3 = 0, $4 = 0, $5 = 0, $6 = 0; - label$1: { - if (!$1) { - $5 = $0; - $4 = $1; - $6 = $4; - break label$1; - } - while (1) { - $4 = $1; - $3 = __wasm_i64_udiv($0, $4, 10, 0); - $4 = i64toi32_i32$HIGH_BITS; - $6 = $4; - $5 = $3; - $3 = __wasm_i64_mul($5, $4, 10, 0); - $4 = i64toi32_i32$HIGH_BITS; - $2 = $2 - 1 | 0; - HEAP8[$2 | 0] = $0 - $3 | 48; - $3 = $1 >>> 0 > 9; - $0 = $5; - $4 = $6; - $1 = $4; - if ($3) { - continue; - } - break; - } - } - $3 = $5; - if ($3) { - while (1) { - $2 = $2 - 1 | 0; - $0 = ($3 >>> 0) / 10 | 0; - HEAP8[$2 | 0] = $3 - Math_imul($0, 10) | 48; - $1 = $3 >>> 0 > 9; - $3 = $0; - if ($1) { - continue; - } - break; - } - } - return $2; -} - -function emscripten__internal__Signature_void_2c_20unsigned_20int__2c_20unsigned_20int____get_method_caller_28_29() { - var $0 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $0 = __stack_pointer - 16 | 0; - __stack_pointer = $0; - if (!(HEAP8[29372] & 1)) { - wasm2js_i32$0 = 29368, wasm2js_i32$1 = _emval_get_method_caller(emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int__2c_20unsigned_20int____getCount_28_29_20const($0 + 15 | 0) | 0, emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int__2c_20unsigned_20int____getTypes_28_29_20const($0 + 15 | 0) | 0) | 0, - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - HEAP8[29372] = 1; - } - __stack_pointer = $0 + 16 | 0; - return HEAP32[7342]; -} - -function b2EdgeAndPolygonContact__Evaluate_28b2Manifold__2c_20b2Transform_20const__2c_20b2Transform_20const__29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - $0 = HEAP32[$4 + 12 >> 2]; - b2CollideEdgeAndPolygon_28b2Manifold__2c_20b2EdgeShape_20const__2c_20b2Transform_20const__2c_20b2PolygonShape_20const__2c_20b2Transform_20const__29(HEAP32[$4 + 8 >> 2], b2Fixture__GetShape_28_29(HEAP32[$0 + 48 >> 2]), HEAP32[$4 + 4 >> 2], b2Fixture__GetShape_28_29(HEAP32[$0 + 52 >> 2]), HEAP32[$4 >> 2]); - __stack_pointer = $4 + 16 | 0; -} - -function b2World__SetAllowSleeping_28bool_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP8[$2 + 11 | 0] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - label$1: { - if ((HEAP8[$2 + 11 | 0] & 1) == (HEAP8[$0 + 102972 | 0] & 1)) { - break label$1; - } - HEAP8[$0 + 102972 | 0] = HEAP8[$2 + 11 | 0] & 1; - if (HEAP8[$0 + 102972 | 0] & 1) { - break label$1; - } - HEAP32[$2 + 4 >> 2] = HEAP32[$0 + 102948 >> 2]; - while (1) { - if (HEAP32[$2 + 4 >> 2]) { - b2Body__SetAwake_28bool_29(HEAP32[$2 + 4 >> 2], 1); - HEAP32[$2 + 4 >> 2] = HEAP32[HEAP32[$2 + 4 >> 2] + 96 >> 2]; - continue; - } - break; - } - } - __stack_pointer = $2 + 16 | 0; -} - -function unsigned_20long_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______emscripten__internal__getContext_unsigned_20long_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28_29_20const__28unsigned_20long_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__MethodInvoker_void_20_28b2PrismaticJoint____29_28_29_2c_20void_2c_20b2PrismaticJoint____invoke_28void_20_28b2PrismaticJoint____20const__29_28_29_2c_20b2PrismaticJoint__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2PrismaticJoint__2c_20void___fromWireType_28b2PrismaticJoint__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($1); - __stack_pointer = $2 + 16 | 0; -} - -function b2EdgeAndCircleContact__Evaluate_28b2Manifold__2c_20b2Transform_20const__2c_20b2Transform_20const__29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - $0 = HEAP32[$4 + 12 >> 2]; - b2CollideEdgeAndCircle_28b2Manifold__2c_20b2EdgeShape_20const__2c_20b2Transform_20const__2c_20b2CircleShape_20const__2c_20b2Transform_20const__29(HEAP32[$4 + 8 >> 2], b2Fixture__GetShape_28_29(HEAP32[$0 + 48 >> 2]), HEAP32[$4 + 4 >> 2], b2Fixture__GetShape_28_29(HEAP32[$0 + 52 >> 2]), HEAP32[$4 >> 2]); - __stack_pointer = $4 + 16 | 0; -} - -function void_20_28b2World____emscripten__internal__getContext_void_20_28b2World____29_28b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const__29_20const__28void_20_28b2World____20const__29_28b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const__29_20const_29_29_28b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const__29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2Draw____emscripten__internal__getContext_void_20_28b2Draw____29_28b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const__29__28void_20_28b2Draw____20const__29_28b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const__29_29_29_28b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__Invoker_b2DrawWrapper__2c_20emscripten__val_____invoke_28b2DrawWrapper__20_28__29_28emscripten__val___29_2c_20emscripten___EM_VAL__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - emscripten__internal__BindingType_emscripten__val___2c_20void___fromWireType_28emscripten___EM_VAL__29($2 + 4 | 0, HEAP32[$2 + 8 >> 2]); - $0 = emscripten__internal__BindingType_b2DrawWrapper__2c_20void___toWireType_28b2DrawWrapper__29(FUNCTION_TABLE[$0 | 0]($2 + 4 | 0) | 0); - emscripten__val___val_28_29($2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______end_node_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2__pointer_traits_std____2____tree_end_node_std____2____tree_node_base_void________pointer_to_5babi_v160004_5d_28std____2____tree_end_node_std____2____tree_node_base_void______29(std____2____compressed_pair_std____2____tree_end_node_std____2____tree_node_base_void_____2c_20std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______first_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2] + 4 | 0)); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20emscripten__internal__MemberAccess_b2PrismaticJointDef_2c_20b2Vec2___setWire_b2PrismaticJointDef__28b2Vec2_20b2PrismaticJointDef____20const__2c_20b2PrismaticJointDef__2c_20b2Vec2__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $1 = emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$3 + 4 >> 2]); - $0 = HEAP32[$1 >> 2]; - $2 = HEAP32[$1 + 4 >> 2]; - $1 = $0; - $0 = HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2RevoluteJoint____29_28_29_2c_20void_2c_20b2RevoluteJoint____invoke_28void_20_28b2RevoluteJoint____20const__29_28_29_2c_20b2RevoluteJoint__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2RevoluteJoint__2c_20void___fromWireType_28b2RevoluteJoint__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($1); - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2DistanceJoint____29_28_29_2c_20void_2c_20b2DistanceJoint____invoke_28void_20_28b2DistanceJoint____20const__29_28_29_2c_20b2DistanceJoint__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2DistanceJoint__2c_20void___fromWireType_28b2DistanceJoint__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($1); - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__MethodCaller_void___call_28emscripten___EM_VAL__2c_20char_20const__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = emscripten__internal__Signature_void___get_method_caller_28_29(), - HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; - emscripten__internal__WireTypePack____WireTypePack_28_29($2 + 8 | 0); - _emval_call_void_method(HEAP32[$2 + 20 >> 2], HEAP32[$2 + 28 >> 2], HEAP32[$2 + 24 >> 2], emscripten__internal__WireTypePack____operator_20void_20const__28_29_20const($2 + 8 | 0) | 0); - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__Invoker_void_2c_20unsigned_20int_2c_20unsigned_20int___invoke_28void_20_28__29_28unsigned_20int_2c_20unsigned_20int_29_2c_20unsigned_20int_2c_20unsigned_20int_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$3 + 8 >> 2]), emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function b2PolygonContact__Evaluate_28b2Manifold__2c_20b2Transform_20const__2c_20b2Transform_20const__29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - $0 = HEAP32[$4 + 12 >> 2]; - b2CollidePolygons_28b2Manifold__2c_20b2PolygonShape_20const__2c_20b2Transform_20const__2c_20b2PolygonShape_20const__2c_20b2Transform_20const__29(HEAP32[$4 + 8 >> 2], b2Fixture__GetShape_28_29(HEAP32[$0 + 48 >> 2]), HEAP32[$4 + 4 >> 2], b2Fixture__GetShape_28_29(HEAP32[$0 + 52 >> 2]), HEAP32[$4 >> 2]); - __stack_pointer = $4 + 16 | 0; -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_cap_5babi_v160004_5d_28unsigned_20long_29($0, $1) { - var $2 = 0; - $2 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_5babi_v160004_5d_28_29($0); - HEAP32[$2 + 8 >> 2] = HEAP32[$2 + 8 >> 2] & -2147483648 | $1 & 2147483647; - $0 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_5babi_v160004_5d_28_29($0); - HEAP32[$0 + 8 >> 2] = HEAP32[$0 + 8 >> 2] | -2147483648; -} - -function std____2____compressed_pair_elem_std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____2c_201_2c_20false_____compressed_pair_elem_5babi_v160004_5d_std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____2c_20void__28std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = HEAP32[$2 + 8 >> 2]; - $0 = HEAP32[$1 >> 2]; - $3 = HEAP32[$1 + 4 >> 2]; - $1 = $0; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $3; - return $0; -} - -function void_20emscripten__internal__MemberAccess_b2RevoluteJointDef_2c_20b2Vec2___setWire_b2RevoluteJointDef__28b2Vec2_20b2RevoluteJointDef____20const__2c_20b2RevoluteJointDef__2c_20b2Vec2__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $1 = emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$3 + 4 >> 2]); - $0 = HEAP32[$1 >> 2]; - $2 = HEAP32[$1 + 4 >> 2]; - $1 = $0; - $0 = HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__internal__MemberAccess_b2DistanceJointDef_2c_20b2Vec2___setWire_b2DistanceJointDef__28b2Vec2_20b2DistanceJointDef____20const__2c_20b2DistanceJointDef__2c_20b2Vec2__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $1 = emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$3 + 4 >> 2]); - $0 = HEAP32[$1 >> 2]; - $2 = HEAP32[$1 + 4 >> 2]; - $1 = $0; - $0 = HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__FunctionInvoker_void_20_28__29_28b2AABB__2c_20b2AABB__29_2c_20void_2c_20b2AABB__2c_20b2AABB____invoke_28void_20_28___29_28b2AABB__2c_20b2AABB__29_2c_20b2AABB__2c_20b2AABB__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[HEAP32[$3 + 12 >> 2] >> 2]; - FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_b2AABB__2c_20void___fromWireType_28b2AABB__29(HEAP32[$3 + 8 >> 2]), emscripten__internal__BindingType_b2AABB__2c_20void___fromWireType_28b2AABB__29(HEAP32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__BindingType_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___2c_20void___fromWireType_28emscripten__internal__BindingType_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___2c_20void____unnamed___29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_5babi_v160004_5d_28char_20const__2c_20unsigned_20long_29($0, HEAP32[$2 + 8 >> 2] + 4 | 0, HEAP32[HEAP32[$2 + 8 >> 2] >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function b2BroadPhase__MoveProxy_28int_2c_20b2AABB_20const__2c_20b2Vec2_20const__29($0, $1, $2, $3) { - var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $4 = __stack_pointer - 32 | 0; - __stack_pointer = $4; - HEAP32[$4 + 28 >> 2] = $0; - HEAP32[$4 + 24 >> 2] = $1; - HEAP32[$4 + 20 >> 2] = $2; - HEAP32[$4 + 16 >> 2] = $3; - $0 = HEAP32[$4 + 28 >> 2]; - wasm2js_i32$0 = $4, wasm2js_i32$1 = b2DynamicTree__MoveProxy_28int_2c_20b2AABB_20const__2c_20b2Vec2_20const__29($0, HEAP32[$4 + 24 >> 2], HEAP32[$4 + 20 >> 2], HEAP32[$4 + 16 >> 2]) & 1, - HEAP8[wasm2js_i32$0 + 15 | 0] = wasm2js_i32$1; - if (HEAP8[$4 + 15 | 0] & 1) { - b2BroadPhase__BufferMove_28int_29($0, HEAP32[$4 + 24 >> 2]); - } - __stack_pointer = $4 + 32 | 0; -} - -function void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______emscripten__internal__getContext_void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28b2Vec2_20const__29__28void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______20const__29_28b2Vec2_20const__29_29_29_28b2Vec2_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2CircleContact__Evaluate_28b2Manifold__2c_20b2Transform_20const__2c_20b2Transform_20const__29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - $0 = HEAP32[$4 + 12 >> 2]; - b2CollideCircles_28b2Manifold__2c_20b2CircleShape_20const__2c_20b2Transform_20const__2c_20b2CircleShape_20const__2c_20b2Transform_20const__29(HEAP32[$4 + 8 >> 2], b2Fixture__GetShape_28_29(HEAP32[$0 + 48 >> 2]), HEAP32[$4 + 4 >> 2], b2Fixture__GetShape_28_29(HEAP32[$0 + 52 >> 2]), HEAP32[$4 >> 2]); - __stack_pointer = $4 + 16 | 0; -} - -function b2EPCollider__b2EPCollider_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2TempPolygon__b2TempPolygon_28_29($0); - b2Transform__b2Transform_28_29($0 + 132 | 0); - b2Vec2__b2Vec2_28_29($0 + 148 | 0); - b2Vec2__b2Vec2_28_29($0 + 156 | 0); - b2Vec2__b2Vec2_28_29($0 + 164 | 0); - b2Vec2__b2Vec2_28_29($0 + 172 | 0); - b2Vec2__b2Vec2_28_29($0 + 180 | 0); - b2Vec2__b2Vec2_28_29($0 + 188 | 0); - b2Vec2__b2Vec2_28_29($0 + 196 | 0); - b2Vec2__b2Vec2_28_29($0 + 204 | 0); - b2Vec2__b2Vec2_28_29($0 + 212 | 0); - b2Vec2__b2Vec2_28_29($0 + 228 | 0); - b2Vec2__b2Vec2_28_29($0 + 236 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function bool_20_28__emscripten__internal__getContext_bool_20_28__29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const__29__28bool_20_28__20const__29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const__29_29_29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2PrismaticJoint__GetReactionForce_28float_29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $1; - HEAPF32[$3 + 24 >> 2] = $2; - $2 = HEAPF32[$3 + 24 >> 2]; - $1 = HEAP32[$3 + 28 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($3 + 8 | 0, HEAPF32[$1 + 104 >> 2], $1 + 192 | 0); - operator__28float_2c_20b2Vec2_20const__29($3, Math_fround(HEAPF32[$1 + 116 >> 2] + HEAPF32[$1 + 112 >> 2]), $1 + 184 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($3 + 16 | 0, $3 + 8 | 0, $3); - operator__28float_2c_20b2Vec2_20const__29($0, $2, $3 + 16 | 0); - __stack_pointer = $3 + 32 | 0; -} - -function std____2__allocator_b2Vec2___allocate_5babi_v160004_5d_28unsigned_20long_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - if (HEAPU32[$2 + 8 >> 2] > unsigned_20long_20std____2__allocator_traits_std____2__allocator_b2Vec2____max_size_5babi_v160004_5d_std____2__allocator_b2Vec2__2c_20void__28std____2__allocator_b2Vec2__20const__29(HEAP32[$2 + 12 >> 2]) >>> 0) { - std____throw_bad_array_new_length_5babi_v160004_5d_28_29(); - wasm2js_trap(); - } - $0 = std____2____libcpp_allocate_5babi_v160004_5d_28unsigned_20long_2c_20unsigned_20long_29(HEAP32[$2 + 8 >> 2] << 3, 4); - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long___operator___5babi_v160004_5d_28_29($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2____tree_end_node_std____2____tree_node_base_void______20std____2____tree_next_iter_5babi_v160004_5d_std____2____tree_end_node_std____2____tree_node_base_void______2c_20std____2____tree_node_base_void_____28std____2____tree_node_base_void____29(HEAP32[$0 >> 2]), - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2RevoluteJointDef__b2RevoluteJointDef_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2JointDef__b2JointDef_28_29($0); - b2Vec2__b2Vec2_28_29($0 + 20 | 0); - b2Vec2__b2Vec2_28_29($0 + 28 | 0); - HEAP32[$0 >> 2] = 1; - b2Vec2__Set_28float_2c_20float_29($0 + 20 | 0, Math_fround(0), Math_fround(0)); - b2Vec2__Set_28float_2c_20float_29($0 + 28 | 0, Math_fround(0), Math_fround(0)); - HEAPF32[$0 + 36 >> 2] = 0; - HEAPF32[$0 + 44 >> 2] = 0; - HEAPF32[$0 + 48 >> 2] = 0; - HEAPF32[$0 + 60 >> 2] = 0; - HEAPF32[$0 + 56 >> 2] = 0; - HEAP8[$0 + 40 | 0] = 0; - HEAP8[$0 + 52 | 0] = 0; - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function unsigned_20long_20_28std____2__vector_int_2c_20std____2__allocator_int______emscripten__internal__getContext_unsigned_20long_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28_29_20const__28unsigned_20long_20_28std____2__vector_int_2c_20std____2__allocator_int______20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__val__val_b2Vec2_20const___28b2Vec2_20const__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - emscripten__internal__WireTypePack_b2Vec2_20const____WireTypePack_28b2Vec2_20const__29($2, HEAP32[$2 + 8 >> 2]); - wasm2js_i32$0 = $0, wasm2js_i32$1 = _emval_take_value(emscripten__internal__TypeID_b2Vec2_20const__2c_20void___get_28_29() | 0, emscripten__internal__WireTypePack_b2Vec2_20const____operator_20void_20const__28_29_20const($2) | 0) | 0, - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function std____2__allocator_traits_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______deallocate_5babi_v160004_5d_28std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20unsigned_20long_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____deallocate_5babi_v160004_5d_28std____2____tree_node_b2Fixture__2c_20void____2c_20unsigned_20long_29(HEAP32[$3 + 12 >> 2], HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______end_node_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2__pointer_traits_std____2____tree_end_node_std____2____tree_node_base_void________pointer_to_5babi_v160004_5d_28std____2____tree_end_node_std____2____tree_node_base_void______29(std____2____compressed_pair_std____2____tree_end_node_std____2____tree_node_base_void_____2c_20std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______first_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2] + 4 | 0)); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__val_20_28__emscripten__internal__getContext_emscripten__val_20_28__29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long_29__28emscripten__val_20_28__20const__29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long_29_29_29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__Invoker_void_2c_20unsigned_20int_2c_20b2Filter_20const____invoke_28void_20_28__29_28unsigned_20int_2c_20b2Filter_20const__29_2c_20unsigned_20int_2c_20b2Filter__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$3 + 8 >> 2]), emscripten__internal__GenericBindingType_b2Filter___fromWireType_28b2Filter__29(HEAP32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__internal__MemberAccess_b2WheelJointDef_2c_20b2Vec2___setWire_b2WheelJointDef__28b2Vec2_20b2WheelJointDef____20const__2c_20b2WheelJointDef__2c_20b2Vec2__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $1 = emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$3 + 4 >> 2]); - $0 = HEAP32[$1 >> 2]; - $2 = HEAP32[$1 + 4 >> 2]; - $1 = $0; - $0 = HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__internal__MemberAccess_b2RayCastOutput_2c_20b2Vec2___setWire_b2RayCastOutput__28b2Vec2_20b2RayCastOutput____20const__2c_20b2RayCastOutput__2c_20b2Vec2__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $1 = emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$3 + 4 >> 2]); - $0 = HEAP32[$1 >> 2]; - $2 = HEAP32[$1 + 4 >> 2]; - $1 = $0; - $0 = HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__internal__MemberAccess_b2MouseJointDef_2c_20b2Vec2___setWire_b2MouseJointDef__28b2Vec2_20b2MouseJointDef____20const__2c_20b2MouseJointDef__2c_20b2Vec2__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $1 = emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$3 + 4 >> 2]); - $0 = HEAP32[$1 >> 2]; - $2 = HEAP32[$1 + 4 >> 2]; - $1 = $0; - $0 = HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__internal__MemberAccess_b2MotorJointDef_2c_20b2Vec2___setWire_b2MotorJointDef__28b2Vec2_20b2MotorJointDef____20const__2c_20b2MotorJointDef__2c_20b2Vec2__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $1 = emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$3 + 4 >> 2]); - $0 = HEAP32[$1 >> 2]; - $2 = HEAP32[$1 + 4 >> 2]; - $1 = $0; - $0 = HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function b2AABB__IsValid_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $2 = HEAP32[$1 + 12 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 4 | 0, $2 + 8 | 0, $2); - $3 = HEAPF32[$1 + 4 >> 2] >= Math_fround(0) ? HEAPF32[$1 + 8 >> 2] >= Math_fround(0) : $3; - HEAP8[$1 + 3 | 0] = $3; - $0 = 0; - label$2: { - if (!(HEAP8[$1 + 3 | 0] & 1)) { - break label$2; - } - $0 = 0; - if (!(b2Vec2__IsValid_28_29_20const($2) & 1)) { - break label$2; - } - $0 = b2Vec2__IsValid_28_29_20const($2 + 8 | 0); - } - HEAP8[$1 + 3 | 0] = $0 & 1; - __stack_pointer = $1 + 16 | 0; - return HEAP8[$1 + 3 | 0] & 1; -} - -function emscripten__internal__MethodInvoker_void_20_28b2WheelJoint____29_28_29_2c_20void_2c_20b2WheelJoint____invoke_28void_20_28b2WheelJoint____20const__29_28_29_2c_20b2WheelJoint__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2WheelJoint__2c_20void___fromWireType_28b2WheelJoint__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($1); - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2MouseJoint____29_28_29_2c_20void_2c_20b2MouseJoint____invoke_28void_20_28b2MouseJoint____20const__29_28_29_2c_20b2MouseJoint__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2MouseJoint__2c_20void___fromWireType_28b2MouseJoint__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($1); - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2MotorJoint____29_28_29_2c_20void_2c_20b2MotorJoint____invoke_28void_20_28b2MotorJoint____20const__29_28_29_2c_20b2MotorJoint__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2MotorJoint__2c_20void___fromWireType_28b2MotorJoint__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($1); - __stack_pointer = $2 + 16 | 0; -} - -function void_20emscripten__internal__MemberAccess_b2WeldJointDef_2c_20b2Vec2___setWire_b2WeldJointDef__28b2Vec2_20b2WeldJointDef____20const__2c_20b2WeldJointDef__2c_20b2Vec2__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $1 = emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$3 + 4 >> 2]); - $0 = HEAP32[$1 >> 2]; - $2 = HEAP32[$1 + 4 >> 2]; - $1 = $0; - $0 = HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__internal__MemberAccess_b2RopeJointDef_2c_20b2Vec2___setWire_b2RopeJointDef__28b2Vec2_20b2RopeJointDef____20const__2c_20b2RopeJointDef__2c_20b2Vec2__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $1 = emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$3 + 4 >> 2]); - $0 = HEAP32[$1 >> 2]; - $2 = HEAP32[$1 + 4 >> 2]; - $1 = $0; - $0 = HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__internal__MemberAccess_b2RayCastInput_2c_20b2Vec2___setWire_b2RayCastInput__28b2Vec2_20b2RayCastInput____20const__2c_20b2RayCastInput__2c_20b2Vec2__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $1 = emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$3 + 4 >> 2]); - $0 = HEAP32[$1 >> 2]; - $2 = HEAP32[$1 + 4 >> 2]; - $1 = $0; - $0 = HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function b2BroadPhase__b2BroadPhase_28_29($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2DynamicTree__b2DynamicTree_28_29($0); - HEAP32[$0 + 28 >> 2] = 0; - HEAP32[$0 + 48 >> 2] = 16; - HEAP32[$0 + 52 >> 2] = 0; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2Alloc_28int_29(HEAP32[$0 + 48 >> 2] << 3), - HEAP32[wasm2js_i32$0 + 44 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 36 >> 2] = 16; - HEAP32[$0 + 40 >> 2] = 0; - wasm2js_i32$0 = $0, wasm2js_i32$1 = b2Alloc_28int_29(HEAP32[$0 + 36 >> 2] << 2), - HEAP32[wasm2js_i32$0 + 32 >> 2] = wasm2js_i32$1; - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2__allocator_int___allocate_5babi_v160004_5d_28unsigned_20long_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - if (HEAPU32[$2 + 8 >> 2] > unsigned_20long_20std____2__allocator_traits_std____2__allocator_int____max_size_5babi_v160004_5d_std____2__allocator_int__2c_20void__28std____2__allocator_int__20const__29(HEAP32[$2 + 12 >> 2]) >>> 0) { - std____throw_bad_array_new_length_5babi_v160004_5d_28_29(); - wasm2js_trap(); - } - $0 = std____2____libcpp_allocate_5babi_v160004_5d_28unsigned_20long_2c_20unsigned_20long_29(HEAP32[$2 + 8 >> 2] << 2, 4); - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2WeldJoint____29_28_29_2c_20void_2c_20b2WeldJoint____invoke_28void_20_28b2WeldJoint____20const__29_28_29_2c_20b2WeldJoint__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2WeldJoint__2c_20void___fromWireType_28b2WeldJoint__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($1); - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2RopeJoint____29_28_29_2c_20void_2c_20b2RopeJoint____invoke_28void_20_28b2RopeJoint____20const__29_28_29_2c_20b2RopeJoint__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2RopeJoint__2c_20void___fromWireType_28b2RopeJoint__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($1); - __stack_pointer = $2 + 16 | 0; -} - -function b2WheelJointDef__b2WheelJointDef_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2JointDef__b2JointDef_28_29($0); - b2Vec2__b2Vec2_28_29($0 + 20 | 0); - b2Vec2__b2Vec2_28_29($0 + 28 | 0); - b2Vec2__b2Vec2_28_29($0 + 36 | 0); - HEAP32[$0 >> 2] = 7; - b2Vec2__SetZero_28_29($0 + 20 | 0); - b2Vec2__SetZero_28_29($0 + 28 | 0); - b2Vec2__Set_28float_2c_20float_29($0 + 36 | 0, Math_fround(1), Math_fround(0)); - HEAP8[$0 + 44 | 0] = 0; - HEAPF32[$0 + 48 >> 2] = 0; - HEAPF32[$0 + 52 >> 2] = 0; - HEAPF32[$0 + 56 >> 2] = 2; - HEAPF32[$0 + 60 >> 2] = .699999988079071; - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2____allocation_result_std____2__allocator_traits_std____2__allocator_b2Vec2____pointer__20std____2____allocate_at_least_5babi_v160004_5d_std____2__allocator_b2Vec2___28std____2__allocator_b2Vec2___2c_20unsigned_20long_29($0, $1, $2) { - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2__allocator_b2Vec2___allocate_5babi_v160004_5d_28unsigned_20long_29(HEAP32[$3 + 12 >> 2], HEAP32[$3 + 8 >> 2]), - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 4 >> 2] = HEAP32[$3 + 8 >> 2]; - __stack_pointer = $3 + 16 | 0; -} - -function std____2__pair_std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__2c_20bool___pair_5babi_v160004_5d_std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__2c_20bool__2c_20_28void__290__28std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long____2c_20bool__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[HEAP32[$3 + 8 >> 2] >> 2]; - HEAP8[$0 + 4 | 0] = HEAP8[HEAP32[$3 + 4 >> 2]] & 1; - return $0; -} - -function void_20_28b2Draw____emscripten__internal__getContext_void_20_28b2Draw____29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29__28void_20_28b2Draw____20const__29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29_29_29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__val__val_int_20const___28int_20const__29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - emscripten__internal__WireTypePack_int_20const____WireTypePack_28int_20const__29($2, HEAP32[$2 + 8 >> 2]); - wasm2js_i32$0 = $0, wasm2js_i32$1 = _emval_take_value(emscripten__internal__TypeID_int_20const__2c_20void___get_28_29() | 0, emscripten__internal__WireTypePack_int_20const____operator_20void_20const__28_29_20const($2) | 0) | 0, - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function void_20emscripten__internal__MemberAccess_b2Transform_2c_20b2Vec2___setWire_b2Transform__28b2Vec2_20b2Transform____20const__2c_20b2Transform__2c_20b2Vec2__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $1 = emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$3 + 4 >> 2]); - $0 = HEAP32[$1 >> 2]; - $2 = HEAP32[$1 + 4 >> 2]; - $1 = $0; - $0 = HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_short_size_5babi_v160004_5d_28unsigned_20long_29($0, $1) { - var $2 = 0; - $2 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_5babi_v160004_5d_28_29($0); - HEAP8[$2 + 11 | 0] = HEAPU8[$2 + 11 | 0] & 128 | $1; - $0 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_5babi_v160004_5d_28_29($0); - HEAP8[$0 + 11 | 0] = HEAPU8[$0 + 11 | 0] & 127; -} - -function emscripten__val_20_28__emscripten__internal__getContext_emscripten__val_20_28__29_28std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long_29__28emscripten__val_20_28__20const__29_28std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long_29_29_29_28std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28std____2__vector_int_2c_20std____2__allocator_int______emscripten__internal__getContext_void_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28int_20const__29__28void_20_28std____2__vector_int_2c_20std____2__allocator_int______20const__29_28int_20const__29_29_29_28int_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function bool_20_28__emscripten__internal__getContext_bool_20_28__29_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const__29__28bool_20_28__20const__29_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const__29_29_29_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20emscripten__internal__MemberAccess_b2MassData_2c_20b2Vec2___setWire_b2MassData__28b2Vec2_20b2MassData____20const__2c_20b2MassData__2c_20b2Vec2__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $1 = emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$3 + 4 >> 2]); - $0 = HEAP32[$1 >> 2]; - $2 = HEAP32[$1 + 4 >> 2]; - $1 = $0; - $0 = HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__Invoker_void_2c_20unsigned_20int_2c_20float___invoke_28void_20_28__29_28unsigned_20int_2c_20float_29_2c_20unsigned_20int_2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$3 + 8 >> 2]), emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__internal__MemberAccess_b2Transform_2c_20b2Rot___setWire_b2Transform__28b2Rot_20b2Transform____20const__2c_20b2Transform__2c_20b2Rot__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $1 = emscripten__internal__GenericBindingType_b2Rot___fromWireType_28b2Rot__29(HEAP32[$3 + 4 >> 2]); - $0 = HEAP32[$1 >> 2]; - $2 = HEAP32[$1 + 4 >> 2]; - $1 = $0; - $0 = HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function std____2____allocation_result_std____2__allocator_traits_std____2__allocator_int____pointer__20std____2____allocate_at_least_5babi_v160004_5d_std____2__allocator_int___28std____2__allocator_int___2c_20unsigned_20long_29($0, $1, $2) { - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2__allocator_int___allocate_5babi_v160004_5d_28unsigned_20long_29(HEAP32[$3 + 12 >> 2], HEAP32[$3 + 8 >> 2]), - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 4 >> 2] = HEAP32[$3 + 8 >> 2]; - __stack_pointer = $3 + 16 | 0; -} - -function __cxxabiv1____si_class_type_info__search_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_2c_20bool_29_20const($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 + 8 >> 2], $5)) { - __cxxabiv1____class_type_info__process_static_type_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_29_20const($1, $1, $2, $3, $4); - return; - } - $0 = HEAP32[$0 + 8 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 20 >> 2]]($0, $1, $2, $3, $4, $5); -} - -function emscripten__internal__Signature_void_2c_20b2Transform_20const____get_method_caller_28_29() { - var $0 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $0 = __stack_pointer - 16 | 0; - __stack_pointer = $0; - if (!(HEAP8[29412] & 1)) { - wasm2js_i32$0 = 29408, wasm2js_i32$1 = _emval_get_method_caller(emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2Transform_20const____getCount_28_29_20const($0 + 15 | 0) | 0, emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2Transform_20const____getTypes_28_29_20const($0 + 15 | 0) | 0) | 0, - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - HEAP8[29412] = 1; - } - __stack_pointer = $0 + 16 | 0; - return HEAP32[7352]; -} - -function void_20emscripten__internal__MemberAccess_b2BodyDef_2c_20b2Vec2___setWire_b2BodyDef__28b2Vec2_20b2BodyDef____20const__2c_20b2BodyDef__2c_20b2Vec2__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $1 = emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$3 + 4 >> 2]); - $0 = HEAP32[$1 >> 2]; - $2 = HEAP32[$1 + 4 >> 2]; - $1 = $0; - $0 = HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20bool_2c_20unsigned_20short_2c_20unsigned_20short_2c_20short___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20bool_2c_20unsigned_20short_2c_20unsigned_20short_2c_20short____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2DynamicTree__DestroyProxy_28int_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (!(HEAP32[$2 + 8 >> 2] < HEAP32[$0 + 12 >> 2] & HEAP32[$2 + 8 >> 2] >= 0)) { - __assert_fail(1389, 6056, 128, 1078); - wasm2js_trap(); - } - if (!(b2TreeNode__IsLeaf_28_29_20const(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 40) | 0) & 1)) { - __assert_fail(12709, 6056, 129, 1078); - wasm2js_trap(); - } - b2DynamicTree__RemoveLeaf_28int_29($0, HEAP32[$2 + 8 >> 2]); - b2DynamicTree__FreeNode_28int_29($0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function b2Body__ApplyAngularImpulse_28float_2c_20bool_29($0, $1, $2) { - $0 = $0 | 0; - $1 = Math_fround($1); - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAPF32[$3 + 8 >> 2] = $1; - HEAP8[$3 + 7 | 0] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - label$1: { - if (HEAP32[$0 >> 2] != 2) { - break label$1; - } - if (!(!(HEAP8[$3 + 7 | 0] & 1) | HEAPU16[$0 + 4 >> 1] & 2)) { - b2Body__SetAwake_28bool_29($0, 1); - } - if (!(HEAPU16[$0 + 4 >> 1] & 2)) { - break label$1; - } - HEAPF32[$0 + 72 >> 2] = Math_fround(HEAPF32[$0 + 128 >> 2] * HEAPF32[$3 + 8 >> 2]) + HEAPF32[$0 + 72 >> 2]; - } - __stack_pointer = $3 + 16 | 0; -} - -function bool_20_28b2AABB____emscripten__internal__getContext_bool_20_28b2AABB____29_28b2RayCastOutput__2c_20b2RayCastInput_20const__29_20const__28bool_20_28b2AABB____20const__29_28b2RayCastOutput__2c_20b2RayCastInput_20const__29_20const_29_29_28b2RayCastOutput__2c_20b2RayCastInput_20const__29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__MethodInvoker_void_20_28b2World____29_28_29_2c_20void_2c_20b2World____invoke_28void_20_28b2World____20const__29_28_29_2c_20b2World__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2World__2c_20void___fromWireType_28b2World__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($1); - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__MethodInvoker_void_20_28b2Joint____29_28_29_2c_20void_2c_20b2Joint____invoke_28void_20_28b2Joint____20const__29_28_29_2c_20b2Joint__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2Joint__2c_20void___fromWireType_28b2Joint__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($1); - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__Invoker_void_2c_20unsigned_20int_2c_20bool___invoke_28void_20_28__29_28unsigned_20int_2c_20bool_29_2c_20unsigned_20int_2c_20bool_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP8[$3 + 7 | 0] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$3 + 8 >> 2]), emscripten__internal__BindingType_bool_2c_20void___fromWireType_28bool_29(HEAP8[$3 + 7 | 0] & 1) & 1); - __stack_pointer = $3 + 16 | 0; -} - -function b2DrawWrapper__DrawSegment_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - void_20emscripten__wrapper_b2Draw___call_void_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const___28char_20const__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29_20const(HEAP32[$4 + 12 >> 2], 2987, HEAP32[$4 + 8 >> 2], HEAP32[$4 + 4 >> 2], HEAP32[$4 >> 2]); - __stack_pointer = $4 + 16 | 0; -} - -function std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____end_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long_____tree_iterator_5babi_v160004_5d_28std____2____tree_end_node_std____2____tree_node_base_void______29($1 + 12 | 0, std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______end_node_5babi_v160004_5d_28_29(HEAP32[$1 + 8 >> 2])); - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2WheelJoint__GetReactionForce_28float_29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $1; - HEAPF32[$3 + 24 >> 2] = $2; - $2 = HEAPF32[$3 + 24 >> 2]; - $1 = HEAP32[$3 + 28 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($3 + 8 | 0, HEAPF32[$1 + 108 >> 2], $1 + 180 | 0); - operator__28float_2c_20b2Vec2_20const__29($3, HEAPF32[$1 + 116 >> 2], $1 + 172 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($3 + 16 | 0, $3 + 8 | 0, $3); - operator__28float_2c_20b2Vec2_20const__29($0, $2, $3 + 16 | 0); - __stack_pointer = $3 + 32 | 0; -} - -function b2PolygonShape__Clone_28b2BlockAllocator__29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$2 + 8 >> 2], 152), - HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - $0 = HEAP32[$2 + 4 >> 2]; - b2PolygonShape__b2PolygonShape_28_29($0); - HEAP32[$2 >> 2] = $0; - b2PolygonShape__operator__28b2PolygonShape_20const__29(HEAP32[$2 >> 2], $1); - __stack_pointer = $2 + 16 | 0; - return HEAP32[$2 >> 2]; -} - -function b2MulT_28b2Rot_20const__2c_20b2Vec2_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - b2Vec2__b2Vec2_28float_2c_20float_29($0, Math_fround(Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 4 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]) + Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2])), Math_fround(Math_fround(Math_fround(-HEAPF32[HEAP32[$3 + 12 >> 2] >> 2]) * HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]) + Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 4 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2]))); - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__internal__MemberAccess_b2AABB_2c_20b2Vec2___setWire_b2AABB__28b2Vec2_20b2AABB____20const__2c_20b2AABB__2c_20b2Vec2__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $1 = emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$3 + 4 >> 2]); - $0 = HEAP32[$1 >> 2]; - $2 = HEAP32[$1 + 4 >> 2]; - $1 = $0; - $0 = HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__pure_virtual_2c_20emscripten__allow_raw_pointers___ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RayCastCallback__2c_20unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RayCastCallback__2c_20unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__Signature_void_2c_20unsigned_20int____get_method_caller_28_29() { - var $0 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $0 = __stack_pointer - 16 | 0; - __stack_pointer = $0; - if (!(HEAP8[29364] & 1)) { - wasm2js_i32$0 = 29360, wasm2js_i32$1 = _emval_get_method_caller(emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int____getCount_28_29_20const($0 + 15 | 0) | 0, emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int____getTypes_28_29_20const($0 + 15 | 0) | 0) | 0, - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - HEAP8[29364] = 1; - } - __stack_pointer = $0 + 16 | 0; - return HEAP32[7340]; -} - -function emscripten__internal__Signature_bool_2c_20unsigned_20int____get_method_caller_28_29() { - var $0 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $0 = __stack_pointer - 16 | 0; - __stack_pointer = $0; - if (!(HEAP8[29348] & 1)) { - wasm2js_i32$0 = 29344, wasm2js_i32$1 = _emval_get_method_caller(emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20unsigned_20int____getCount_28_29_20const($0 + 15 | 0) | 0, emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20unsigned_20int____getTypes_28_29_20const($0 + 15 | 0) | 0) | 0, - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - HEAP8[29348] = 1; - } - __stack_pointer = $0 + 16 | 0; - return HEAP32[7336]; -} - -function emscripten__internal__MethodInvoker_void_20_28b2Body____29_28_29_2c_20void_2c_20b2Body____invoke_28void_20_28b2Body____20const__29_28_29_2c_20b2Body__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = emscripten__internal__BindingType_b2Body__2c_20void___fromWireType_28b2Body__29(HEAP32[$2 + 8 >> 2]); - $0 = HEAP32[$2 + 12 >> 2]; - $3 = HEAP32[$0 + 4 >> 2]; - $0 = HEAP32[$0 >> 2]; - $1 = ($3 >> 1) + $1 | 0; - if ($3 & 1) { - $0 = HEAP32[HEAP32[$1 >> 2] + $0 >> 2]; - } - FUNCTION_TABLE[$0 | 0]($1); - __stack_pointer = $2 + 16 | 0; -} - -function b2MotorJoint__SetLinearOffset_28b2Vec2_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (!(HEAPF32[HEAP32[$2 + 8 >> 2] >> 2] == HEAPF32[$0 + 68 >> 2] & HEAPF32[HEAP32[$2 + 8 >> 2] + 4 >> 2] == HEAPF32[$0 + 72 >> 2])) { - b2Body__SetAwake_28bool_29(HEAP32[$0 + 48 >> 2], 1); - b2Body__SetAwake_28bool_29(HEAP32[$0 + 52 >> 2], 1); - $1 = HEAP32[$2 + 8 >> 2]; - $3 = HEAP32[$1 + 4 >> 2]; - HEAP32[$0 + 68 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$0 + 72 >> 2] = $3; - } - __stack_pointer = $2 + 16 | 0; -} - -function b2Fixture__DestroyProxies_28b2BroadPhase__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$2 + 4 >> 2] = 0; - while (1) { - if (HEAP32[$2 + 4 >> 2] < HEAP32[$0 + 28 >> 2]) { - HEAP32[$2 >> 2] = HEAP32[$0 + 24 >> 2] + Math_imul(HEAP32[$2 + 4 >> 2], 28); - b2BroadPhase__DestroyProxy_28int_29(HEAP32[$2 + 8 >> 2], HEAP32[HEAP32[$2 >> 2] + 24 >> 2]); - HEAP32[HEAP32[$2 >> 2] + 24 >> 2] = -1; - HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 4 >> 2] + 1; - continue; - } - break; - } - HEAP32[$0 + 28 >> 2] = 0; - __stack_pointer = $2 + 16 | 0; -} - -function b2Mul22_28b2Mat33_20const__2c_20b2Vec2_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - b2Vec2__b2Vec2_28float_2c_20float_29($0, Math_fround(Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]) + Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 12 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2])), Math_fround(Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 4 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]) + Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 16 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2]))); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__Invoker_void_2c_20unsigned_20int_2c_20int___invoke_28void_20_28__29_28unsigned_20int_2c_20int_29_2c_20unsigned_20int_2c_20int_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$3 + 8 >> 2]), emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29(HEAP32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function b2CircleShape__Clone_28b2BlockAllocator__29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$2 + 8 >> 2], 20), - HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - $0 = HEAP32[$2 + 4 >> 2]; - b2CircleShape__b2CircleShape_28_29($0); - HEAP32[$2 >> 2] = $0; - b2CircleShape__operator__28b2CircleShape_20const__29(HEAP32[$2 >> 2], $1); - __stack_pointer = $2 + 16 | 0; - return HEAP32[$2 >> 2]; -} - -function b2Mul_28b2Mat22_20const__2c_20b2Vec2_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - b2Vec2__b2Vec2_28float_2c_20float_29($0, Math_fround(Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]) + Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 8 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2])), Math_fround(Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 4 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]) + Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 12 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2]))); - __stack_pointer = $3 + 16 | 0; -} - -function void_20_28b2Draw____emscripten__internal__getContext_void_20_28b2Draw____29_28b2Vec2_20const__2c_20float_2c_20b2Color_20const__29__28void_20_28b2Draw____20const__29_28b2Vec2_20const__2c_20float_2c_20b2Color_20const__29_29_29_28b2Vec2_20const__2c_20float_2c_20b2Color_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Fixture__TestPoint_28b2Vec2_20const__29_20const($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_i32$2 = 0, wasm2js_i32$3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - $1 = HEAP32[$0 + 12 >> 2]; - $0 = (wasm2js_i32$1 = $1, wasm2js_i32$2 = b2Body__GetTransform_28_29_20const(HEAP32[$0 + 8 >> 2]), - wasm2js_i32$3 = HEAP32[$2 + 8 >> 2], wasm2js_i32$0 = HEAP32[HEAP32[$1 >> 2] + 16 >> 2], - FUNCTION_TABLE[wasm2js_i32$0](wasm2js_i32$1 | 0, wasm2js_i32$2 | 0, wasm2js_i32$3 | 0) | 0); - __stack_pointer = $2 + 16 | 0; - return $0 & 1; -} - -function b2AABB__Combine_28b2AABB_20const__29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - $0 = HEAP32[$2 + 28 >> 2]; - b2Min_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 16 | 0, $0, HEAP32[$2 + 24 >> 2]); - $1 = HEAP32[$2 + 20 >> 2]; - $3 = HEAP32[$2 + 16 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$0 + 4 >> 2] = $1; - b2Max_28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 8 | 0, $0 + 8 | 0, HEAP32[$2 + 24 >> 2] + 8 | 0); - $3 = HEAP32[$2 + 12 >> 2]; - $1 = HEAP32[$2 + 8 >> 2]; - HEAP32[$0 + 8 >> 2] = $1; - HEAP32[$0 + 12 >> 2] = $3; - __stack_pointer = $2 + 32 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World_20const__2c_20b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World_20const__2c_20emscripten__internal__AllowedRawPointer_b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2__pair_char_20const__2c_20char___20std____2____dispatch_copy_or_move_5babi_v160004_5d_std____2___ClassicAlgPolicy_2c_20std____2____copy_loop_std____2___ClassicAlgPolicy__2c_20std____2____copy_trivial_2c_20char_20const__2c_20char_20const__2c_20char___28char_20const__2c_20char_20const__2c_20char__29($0, $1, $2, $3) { - std____2__pair_char_20const__2c_20char___20std____2____unwrap_and_dispatch_5babi_v160004_5d_std____2____overload_std____2____copy_loop_std____2___ClassicAlgPolicy__2c_20std____2____copy_trivial__2c_20char_20const__2c_20char_20const__2c_20char__2c_200__28char_20const__2c_20char_20const__2c_20char__29($0, $1, $2, $3); -} - -function void_20_28b2World____emscripten__internal__getContext_void_20_28b2World____29_28b2QueryCallback__2c_20b2AABB_20const__29_20const__28void_20_28b2World____20const__29_28b2QueryCallback__2c_20b2AABB_20const__29_20const_29_29_28b2QueryCallback__2c_20b2AABB_20const__29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2Body____emscripten__internal__getContext_void_20_28b2Body____29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool_29__28void_20_28b2Body____20const__29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool_29_29_29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__FunctionInvoker_b2Body__20_28__29_28b2JointDef__29_2c_20b2Body__2c_20b2JointDef____invoke_28b2Body__20_28___29_28b2JointDef__29_2c_20b2JointDef__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[HEAP32[$2 + 12 >> 2] >> 2]; - $0 = emscripten__internal__BindingType_b2Body__2c_20void___toWireType_28b2Body__29(FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_b2JointDef__2c_20void___fromWireType_28b2JointDef__29(HEAP32[$2 + 8 >> 2])) | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - b2Vec2__b2Vec2_28float_2c_20float_29($0, Math_fround(Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 4 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]) - Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2])), Math_fround(Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]) + Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 4 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2]))); - __stack_pointer = $3 + 16 | 0; -} - -function b2MulT_28b2Rot_20const__2c_20b2Rot_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - b2Rot__b2Rot_28_29($0); - HEAPF32[$0 >> 2] = Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 4 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]) - Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2]); - HEAPF32[$0 + 4 >> 2] = Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 4 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2]) + Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function scalbn($0, $1) { - label$1: { - if (($1 | 0) >= 1024) { - $0 = $0 * 898846567431158e293; - if ($1 >>> 0 < 2047) { - $1 = $1 - 1023 | 0; - break label$1; - } - $0 = $0 * 898846567431158e293; - $1 = (($1 | 0) >= 3069 ? 3069 : $1) - 2046 | 0; - break label$1; - } - if (($1 | 0) > -1023) { - break label$1; - } - $0 = $0 * 2004168360008973e-307; - if ($1 >>> 0 > 4294965304) { - $1 = $1 + 969 | 0; - break label$1; - } - $0 = $0 * 2004168360008973e-307; - $1 = (($1 | 0) <= -2960 ? -2960 : $1) + 1938 | 0; - } - wasm2js_scratch_store_i32(0, 0); - wasm2js_scratch_store_i32(1, $1 + 1023 << 20); - return $0 * +wasm2js_scratch_load_f64(); -} - -function b2EdgeShape__Clone_28b2BlockAllocator__29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2BlockAllocator__Allocate_28int_29(HEAP32[$2 + 8 >> 2], 48), - HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - $0 = HEAP32[$2 + 4 >> 2]; - b2EdgeShape__b2EdgeShape_28_29($0); - HEAP32[$2 >> 2] = $0; - b2EdgeShape__operator__28b2EdgeShape_20const__29(HEAP32[$2 >> 2], $1); - __stack_pointer = $2 + 16 | 0; - return HEAP32[$2 >> 2]; -} - -function void_20emscripten__val__call_void_2c_20unsigned_20int__2c_20unsigned_20int___28char_20const__2c_20unsigned_20int__2c_20unsigned_20int__29_20const($0, $1, $2, $3) { - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - emscripten__internal__MethodCaller_void_2c_20unsigned_20int__2c_20unsigned_20int____call_28emscripten___EM_VAL__2c_20char_20const__2c_20unsigned_20int__2c_20unsigned_20int__29(HEAP32[HEAP32[$4 + 12 >> 2] >> 2], HEAP32[$4 + 8 >> 2], HEAP32[$4 + 4 >> 2], HEAP32[$4 >> 2]); - __stack_pointer = $4 + 16 | 0; -} - -function b2BroadPhase__CreateProxy_28b2AABB_20const__2c_20void__29($0, $1, $2) { - var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - wasm2js_i32$0 = $3, wasm2js_i32$1 = b2DynamicTree__CreateProxy_28b2AABB_20const__2c_20void__29($0, HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]), - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - HEAP32[$0 + 28 >> 2] = HEAP32[$0 + 28 >> 2] + 1; - b2BroadPhase__BufferMove_28int_29($0, HEAP32[$3 >> 2]); - __stack_pointer = $3 + 16 | 0; - return HEAP32[$3 >> 2]; -} - -function void_20_28b2Draw____emscripten__internal__getContext_void_20_28b2Draw____29_28unsigned_20int_2c_20int_2c_20b2Color_20const__29__28void_20_28b2Draw____20const__29_28unsigned_20int_2c_20int_2c_20b2Color_20const__29_29_29_28unsigned_20int_2c_20int_2c_20b2Color_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2ContactListener____emscripten__internal__getContext_void_20_28b2ContactListener____29_28unsigned_20int_2c_20unsigned_20int_29__28void_20_28b2ContactListener____20const__29_28unsigned_20int_2c_20unsigned_20int_29_29_29_28unsigned_20int_2c_20unsigned_20int_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function std____2__unique_ptr_std____2____tree_node_b2Fixture__2c_20void___2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void________unique_ptr_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - std____2__unique_ptr_std____2____tree_node_b2Fixture__2c_20void___2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______reset_5babi_v160004_5d_28std____2____tree_node_b2Fixture__2c_20void____29($0, 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2EdgeShape__b2EdgeShape_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Shape__b2Shape_28_29($0); - HEAP32[$0 >> 2] = 18560; - b2Vec2__b2Vec2_28_29($0 + 12 | 0); - b2Vec2__b2Vec2_28_29($0 + 20 | 0); - b2Vec2__b2Vec2_28_29($0 + 28 | 0); - b2Vec2__b2Vec2_28_29($0 + 36 | 0); - HEAP32[$0 + 4 >> 2] = 1; - HEAPF32[$0 + 8 >> 2] = .009999999776482582; - HEAPF32[$0 + 28 >> 2] = 0; - HEAPF32[$0 + 32 >> 2] = 0; - HEAPF32[$0 + 36 >> 2] = 0; - HEAPF32[$0 + 40 >> 2] = 0; - HEAP8[$0 + 44 | 0] = 0; - HEAP8[$0 + 45 | 0] = 0; - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2DrawWrapper__DrawCircle_28b2Vec2_20const__2c_20float_2c_20b2Color_20const__29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAPF32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - void_20emscripten__wrapper_b2Draw___call_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Color_20const___28char_20const__2c_20b2Vec2_20const__2c_20float__2c_20b2Color_20const__29_20const(HEAP32[$4 + 12 >> 2], 9834, HEAP32[$4 + 8 >> 2], $4 + 4 | 0, HEAP32[$4 >> 2]); - __stack_pointer = $4 + 16 | 0; -} - -function ContactGetFixture_28unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Contact__GetFixtureA_28_29(HEAP32[$2 + 12 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Contact__GetFixtureB_28_29(HEAP32[$2 + 12 >> 2]), - HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - b2Vec2__b2Vec2_28float_2c_20float_29($0, Math_fround(HEAPU32[$2 + 8 >> 2]), Math_fround(HEAPU32[$2 + 4 >> 2])); - __stack_pointer = $2 + 16 | 0; -} - -function b2DrawWrapper__DrawPoint_28b2Vec2_20const__2c_20float_2c_20b2Color_20const__29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAPF32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - void_20emscripten__wrapper_b2Draw___call_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Color_20const___28char_20const__2c_20b2Vec2_20const__2c_20float__2c_20b2Color_20const__29_20const(HEAP32[$4 + 12 >> 2], 2549, HEAP32[$4 + 8 >> 2], $4 + 4 | 0, HEAP32[$4 >> 2]); - __stack_pointer = $4 + 16 | 0; -} - -function b2Body__ApplyForceToCenter_28b2Vec2_20const__2c_20bool_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP8[$3 + 7 | 0] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - label$1: { - if (HEAP32[$0 >> 2] != 2) { - break label$1; - } - if (!(!(HEAP8[$3 + 7 | 0] & 1) | HEAPU16[$0 + 4 >> 1] & 2)) { - b2Body__SetAwake_28bool_29($0, 1); - } - if (!(HEAPU16[$0 + 4 >> 1] & 2)) { - break label$1; - } - b2Vec2__operator___28b2Vec2_20const__29($0 + 76 | 0, HEAP32[$3 + 8 >> 2]); - } - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__class__b2RayCastCallback_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2RayCastCallback_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2RayCastCallbackWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2RayCastCallbackWrapper__29__operator_28_29_28b2RayCastCallbackWrapper__29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - emscripten__internal__WrapperBase__setNotifyJSOnDestruction_28bool_29(HEAP32[$2 + 8 >> 2] + 4 | 0, 1); - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__class__b2ContactListener_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2ContactListener_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2ContactListenerWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2ContactListenerWrapper__29__operator_28_29_28b2ContactListenerWrapper__29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - emscripten__internal__WrapperBase__setNotifyJSOnDestruction_28bool_29(HEAP32[$2 + 8 >> 2] + 4 | 0, 1); - __stack_pointer = $2 + 16 | 0; -} - -function void_20emscripten__wrapper_b2ContactListener___call_void_2c_20unsigned_20int__2c_20unsigned_20int___28char_20const__2c_20unsigned_20int__2c_20unsigned_20int__29_20const($0, $1, $2, $3) { - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - void_20emscripten__val__call_void_2c_20unsigned_20int__2c_20unsigned_20int___28char_20const__2c_20unsigned_20int__2c_20unsigned_20int__29_20const(HEAP32[$4 + 12 >> 2] + 8 | 0, HEAP32[$4 + 8 >> 2], HEAP32[$4 + 4 >> 2], HEAP32[$4 >> 2]); - __stack_pointer = $4 + 16 | 0; -} - -function emscripten__internal__Invoker_b2Filter_20const__2c_20unsigned_20int___invoke_28b2Filter_20const__20_28__29_28unsigned_20int_29_2c_20unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - $0 = emscripten__internal__GenericBindingType_b2Filter___toWireType_28b2Filter_20const__29(FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$2 + 8 >> 2])) | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function strlen($0) { - var $1 = 0, $2 = 0, $3 = 0; - label$1: { - label$2: { - $1 = $0; - if (!($1 & 3)) { - break label$2; - } - if (!HEAPU8[$0 | 0]) { - return 0; - } - while (1) { - $1 = $1 + 1 | 0; - if (!($1 & 3)) { - break label$2; - } - if (HEAPU8[$1 | 0]) { - continue; - } - break; - } - break label$1; - } - while (1) { - $2 = $1; - $1 = $1 + 4 | 0; - $3 = HEAP32[$2 >> 2]; - if (!(($3 ^ -1) & $3 - 16843009 & -2139062144)) { - continue; - } - break; - } - while (1) { - $1 = $2; - $2 = $1 + 1 | 0; - if (HEAPU8[$1 | 0]) { - continue; - } - break; - } - } - return $1 - $0 | 0; -} - -function std____2__unique_ptr_std____2____tree_node_b2Fixture__2c_20void___2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______operator___5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_std____2____tree_node_b2Fixture__2c_20void____2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______first_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return HEAP32[$0 >> 2]; -} - -function emscripten__class__b2QueryCallback_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2QueryCallback_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2QueryCallbackWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2QueryCallbackWrapper__29__operator_28_29_28b2QueryCallbackWrapper__29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - emscripten__internal__WrapperBase__setNotifyJSOnDestruction_28bool_29(HEAP32[$2 + 8 >> 2] + 4 | 0, 1); - __stack_pointer = $2 + 16 | 0; -} - -function b2Body__SetFixedRotation_28bool_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP8[$2 + 11 | 0] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP8[$2 + 10 | 0] = (HEAPU16[$0 + 4 >> 1] & 16) == 16; - if ((HEAP8[$2 + 10 | 0] & 1) != (HEAP8[$2 + 11 | 0] & 1)) { - label$2: { - if (HEAP8[$2 + 11 | 0] & 1) { - HEAP16[$0 + 4 >> 1] = HEAPU16[$0 + 4 >> 1] | 16; - break label$2; - } - HEAP16[$0 + 4 >> 1] = HEAPU16[$0 + 4 >> 1] & -17; - } - HEAPF32[$0 + 72 >> 2] = 0; - b2Body__ResetMassData_28_29($0); - } - __stack_pointer = $2 + 16 | 0; -} - -function b2Body__ApplyTorque_28float_2c_20bool_29($0, $1, $2) { - $0 = $0 | 0; - $1 = Math_fround($1); - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAPF32[$3 + 8 >> 2] = $1; - HEAP8[$3 + 7 | 0] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - label$1: { - if (HEAP32[$0 >> 2] != 2) { - break label$1; - } - if (!(!(HEAP8[$3 + 7 | 0] & 1) | HEAPU16[$0 + 4 >> 1] & 2)) { - b2Body__SetAwake_28bool_29($0, 1); - } - if (!(HEAPU16[$0 + 4 >> 1] & 2)) { - break label$1; - } - HEAPF32[$0 + 84 >> 2] = HEAPF32[$0 + 84 >> 2] + HEAPF32[$3 + 8 >> 2]; - } - __stack_pointer = $3 + 16 | 0; -} - -function b2Body__GetLinearVelocityFromWorldPoint_28b2Vec2_20const__29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0, $4 = Math_fround(0); - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $1; - HEAP32[$3 + 24 >> 2] = $2; - $1 = HEAP32[$3 + 28 >> 2]; - $4 = HEAPF32[$1 + 72 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($3 + 8 | 0, HEAP32[$3 + 24 >> 2], $1 + 44 | 0); - b2Cross_28float_2c_20b2Vec2_20const__29($3 + 16 | 0, $4, $3 + 8 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($0, $1 - -64 | 0, $3 + 16 | 0); - __stack_pointer = $3 + 32 | 0; -} - -function unsigned_20long_20const__20std____2__min_5babi_v160004_5d_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = unsigned_20long_20const__20std____2__min_5babi_v160004_5d_unsigned_20long_2c_20std____2____less_unsigned_20long_2c_20unsigned_20long___28unsigned_20long_20const__2c_20unsigned_20long_20const__2c_20std____2____less_unsigned_20long_2c_20unsigned_20long__29(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function unsigned_20long_20const__20std____2__max_5babi_v160004_5d_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = unsigned_20long_20const__20std____2__max_5babi_v160004_5d_unsigned_20long_2c_20std____2____less_unsigned_20long_2c_20unsigned_20long___28unsigned_20long_20const__2c_20unsigned_20long_20const__2c_20std____2____less_unsigned_20long_2c_20unsigned_20long__29(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_emscripten__val_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__val_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Body__ShouldCollide_28b2Body_20const__29_20const($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 8 >> 2] = $0; - HEAP32[$2 + 4 >> 2] = $1; - $0 = HEAP32[$2 + 8 >> 2]; - label$1: { - if (!(HEAP32[$0 >> 2] | HEAP32[HEAP32[$2 + 4 >> 2] >> 2])) { - HEAP8[$2 + 15 | 0] = 0; - break label$1; - } - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2Body__ShouldCollideConnected_28b2Body_20const__29_20const($0, HEAP32[$2 + 4 >> 2]) & 1, - HEAP8[wasm2js_i32$0 + 15 | 0] = wasm2js_i32$1; - } - __stack_pointer = $2 + 16 | 0; - return HEAP8[$2 + 15 | 0] & 1; -} - -function void_20emscripten__internal__MemberAccess_b2PrismaticJointDef_2c_20float___setWire_b2PrismaticJointDef__28float_20b2PrismaticJointDef____20const__2c_20b2PrismaticJointDef__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2]); - HEAPF32[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__internal__MemberAccess_b2Filter_2c_20unsigned_20short___setWire_b2Filter__28unsigned_20short_20b2Filter____20const__2c_20b2Filter__2c_20unsigned_20short_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP16[$3 + 6 >> 1] = $2; - $0 = emscripten__internal__BindingType_unsigned_20short_2c_20void___fromWireType_28unsigned_20short_29(HEAPU16[$3 + 6 >> 1]); - HEAP16[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] >> 1] = $0; - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__Invoker_b2Vec2_20const__2c_20unsigned_20int___invoke_28b2Vec2_20const__20_28__29_28unsigned_20int_29_2c_20unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$2 + 8 >> 2])) | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const__2c_20b2RayCastOutput__2c_20b2RayCastInput_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const__2c_20emscripten__internal__AllowedRawPointer_b2RayCastOutput__2c_20b2RayCastInput_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2__unique_ptr_std____2____tree_node_b2Fixture__2c_20void___2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______get_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_std____2____tree_node_b2Fixture__2c_20void____2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______first_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return HEAP32[$0 >> 2]; -} - -function b2Body__SetAwake_28bool_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP8[$2 + 11 | 0] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - label$1: { - if (HEAP8[$2 + 11 | 0] & 1) { - HEAP16[$0 + 4 >> 1] = HEAPU16[$0 + 4 >> 1] | 2; - HEAPF32[$0 + 144 >> 2] = 0; - break label$1; - } - HEAP16[$0 + 4 >> 1] = HEAPU16[$0 + 4 >> 1] & -3; - HEAPF32[$0 + 144 >> 2] = 0; - b2Vec2__SetZero_28_29($0 - -64 | 0); - HEAPF32[$0 + 72 >> 2] = 0; - b2Vec2__SetZero_28_29($0 + 76 | 0); - HEAPF32[$0 + 84 >> 2] = 0; - } - __stack_pointer = $2 + 16 | 0; -} - -function __cxxabiv1____pointer_to_member_type_info__can_catch_nested_28__cxxabiv1____shim_type_info_20const__29_20const($0, $1) { - var $2 = 0; - label$1: { - if (!$1) { - break label$1; - } - $1 = __dynamic_cast($1, 24196, 24452, 0); - if (!$1 | HEAP32[$1 + 8 >> 2] & (HEAP32[$0 + 8 >> 2] ^ -1)) { - break label$1; - } - if (!is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29(HEAP32[$0 + 12 >> 2], HEAP32[$1 + 12 >> 2], 0)) { - break label$1; - } - $2 = is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29(HEAP32[$0 + 16 >> 2], HEAP32[$1 + 16 >> 2], 0); - } - return $2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2DrawWrapper__DrawSolidPolygon_28unsigned_20int_2c_20int_2c_20b2Color_20const__29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - void_20emscripten__wrapper_b2Draw___call_void_2c_20unsigned_20int__2c_20int__2c_20b2Color_20const___28char_20const__2c_20unsigned_20int__2c_20int__2c_20b2Color_20const__29_20const(HEAP32[$4 + 12 >> 2], 7030, $4 + 8 | 0, $4 + 4 | 0, HEAP32[$4 >> 2]); - __stack_pointer = $4 + 16 | 0; -} - -function void_20emscripten__internal__MemberAccess_b2RevoluteJointDef_2c_20float___setWire_b2RevoluteJointDef__28float_20b2RevoluteJointDef____20const__2c_20b2RevoluteJointDef__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2]); - HEAPF32[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__internal__MemberAccess_b2DistanceJointDef_2c_20float___setWire_b2DistanceJointDef__28float_20b2DistanceJointDef____20const__2c_20b2DistanceJointDef__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2]); - HEAPF32[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function frexp($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - wasm2js_scratch_store_f64(+$0); - $2 = wasm2js_scratch_load_i32(1) | 0; - $3 = wasm2js_scratch_load_i32(0) | 0; - $4 = $2; - $2 = $2 >>> 20 & 2047; - if (($2 | 0) != 2047) { - if (!$2) { - if ($0 == 0) { - $2 = 0; - } else { - $0 = frexp($0 * 0x10000000000000000, $1); - $2 = HEAP32[$1 >> 2] + -64 | 0; - } - HEAP32[$1 >> 2] = $2; - return $0; - } - HEAP32[$1 >> 2] = $2 - 1022; - $2 = $3; - wasm2js_scratch_store_i32(0, $2 | 0); - $2 = $4 & -2146435073 | 1071644672; - wasm2js_scratch_store_i32(1, $2 | 0); - $0 = +wasm2js_scratch_load_f64(); - } - return $0; -} - -function emscripten__internal__FunctionInvoker_void_20_28__29_28b2RayCastCallbackWrapper__29_2c_20void_2c_20b2RayCastCallbackWrapper____invoke_28void_20_28___29_28b2RayCastCallbackWrapper__29_2c_20b2RayCastCallbackWrapper__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[HEAP32[$2 + 12 >> 2] >> 2]; - FUNCTION_TABLE[$0 | 0](emscripten__internal__GenericBindingType_b2RayCastCallbackWrapper___fromWireType_28b2RayCastCallbackWrapper__29(HEAP32[$2 + 8 >> 2])); - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__FunctionInvoker_void_20_28__29_28b2ContactListenerWrapper__29_2c_20void_2c_20b2ContactListenerWrapper____invoke_28void_20_28___29_28b2ContactListenerWrapper__29_2c_20b2ContactListenerWrapper__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[HEAP32[$2 + 12 >> 2] >> 2]; - FUNCTION_TABLE[$0 | 0](emscripten__internal__GenericBindingType_b2ContactListenerWrapper___fromWireType_28b2ContactListenerWrapper__29(HEAP32[$2 + 8 >> 2])); - __stack_pointer = $2 + 16 | 0; -} - -function b2DrawWrapper__DrawPolygon_28unsigned_20int_2c_20int_2c_20b2Color_20const__29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - void_20emscripten__wrapper_b2Draw___call_void_2c_20unsigned_20int__2c_20int__2c_20b2Color_20const___28char_20const__2c_20unsigned_20int__2c_20int__2c_20b2Color_20const__29_20const(HEAP32[$4 + 12 >> 2], 7018, $4 + 8 | 0, $4 + 4 | 0, HEAP32[$4 >> 2]); - __stack_pointer = $4 + 16 | 0; -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_short_pointer_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2__pointer_traits_char_20const____pointer_to_5babi_v160004_5d_28char_20const__29(std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2])); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Body__ShouldCollideConnected_28b2Body_20const__29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 8 >> 2] = $0; - HEAP32[$2 + 4 >> 2] = $1; - HEAP32[$2 >> 2] = HEAP32[HEAP32[$2 + 8 >> 2] + 108 >> 2]; - label$1: { - while (1) { - if (HEAP32[$2 >> 2]) { - if (!(HEAP8[HEAP32[HEAP32[$2 >> 2] + 4 >> 2] + 61 | 0] & 1) & HEAP32[HEAP32[$2 >> 2] >> 2] == HEAP32[$2 + 4 >> 2]) { - HEAP8[$2 + 15 | 0] = 0; - break label$1; - } - HEAP32[$2 >> 2] = HEAP32[HEAP32[$2 >> 2] + 12 >> 2]; - continue; - } - break; - } - HEAP8[$2 + 15 | 0] = 1; - } - return HEAP8[$2 + 15 | 0] & 1; -} - -function void_20emscripten__internal__MemberAccess_b2PrismaticJointDef_2c_20bool___setWire_b2PrismaticJointDef__28bool_20b2PrismaticJointDef____20const__2c_20b2PrismaticJointDef__2c_20bool_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP8[$3 + 7 | 0] = $2; - $0 = emscripten__internal__BindingType_bool_2c_20void___fromWireType_28bool_29(HEAP8[$3 + 7 | 0] & 1); - HEAP8[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] | 0] = $0 & 1; - __stack_pointer = $3 + 16 | 0; -} - -function void_20_28b2ContactListenerWrapper____emscripten__internal__getContext_void_20_28b2ContactListenerWrapper____29_28unsigned_20int_29__28void_20_28b2ContactListenerWrapper____20const__29_28unsigned_20int_29_29_29_28unsigned_20int_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World_20const__2c_20b2QueryCallback__2c_20b2AABB_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World_20const__2c_20emscripten__internal__AllowedRawPointer_b2QueryCallback__2c_20b2AABB_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function bool_20_28b2ContactListenerWrapper____emscripten__internal__getContext_bool_20_28b2ContactListenerWrapper____29_28unsigned_20int_29__28bool_20_28b2ContactListenerWrapper____20const__29_28unsigned_20int_29_29_29_28unsigned_20int_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20emscripten__internal__MemberAccess_b2WheelJointDef_2c_20float___setWire_b2WheelJointDef__28float_20b2WheelJointDef____20const__2c_20b2WheelJointDef__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2]); - HEAPF32[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__internal__MemberAccess_b2RayCastOutput_2c_20float___setWire_b2RayCastOutput__28float_20b2RayCastOutput____20const__2c_20b2RayCastOutput__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2]); - HEAPF32[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__internal__MemberAccess_b2MouseJointDef_2c_20float___setWire_b2MouseJointDef__28float_20b2MouseJointDef____20const__2c_20b2MouseJointDef__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2]); - HEAPF32[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__internal__MemberAccess_b2MotorJointDef_2c_20float___setWire_b2MotorJointDef__28float_20b2MotorJointDef____20const__2c_20b2MotorJointDef__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2]); - HEAPF32[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____max_size_5babi_v160004_5d_28_29_20const($0) { - $0 = unsigned_20long_20std____2__allocator_traits_std____2__allocator_char____max_size_5babi_v160004_5d_std____2__allocator_char__2c_20void_2c_20void__28std____2__allocator_char__20const__29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_5babi_v160004_5d_28_29_20const($0)); - return ($0 >>> (std____2__numeric_limits_unsigned_20long___max_5babi_v160004_5d_28_29() >>> 1 >>> 0 < $0 >>> 0) | 0) - 16 | 0; -} - -function emscripten__internal__FunctionInvoker_void_20_28__29_28b2QueryCallbackWrapper__29_2c_20void_2c_20b2QueryCallbackWrapper____invoke_28void_20_28___29_28b2QueryCallbackWrapper__29_2c_20b2QueryCallbackWrapper__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[HEAP32[$2 + 12 >> 2] >> 2]; - FUNCTION_TABLE[$0 | 0](emscripten__internal__GenericBindingType_b2QueryCallbackWrapper___fromWireType_28b2QueryCallbackWrapper__29(HEAP32[$2 + 8 >> 2])); - __stack_pointer = $2 + 16 | 0; -} - -function void_20emscripten__internal__MemberAccess_b2RevoluteJointDef_2c_20bool___setWire_b2RevoluteJointDef__28bool_20b2RevoluteJointDef____20const__2c_20b2RevoluteJointDef__2c_20bool_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP8[$3 + 7 | 0] = $2; - $0 = emscripten__internal__BindingType_bool_2c_20void___fromWireType_28bool_29(HEAP8[$3 + 7 | 0] & 1); - HEAP8[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] | 0] = $0 & 1; - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Joint__2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2JointDef_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2Joint__2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20emscripten__internal__AllowedRawPointer_b2JointDef_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20emscripten__internal__MemberAccess_b2WeldJointDef_2c_20float___setWire_b2WeldJointDef__28float_20b2WeldJointDef____20const__2c_20b2WeldJointDef__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2]); - HEAPF32[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__internal__MemberAccess_b2RopeJointDef_2c_20float___setWire_b2RopeJointDef__28float_20b2RopeJointDef____20const__2c_20b2RopeJointDef__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2]); - HEAPF32[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__internal__MemberAccess_b2RayCastInput_2c_20float___setWire_b2RayCastInput__28float_20b2RayCastInput____20const__2c_20b2RayCastInput__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2]); - HEAPF32[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__Invoker_b2Vec2_2c_20unsigned_20int___invoke_28b2Vec2_20_28__29_28unsigned_20int_29_2c_20unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - FUNCTION_TABLE[$0 | 0]($2, emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$2 + 8 >> 2])); - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2___29($2); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__GenericBindingType_b2Transform___toWireType_28b2Transform_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - $5 = operator_20new_28unsigned_20long_29(16); - $3 = HEAP32[$2 + 12 >> 2]; - $1 = HEAP32[$3 >> 2]; - $0 = HEAP32[$3 + 4 >> 2]; - $4 = $1; - $1 = $5; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - $1 = HEAP32[$3 + 12 >> 2]; - $0 = HEAP32[$3 + 8 >> 2]; - $4 = $0; - $0 = $5; - HEAP32[$0 + 8 >> 2] = $4; - HEAP32[$0 + 12 >> 2] = $1; - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function std____2__unique_ptr_std____2____tree_node_b2Fixture__2c_20void___2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______get_deleter_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_std____2____tree_node_b2Fixture__2c_20void____2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______second_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2DistanceJointDef__b2DistanceJointDef_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2JointDef__b2JointDef_28_29($0); - b2Vec2__b2Vec2_28_29($0 + 20 | 0); - b2Vec2__b2Vec2_28_29($0 + 28 | 0); - HEAP32[$0 >> 2] = 3; - b2Vec2__Set_28float_2c_20float_29($0 + 20 | 0, Math_fround(0), Math_fround(0)); - b2Vec2__Set_28float_2c_20float_29($0 + 28 | 0, Math_fround(0), Math_fround(0)); - HEAPF32[$0 + 36 >> 2] = 1; - HEAPF32[$0 + 40 >> 2] = 0; - HEAPF32[$0 + 44 >> 2] = 0; - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture________tree_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____destroy_28std____2____tree_node_b2Fixture__2c_20void____29($0, std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______root_5babi_v160004_5d_28_29_20const($0)); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Body__2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2BodyDef_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2Body__2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20emscripten__internal__AllowedRawPointer_b2BodyDef_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20emscripten__internal__MemberAccess_b2JointDef_2c_20b2JointType___setWire_b2JointDef__28b2JointType_20b2JointDef____20const__2c_20b2JointDef__2c_20b2JointType_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = emscripten__internal__EnumBindingType_b2JointType___fromWireType_28b2JointType_29(HEAP32[$3 + 4 >> 2]); - HEAP32[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] >> 2] = $0; - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__Signature_void___get_method_caller_28_29() { - var $0 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $0 = __stack_pointer - 16 | 0; - __stack_pointer = $0; - if (!(HEAP8[29340] & 1)) { - wasm2js_i32$0 = 29336, wasm2js_i32$1 = _emval_get_method_caller(emscripten__internal__WithPolicies____ArgTypeList_void___getCount_28_29_20const($0 + 15 | 0) | 0, emscripten__internal__WithPolicies____ArgTypeList_void___getTypes_28_29_20const($0 + 15 | 0) | 0) | 0, - HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - HEAP8[29340] = 1; - } - __stack_pointer = $0 + 16 | 0; - return HEAP32[7334]; -} - -function b2Vec2_20const__20_28b2PrismaticJoint____emscripten__internal__getContext_b2Vec2_20const__20_28b2PrismaticJoint____29_28_29_20const__28b2Vec2_20const__20_28b2PrismaticJoint____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2WorldQueryWrapper__QueryCallback_28int_29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - wasm2js_i32$0 = $2, wasm2js_i32$1 = b2BroadPhase__GetUserData_28int_29_20const(HEAP32[$0 >> 2], HEAP32[$2 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; - $0 = HEAP32[$0 + 4 >> 2]; - $0 = FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 8 >> 2]]($0, HEAP32[HEAP32[$2 + 4 >> 2] + 16 >> 2]) | 0; - __stack_pointer = $2 + 16 | 0; - return $0 & 1; -} - -function std____2__pair_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2_____pair_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___2c_20_28void__290__28std____2__reverse_iterator_b2Vec2_____2c_20std____2__reverse_iterator_b2Vec2_____29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[HEAP32[$3 + 8 >> 2] >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[HEAP32[$3 + 4 >> 2] >> 2]; - return $0; -} - -function b2Vec2_20const__20_28b2RevoluteJoint____emscripten__internal__getContext_b2Vec2_20const__20_28b2RevoluteJoint____29_28_29_20const__28b2Vec2_20const__20_28b2RevoluteJoint____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Vec2_20const__20_28b2DistanceJoint____emscripten__internal__getContext_b2Vec2_20const__20_28b2DistanceJoint____29_28_29_20const__28b2Vec2_20const__20_28b2DistanceJoint____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Body__SetLinearVelocity_28b2Vec2_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (HEAP32[$0 >> 2]) { - if (b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 8 >> 2]) > Math_fround(0)) { - b2Body__SetAwake_28bool_29($0, 1); - } - $1 = HEAP32[$2 + 8 >> 2]; - $3 = HEAP32[$1 + 4 >> 2]; - HEAP32[$0 + 64 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$0 + 68 >> 2] = $3; - } - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__GenericBindingType_b2Color___toWireType_28b2Color_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - $5 = operator_20new_28unsigned_20long_29(16); - $3 = HEAP32[$2 + 12 >> 2]; - $1 = HEAP32[$3 >> 2]; - $0 = HEAP32[$3 + 4 >> 2]; - $4 = $1; - $1 = $5; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - $1 = HEAP32[$3 + 12 >> 2]; - $0 = HEAP32[$3 + 8 >> 2]; - $4 = $0; - $0 = $5; - HEAP32[$0 + 8 >> 2] = $4; - HEAP32[$0 + 12 >> 2] = $1; - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function void_20std____2__allocator_traits_std____2__allocator_b2Vec2____construct_5babi_v160004_5d_b2Vec2_2c_20b2Vec2_20const__2c_20void__28std____2__allocator_b2Vec2___2c_20b2Vec2__2c_20b2Vec2_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - void_20std____2__allocator_b2Vec2___construct_5babi_v160004_5d_b2Vec2_2c_20b2Vec2_20const___28b2Vec2__2c_20b2Vec2_20const__29(HEAP32[$3 + 12 >> 2], HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function b2WeldJointDef__b2WeldJointDef_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2JointDef__b2JointDef_28_29($0); - b2Vec2__b2Vec2_28_29($0 + 20 | 0); - b2Vec2__b2Vec2_28_29($0 + 28 | 0); - HEAP32[$0 >> 2] = 8; - b2Vec2__Set_28float_2c_20float_29($0 + 20 | 0, Math_fround(0), Math_fround(0)); - b2Vec2__Set_28float_2c_20float_29($0 + 28 | 0, Math_fround(0), Math_fround(0)); - HEAPF32[$0 + 36 >> 2] = 0; - HEAPF32[$0 + 40 >> 2] = 0; - HEAPF32[$0 + 44 >> 2] = 0; - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20emscripten__internal__MemberAccess_b2WheelJointDef_2c_20bool___setWire_b2WheelJointDef__28bool_20b2WheelJointDef____20const__2c_20b2WheelJointDef__2c_20bool_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP8[$3 + 7 | 0] = $2; - $0 = emscripten__internal__BindingType_bool_2c_20void___fromWireType_28bool_29(HEAP8[$3 + 7 | 0] & 1); - HEAP8[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] | 0] = $0 & 1; - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__GenericBindingType_b2AABB___toWireType_28b2AABB_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - $5 = operator_20new_28unsigned_20long_29(16); - $3 = HEAP32[$2 + 12 >> 2]; - $1 = HEAP32[$3 >> 2]; - $0 = HEAP32[$3 + 4 >> 2]; - $4 = $1; - $1 = $5; - HEAP32[$1 >> 2] = $4; - HEAP32[$1 + 4 >> 2] = $0; - $1 = HEAP32[$3 + 12 >> 2]; - $0 = HEAP32[$3 + 8 >> 2]; - $4 = $0; - $0 = $5; - HEAP32[$0 + 8 >> 2] = $4; - HEAP32[$0 + 12 >> 2] = $1; - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function emscripten__internal__Invoker_bool_2c_20unsigned_20int___invoke_28bool_20_28__29_28unsigned_20int_29_2c_20unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - $0 = emscripten__internal__BindingType_bool_2c_20void___toWireType_28bool_29(FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$2 + 8 >> 2])) & 1); - __stack_pointer = $2 + 16 | 0; - return $0 & 1; -} - -function void_20emscripten__internal__MemberAccess_b2BodyDef_2c_20b2BodyType___setWire_b2BodyDef__28b2BodyType_20b2BodyDef____20const__2c_20b2BodyDef__2c_20b2BodyType_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = emscripten__internal__EnumBindingType_b2BodyType___fromWireType_28b2BodyType_29(HEAP32[$3 + 4 >> 2]); - HEAP32[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] >> 2] = $0; - __stack_pointer = $3 + 16 | 0; -} - -function void_20_28b2PrismaticJoint____emscripten__internal__getContext_void_20_28b2PrismaticJoint____29_28float_2c_20float_29__28void_20_28b2PrismaticJoint____20const__29_28float_2c_20float_29_29_29_28float_2c_20float_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2Body____emscripten__internal__getContext_void_20_28b2Body____29_28b2Vec2_20const__2c_20float_29__28void_20_28b2Body____20const__29_28b2Vec2_20const__2c_20float_29_29_29_28b2Vec2_20const__2c_20float_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20emscripten__internal__MemberAccess_b2MassData_2c_20float___setWire_b2MassData__28float_20b2MassData____20const__2c_20b2MassData__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2]); - HEAPF32[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function void_20_28b2RevoluteJoint____emscripten__internal__getContext_void_20_28b2RevoluteJoint____29_28float_2c_20float_29__28void_20_28b2RevoluteJoint____20const__29_28float_2c_20float_29_29_29_28float_2c_20float_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2ContactListener____emscripten__internal__getContext_void_20_28b2ContactListener____29_28unsigned_20int_29__28void_20_28b2ContactListener____20const__29_28unsigned_20int_29_29_29_28unsigned_20int_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2Body____emscripten__internal__getContext_void_20_28b2Body____29_28b2Vec2_20const__2c_20bool_29__28void_20_28b2Body____20const__29_28b2Vec2_20const__2c_20bool_29_29_29_28b2Vec2_20const__2c_20bool_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Vec2_20const__20_28b2WheelJoint____emscripten__internal__getContext_b2Vec2_20const__20_28b2WheelJoint____29_28_29_20const__28b2Vec2_20const__20_28b2WheelJoint____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Vec2_20const__20_28b2MotorJoint____emscripten__internal__getContext_b2Vec2_20const__20_28b2MotorJoint____29_28_29_20const__28b2Vec2_20const__20_28b2MotorJoint____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Vec2_20_28b2Body____emscripten__internal__getContext_b2Vec2_20_28b2Body____29_28b2Vec2_20const__29_20const__28b2Vec2_20_28b2Body____20const__29_28b2Vec2_20const__29_20const_29_29_28b2Vec2_20const__29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Vec2_20const__20_28b2MouseJoint____emscripten__internal__getContext_b2Vec2_20const__20_28b2MouseJoint____29_28_29_20const__28b2Vec2_20const__20_28b2MouseJoint____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} -function unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______max_size_5babi_v160004_5d_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void____2c_20void__28std____2__allocator_std____2____tree_node_b2Fixture__2c_20void____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____max_size_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2_____ConstructTransaction___ConstructTransaction_5babi_v160004_5d_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$3 + 8 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[HEAP32[$3 + 8 >> 2] + 4 >> 2]; - HEAP32[$0 + 8 >> 2] = HEAP32[HEAP32[$3 + 8 >> 2] + 4 >> 2] + (HEAP32[$3 + 4 >> 2] << 3); - return $0; -} - -function b2World__QueryAABB_28b2QueryCallback__2c_20b2AABB_20const__29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $0; - HEAP32[$3 + 24 >> 2] = $1; - HEAP32[$3 + 20 >> 2] = $2; - $0 = HEAP32[$3 + 28 >> 2]; - HEAP32[$3 + 12 >> 2] = $0 + 102868; - HEAP32[$3 + 16 >> 2] = HEAP32[$3 + 24 >> 2]; - void_20b2BroadPhase__Query_b2WorldQueryWrapper__28b2WorldQueryWrapper__2c_20b2AABB_20const__29_20const($0 + 102868 | 0, $3 + 12 | 0, HEAP32[$3 + 20 >> 2]); - __stack_pointer = $3 + 32 | 0; -} - -function void_20_28b2World____emscripten__internal__getContext_void_20_28b2World____29_28float_2c_20int_2c_20int_29__28void_20_28b2World____20const__29_28float_2c_20int_2c_20int_29_29_29_28float_2c_20int_2c_20int_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function float_20_28b2PrismaticJoint____emscripten__internal__getContext_float_20_28b2PrismaticJoint____29_28float_29_20const__28float_20_28b2PrismaticJoint____20const__29_28float_29_20const_29_29_28float_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__Invoker_b2World__2c_20b2Vec2_____invoke_28b2World__20_28__29_28b2Vec2___29_2c_20b2Vec2__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - emscripten__internal__BindingType_b2Vec2___2c_20void___fromWireType_28b2Vec2__29($2, HEAP32[$2 + 8 >> 2]); - $0 = emscripten__internal__BindingType_b2World__2c_20void___toWireType_28b2World__29(FUNCTION_TABLE[$0 | 0]($2) | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function b2Vec2_20const__20_28b2WeldJoint____emscripten__internal__getContext_b2Vec2_20const__20_28b2WeldJoint____29_28_29_20const__28b2Vec2_20const__20_28b2WeldJoint____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Vec2_20const__20_28b2RopeJoint____emscripten__internal__getContext_b2Vec2_20const__20_28b2RopeJoint____29_28_29_20const__28b2Vec2_20const__20_28b2RopeJoint____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Transform_20const__20_28b2Body____emscripten__internal__getContext_b2Transform_20const__20_28b2Body____29_28_29_20const__28b2Transform_20const__20_28b2Body____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2TempPolygon__b2TempPolygon_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - $0 = HEAP32[$1 + 8 >> 2]; - HEAP32[$1 + 12 >> 2] = $0; - $3 = $0 - -64 | 0; - $2 = $0; - while (1) { - b2Vec2__b2Vec2_28_29($2); - $2 = $2 + 8 | 0; - if (($3 | 0) != ($2 | 0)) { - continue; - } - break; - } - $0 = $0 - -64 | 0; - $2 = $0 - -64 | 0; - while (1) { - b2Vec2__b2Vec2_28_29($0); - $0 = $0 + 8 | 0; - if (($2 | 0) != ($0 | 0)) { - continue; - } - break; - } - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2Joint__20_28b2World____emscripten__internal__getContext_b2Joint__20_28b2World____29_28b2JointDef_20const__29__28b2Joint__20_28b2World____20const__29_28b2JointDef_20const__29_29_29_28b2JointDef_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20emscripten__internal__MemberAccess_b2BodyDef_2c_20float___setWire_b2BodyDef__28float_20b2BodyDef____20const__2c_20b2BodyDef__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2]); - HEAPF32[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function std____2____compressed_pair_std____2____tree_node_b2Fixture__2c_20void____2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______second_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____2c_201_2c_20false_____get_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2] + 4 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function float_20emscripten__internal__fromGenericWireType_float__28double_29($0) { - var $1 = 0, $2 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAPF64[$1 + 8 >> 3] = $0; - wasm2js_i32$0 = $1, wasm2js_f32$0 = emscripten__internal__GenericWireTypeConverter_float___from_28double_29(HEAPF64[$1 + 8 >> 3]), - HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; - $2 = emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$1 + 4 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $2; -} - -function emscripten__class__b2Draw_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2Draw_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2DrawWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2DrawWrapper__29__operator_28_29_28b2DrawWrapper__29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - emscripten__internal__WrapperBase__setNotifyJSOnDestruction_28bool_29(HEAP32[$2 + 8 >> 2] + 8 | 0, 1); - __stack_pointer = $2 + 16 | 0; -} - -function b2World__ClearForces_28_29($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - HEAP32[$1 + 8 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] + 102948 >> 2]; - while (1) { - if (HEAP32[$1 + 8 >> 2]) { - b2Vec2__SetZero_28_29(HEAP32[$1 + 8 >> 2] + 76 | 0); - HEAPF32[HEAP32[$1 + 8 >> 2] + 84 >> 2] = 0; - wasm2js_i32$0 = $1, wasm2js_i32$1 = b2Body__GetNext_28_29(HEAP32[$1 + 8 >> 2]), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - continue; - } - break; - } - __stack_pointer = $1 + 16 | 0; -} - -function float_20emscripten__internal__MemberAccess_b2PrismaticJointDef_2c_20float___getWire_b2PrismaticJointDef__28float_20b2PrismaticJointDef____20const__2c_20b2PrismaticJointDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $3 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($3); -} - -function float_20_28b2RevoluteJoint____emscripten__internal__getContext_float_20_28b2RevoluteJoint____29_28float_29_20const__28float_20_28b2RevoluteJoint____20const__29_28float_29_20const_29_29_28float_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function bool_20_28b2QueryCallback____emscripten__internal__getContext_bool_20_28b2QueryCallback____29_28unsigned_20int_29__28bool_20_28b2QueryCallback____20const__29_28unsigned_20int_29_29_29_28unsigned_20int_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function bool_20_28b2AABB____emscripten__internal__getContext_bool_20_28b2AABB____29_28b2AABB_20const__29_20const__28bool_20_28b2AABB____20const__29_28b2AABB_20const__29_20const_29_29_28b2AABB_20const__29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Island___b2Island_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2StackAllocator__Free_28void__29(HEAP32[$0 >> 2], HEAP32[$0 + 20 >> 2]); - b2StackAllocator__Free_28void__29(HEAP32[$0 >> 2], HEAP32[$0 + 24 >> 2]); - b2StackAllocator__Free_28void__29(HEAP32[$0 >> 2], HEAP32[$0 + 16 >> 2]); - b2StackAllocator__Free_28void__29(HEAP32[$0 >> 2], HEAP32[$0 + 12 >> 2]); - b2StackAllocator__Free_28void__29(HEAP32[$0 >> 2], HEAP32[$0 + 8 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20emscripten__internal__MemberAccess_b2Filter_2c_20short___setWire_b2Filter__28short_20b2Filter____20const__2c_20b2Filter__2c_20short_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP16[$3 + 6 >> 1] = $2; - $0 = emscripten__internal__BindingType_short_2c_20void___fromWireType_28short_29(HEAPU16[$3 + 6 >> 1] << 16 >> 16); - HEAP16[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] >> 1] = $0; - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__Invoker_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______invoke_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____20_28__29_28_29_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__BindingType_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20void___toWireType_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____29(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]() | 0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function std____2__pair_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int_____pair_5babi_v160004_5d_std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___2c_20_28void__290__28std____2__reverse_iterator_int_____2c_20std____2__reverse_iterator_int_____29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[HEAP32[$3 + 8 >> 2] >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[HEAP32[$3 + 4 >> 2] >> 2]; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20b2Vec2_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20b2Vec2_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Body__20_28b2World____emscripten__internal__getContext_b2Body__20_28b2World____29_28b2BodyDef_20const__29__28b2Body__20_28b2World____20const__29_28b2BodyDef_20const__29_29_29_28b2BodyDef_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function float_20emscripten__internal__MemberAccess_b2RevoluteJointDef_2c_20float___getWire_b2RevoluteJointDef__28float_20b2RevoluteJointDef____20const__2c_20b2RevoluteJointDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $3 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($3); -} - -function float_20emscripten__internal__MemberAccess_b2DistanceJointDef_2c_20float___getWire_b2DistanceJointDef__28float_20b2DistanceJointDef____20const__2c_20b2DistanceJointDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $3 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($3); -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2_____vector_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______destroy_vector____destroy_vector_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____29($1 + 8 | 0, $0); - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______destroy_vector__operator_28_29_5babi_v160004_5d_28_29($1 + 8 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20emscripten__internal__MemberAccess_b2Color_2c_20float___setWire_b2Color__28float_20b2Color____20const__2c_20b2Color__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2]); - HEAPF32[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function void_20_28b2MouseJoint____emscripten__internal__getContext_void_20_28b2MouseJoint____29_28b2Vec2_20const__29__28void_20_28b2MouseJoint____20const__29_28b2Vec2_20const__29_29_29_28b2Vec2_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2MotorJoint____emscripten__internal__getContext_void_20_28b2MotorJoint____29_28b2Vec2_20const__29__28void_20_28b2MotorJoint____20const__29_28b2Vec2_20const__29_29_29_28b2Vec2_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__WithPolicies____ArgTypeList_unsigned_20long_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_unsigned_20long_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function Vec2VectorCC__resize_28int_2c_20float_2c_20float_29($0, $1, $2, $3) { - var $4 = 0; - $4 = __stack_pointer - 32 | 0; - __stack_pointer = $4; - HEAP32[$4 + 28 >> 2] = $0; - HEAP32[$4 + 24 >> 2] = $1; - HEAPF32[$4 + 20 >> 2] = $2; - HEAPF32[$4 + 16 >> 2] = $3; - $0 = HEAP32[$4 + 28 >> 2]; - $1 = HEAP32[$4 + 24 >> 2]; - b2Vec2__b2Vec2_28float_2c_20float_29($4 + 8 | 0, HEAPF32[$4 + 20 >> 2], HEAPF32[$4 + 16 >> 2]); - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____resize_28unsigned_20long_2c_20b2Vec2_20const__29($0, $1, $4 + 8 | 0); - __stack_pointer = $4 + 32 | 0; -} - -function std____2__vector_int_2c_20std____2__allocator_int_____ConstructTransaction___ConstructTransaction_5babi_v160004_5d_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$3 + 8 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[HEAP32[$3 + 8 >> 2] + 4 >> 2]; - HEAP32[$0 + 8 >> 2] = HEAP32[HEAP32[$3 + 8 >> 2] + 4 >> 2] + (HEAP32[$3 + 4 >> 2] << 2); - return $0; -} - -function void_20emscripten__internal__MemberAccess_b2JointDef_2c_20bool___setWire_b2JointDef__28bool_20b2JointDef____20const__2c_20b2JointDef__2c_20bool_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP8[$3 + 7 | 0] = $2; - $0 = emscripten__internal__BindingType_bool_2c_20void___fromWireType_28bool_29(HEAP8[$3 + 7 | 0] & 1); - HEAP8[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] | 0] = $0 & 1; - __stack_pointer = $3 + 16 | 0; -} - -function void_20_28b2Draw____emscripten__internal__getContext_void_20_28b2Draw____29_28b2Transform_20const__29__28void_20_28b2Draw____20const__29_28b2Transform_20const__29_29_29_28b2Transform_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function float_20_28b2WheelJoint____emscripten__internal__getContext_float_20_28b2WheelJoint____29_28float_29_20const__28float_20_28b2WheelJoint____20const__29_28float_29_20const_29_29_28float_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Vec2_20const__2c_20float_2c_20b2Color_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Vec2_20const__2c_20float_2c_20b2Color_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function bool_20std____2__operator___5babi_v160004_5d_b2Vec2__2c_20b2Vec2___28std____2__reverse_iterator_b2Vec2___20const__2c_20std____2__reverse_iterator_b2Vec2___20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = std____2__reverse_iterator_b2Vec2____base_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 12 >> 2]); - $1 = std____2__reverse_iterator_b2Vec2____base_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; - return ($0 | 0) != ($1 | 0); -} - -function b2Vec2_20_28b2RopeJoint____emscripten__internal__getContext_b2Vec2_20_28b2RopeJoint____29_28float_29_20const__28b2Vec2_20_28b2RopeJoint____20const__29_28float_29_20const_29_29_28float_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20emscripten__internal__MemberAccess_b2Vec2_2c_20float___setWire_b2Vec2__28float_20b2Vec2____20const__2c_20b2Vec2__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2]); - HEAPF32[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function __cxxabiv1____si_class_type_info__has_unambiguous_public_base_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 + 8 >> 2], 0)) { - __cxxabiv1____class_type_info__process_found_base_class_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const($1, $1, $2, $3); - return; - } - $0 = HEAP32[$0 + 8 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 28 >> 2]]($0, $1, $2, $3); -} - -function std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_200_2c_20false_____get_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20_28b2World____emscripten__internal__getContext_void_20_28b2World____29_28b2ContactListener__29__28void_20_28b2World____20const__29_28b2ContactListener__29_29_29_28b2ContactListener__29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2Body____emscripten__internal__getContext_void_20_28b2Body____29_28b2MassData__29_20const__28void_20_28b2Body____20const__29_28b2MassData__29_20const_29_29_28b2MassData__29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function float_20_28b2RopeJoint____emscripten__internal__getContext_float_20_28b2RopeJoint____29_28float_29_20const__28float_20_28b2RopeJoint____20const__29_28float_29_20const_29_29_28float_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function float_20_28b2PrismaticJoint____emscripten__internal__getContext_float_20_28b2PrismaticJoint____29_28_29_20const__28float_20_28b2PrismaticJoint____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Vec2_20const__20_28b2Body____emscripten__internal__getContext_b2Vec2_20const__20_28b2Body____29_28_29_20const__28b2Vec2_20const__20_28b2Body____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20emscripten__internal__MemberAccess_b2BodyDef_2c_20bool___setWire_b2BodyDef__28bool_20b2BodyDef____20const__2c_20b2BodyDef__2c_20bool_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP8[$3 + 7 | 0] = $2; - $0 = emscripten__internal__BindingType_bool_2c_20void___fromWireType_28bool_29(HEAP8[$3 + 7 | 0] & 1); - HEAP8[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] | 0] = $0 & 1; - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__internal__MemberAccess_b2Rot_2c_20float___setWire_b2Rot__28float_20b2Rot____20const__2c_20b2Rot__2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $2 = emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29(HEAPF32[$3 + 4 >> 2]); - HEAPF32[HEAP32[$3 + 8 >> 2] + HEAP32[HEAP32[$3 + 12 >> 2] >> 2] >> 2] = $2; - __stack_pointer = $3 + 16 | 0; -} - -function unsigned_20short_20emscripten__internal__MemberAccess_b2Filter_2c_20unsigned_20short___getWire_b2Filter__28unsigned_20short_20b2Filter____20const__2c_20b2Filter_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__BindingType_unsigned_20short_2c_20void___toWireType_28unsigned_20short_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return $0 & 65535; -} - -function unsigned_20int_20_28b2Draw____emscripten__internal__getContext_unsigned_20int_20_28b2Draw____29_28_29_20const__28unsigned_20int_20_28b2Draw____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function float_20_28b2RevoluteJoint____emscripten__internal__getContext_float_20_28b2RevoluteJoint____29_28_29_20const__28float_20_28b2RevoluteJoint____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function float_20_28b2DistanceJoint____emscripten__internal__getContext_float_20_28b2DistanceJoint____29_28_29_20const__28float_20_28b2DistanceJoint____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20unsigned_20int_2c_20int_2c_20b2Color_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20unsigned_20int_2c_20int_2c_20b2Color_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2ContactListener__2c_20unsigned_20int_2c_20unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2ContactListener__2c_20unsigned_20int_2c_20unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function bool_20_28b2PrismaticJoint____emscripten__internal__getContext_bool_20_28b2PrismaticJoint____29_28_29_20const__28bool_20_28b2PrismaticJoint____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function float_20emscripten__internal__MemberAccess_b2WheelJointDef_2c_20float___getWire_b2WheelJointDef__28float_20b2WheelJointDef____20const__2c_20b2WheelJointDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $3 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($3); -} - -function float_20emscripten__internal__MemberAccess_b2RayCastOutput_2c_20float___getWire_b2RayCastOutput__28float_20b2RayCastOutput____20const__2c_20b2RayCastOutput_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $3 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($3); -} - -function float_20emscripten__internal__MemberAccess_b2MouseJointDef_2c_20float___getWire_b2MouseJointDef__28float_20b2MouseJointDef____20const__2c_20b2MouseJointDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $3 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($3); -} - -function float_20emscripten__internal__MemberAccess_b2MotorJointDef_2c_20float___getWire_b2MotorJointDef__28float_20b2MotorJointDef____20const__2c_20b2MotorJointDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $3 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($3); -} - -function b2MouseJoint__SetTarget_28b2Vec2_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (operator___28b2Vec2_20const__2c_20b2Vec2_20const__29(HEAP32[$2 + 8 >> 2], $0 + 76 | 0) & 1) { - b2Body__SetAwake_28bool_29(HEAP32[$0 + 52 >> 2], 1); - $1 = HEAP32[$2 + 8 >> 2]; - $3 = HEAP32[$1 + 4 >> 2]; - HEAP32[$0 + 76 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$0 + 80 >> 2] = $3; - } - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__WireTypePack____WireTypePack_28_29($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__array_emscripten__internal__GenericWireType_2c_200ul___data_5babi_v160004_5d_28_29($0), - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - emscripten__internal__writeGenericWireTypes_28emscripten__internal__GenericWireType___29($1 + 8 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2BlockAllocator___b2BlockAllocator_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - $0 = HEAP32[$1 + 8 >> 2]; - HEAP32[$1 + 12 >> 2] = $0; - HEAP32[$1 + 4 >> 2] = 0; - while (1) { - if (HEAP32[$1 + 4 >> 2] < HEAP32[$0 + 4 >> 2]) { - b2Free_28void__29(HEAP32[(HEAP32[$0 >> 2] + (HEAP32[$1 + 4 >> 2] << 3) | 0) + 4 >> 2]); - HEAP32[$1 + 4 >> 2] = HEAP32[$1 + 4 >> 2] + 1; - continue; - } - break; - } - b2Free_28void__29(HEAP32[$0 >> 2]); - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 12 >> 2]; -} - -function bool_20_28b2RevoluteJoint____emscripten__internal__getContext_bool_20_28b2RevoluteJoint____29_28_29_20const__28bool_20_28b2RevoluteJoint____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function std____2__allocator_traits_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______allocate_5babi_v160004_5d_28std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____2c_20unsigned_20long_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____allocate_5babi_v160004_5d_28unsigned_20long_29(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_unsigned_20long_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int___20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_unsigned_20long_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int___20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function __cxxabiv1____class_type_info__search_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_2c_20bool_29_20const($0, $1, $2, $3, $4, $5) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $5 = $5 | 0; - if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 + 8 >> 2], $5)) { - __cxxabiv1____class_type_info__process_static_type_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_29_20const($1, $1, $2, $3, $4); - } -} - -function void_20std____2__allocator_traits_std____2__allocator_b2Vec2____construct_5babi_v160004_5d_b2Vec2_2c_20b2Vec2_2c_20void__28std____2__allocator_b2Vec2___2c_20b2Vec2__2c_20b2Vec2___29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - void_20std____2__allocator_b2Vec2___construct_5babi_v160004_5d_b2Vec2_2c_20b2Vec2__28b2Vec2__2c_20b2Vec2___29(HEAP32[$3 + 12 >> 2], HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function float_20emscripten__internal__MemberAccess_b2WeldJointDef_2c_20float___getWire_b2WeldJointDef__28float_20b2WeldJointDef____20const__2c_20b2WeldJointDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $3 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($3); -} - -function float_20emscripten__internal__MemberAccess_b2RopeJointDef_2c_20float___getWire_b2RopeJointDef__28float_20b2RopeJointDef____20const__2c_20b2RopeJointDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $3 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($3); -} - -function float_20emscripten__internal__MemberAccess_b2RayCastInput_2c_20float___getWire_b2RayCastInput__28float_20b2RayCastInput____20const__2c_20b2RayCastInput_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $3 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($3); -} - -function void_20std____2__allocator_traits_std____2__allocator_int____construct_5babi_v160004_5d_int_2c_20int_20const__2c_20void__28std____2__allocator_int___2c_20int__2c_20int_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - void_20std____2__allocator_int___construct_5babi_v160004_5d_int_2c_20int_20const___28int__2c_20int_20const__29(HEAP32[$3 + 12 >> 2], HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function void_20_28b2World____emscripten__internal__getContext_void_20_28b2World____29_28b2Vec2_20const__29__28void_20_28b2World____20const__29_28b2Vec2_20const__29_29_29_28b2Vec2_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int____2c_20int_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int____2c_20int_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Vec2_20_28b2Joint____emscripten__internal__getContext_b2Vec2_20_28b2Joint____29_28float_29_20const__28b2Vec2_20_28b2Joint____20const__29_28float_29_20const_29_29_28float_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2JointType_20_28b2Joint____emscripten__internal__getContext_b2JointType_20_28b2Joint____29_28_29_20const__28b2JointType_20_28b2Joint____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20const__20emscripten__internal__getActualType_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function void_20_28b2PrismaticJoint____emscripten__internal__getContext_void_20_28b2PrismaticJoint____29_28float_29__28void_20_28b2PrismaticJoint____20const__29_28float_29_29_29_28float_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2Body____emscripten__internal__getContext_void_20_28b2Body____29_28float_2c_20bool_29__28void_20_28b2Body____20const__29_28float_2c_20bool_29_29_29_28float_2c_20bool_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2Body____emscripten__internal__getContext_void_20_28b2Body____29_28b2Vec2_20const__29__28void_20_28b2Body____20const__29_28b2Vec2_20const__29_29_29_28b2Vec2_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function float_20_28b2WheelJoint____emscripten__internal__getContext_float_20_28b2WheelJoint____29_28_29_20const__28float_20_28b2WheelJoint____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function float_20_28b2MouseJoint____emscripten__internal__getContext_float_20_28b2MouseJoint____29_28_29_20const__28float_20_28b2MouseJoint____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function float_20_28b2MotorJoint____emscripten__internal__getContext_float_20_28b2MotorJoint____29_28_29_20const__28float_20_28b2MotorJoint____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function float_20_28b2Joint____emscripten__internal__getContext_float_20_28b2Joint____29_28float_29_20const__28float_20_28b2Joint____20const__29_28float_29_20const_29_29_28float_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function bool_20emscripten__internal__fromGenericWireType_bool__28double_29($0) { - var $1 = 0, $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAPF64[$1 + 8 >> 3] = $0; - wasm2js_i32$0 = $1, wasm2js_i32$1 = emscripten__internal__GenericWireTypeConverter_bool___from_28double_29(HEAPF64[$1 + 8 >> 3]) & 1, - HEAP8[wasm2js_i32$0 + 7 | 0] = wasm2js_i32$1; - $2 = emscripten__internal__BindingType_bool_2c_20void___fromWireType_28bool_29(HEAP8[$1 + 7 | 0] & 1); - __stack_pointer = $1 + 16 | 0; - return $2 & 1; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20b2AABB__2c_20b2AABB__2c_20b2AABB____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2AABB__2c_20emscripten__internal__AllowedRawPointer_b2AABB__2c_20emscripten__internal__AllowedRawPointer_b2AABB_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__Invoker_std____2__vector_int_2c_20std____2__allocator_int______invoke_28std____2__vector_int_2c_20std____2__allocator_int____20_28__29_28_29_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__BindingType_std____2__vector_int_2c_20std____2__allocator_int____2c_20void___toWireType_28std____2__vector_int_2c_20std____2__allocator_int____29(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]() | 0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function operator__28b2Vec3_20const__2c_20b2Vec3_20const__29_1($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - b2Vec3__b2Vec3_28float_2c_20float_2c_20float_29($0, Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] >> 2] + HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]), Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 4 >> 2] + HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2]), Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 8 >> 2] + HEAPF32[HEAP32[$3 + 8 >> 2] + 8 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function b2Body__SynchronizeTransform_28_29($0) { - var $1 = 0, $2 = 0; - $1 = __stack_pointer - 32 | 0; - __stack_pointer = $1; - HEAP32[$1 + 28 >> 2] = $0; - $0 = HEAP32[$1 + 28 >> 2]; - b2Rot__Set_28float_29($0 + 20 | 0, HEAPF32[$0 + 56 >> 2]); - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($1 + 12 | 0, $0 + 20 | 0, $0 + 28 | 0); - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($1 + 20 | 0, $0 + 44 | 0, $1 + 12 | 0); - $2 = HEAP32[$1 + 24 >> 2]; - HEAP32[$0 + 12 >> 2] = HEAP32[$1 + 20 >> 2]; - HEAP32[$0 + 16 >> 2] = $2; - __stack_pointer = $1 + 32 | 0; -} - -function void_20_28b2RevoluteJoint____emscripten__internal__getContext_void_20_28b2RevoluteJoint____29_28float_29__28void_20_28b2RevoluteJoint____20const__29_28float_29_29_29_28float_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2PrismaticJoint____emscripten__internal__getContext_void_20_28b2PrismaticJoint____29_28bool_29__28void_20_28b2PrismaticJoint____20const__29_28bool_29_29_29_28bool_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2Draw____emscripten__internal__getContext_void_20_28b2Draw____29_28unsigned_20int_29__28void_20_28b2Draw____20const__29_28unsigned_20int_29_29_29_28unsigned_20int_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2DistanceJoint____emscripten__internal__getContext_void_20_28b2DistanceJoint____29_28float_29__28void_20_28b2DistanceJoint____20const__29_28float_29_29_29_28float_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function std____2__pair_char_20const__2c_20char___20std____2____copy_5babi_v160004_5d_std____2___ClassicAlgPolicy_2c_20char_20const__2c_20char_20const__2c_20char___28char_20const__2c_20char_20const__2c_20char__29($0, $1, $2, $3) { - std____2__pair_char_20const__2c_20char___20std____2____dispatch_copy_or_move_5babi_v160004_5d_std____2___ClassicAlgPolicy_2c_20std____2____copy_loop_std____2___ClassicAlgPolicy__2c_20std____2____copy_trivial_2c_20char_20const__2c_20char_20const__2c_20char___28char_20const__2c_20char_20const__2c_20char__29($0, $1, $2, $3); -} - -function float_20_28b2WeldJoint____emscripten__internal__getContext_float_20_28b2WeldJoint____29_28_29_20const__28float_20_28b2WeldJoint____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function float_20_28b2RopeJoint____emscripten__internal__getContext_float_20_28b2RopeJoint____29_28_29_20const__28float_20_28b2RopeJoint____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2ContactListener____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20emscripten__internal__AllowedRawPointer_b2ContactListener_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const__2c_20b2MassData____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const__2c_20emscripten__internal__AllowedRawPointer_b2MassData_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function bool_20std____2__operator___5babi_v160004_5d_int__2c_20int___28std____2__reverse_iterator_int___20const__2c_20std____2__reverse_iterator_int___20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = std____2__reverse_iterator_int____base_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 12 >> 2]); - $1 = std____2__reverse_iterator_int____base_5babi_v160004_5d_28_29_20const(HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; - return ($0 | 0) != ($1 | 0); -} - -function bool_20_28b2WheelJoint____emscripten__internal__getContext_bool_20_28b2WheelJoint____29_28_29_20const__28bool_20_28b2WheelJoint____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Vec2__20emscripten__internal__MemberAccess_b2PrismaticJointDef_2c_20b2Vec2___getWire_b2PrismaticJointDef__28b2Vec2_20b2PrismaticJointDef____20const__2c_20b2PrismaticJointDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function b2BodyType_20_28b2Body____emscripten__internal__getContext_b2BodyType_20_28b2Body____29_28_29_20const__28b2BodyType_20_28b2Body____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function operator__28b2Vec3_20const__2c_20b2Vec3_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - b2Vec3__b2Vec3_28float_2c_20float_2c_20float_29($0, Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] >> 2] - HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]), Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 4 >> 2] - HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2]), Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 8 >> 2] - HEAPF32[HEAP32[$3 + 8 >> 2] + 8 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function std____2__vector_int_2c_20std____2__allocator_int_____vector_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - std____2__vector_int_2c_20std____2__allocator_int______destroy_vector____destroy_vector_28std____2__vector_int_2c_20std____2__allocator_int____29($1 + 8 | 0, $0); - std____2__vector_int_2c_20std____2__allocator_int______destroy_vector__operator_28_29_5babi_v160004_5d_28_29($1 + 8 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2ContactListenerWrapper__b2ContactListenerWrapper___28emscripten__val___29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - emscripten__wrapper_b2ContactListener___wrapper___28emscripten__val___29($0, HEAP32[$2 + 8 >> 2]); - HEAP32[$0 >> 2] = 26556; - std____2__set_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____set_5babi_v160004_5d_28_29($0 + 12 | 0); - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function void_20_28b2RevoluteJoint____emscripten__internal__getContext_void_20_28b2RevoluteJoint____29_28bool_29__28void_20_28b2RevoluteJoint____20const__29_28bool_29_29_29_28bool_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__FunctionInvoker_void_20_28__29_28b2DrawWrapper__29_2c_20void_2c_20b2DrawWrapper____invoke_28void_20_28___29_28b2DrawWrapper__29_2c_20b2DrawWrapper__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[HEAP32[$2 + 12 >> 2] >> 2]; - FUNCTION_TABLE[$0 | 0](emscripten__internal__GenericBindingType_b2DrawWrapper___fromWireType_28b2DrawWrapper__29(HEAP32[$2 + 8 >> 2])); - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__Invoker_unsigned_20int___invoke_28unsigned_20int_20_28__29_28_29_29($0) { - $0 = $0 | 0; - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - wasm2js_i32$0 = $1, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]() | 0, - HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; - $0 = emscripten__internal__BindingType_unsigned_20int_2c_20void___toWireType_28unsigned_20int_20const__29($1 + 8 | 0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2Vec2__20emscripten__internal__MemberAccess_b2RevoluteJointDef_2c_20b2Vec2___getWire_b2RevoluteJointDef__28b2Vec2_20b2RevoluteJointDef____20const__2c_20b2RevoluteJointDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function b2Vec2__20emscripten__internal__MemberAccess_b2DistanceJointDef_2c_20b2Vec2___getWire_b2DistanceJointDef__28b2Vec2_20b2DistanceJointDef____20const__2c_20b2DistanceJointDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function bool_20emscripten__internal__MemberAccess_b2PrismaticJointDef_2c_20bool___getWire_b2PrismaticJointDef__28bool_20b2PrismaticJointDef____20const__2c_20b2PrismaticJointDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__BindingType_bool_2c_20void___toWireType_28bool_29(HEAP8[HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0] & 1); - __stack_pointer = $2 + 16 | 0; - return $0 & 1; -} - -function std____2__set_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____erase_5babi_v160004_5d_28b2Fixture__20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = unsigned_20long_20std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______erase_unique_b2Fixture___28b2Fixture__20const__29(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function void_20_28b2WheelJoint____emscripten__internal__getContext_void_20_28b2WheelJoint____29_28float_29__28void_20_28b2WheelJoint____20const__29_28float_29_29_29_28float_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2MouseJoint____emscripten__internal__getContext_void_20_28b2MouseJoint____29_28float_29__28void_20_28b2MouseJoint____20const__29_28float_29_29_29_28float_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2MotorJoint____emscripten__internal__getContext_void_20_28b2MotorJoint____29_28float_29__28void_20_28b2MotorJoint____20const__29_28float_29_29_29_28float_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function float_20emscripten__internal__MemberAccess_b2MassData_2c_20float___getWire_b2MassData__28float_20b2MassData____20const__2c_20b2MassData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $3 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($3); -} - -function b2Vec2_20_28b2World____emscripten__internal__getContext_b2Vec2_20_28b2World____29_28_29_20const__28b2Vec2_20_28b2World____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Vec2_20_28b2Joint____emscripten__internal__getContext_b2Vec2_20_28b2Joint____29_28_29_20const__28b2Vec2_20_28b2Joint____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function bool_20emscripten__internal__MemberAccess_b2RevoluteJointDef_2c_20bool___getWire_b2RevoluteJointDef__28bool_20b2RevoluteJointDef____20const__2c_20b2RevoluteJointDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__BindingType_bool_2c_20void___toWireType_28bool_29(HEAP8[HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0] & 1); - __stack_pointer = $2 + 16 | 0; - return $0 & 1; -} - -function emscripten__wrapper_b2RayCastCallback____wrapper_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - $0 = HEAP32[$1 + 8 >> 2]; - HEAP32[$1 + 12 >> 2] = $0; - HEAP32[$0 >> 2] = 26304; - if (HEAP8[$0 + 4 | 0] & 1) { - void_20emscripten__wrapper_b2RayCastCallback___call_void__28char_20const__29_20const($0, 3237); - } - emscripten__val___val_28_29($0 + 8 | 0); - b2RayCastCallback___b2RayCastCallback_28_29($0); - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__wrapper_b2ContactListener____wrapper_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - $0 = HEAP32[$1 + 8 >> 2]; - HEAP32[$1 + 12 >> 2] = $0; - HEAP32[$0 >> 2] = 26588; - if (HEAP8[$0 + 4 | 0] & 1) { - void_20emscripten__wrapper_b2ContactListener___call_void__28char_20const__29_20const($0, 3237); - } - emscripten__val___val_28_29($0 + 8 | 0); - b2ContactListener___b2ContactListener_28_29($0); - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 12 >> 2]; -} - -function void_20_28b2WheelJoint____emscripten__internal__getContext_void_20_28b2WheelJoint____29_28bool_29__28void_20_28b2WheelJoint____20const__29_28bool_29_29_29_28bool_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2WeldJoint____emscripten__internal__getContext_void_20_28b2WeldJoint____29_28float_29__28void_20_28b2WeldJoint____20const__29_28float_29_29_29_28float_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2RopeJoint____emscripten__internal__getContext_void_20_28b2RopeJoint____29_28float_29__28void_20_28b2RopeJoint____20const__29_28float_29_29_29_28float_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2PrismaticJoint____emscripten__internal__getContext_void_20_28b2PrismaticJoint____29_28_29__28void_20_28b2PrismaticJoint____20const__29_28_29_29_29_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2Body____emscripten__internal__getContext_void_20_28b2Body____29_28b2BodyType_29__28void_20_28b2Body____20const__29_28b2BodyType_29_29_29_28b2BodyType_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______is_long_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAPU8[std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]) + 11 | 0]; - __stack_pointer = $1 + 16 | 0; - return $0 >>> 7 | 0; -} - -function b2Vec2_20_28b2AABB____emscripten__internal__getContext_b2Vec2_20_28b2AABB____29_28_29_20const__28b2Vec2_20_28b2AABB____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____data_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = char_20const__20std____2____to_address_5babi_v160004_5d_char_20const__28char_20const__29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_pointer_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2])); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function float_20emscripten__internal__MemberAccess_b2BodyDef_2c_20float___getWire_b2BodyDef__28float_20b2BodyDef____20const__2c_20b2BodyDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $3 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($3); -} - -function bool_20emscripten__val__call_bool_2c_20unsigned_20int___28char_20const__2c_20unsigned_20int__29_20const($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = emscripten__internal__MethodCaller_bool_2c_20unsigned_20int____call_28emscripten___EM_VAL__2c_20char_20const__2c_20unsigned_20int__29(HEAP32[HEAP32[$3 + 12 >> 2] >> 2], HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; - return $0 & 1; -} - -function b2MotorJoint__SetCorrectionFactor_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (!(!(!(b2IsValid_28float_29(HEAPF32[$2 + 8 >> 2]) & 1) | !(HEAPF32[$2 + 8 >> 2] >= Math_fround(0))) & HEAPF32[$2 + 8 >> 2] <= Math_fround(1))) { - __assert_fail(8184, 4447, 257, 3914); - wasm2js_trap(); - } - HEAPF32[$0 + 100 >> 2] = HEAPF32[$2 + 8 >> 2]; - __stack_pointer = $2 + 16 | 0; -} - -function __cxxabiv1____class_type_info__process_found_base_class_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const($0, $1, $2, $3) { - $0 = HEAP32[$1 + 16 >> 2]; - if (!$0) { - HEAP32[$1 + 36 >> 2] = 1; - HEAP32[$1 + 24 >> 2] = $3; - HEAP32[$1 + 16 >> 2] = $2; - return; - } - label$2: { - if (($2 | 0) == ($0 | 0)) { - if (HEAP32[$1 + 24 >> 2] != 2) { - break label$2; - } - HEAP32[$1 + 24 >> 2] = $3; - return; - } - HEAP8[$1 + 54 | 0] = 1; - HEAP32[$1 + 24 >> 2] = 2; - HEAP32[$1 + 36 >> 2] = HEAP32[$1 + 36 >> 2] + 1; - } -} - -function void_20emscripten__val__call_void_2c_20b2Transform_20const___28char_20const__2c_20b2Transform_20const__29_20const($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - emscripten__internal__MethodCaller_void_2c_20b2Transform_20const____call_28emscripten___EM_VAL__2c_20char_20const__2c_20b2Transform_20const__29(HEAP32[HEAP32[$3 + 12 >> 2] >> 2], HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Island__Add_28b2Body__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (HEAP32[$0 + 28 >> 2] >= HEAP32[$0 + 40 >> 2]) { - __assert_fail(1264, 7738, 58, 10605); - wasm2js_trap(); - } - HEAP32[HEAP32[$2 + 8 >> 2] + 8 >> 2] = HEAP32[$0 + 28 >> 2]; - HEAP32[HEAP32[$0 + 8 >> 2] + (HEAP32[$0 + 28 >> 2] << 2) >> 2] = HEAP32[$2 + 8 >> 2]; - HEAP32[$0 + 28 >> 2] = HEAP32[$0 + 28 >> 2] + 1; - __stack_pointer = $2 + 16 | 0; -} - -function void_20_28b2World____emscripten__internal__getContext_void_20_28b2World____29_28b2Joint__29__28void_20_28b2World____20const__29_28b2Joint__29_29_29_28b2Joint__29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2RevoluteJoint____emscripten__internal__getContext_void_20_28b2RevoluteJoint____29_28_29__28void_20_28b2RevoluteJoint____20const__29_28_29_29_29_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2DistanceJoint____emscripten__internal__getContext_void_20_28b2DistanceJoint____29_28_29__28void_20_28b2DistanceJoint____20const__29_28_29_29_29_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function float_20_28b2Body____emscripten__internal__getContext_float_20_28b2Body____29_28_29_20const__28float_20_28b2Body____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function float_20_28b2AABB____emscripten__internal__getContext_float_20_28b2AABB____29_28_29_20const__28float_20_28b2AABB____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function bool_20_28b2World____emscripten__internal__getContext_bool_20_28b2World____29_28_29_20const__28bool_20_28b2World____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function bool_20_28b2Joint____emscripten__internal__getContext_bool_20_28b2Joint____29_28_29_20const__28bool_20_28b2Joint____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2RopeJointDef__b2RopeJointDef_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2JointDef__b2JointDef_28_29($0); - b2Vec2__b2Vec2_28_29($0 + 20 | 0); - b2Vec2__b2Vec2_28_29($0 + 28 | 0); - HEAP32[$0 >> 2] = 10; - b2Vec2__Set_28float_2c_20float_29($0 + 20 | 0, Math_fround(-1), Math_fround(0)); - b2Vec2__Set_28float_2c_20float_29($0 + 28 | 0, Math_fround(1), Math_fround(0)); - HEAPF32[$0 + 36 >> 2] = 0; - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2JointType_20emscripten__internal__MemberAccess_b2JointDef_2c_20b2JointType___getWire_b2JointDef__28b2JointType_20b2JointDef____20const__2c_20b2JointDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__EnumBindingType_b2JointType___toWireType_28b2JointType_29(HEAP32[HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] >> 2]); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Vec2__20emscripten__internal__MemberAccess_b2WheelJointDef_2c_20b2Vec2___getWire_b2WheelJointDef__28b2Vec2_20b2WheelJointDef____20const__2c_20b2WheelJointDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function b2Vec2__20emscripten__internal__MemberAccess_b2RayCastOutput_2c_20b2Vec2___getWire_b2RayCastOutput__28b2Vec2_20b2RayCastOutput____20const__2c_20b2RayCastOutput_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function b2Vec2__20emscripten__internal__MemberAccess_b2MouseJointDef_2c_20b2Vec2___getWire_b2MouseJointDef__28b2Vec2_20b2MouseJointDef____20const__2c_20b2MouseJointDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function b2Vec2__20emscripten__internal__MemberAccess_b2MotorJointDef_2c_20b2Vec2___getWire_b2MotorJointDef__28b2Vec2_20b2MotorJointDef____20const__2c_20b2MotorJointDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_pointer_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return HEAP32[$0 >> 2]; -} - -function void_20_28b2World____emscripten__internal__getContext_void_20_28b2World____29_28b2Draw__29__28void_20_28b2World____20const__29_28b2Draw__29_29_29_28b2Draw__29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2World____emscripten__internal__getContext_void_20_28b2World____29_28b2Body__29__28void_20_28b2World____20const__29_28b2Body__29_29_29_28b2Body__29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2______ConstructTransaction___ConstructTransaction_5babi_v160004_5d_28b2Vec2___2c_20unsigned_20long_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[HEAP32[$3 + 8 >> 2] >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[HEAP32[$3 + 8 >> 2] >> 2] + (HEAP32[$3 + 4 >> 2] << 3); - HEAP32[$0 + 8 >> 2] = HEAP32[$3 + 8 >> 2]; - return $0; -} - -function std____2____compressed_pair_std____2____tree_node_b2Fixture__2c_20void____2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______first_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_std____2____tree_node_b2Fixture__2c_20void____2c_200_2c_20false_____get_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_emscripten__val_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__val_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function bool_20_28b2Body____emscripten__internal__getContext_bool_20_28b2Body____29_28_29_20const__28bool_20_28b2Body____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function bool_20_28b2AABB____emscripten__internal__getContext_bool_20_28b2AABB____29_28_29_20const__28bool_20_28b2AABB____20const__29_28_29_20const_29_29_28_29_20const($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20const__20emscripten__internal__getActualType_std____2__vector_int_2c_20std____2__allocator_int____28std____2__vector_int_2c_20std____2__allocator_int____29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_std____2__vector_int_2c_20std____2__allocator_int____28std____2__vector_int_2c_20std____2__allocator_int___20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function emscripten__wrapper_b2QueryCallback____wrapper_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - $0 = HEAP32[$1 + 8 >> 2]; - HEAP32[$1 + 12 >> 2] = $0; - HEAP32[$0 >> 2] = 26044; - if (HEAP8[$0 + 4 | 0] & 1) { - void_20emscripten__wrapper_b2QueryCallback___call_void__28char_20const__29_20const($0, 3237); - } - emscripten__val___val_28_29($0 + 8 | 0); - b2QueryCallback___b2QueryCallback_28_29($0); - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 12 >> 2]; -} - -function std____2____compressed_pair_std____2____tree_end_node_std____2____tree_node_base_void_____2c_20std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______first_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_std____2____tree_end_node_std____2____tree_node_base_void_____2c_200_2c_20false_____get_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2Joint____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20emscripten__internal__AllowedRawPointer_b2Joint_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Vec2__20emscripten__internal__MemberAccess_b2WeldJointDef_2c_20b2Vec2___getWire_b2WeldJointDef__28b2Vec2_20b2WeldJointDef____20const__2c_20b2WeldJointDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function b2Vec2__20emscripten__internal__MemberAccess_b2RopeJointDef_2c_20b2Vec2___getWire_b2RopeJointDef__28b2Vec2_20b2RopeJointDef____20const__2c_20b2RopeJointDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function b2Vec2__20emscripten__internal__MemberAccess_b2RayCastInput_2c_20b2Vec2___getWire_b2RayCastInput__28b2Vec2_20b2RayCastInput____20const__2c_20b2RayCastInput_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function float_20emscripten__internal__MemberAccess_b2Color_2c_20float___getWire_b2Color__28float_20b2Color____20const__2c_20b2Color_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $3 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($3); -} - -function std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____deallocate_5babi_v160004_5d_28std____2____tree_node_b2Fixture__2c_20void____2c_20unsigned_20long_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - std____2____libcpp_deallocate_5babi_v160004_5d_28void__2c_20unsigned_20long_2c_20unsigned_20long_29(HEAP32[$3 + 8 >> 2], Math_imul(HEAP32[$3 + 4 >> 2], 20), 4); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2Draw____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20emscripten__internal__AllowedRawPointer_b2Draw_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2Body____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20emscripten__internal__AllowedRawPointer_b2Body_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function bool_20emscripten__internal__MemberAccess_b2WheelJointDef_2c_20bool___getWire_b2WheelJointDef__28bool_20b2WheelJointDef____20const__2c_20b2WheelJointDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__BindingType_bool_2c_20void___toWireType_28bool_29(HEAP8[HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0] & 1); - __stack_pointer = $2 + 16 | 0; - return $0 & 1; -} - -function void_20_28b2WheelJoint____emscripten__internal__getContext_void_20_28b2WheelJoint____29_28_29__28void_20_28b2WheelJoint____20const__29_28_29_29_29_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2MouseJoint____emscripten__internal__getContext_void_20_28b2MouseJoint____29_28_29__28void_20_28b2MouseJoint____20const__29_28_29_29_29_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2MotorJoint____emscripten__internal__getContext_void_20_28b2MotorJoint____29_28_29__28void_20_28b2MotorJoint____20const__29_28_29_29_29_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2ContactListenerWrapper__registerContactFixture_28unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 32 | 0; - __stack_pointer = $2; - HEAP32[$2 + 28 >> 2] = $0; - HEAP32[$2 + 24 >> 2] = $1; - $0 = HEAP32[$2 + 28 >> 2]; - HEAP32[$2 + 20 >> 2] = HEAP32[$2 + 24 >> 2]; - std____2__set_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____insert_5babi_v160004_5d_28b2Fixture__20const__29($2 + 12 | 0, $0 + 12 | 0, $2 + 20 | 0); - __stack_pointer = $2 + 32 | 0; -} - -function b2BodyType_20emscripten__internal__MemberAccess_b2BodyDef_2c_20b2BodyType___getWire_b2BodyDef__28b2BodyType_20b2BodyDef____20const__2c_20b2BodyDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__EnumBindingType_b2BodyType___toWireType_28b2BodyType_29(HEAP32[HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] >> 2]); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function float_20emscripten__internal__MemberAccess_b2Vec2_2c_20float___getWire_b2Vec2__28float_20b2Vec2____20const__2c_20b2Vec2_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $3 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($3); -} - -function emscripten__wrapper_b2RayCastCallback___wrapper___28emscripten__val___29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = 0; - b2RayCastCallback__b2RayCastCallback_28_29($0); - emscripten__internal__WrapperBase__WrapperBase_28_29($0 + 4 | 0); - HEAP32[$0 >> 2] = 26304; - emscripten__val__val_28emscripten__val___29($0 + 8 | 0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function emscripten__wrapper_b2ContactListener___wrapper___28emscripten__val___29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = 0; - b2ContactListener__b2ContactListener_28_29($0); - emscripten__internal__WrapperBase__WrapperBase_28_29($0 + 4 | 0); - HEAP32[$0 >> 2] = 26588; - emscripten__val__val_28emscripten__val___29($0 + 8 | 0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function void_20_28b2World____emscripten__internal__getContext_void_20_28b2World____29_28bool_29__28void_20_28b2World____20const__29_28bool_29_29_29_28bool_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2WeldJoint____emscripten__internal__getContext_void_20_28b2WeldJoint____29_28_29__28void_20_28b2WeldJoint____20const__29_28_29_29_29_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2RopeJoint____emscripten__internal__getContext_void_20_28b2RopeJoint____29_28_29__28void_20_28b2RopeJoint____20const__29_28_29_29_29_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2Body____emscripten__internal__getContext_void_20_28b2Body____29_28float_29__28void_20_28b2Body____20const__29_28float_29_29_29_28float_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function std____2____split_buffer_int_2c_20std____2__allocator_int______ConstructTransaction___ConstructTransaction_5babi_v160004_5d_28int___2c_20unsigned_20long_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[HEAP32[$3 + 8 >> 2] >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[HEAP32[$3 + 8 >> 2] >> 2] + (HEAP32[$3 + 4 >> 2] << 2); - HEAP32[$0 + 8 >> 2] = HEAP32[$3 + 8 >> 2]; - return $0; -} - -function bool_20emscripten__wrapper_b2QueryCallback___call_bool_2c_20unsigned_20int___28char_20const__2c_20unsigned_20int__29_20const($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = bool_20emscripten__val__call_bool_2c_20unsigned_20int___28char_20const__2c_20unsigned_20int__29_20const(HEAP32[$3 + 12 >> 2] + 8 | 0, HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; - return $0 & 1; -} - -function void_20emscripten__constant_int__28char_20const__2c_20int_20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - _embind_register_constant(HEAP32[$2 + 12 >> 2], emscripten__internal__TypeID_int_20const__2c_20void___get_28_29() | 0, +double_20emscripten__internal__asGenericValue_int__28int_29(emscripten__internal__BindingType_int_2c_20void___toWireType_28int_20const__29(HEAP32[$2 + 8 >> 2]))); - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2ContactListener__2c_20unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2ContactListener__2c_20unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function float_20emscripten__internal__MemberAccess_b2Rot_2c_20float___getWire_b2Rot__28float_20b2Rot____20const__2c_20b2Rot_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $3 = emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return Math_fround($3); -} - -function b2BroadPhase__UnBufferMove_28int_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$2 + 4 >> 2] = 0; - while (1) { - if (HEAP32[$2 + 4 >> 2] < HEAP32[$0 + 40 >> 2]) { - if (HEAP32[HEAP32[$0 + 32 >> 2] + (HEAP32[$2 + 4 >> 2] << 2) >> 2] == HEAP32[$2 + 8 >> 2]) { - HEAP32[HEAP32[$0 + 32 >> 2] + (HEAP32[$2 + 4 >> 2] << 2) >> 2] = -1; - } - HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 4 >> 2] + 1; - continue; - } - break; - } -} - -function void_20_28b2Body____emscripten__internal__getContext_void_20_28b2Body____29_28bool_29__28void_20_28b2Body____20const__29_28bool_29_29_29_28bool_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__WithPolicies____ArgTypeList_emscripten__val_2c_20std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__val_2c_20std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2World__20_28b2Body____emscripten__internal__getContext_b2World__20_28b2Body____29_28_29__28b2World__20_28b2Body____20const__29_28_29_29_29_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Body__20_28b2Joint____emscripten__internal__getContext_b2Body__20_28b2Joint____29_28_29__28b2Body__20_28b2Joint____20const__29_28_29_29_29_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function std____2____compressed_pair_std____2____tree_end_node_std____2____tree_node_base_void_____2c_20std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______second_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void____2c_201_2c_20true_____get_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__wrapper_b2QueryCallback___wrapper___28emscripten__val___29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = 0; - b2QueryCallback__b2QueryCallback_28_29($0); - emscripten__internal__WrapperBase__WrapperBase_28_29($0 + 4 | 0); - HEAP32[$0 >> 2] = 26044; - emscripten__val__val_28emscripten__val___29($0 + 8 | 0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2QueryCallback__2c_20unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2QueryCallback__2c_20unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Vec2__20emscripten__internal__MemberAccess_b2Transform_2c_20b2Vec2___getWire_b2Transform__28b2Vec2_20b2Transform____20const__2c_20b2Transform_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function void_20emscripten__val__call_void_2c_20unsigned_20int___28char_20const__2c_20unsigned_20int__29_20const($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - emscripten__internal__MethodCaller_void_2c_20unsigned_20int____call_28emscripten___EM_VAL__2c_20char_20const__2c_20unsigned_20int__29(HEAP32[HEAP32[$3 + 12 >> 2] >> 2], HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function std____2____compressed_pair_std____2____tree_node_b2Fixture__2c_20void____2c_20std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_______first_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_std____2____tree_node_b2Fixture__2c_20void____2c_200_2c_20false_____get_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2PrismaticJoint__EnableLimit_28bool_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP8[$2 + 11 | 0] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if ((HEAP8[$2 + 11 | 0] & 1) != (HEAP8[$0 + 136 | 0] & 1)) { - b2Body__SetAwake_28bool_29(HEAP32[$0 + 48 >> 2], 1); - b2Body__SetAwake_28bool_29(HEAP32[$0 + 52 >> 2], 1); - HEAP8[$0 + 136 | 0] = HEAP8[$2 + 11 | 0] & 1; - HEAPF32[$0 + 112 >> 2] = 0; - } - __stack_pointer = $2 + 16 | 0; -} - -function void_20emscripten__wrapper_b2Draw___call_void_2c_20b2Transform_20const___28char_20const__2c_20b2Transform_20const__29_20const($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - void_20emscripten__val__call_void_2c_20b2Transform_20const___28char_20const__2c_20b2Transform_20const__29_20const(HEAP32[$3 + 12 >> 2] + 12 | 0, HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______node_alloc_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_std____2____tree_end_node_std____2____tree_node_base_void_____2c_20std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______second_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2] + 4 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2____compressed_pair_std____2____tree_end_node_std____2____tree_node_base_void_____2c_20std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______first_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_std____2____tree_end_node_std____2____tree_node_base_void_____2c_200_2c_20false_____get_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Vec2__20emscripten__internal__MemberAccess_b2MassData_2c_20b2Vec2___getWire_b2MassData__28b2Vec2_20b2MassData____20const__2c_20b2MassData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function b2RevoluteJoint__EnableLimit_28bool_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP8[$2 + 11 | 0] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if ((HEAP8[$2 + 11 | 0] & 1) != (HEAP8[$0 + 112 | 0] & 1)) { - b2Body__SetAwake_28bool_29(HEAP32[$0 + 48 >> 2], 1); - b2Body__SetAwake_28bool_29(HEAP32[$0 + 52 >> 2], 1); - HEAP8[$0 + 112 | 0] = HEAP8[$2 + 11 | 0] & 1; - HEAPF32[$0 + 92 >> 2] = 0; - } - __stack_pointer = $2 + 16 | 0; -} - -function b2Rot__20emscripten__internal__MemberAccess_b2Transform_2c_20b2Rot___getWire_b2Transform__28b2Rot_20b2Transform____20const__2c_20b2Transform_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__GenericBindingType_b2Rot___toWireType_28b2Rot_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Transform_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Transform_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20_28b2World____emscripten__internal__getContext_void_20_28b2World____29_28_29__28void_20_28b2World____20const__29_28_29_29_29_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28b2Joint____emscripten__internal__getContext_void_20_28b2Joint____29_28_29__28void_20_28b2Joint____20const__29_28_29_29_29_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function short_20emscripten__internal__MemberAccess_b2Filter_2c_20short___getWire_b2Filter__28short_20b2Filter____20const__2c_20b2Filter_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__BindingType_short_2c_20void___toWireType_28short_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return $0 << 16 >> 16; -} - -function b2Vec2__20emscripten__internal__MemberAccess_b2BodyDef_2c_20b2Vec2___getWire_b2BodyDef__28b2Vec2_20b2BodyDef____20const__2c_20b2BodyDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function b2ContactListenerWrapper__unregisterContactFixture_28unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 8 >> 2]; - std____2__set_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____erase_5babi_v160004_5d_28b2Fixture__20const__29($0 + 12 | 0, $2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; -} - -function std____2__allocator_traits_std____2__allocator_b2Vec2____deallocate_5babi_v160004_5d_28std____2__allocator_b2Vec2___2c_20b2Vec2__2c_20unsigned_20long_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - std____2__allocator_b2Vec2___deallocate_5babi_v160004_5d_28b2Vec2__2c_20unsigned_20long_29(HEAP32[$3 + 12 >> 2], HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function void_20_28b2Body____emscripten__internal__getContext_void_20_28b2Body____29_28_29__28void_20_28b2Body____20const__29_28_29_29_29_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAP32[$2 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; - HEAP32[$0 >> 2] = $3; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2World__2c_20emscripten__internal__AllowedRawPointer_b2Body____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2World__2c_20emscripten__internal__AllowedRawPointer_b2Body_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Body__2c_20emscripten__internal__AllowedRawPointer_b2Joint____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2Body__2c_20emscripten__internal__AllowedRawPointer_b2Joint_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function bool_20emscripten__internal__MemberAccess_b2JointDef_2c_20bool___getWire_b2JointDef__28bool_20b2JointDef____20const__2c_20b2JointDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__BindingType_bool_2c_20void___toWireType_28bool_29(HEAP8[HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0] & 1); - __stack_pointer = $2 + 16 | 0; - return $0 & 1; -} - -function b2Rot__b2Rot_28float_29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - wasm2js_i32$0 = $0, wasm2js_f32$0 = sinf(HEAPF32[$2 + 8 >> 2]), HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $0, wasm2js_f32$0 = cosf(HEAPF32[$2 + 8 >> 2]), HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function __cxxabiv1____base_class_type_info__has_unambiguous_public_base_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const($0, $1, $2, $3) { - var $4 = 0, $5 = 0; - $5 = HEAP32[$0 + 4 >> 2]; - $4 = 0; - label$1: { - if (!$2) { - break label$1; - } - $4 = $5 >> 8; - if (!($5 & 1)) { - break label$1; - } - $4 = update_offset_to_base_28char_20const__2c_20long_29(HEAP32[$2 >> 2], $4); - } - $0 = HEAP32[$0 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 28 >> 2]]($0, $1, $2 + $4 | 0, $5 & 2 ? $3 : 2); -} - -function Vec2VectorResize_28unsigned_20int_2c_20int_2c_20float_2c_20float_29($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - $3 = Math_fround($3); - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAPF32[$4 + 4 >> 2] = $2; - HEAPF32[$4 >> 2] = $3; - Vec2VectorCC__resize_28int_2c_20float_2c_20float_29(HEAP32[$4 + 12 >> 2], HEAP32[$4 + 8 >> 2], HEAPF32[$4 + 4 >> 2], HEAPF32[$4 >> 2]); - __stack_pointer = $4 + 16 | 0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2ContactListenerWrapper__2c_20unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2ContactListenerWrapper__2c_20unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2ContactListenerWrapper__2c_20unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2ContactListenerWrapper__2c_20unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Island__Add_28b2Contact__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (HEAP32[$0 + 36 >> 2] >= HEAP32[$0 + 44 >> 2]) { - __assert_fail(1324, 7738, 66, 10605); - wasm2js_trap(); - } - $3 = HEAP32[$2 + 8 >> 2]; - $4 = HEAP32[$0 + 12 >> 2]; - $1 = HEAP32[$0 + 36 >> 2]; - HEAP32[$0 + 36 >> 2] = $1 + 1; - HEAP32[($1 << 2) + $4 >> 2] = $3; - __stack_pointer = $2 + 16 | 0; -} - -function b2DistanceProxy__b2DistanceProxy_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - $0 = HEAP32[$1 + 8 >> 2]; - HEAP32[$1 + 12 >> 2] = $0; - $3 = $0 + 16 | 0; - $2 = $0; - while (1) { - b2Vec2__b2Vec2_28_29($2); - $2 = $2 + 8 | 0; - if (($3 | 0) != ($2 | 0)) { - continue; - } - break; - } - HEAP32[$0 + 16 >> 2] = 0; - HEAP32[$0 + 20 >> 2] = 0; - HEAPF32[$0 + 24 >> 2] = 0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2Manifold__b2Manifold_28_29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - $0 = HEAP32[$1 + 8 >> 2]; - HEAP32[$1 + 12 >> 2] = $0; - $3 = $0 + 40 | 0; - $2 = $0; - while (1) { - b2ManifoldPoint__b2ManifoldPoint_28_29($2); - $2 = $2 + 20 | 0; - if (($3 | 0) != ($2 | 0)) { - continue; - } - break; - } - b2Vec2__b2Vec2_28_29($0 + 40 | 0); - b2Vec2__b2Vec2_28_29($0 + 48 | 0); - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 12 >> 2]; -} - -function void_20emscripten__wrapper_b2ContactListener___call_void_2c_20unsigned_20int___28char_20const__2c_20unsigned_20int__29_20const($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - void_20emscripten__val__call_void_2c_20unsigned_20int___28char_20const__2c_20unsigned_20int__29_20const(HEAP32[$3 + 12 >> 2] + 8 | 0, HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function bool_20emscripten__internal__MemberAccess_b2BodyDef_2c_20bool___getWire_b2BodyDef__28bool_20b2BodyDef____20const__2c_20b2BodyDef_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__BindingType_bool_2c_20void___toWireType_28bool_29(HEAP8[HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0] & 1); - __stack_pointer = $2 + 16 | 0; - return $0 & 1; -} - -function b2Island__Add_28b2Joint__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (HEAP32[$0 + 32 >> 2] >= HEAP32[$0 + 48 >> 2]) { - __assert_fail(1293, 7738, 72, 10605); - wasm2js_trap(); - } - $3 = HEAP32[$2 + 8 >> 2]; - $4 = HEAP32[$0 + 16 >> 2]; - $1 = HEAP32[$0 + 32 >> 2]; - HEAP32[$0 + 32 >> 2] = $1 + 1; - HEAP32[($1 << 2) + $4 >> 2] = $3; - __stack_pointer = $2 + 16 | 0; -} - -function void_20_28__emscripten__internal__getContext_void_20_28__29_28b2AABB__2c_20b2AABB__2c_20b2AABB__29__28void_20_28__20const__29_28b2AABB__2c_20b2AABB__2c_20b2AABB__29_29_29_28b2AABB__2c_20b2AABB__2c_20b2AABB__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2_______get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointer_emscripten__ret_val____ArgTypeList_b2RayCastCallbackWrapper__2c_20emscripten__val_____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2RayCastCallbackWrapper__2c_20emscripten__val______get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointer_emscripten__ret_val____ArgTypeList_b2ContactListenerWrapper__2c_20emscripten__val_____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2ContactListenerWrapper__2c_20emscripten__val______get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function char__20std____2__copy_5babi_v160004_5d_char_20const__2c_20char___28char_20const__2c_20char_20const__2c_20char__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - std____2__pair_char_20const__2c_20char___20std____2____copy_5babi_v160004_5d_std____2___ClassicAlgPolicy_2c_20char_20const__2c_20char_20const__2c_20char___28char_20const__2c_20char_20const__2c_20char__29($3 + 8 | 0, $0, $1, $2); - __stack_pointer = $3 + 16 | 0; - $2 = HEAP32[$3 + 12 >> 2]; - return $2; -} - -function b2Min_28b2Vec2_20const__2c_20b2Vec2_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - b2Vec2__b2Vec2_28float_2c_20float_29($0, float_20b2Min_float__28float_2c_20float_29(HEAPF32[HEAP32[$3 + 12 >> 2] >> 2], HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]), float_20b2Min_float__28float_2c_20float_29(HEAPF32[HEAP32[$3 + 12 >> 2] + 4 >> 2], HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function b2Max_28b2Vec2_20const__2c_20b2Vec2_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - b2Vec2__b2Vec2_28float_2c_20float_29($0, float_20b2Max_float__28float_2c_20float_29(HEAPF32[HEAP32[$3 + 12 >> 2] >> 2], HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]), float_20b2Max_float__28float_2c_20float_29(HEAPF32[HEAP32[$3 + 12 >> 2] + 4 >> 2], HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function void_20b2BroadPhase__RayCast_b2WorldRayCastWrapper__28b2WorldRayCastWrapper__2c_20b2RayCastInput_20const__29_20const($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - void_20b2DynamicTree__RayCast_b2WorldRayCastWrapper__28b2WorldRayCastWrapper__2c_20b2RayCastInput_20const__29_20const(HEAP32[$3 + 12 >> 2], HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function void_20_28__emscripten__internal__getContext_void_20_28__29_28b2Body__2c_20b2MassData_20const__29__28void_20_28__20const__29_28b2Body__2c_20b2MassData_20const__29_29_29_28b2Body__2c_20b2MassData_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Color__b2Color_28float_2c_20float_2c_20float_2c_20float_29($0, $1, $2, $3, $4) { - var $5 = 0; - $5 = __stack_pointer - 32 | 0; - HEAP32[$5 + 28 >> 2] = $0; - HEAPF32[$5 + 24 >> 2] = $1; - HEAPF32[$5 + 20 >> 2] = $2; - HEAPF32[$5 + 16 >> 2] = $3; - HEAPF32[$5 + 12 >> 2] = $4; - $0 = HEAP32[$5 + 28 >> 2]; - HEAPF32[$0 >> 2] = HEAPF32[$5 + 24 >> 2]; - HEAPF32[$0 + 4 >> 2] = HEAPF32[$5 + 20 >> 2]; - HEAPF32[$0 + 8 >> 2] = HEAPF32[$5 + 16 >> 2]; - HEAPF32[$0 + 12 >> 2] = HEAPF32[$5 + 12 >> 2]; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointer_emscripten__ret_val____ArgTypeList_b2QueryCallbackWrapper__2c_20emscripten__val_____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2QueryCallbackWrapper__2c_20emscripten__val______get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Vec2__20emscripten__internal__MemberAccess_b2AABB_2c_20b2Vec2___getWire_b2AABB__28b2Vec2_20b2AABB____20const__2c_20b2AABB_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29(HEAP32[$2 + 8 >> 2] + HEAP32[HEAP32[$2 + 12 >> 2] >> 2] | 0); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function b2RevoluteJoint__SetMaxMotorTorque_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (HEAPF32[$2 + 8 >> 2] != HEAPF32[$0 + 104 >> 2]) { - b2Body__SetAwake_28bool_29(HEAP32[$0 + 48 >> 2], 1); - b2Body__SetAwake_28bool_29(HEAP32[$0 + 52 >> 2], 1); - HEAPF32[$0 + 104 >> 2] = HEAPF32[$2 + 8 >> 2]; - } - __stack_pointer = $2 + 16 | 0; -} - -function b2PrismaticJoint__SetMaxMotorForce_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (HEAPF32[$2 + 8 >> 2] != HEAPF32[$0 + 128 >> 2]) { - b2Body__SetAwake_28bool_29(HEAP32[$0 + 48 >> 2], 1); - b2Body__SetAwake_28bool_29(HEAP32[$0 + 52 >> 2], 1); - HEAPF32[$0 + 128 >> 2] = HEAPF32[$2 + 8 >> 2]; - } - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__wrapper_b2Draw____wrapper_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - $0 = HEAP32[$1 + 8 >> 2]; - HEAP32[$1 + 12 >> 2] = $0; - HEAP32[$0 >> 2] = 27008; - if (HEAP8[$0 + 8 | 0] & 1) { - void_20emscripten__wrapper_b2Draw___call_void__28char_20const__29_20const($0, 3237); - } - emscripten__val___val_28_29($0 + 12 | 0); - b2Draw___b2Draw_28_29($0); - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 12 >> 2]; -} - -function std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_______destruct_at_end_5babi_v160004_5d_28b2Vec2__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_______destruct_at_end_5babi_v160004_5d_28b2Vec2__2c_20std____2__integral_constant_bool_2c_20false__29(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function std____2__allocator_traits_std____2__allocator_int____deallocate_5babi_v160004_5d_28std____2__allocator_int___2c_20int__2c_20unsigned_20long_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - std____2__allocator_int___deallocate_5babi_v160004_5d_28int__2c_20unsigned_20long_29(HEAP32[$3 + 12 >> 2], HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20b2JointDef__2c_20b2Body____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2JointDef__2c_20emscripten__internal__AllowedRawPointer_b2Body_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint__2c_20float_2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint__2c_20float_2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const__2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const__2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2WheelJoint__SetMaxMotorTorque_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (HEAPF32[$2 + 8 >> 2] != HEAPF32[$0 + 120 >> 2]) { - b2Body__SetAwake_28bool_29(HEAP32[$0 + 48 >> 2], 1); - b2Body__SetAwake_28bool_29(HEAP32[$0 + 52 >> 2], 1); - HEAPF32[$0 + 120 >> 2] = HEAPF32[$2 + 8 >> 2]; - } - __stack_pointer = $2 + 16 | 0; -} - -function b2Rot__Set_28float_29($0, $1) { - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - wasm2js_i32$0 = $0, wasm2js_f32$0 = sinf(HEAPF32[$2 + 8 >> 2]), HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; - wasm2js_i32$0 = $0, wasm2js_f32$0 = cosf(HEAPF32[$2 + 8 >> 2]), HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; - __stack_pointer = $2 + 16 | 0; -} - -function b2PrismaticJoint__SetMotorSpeed_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (HEAPF32[$2 + 8 >> 2] != HEAPF32[$0 + 132 >> 2]) { - b2Body__SetAwake_28bool_29(HEAP32[$0 + 48 >> 2], 1); - b2Body__SetAwake_28bool_29(HEAP32[$0 + 52 >> 2], 1); - HEAPF32[$0 + 132 >> 2] = HEAPF32[$2 + 8 >> 2]; - } - __stack_pointer = $2 + 16 | 0; -} - -function void_20emscripten__internal__raw_destructor_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2_____vector_5babi_v160004_5d_28_29($0); - operator_20delete_28void__29($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function operator__28float_2c_20b2Vec3_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAPF32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - b2Vec3__b2Vec3_28float_2c_20float_2c_20float_29($0, Math_fround(HEAPF32[$3 + 12 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]), Math_fround(HEAPF32[$3 + 12 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2]), Math_fround(HEAPF32[$3 + 12 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] + 8 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function b2RevoluteJoint__SetMotorSpeed_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (HEAPF32[$2 + 8 >> 2] != HEAPF32[$0 + 108 >> 2]) { - b2Body__SetAwake_28bool_29(HEAP32[$0 + 48 >> 2], 1); - b2Body__SetAwake_28bool_29(HEAP32[$0 + 52 >> 2], 1); - HEAPF32[$0 + 108 >> 2] = HEAPF32[$2 + 8 >> 2]; - } - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint__2c_20float_2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint__2c_20float_2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const__2c_20bool___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const__2c_20bool____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const__2c_20b2Vec2_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const__2c_20b2Vec2_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2MotorJoint__SetAngularOffset_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (HEAPF32[$2 + 8 >> 2] != HEAPF32[$0 + 76 >> 2]) { - b2Body__SetAwake_28bool_29(HEAP32[$0 + 48 >> 2], 1); - b2Body__SetAwake_28bool_29(HEAP32[$0 + 52 >> 2], 1); - HEAPF32[$0 + 76 >> 2] = HEAPF32[$2 + 8 >> 2]; - } - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_std____2__vector_int_2c_20std____2__allocator_int______getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int_______get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20float_2c_20int_2c_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20float_2c_20int_2c_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const__2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const__2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2WheelJoint__SetMotorSpeed_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (HEAPF32[$2 + 8 >> 2] != HEAPF32[$0 + 124 >> 2]) { - b2Body__SetAwake_28bool_29(HEAP32[$0 + 48 >> 2], 1); - b2Body__SetAwake_28bool_29(HEAP32[$0 + 52 >> 2], 1); - HEAPF32[$0 + 124 >> 2] = HEAPF32[$2 + 8 >> 2]; - } - __stack_pointer = $2 + 16 | 0; -} - -function std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void________tree_node_destructor_5babi_v160004_5d_28std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____2c_20bool_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP8[$3 + 7 | 0] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$3 + 8 >> 2]; - HEAP8[$0 + 4 | 0] = HEAP8[$3 + 7 | 0] & 1; - return $0; -} - -function emscripten__internal__Invoker_void_2c_20unsigned_20int___invoke_28void_20_28__29_28unsigned_20int_29_2c_20unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29(HEAP32[$2 + 8 >> 2])); - __stack_pointer = $2 + 16 | 0; -} - -function b2MouseJointDef__b2MouseJointDef_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2JointDef__b2JointDef_28_29($0); - b2Vec2__b2Vec2_28_29($0 + 20 | 0); - HEAP32[$0 >> 2] = 5; - b2Vec2__Set_28float_2c_20float_29($0 + 20 | 0, Math_fround(0), Math_fround(0)); - HEAPF32[$0 + 28 >> 2] = 0; - HEAPF32[$0 + 32 >> 2] = 5; - HEAPF32[$0 + 36 >> 2] = .699999988079071; - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function Vec2VectorCC__push_28float_2c_20float_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 32 | 0; - __stack_pointer = $3; - HEAP32[$3 + 28 >> 2] = $0; - HEAPF32[$3 + 24 >> 2] = $1; - HEAPF32[$3 + 20 >> 2] = $2; - $0 = HEAP32[$3 + 28 >> 2]; - b2Vec2__b2Vec2_28float_2c_20float_29($3 + 12 | 0, HEAPF32[$3 + 24 >> 2], HEAPF32[$3 + 20 >> 2]); - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____push_back_5babi_v160004_5d_28b2Vec2___29($0, $3 + 12 | 0); - __stack_pointer = $3 + 32 | 0; -} - -function std____2__allocator_char___allocate_5babi_v160004_5d_28unsigned_20long_29($0, $1) { - if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_char____max_size_5babi_v160004_5d_std____2__allocator_char__2c_20void_2c_20void__28std____2__allocator_char__20const__29($0) >>> 0 < $1 >>> 0) { - std____throw_bad_array_new_length_5babi_v160004_5d_28_29(); - wasm2js_trap(); - } - return std____2____libcpp_allocate_5babi_v160004_5d_28unsigned_20long_2c_20unsigned_20long_29($1, 1); -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_bool_2c_20unsigned_20int_2c_20b2Transform_20const__2c_20b2Vec2_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20unsigned_20int_2c_20b2Transform_20const__2c_20b2Vec2_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const__2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const__2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const__2c_20b2AABB_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const__2c_20b2AABB_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2__enable_if_is_move_constructible_b2Vec2____value_20___20is_move_assignable_b2Vec2____value_2c_20void___type_20std____2__swap_5babi_v160004_5d_b2Vec2___28b2Vec2___2c_20b2Vec2___29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - HEAP32[$2 + 4 >> 2] = HEAP32[HEAP32[$2 + 12 >> 2] >> 2]; - HEAP32[HEAP32[$2 + 12 >> 2] >> 2] = HEAP32[HEAP32[$2 + 8 >> 2] >> 2]; - HEAP32[HEAP32[$2 + 8 >> 2] >> 2] = HEAP32[$2 + 4 >> 2]; -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_size_5babi_v160004_5d_28unsigned_20long_29($0, $1) { - var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - wasm2js_i32$0 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_5babi_v160004_5d_28_29($0), - wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20b2AABB__2c_20b2AABB____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2AABB__2c_20emscripten__internal__AllowedRawPointer_b2AABB_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2PrismaticJoint__EnableMotor_28bool_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP8[$2 + 11 | 0] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if ((HEAP8[$2 + 11 | 0] & 1) != (HEAP8[$0 + 137 | 0] & 1)) { - b2Body__SetAwake_28bool_29(HEAP32[$0 + 48 >> 2], 1); - b2Body__SetAwake_28bool_29(HEAP32[$0 + 52 >> 2], 1); - HEAP8[$0 + 137 | 0] = HEAP8[$2 + 11 | 0] & 1; - } - __stack_pointer = $2 + 16 | 0; -} - -function b2RevoluteJoint__EnableMotor_28bool_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP8[$2 + 11 | 0] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if ((HEAP8[$2 + 11 | 0] & 1) != (HEAP8[$0 + 100 | 0] & 1)) { - b2Body__SetAwake_28bool_29(HEAP32[$0 + 48 >> 2], 1); - b2Body__SetAwake_28bool_29(HEAP32[$0 + 52 >> 2], 1); - HEAP8[$0 + 100 | 0] = HEAP8[$2 + 11 | 0] & 1; - } - __stack_pointer = $2 + 16 | 0; -} - -function _ZN17compiler_builtins3int3mul3Mul3mul17h070e9a1c69faec5bE($0, $1, $2, $3) { - var $4 = 0, $5 = 0; - $4 = $2 >>> 16 | 0; - $5 = $0 >>> 16 | 0; - $3 = (Math_imul($4, $5) + Math_imul($1, $2) | 0) + Math_imul($3, $0) | 0; - $2 = $2 & 65535; - $0 = $0 & 65535; - $1 = Math_imul($2, $0); - $2 = ($1 >>> 16 | 0) + Math_imul($2, $5) | 0; - $3 = $3 + ($2 >>> 16 | 0) | 0; - $2 = Math_imul($0, $4) + ($2 & 65535) | 0; - i64toi32_i32$HIGH_BITS = $3 + ($2 >>> 16 | 0) | 0; - return $1 & 65535 | $2 << 16; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint__2c_20b2Vec2_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint__2c_20b2Vec2_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint__2c_20b2Vec2_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint__2c_20b2Vec2_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Color__Set_28float_2c_20float_2c_20float_2c_20float_29($0, $1, $2, $3, $4) { - var $5 = 0; - $5 = __stack_pointer - 32 | 0; - HEAP32[$5 + 28 >> 2] = $0; - HEAPF32[$5 + 24 >> 2] = $1; - HEAPF32[$5 + 20 >> 2] = $2; - HEAPF32[$5 + 16 >> 2] = $3; - HEAPF32[$5 + 12 >> 2] = $4; - $0 = HEAP32[$5 + 28 >> 2]; - HEAPF32[$0 >> 2] = HEAPF32[$5 + 24 >> 2]; - HEAPF32[$0 + 4 >> 2] = HEAPF32[$5 + 20 >> 2]; - HEAPF32[$0 + 8 >> 2] = HEAPF32[$5 + 16 >> 2]; - HEAPF32[$0 + 12 >> 2] = HEAPF32[$5 + 12 >> 2]; -} - -function emscripten__internal__remove_class_decltype_28_embind_init_b2_28_29__$_1__operator_28_29_29___type__20emscripten__optional_override_embind_init_b2_28_29__$_1__28embind_init_b2_28_29__$_1_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = embind_init_b2_28_29__$_1__operator_20void_20_28__29_28b2AABB__2c_20b2AABB__2c_20b2AABB__29_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function embind_init_b2_28_29__$_1____invoke_28b2AABB__2c_20b2AABB__2c_20b2AABB__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - embind_init_b2_28_29__$_1__operator_28_29_28b2AABB__2c_20b2AABB__2c_20b2AABB__29_20const($3 + 3 | 0, HEAP32[$3 + 12 >> 2], HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function sbrk($0) { - var $1 = 0, $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - $1 = HEAP32[7328]; - $2 = $0 + 7 & -8; - $0 = $1 + $2 | 0; - label$1: { - if ($0 >>> 0 <= $1 >>> 0 ? $2 : 0) { - break label$1; - } - if (emscripten_get_heap_size() >>> 0 < $0 >>> 0) { - if (!(emscripten_resize_heap($0 | 0) | 0)) { - break label$1; - } - } - HEAP32[7328] = $0; - return $1; - } - wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 48, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - return -1; -} -function emscripten__internal__remove_class_decltype_28_embind_init_b2_28_29__$_2__operator_28_29_29___type__20emscripten__optional_override_embind_init_b2_28_29__$_2__28embind_init_b2_28_29__$_2_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = embind_init_b2_28_29__$_2__operator_20void_20_28__29_28b2Body__2c_20b2MassData_20const__29_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const__2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const__2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const__2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const__2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2WheelJoint__EnableMotor_28bool_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP8[$2 + 11 | 0] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if ((HEAP8[$2 + 11 | 0] & 1) != (HEAP8[$0 + 128 | 0] & 1)) { - b2Body__SetAwake_28bool_29(HEAP32[$0 + 48 >> 2], 1); - b2Body__SetAwake_28bool_29(HEAP32[$0 + 52 >> 2], 1); - HEAP8[$0 + 128 | 0] = HEAP8[$2 + 11 | 0] & 1; - } - __stack_pointer = $2 + 16 | 0; -} - -function b2RayCastCallbackWrapper__20emscripten__internal__wrapped_new_b2RayCastCallbackWrapper__2c_20b2RayCastCallbackWrapper_2c_20emscripten__val__28emscripten__val___29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(12); - b2RayCastCallbackWrapper__b2RayCastCallbackWrapper___28emscripten__val___29($0, HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2ContactListenerWrapper__20emscripten__internal__wrapped_new_b2ContactListenerWrapper__2c_20b2ContactListenerWrapper_2c_20emscripten__val__28emscripten__val___29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(24); - b2ContactListenerWrapper__b2ContactListenerWrapper___28emscripten__val___29($0, HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function std____2____tree_const_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long___operator__5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____tree_const_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long_____get_np_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 + 16 | 0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const__2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const__2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__GenericBindingType_b2Filter___toWireType_28b2Filter_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(6); - $2 = HEAP32[$1 + 12 >> 2]; - $3 = HEAPU16[$2 >> 1] | HEAPU16[$2 + 2 >> 1] << 16; - HEAP16[$0 >> 1] = $3; - HEAP16[$0 + 2 >> 1] = $3 >>> 16; - HEAP16[$0 + 4 >> 1] = HEAPU16[$2 + 4 >> 1]; - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20_28__emscripten__internal__getContext_void_20_28__29_28b2RayCastCallbackWrapper__29__28void_20_28__20const__29_28b2RayCastCallbackWrapper__29_29_29_28b2RayCastCallbackWrapper__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20_28__emscripten__internal__getContext_void_20_28__29_28b2ContactListenerWrapper__29__28void_20_28__20const__29_28b2ContactListenerWrapper__29_29_29_28b2ContactListenerWrapper__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointer_emscripten__ret_val____ArgTypeList_b2DrawWrapper__2c_20emscripten__val_____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2DrawWrapper__2c_20emscripten__val______get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} -function b2MotorJoint__SetMaxTorque_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (!(b2IsValid_28float_29(HEAPF32[$2 + 8 >> 2]) & 1 & HEAPF32[$2 + 8 >> 2] >= Math_fround(0))) { - __assert_fail(8596, 4447, 246, 8942); - wasm2js_trap(); - } - HEAPF32[$0 + 96 >> 2] = HEAPF32[$2 + 8 >> 2]; - __stack_pointer = $2 + 16 | 0; -} - -function b2MotorJoint__SetMaxForce_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (!(b2IsValid_28float_29(HEAPF32[$2 + 8 >> 2]) & 1 & HEAPF32[$2 + 8 >> 2] >= Math_fround(0))) { - __assert_fail(8632, 4447, 235, 10089); - wasm2js_trap(); - } - HEAPF32[$0 + 92 >> 2] = HEAPF32[$2 + 8 >> 2]; - __stack_pointer = $2 + 16 | 0; -} - -function b2ContactListenerWrapper___b2ContactListenerWrapper_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[$0 >> 2] = 26556; - std____2__set_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture______set_5babi_v160004_5d_28_29($0 + 12 | 0); - emscripten__wrapper_b2ContactListener____wrapper_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function __cxxabiv1____pbase_type_info__can_catch_28__cxxabiv1____shim_type_info_20const__2c_20void___29_20const($0, $1, $2) { - var $3 = 0; - $2 = 1; - label$1: { - if (!(HEAPU8[$0 + 8 | 0] & 24)) { - $2 = 0; - if (!$1) { - break label$1; - } - $3 = __dynamic_cast($1, 24196, 24292, 0); - if (!$3) { - break label$1; - } - $2 = (HEAPU8[$3 + 8 | 0] & 24) != 0; - } - $2 = is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, $1, $2); - } - return $2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Transform_20const__2c_20emscripten__internal__AllowedRawPointer_b2Body_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Transform_20const__2c_20emscripten__internal__AllowedRawPointer_b2Body_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20emscripten__internal__writeGenericWireType_b2Transform__28emscripten__internal__GenericWireType___2c_20b2Transform__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 8 >> 2]; - HEAP32[HEAP32[HEAP32[$2 + 12 >> 2] >> 2] >> 2] = HEAP32[$2 + 4 >> 2]; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 8; - __stack_pointer = $2 + 16 | 0; -} - -function std____2____split_buffer_int_2c_20std____2__allocator_int_______destruct_at_end_5babi_v160004_5d_28int__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - std____2____split_buffer_int_2c_20std____2__allocator_int_______destruct_at_end_5babi_v160004_5d_28int__2c_20std____2__integral_constant_bool_2c_20false__29(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function void_20_28__emscripten__internal__getContext_void_20_28__29_28b2JointDef__2c_20b2Body__29__28void_20_28__20const__29_28b2JointDef__2c_20b2Body__29_29_29_28b2JointDef__2c_20b2Body__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2MotorJointDef__b2MotorJointDef_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2JointDef__b2JointDef_28_29($0); - b2Vec2__b2Vec2_28_29($0 + 20 | 0); - HEAP32[$0 >> 2] = 11; - b2Vec2__SetZero_28_29($0 + 20 | 0); - HEAPF32[$0 + 28 >> 2] = 0; - HEAPF32[$0 + 32 >> 2] = 1; - HEAPF32[$0 + 36 >> 2] = 1; - HEAPF32[$0 + 40 >> 2] = .30000001192092896; - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Body__GetLinearVelocityFromLocalPoint_28b2Vec2_20const__29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - $1 = HEAP32[$3 + 12 >> 2]; - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($3, $1, HEAP32[$3 + 8 >> 2]); - b2Body__GetLinearVelocityFromWorldPoint_28b2Vec2_20const__29_20const($0, $1, $3); - __stack_pointer = $3 + 16 | 0; -} - -function void_20emscripten__internal__raw_destructor_std____2__vector_int_2c_20std____2__allocator_int____28std____2__vector_int_2c_20std____2__allocator_int____29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - std____2__vector_int_2c_20std____2__allocator_int_____vector_5babi_v160004_5d_28_29($0); - operator_20delete_28void__29($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_pointer_5babi_v160004_5d_28char__29($0, $1) { - var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - wasm2js_i32$0 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_5babi_v160004_5d_28_29($0), - wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; -} - -function emscripten__internal__remove_class_decltype_28_embind_init_b2_28_29__$_7__operator_28_29_29___type__20emscripten__optional_override_embind_init_b2_28_29__$_7__28embind_init_b2_28_29__$_7_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = embind_init_b2_28_29__$_7__operator_20void_20_28__29_28b2JointDef__2c_20b2Body__29_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__remove_class_decltype_28_embind_init_b2_28_29__$_5__operator_28_29_29___type__20emscripten__optional_override_embind_init_b2_28_29__$_5__28embind_init_b2_28_29__$_5_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = embind_init_b2_28_29__$_5__operator_20void_20_28__29_28b2JointDef__2c_20b2Body__29_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Body__2c_20b2JointDef____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2Body__2c_20emscripten__internal__AllowedRawPointer_b2JointDef_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2Vec2_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2Vec2_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const__2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const__2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function ShapeTestPoint_28unsigned_20int_2c_20b2Transform_20const__2c_20b2Vec2_20const__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - $0 = FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0, HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]) | 0; - __stack_pointer = $3 + 16 | 0; - return $0 & 1; -} - -function void_20_28__emscripten__internal__getContext_void_20_28__29_28b2QueryCallbackWrapper__29__28void_20_28__20const__29_28b2QueryCallbackWrapper__29_29_29_28b2QueryCallbackWrapper__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Fixture__SetFilterData_28b2Filter_20const__29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - $1 = HEAP32[$2 + 8 >> 2]; - $3 = HEAPU16[$1 >> 1] | HEAPU16[$1 + 2 >> 1] << 16; - HEAP16[$0 + 32 >> 1] = $3; - HEAP16[$0 + 34 >> 1] = $3 >>> 16; - HEAP16[$0 + 36 >> 1] = HEAPU16[$1 + 4 >> 1]; - b2Fixture__Refilter_28_29($0); - __stack_pointer = $2 + 16 | 0; -} - -function b2DynamicTree__GetUserData_28int_29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (!(HEAP32[$2 + 8 >> 2] < HEAP32[$0 + 12 >> 2] & HEAP32[$2 + 8 >> 2] >= 0)) { - __assert_fail(1389, 7594, 167, 10744); - wasm2js_trap(); - } - __stack_pointer = $2 + 16 | 0; - return HEAP32[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 40) | 0) + 16 >> 2]; -} - -function void_20b2BroadPhase__Query_b2WorldQueryWrapper__28b2WorldQueryWrapper__2c_20b2AABB_20const__29_20const($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - void_20b2DynamicTree__Query_b2WorldQueryWrapper__28b2WorldQueryWrapper__2c_20b2AABB_20const__29_20const(HEAP32[$3 + 12 >> 2], HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function std____2__enable_if_is_move_constructible_int____value_20___20is_move_assignable_int____value_2c_20void___type_20std____2__swap_5babi_v160004_5d_int___28int___2c_20int___29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - HEAP32[$2 + 4 >> 2] = HEAP32[HEAP32[$2 + 12 >> 2] >> 2]; - HEAP32[HEAP32[$2 + 12 >> 2] >> 2] = HEAP32[HEAP32[$2 + 8 >> 2] >> 2]; - HEAP32[HEAP32[$2 + 8 >> 2] >> 2] = HEAP32[$2 + 4 >> 2]; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint__2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint__2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20float_2c_20bool___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20float_2c_20bool____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const__2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const__2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2DynamicTree__WasMoved_28int_29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (!(HEAP32[$2 + 8 >> 2] < HEAP32[$0 + 12 >> 2] & HEAP32[$2 + 8 >> 2] >= 0)) { - __assert_fail(1389, 7594, 173, 10391); - wasm2js_trap(); - } - __stack_pointer = $2 + 16 | 0; - return HEAP8[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 40) | 0) + 36 | 0] & 1; -} - -function b2Body__SetAngularVelocity_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (HEAP32[$0 >> 2]) { - if (Math_fround(HEAPF32[$2 + 8 >> 2] * HEAPF32[$2 + 8 >> 2]) > Math_fround(0)) { - b2Body__SetAwake_28bool_29($0, 1); - } - HEAPF32[$0 + 72 >> 2] = HEAPF32[$2 + 8 >> 2]; - } - __stack_pointer = $2 + 16 | 0; -} - -function std____2____compressed_pair_elem_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void____2c_201_2c_20true_____compressed_pair_elem_5babi_v160004_5d_28std____2____value_init_tag_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - $0 = HEAP32[$1 + 8 >> 2]; - std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____allocator_5babi_v160004_5d_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2QueryCallbackWrapper__20emscripten__internal__wrapped_new_b2QueryCallbackWrapper__2c_20b2QueryCallbackWrapper_2c_20emscripten__val__28emscripten__val___29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(12); - b2QueryCallbackWrapper__b2QueryCallbackWrapper___28emscripten__val___29($0, HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function std____2__operator___5babi_v160004_5d_28std____2____tree_const_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20const__2c_20std____2____tree_const_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20const__29_1($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return HEAP32[HEAP32[$2 + 12 >> 2] >> 2] == HEAP32[HEAP32[$2 + 8 >> 2] >> 2]; -} - -function std____2____compressed_pair_elem_std____2____tree_end_node_std____2____tree_node_base_void_____2c_200_2c_20false_____compressed_pair_elem_5babi_v160004_5d_28std____2____value_init_tag_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - $0 = HEAP32[$1 + 8 >> 2]; - std____2____tree_end_node_std____2____tree_node_base_void________tree_end_node_5babi_v160004_5d_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__wrapper_b2Draw___wrapper___28emscripten__val___29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - b2Draw__b2Draw_28_29($0); - emscripten__internal__WrapperBase__WrapperBase_28_29($0 + 8 | 0); - HEAP32[$0 >> 2] = 27008; - emscripten__val__val_28emscripten__val___29($0 + 12 | 0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function emscripten__internal__remove_class_decltype_28_embind_init_b2_28_29__$_0__operator_28_29_29___type__20emscripten__optional_override_embind_init_b2_28_29__$_0__28embind_init_b2_28_29__$_0_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = embind_init_b2_28_29__$_0__operator_20void_20_28__29_28b2AABB__2c_20b2AABB__29_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20b2Body__2c_20b2MassData_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2MassData_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint__2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint__2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint__2c_20bool___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint__2c_20bool____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint__2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint__2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20emscripten__internal__writeGenericWireType_b2Color__28emscripten__internal__GenericWireType___2c_20b2Color__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 8 >> 2]; - HEAP32[HEAP32[HEAP32[$2 + 12 >> 2] >> 2] >> 2] = HEAP32[$2 + 4 >> 2]; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 8; - __stack_pointer = $2 + 16 | 0; -} - -function std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______root_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______end_node_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return HEAP32[$0 >> 2]; -} - -function std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long___operator__5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long_____get_np_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 + 16 | 0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint__2c_20bool___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint__2c_20bool____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2Body_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2Body_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2RevoluteJoint__GetReactionForce_28float_29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAPF32[$3 + 8 >> 2] = $2; - $1 = HEAP32[$3 + 12 >> 2]; - b2Vec2__b2Vec2_28float_2c_20float_29($3, HEAPF32[$1 + 84 >> 2], HEAPF32[$1 + 88 >> 2]); - operator__28float_2c_20b2Vec2_20const__29($0, HEAPF32[$3 + 8 >> 2], $3); - __stack_pointer = $3 + 16 | 0; -} - -function b2Dot_28b2Vec3_20const__2c_20b2Vec3_20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return Math_fround(Math_fround(HEAPF32[HEAP32[$2 + 12 >> 2] + 8 >> 2] * HEAPF32[HEAP32[$2 + 8 >> 2] + 8 >> 2]) + Math_fround(Math_fround(HEAPF32[HEAP32[$2 + 12 >> 2] >> 2] * HEAPF32[HEAP32[$2 + 8 >> 2] >> 2]) + Math_fround(HEAPF32[HEAP32[$2 + 12 >> 2] + 4 >> 2] * HEAPF32[HEAP32[$2 + 8 >> 2] + 4 >> 2]))); -} - -function b2Body__SetSleepingAllowed_28bool_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP8[$2 + 11 | 0] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - label$1: { - if (HEAP8[$2 + 11 | 0] & 1) { - HEAP16[$0 + 4 >> 1] = HEAPU16[$0 + 4 >> 1] | 4; - break label$1; - } - HEAP16[$0 + 4 >> 1] = HEAPU16[$0 + 4 >> 1] & -5; - b2Body__SetAwake_28bool_29($0, 1); - } - __stack_pointer = $2 + 16 | 0; -} - -function void_20emscripten__internal__writeGenericWireType_b2Vec2__28emscripten__internal__GenericWireType___2c_20b2Vec2__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 8 >> 2]; - HEAP32[HEAP32[HEAP32[$2 + 12 >> 2] >> 2] >> 2] = HEAP32[$2 + 4 >> 2]; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 8; - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__remove_class_decltype_28_embind_init_b2_28_29__$_4__operator_28_29_29___type__20emscripten__optional_override_embind_init_b2_28_29__$_4__28embind_init_b2_28_29__$_4_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = embind_init_b2_28_29__$_4__operator_20unsigned_20int_20_28__29_28b2Body__29_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__remove_class_decltype_28_embind_init_b2_28_29__$_3__operator_28_29_29___type__20emscripten__optional_override_embind_init_b2_28_29__$_3__28embind_init_b2_28_29__$_3_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = embind_init_b2_28_29__$_3__operator_20unsigned_20int_20_28__29_28b2Body__29_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function __cxxabiv1____base_class_type_info__search_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_2c_20bool_29_20const($0, $1, $2, $3, $4, $5) { - var $6 = 0, $7 = 0; - $6 = HEAP32[$0 + 4 >> 2]; - $7 = $6 >> 8; - if ($6 & 1) { - $7 = update_offset_to_base_28char_20const__2c_20long_29(HEAP32[$3 >> 2], $7); - } - $0 = HEAP32[$0 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 20 >> 2]]($0, $1, $2, $3 + $7 | 0, $6 & 2 ? $4 : 2, $5); -} - -function std____2__set_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____set_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______tree_28std____2__less_b2Fixture___20const__29($0, $1 + 11 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_unsigned_20int_2c_20emscripten__internal__AllowedRawPointer_b2Draw_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_unsigned_20int_2c_20emscripten__internal__AllowedRawPointer_b2Draw_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2WeldJoint__GetReactionForce_28float_29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAPF32[$3 + 8 >> 2] = $2; - $1 = HEAP32[$3 + 12 >> 2]; - b2Vec2__b2Vec2_28float_2c_20float_29($3, HEAPF32[$1 + 104 >> 2], HEAPF32[$1 + 108 >> 2]); - operator__28float_2c_20b2Vec2_20const__29($0, HEAPF32[$3 + 8 >> 2], $3); - __stack_pointer = $3 + 16 | 0; -} - -function b2CircleShape__operator__28b2CircleShape_20const__29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - b2Shape__operator__28b2Shape_20const__29($0, HEAP32[$2 + 8 >> 2]); - $1 = HEAP32[$2 + 8 >> 2]; - $3 = HEAP32[$1 + 16 >> 2]; - HEAP32[$0 + 12 >> 2] = HEAP32[$1 + 12 >> 2]; - HEAP32[$0 + 16 >> 2] = $3; - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function void_20_28__emscripten__internal__getContext_void_20_28__29_28b2AABB__2c_20b2AABB__29__28void_20_28__20const__29_28b2AABB__2c_20b2AABB__29_29_29_28b2AABB__2c_20b2AABB__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______recommend_5babi_v160004_5d_28unsigned_20long_29($0) { - var $1 = 0; - $1 = 10; - if ($0 >>> 0 >= 11) { - $0 = unsigned_20long_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______align_it_5babi_v160004_5d_16ul__28unsigned_20long_29($0 + 1 | 0); - $1 = $0; - $0 = $0 - 1 | 0; - $1 = ($0 | 0) == 11 ? $1 : $0; - } - return $1; -} - -function emscripten__internal__remove_class_decltype_28_embind_init_b2_28_29__$_8__operator_28_29_29___type__20emscripten__optional_override_embind_init_b2_28_29__$_8__28embind_init_b2_28_29__$_8_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = embind_init_b2_28_29__$_8__operator_20b2Body__20_28__29_28b2JointDef__29_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__remove_class_decltype_28_embind_init_b2_28_29__$_6__operator_28_29_29___type__20emscripten__optional_override_embind_init_b2_28_29__$_6__28embind_init_b2_28_29__$_6_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = embind_init_b2_28_29__$_6__operator_20b2Body__20_28__29_28b2JointDef__29_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint__2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint__2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint__2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint__2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint__2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint__2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__BindingType_b2Vec2___2c_20void___fromWireType_28b2Vec2__29($0, $1) { - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $3 = emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29(HEAP32[$2 + 12 >> 2]); - $1 = HEAP32[$3 >> 2]; - $4 = HEAP32[$3 + 4 >> 2]; - $3 = $1; - $1 = $0; - HEAP32[$1 >> 2] = $3; - HEAP32[$1 + 4 >> 2] = $4; - __stack_pointer = $2 + 16 | 0; -} - -function b2PulleyJoint__GetReactionForce_28float_29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAPF32[$3 + 8 >> 2] = $2; - $1 = HEAP32[$3 + 12 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($3, HEAPF32[$1 + 116 >> 2], $1 + 136 | 0); - operator__28float_2c_20b2Vec2_20const__29($0, HEAPF32[$3 + 8 >> 2], $3); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint__2c_20bool___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint__2c_20bool____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint__2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint__2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint__2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint__2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2BodyType___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2BodyType____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2JointType_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2JointType_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Contact__ResetRestitution_28_29($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - wasm2js_i32$0 = $0, wasm2js_f32$0 = b2MixRestitution_28float_2c_20float_29(HEAPF32[HEAP32[$0 + 48 >> 2] + 20 >> 2], HEAPF32[HEAP32[$0 + 52 >> 2] + 20 >> 2]), - HEAPF32[wasm2js_i32$0 + 140 >> 2] = wasm2js_f32$0; - __stack_pointer = $1 + 16 | 0; -} - -function emscripten__enum__b2Shape__Type___value_28char_20const__2c_20b2Shape__Type_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - _embind_register_enum_value(emscripten__internal__TypeID_b2Shape__Type_2c_20void___get_28_29() | 0, HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; - return $0; -} - -function b2GearJoint__GetReactionForce_28float_29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAPF32[$3 + 8 >> 2] = $2; - $1 = HEAP32[$3 + 12 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($3, HEAPF32[$1 + 156 >> 2], $1 + 240 | 0); - operator__28float_2c_20b2Vec2_20const__29($0, HEAPF32[$3 + 8 >> 2], $3); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2DynamicTree__ClearMoved_28int_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (!(HEAP32[$2 + 8 >> 2] < HEAP32[$0 + 12 >> 2] & HEAP32[$2 + 8 >> 2] >= 0)) { - __assert_fail(1389, 7594, 179, 10400); - wasm2js_trap(); - } - HEAP8[(HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 40) | 0) + 36 | 0] = 0; - __stack_pointer = $2 + 16 | 0; -} - -function __cxxabiv1____class_type_info__has_unambiguous_public_base_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 + 8 >> 2], 0)) { - __cxxabiv1____class_type_info__process_found_base_class_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const($1, $1, $2, $3); - } -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2BodyType_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2BodyType_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2__operator___5babi_v160004_5d_28std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20const__2c_20std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return HEAP32[HEAP32[$2 + 12 >> 2] >> 2] == HEAP32[HEAP32[$2 + 8 >> 2] >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20int_2c_20float_2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20int_2c_20float_2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Contact__ResetFriction_28_29($0) { - var $1 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - wasm2js_i32$0 = $0, wasm2js_f32$0 = b2MixFriction_28float_2c_20float_29(HEAPF32[HEAP32[$0 + 48 >> 2] + 16 >> 2], HEAPF32[HEAP32[$0 + 52 >> 2] + 16 >> 2]), - HEAPF32[wasm2js_i32$0 + 136 >> 2] = wasm2js_f32$0; - __stack_pointer = $1 + 16 | 0; -} - -function unsigned_20int_20_28__emscripten__internal__getContext_unsigned_20int_20_28__29_28b2Body__29__28unsigned_20int_20_28__20const__29_28b2Body__29_29_29_28b2Body__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function std____2____compressed_pair_elem_std____2____tree_node_b2Fixture__2c_20void____2c_200_2c_20false_____compressed_pair_elem_5babi_v160004_5d_std____2____tree_node_b2Fixture__2c_20void_____2c_20void__28std____2____tree_node_b2Fixture__2c_20void_____29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[HEAP32[$2 + 8 >> 2] >> 2]; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Vec2_2c_20b2Transform_20const__2c_20b2Vec2_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_2c_20b2Transform_20const__2c_20b2Vec2_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20bool___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20bool____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2World_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2World_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__enum__b2BodyType___value_28char_20const__2c_20b2BodyType_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - _embind_register_enum_value(emscripten__internal__TypeID_b2BodyType_2c_20void___get_28_29() | 0, HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; - return $0; -} - -function emscripten__class__b2RayCastCallback_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2RayCastCallback_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2RayCastCallbackWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2RayCastCallbackWrapper__29__operator_20void_20_28__29_28b2RayCastCallbackWrapper__29_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 488; -} - -function emscripten__class__b2ContactListener_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2ContactListener_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2ContactListenerWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2ContactListenerWrapper__29__operator_20void_20_28__29_28b2ContactListenerWrapper__29_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 496; -} - -function b2Sweep__Normalize_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAPF32[$1 + 8 >> 2] = 6.2831854820251465; - HEAPF32[$1 + 4 >> 2] = HEAPF32[$1 + 8 >> 2] * Math_fround(Math_floor(Math_fround(HEAPF32[$0 + 24 >> 2] / HEAPF32[$1 + 8 >> 2]))); - HEAPF32[$0 + 24 >> 2] = HEAPF32[$0 + 24 >> 2] - HEAPF32[$1 + 4 >> 2]; - HEAPF32[$0 + 28 >> 2] = HEAPF32[$0 + 28 >> 2] - HEAPF32[$1 + 4 >> 2]; -} - -function b2DynamicTree__GetFatAABB_28int_29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (!(HEAP32[$2 + 8 >> 2] < HEAP32[$0 + 12 >> 2] & HEAP32[$2 + 8 >> 2] >= 0)) { - __assert_fail(1389, 7594, 185, 11371); - wasm2js_trap(); - } - __stack_pointer = $2 + 16 | 0; - return HEAP32[$0 + 4 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 40) | 0; -} - -function b2WorldManifold__b2WorldManifold_28_29($0) { - var $1 = 0, $2 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - $0 = HEAP32[$1 + 8 >> 2]; - HEAP32[$1 + 12 >> 2] = $0; - b2Vec2__b2Vec2_28_29($0); - $0 = $0 + 8 | 0; - $2 = $0 + 16 | 0; - while (1) { - b2Vec2__b2Vec2_28_29($0); - $0 = $0 + 8 | 0; - if (($2 | 0) != ($0 | 0)) { - continue; - } - break; - } - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2StackAllocator___b2StackAllocator_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - $0 = HEAP32[$1 + 8 >> 2]; - HEAP32[$1 + 12 >> 2] = $0; - if (HEAP32[$0 + 102400 >> 2]) { - __assert_fail(12558, 5575, 36, 3954); - wasm2js_trap(); - } - if (HEAP32[$0 + 102796 >> 2]) { - __assert_fail(12589, 5575, 37, 3954); - wasm2js_trap(); - } - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20bool___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20bool____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2PolygonAndCircleContact__Destroy_28b2Contact__2c_20b2BlockAllocator__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0) | 0; - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2], 148); - __stack_pointer = $2 + 16 | 0; -} - -function std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_____capacity_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0, $2 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - $2 = HEAP32[std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_______end_cap_5babi_v160004_5d_28_29_20const($0) >> 2]; - __stack_pointer = $1 + 16 | 0; - return $2 - HEAP32[$0 >> 2] >> 3; -} - -function emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0, $4 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $3 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $0 = HEAP32[$2 >> 2]; - $4 = HEAP32[$2 + 4 >> 2]; - $2 = $0; - $0 = $3; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $4; - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2ChainAndPolygonContact__Destroy_28b2Contact__2c_20b2BlockAllocator__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0) | 0; - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2], 148); - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2World_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2World_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2EdgeAndPolygonContact__Destroy_28b2Contact__2c_20b2BlockAllocator__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0) | 0; - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2], 148); - __stack_pointer = $2 + 16 | 0; -} - -function b2ChainAndCircleContact__Destroy_28b2Contact__2c_20b2BlockAllocator__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0) | 0; - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2], 148); - __stack_pointer = $2 + 16 | 0; -} - -function operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - b2Vec2__b2Vec2_28float_2c_20float_29($0, Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] >> 2] + HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]), Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 4 >> 2] + HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__GenericBindingType_b2Rot___toWireType_28b2Rot_20const__29($0) { - var $1 = 0, $2 = 0, $3 = 0, $4 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $3 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $0 = HEAP32[$2 >> 2]; - $4 = HEAP32[$2 + 4 >> 2]; - $2 = $0; - $0 = $3; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $4; - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2EdgeAndCircleContact__Destroy_28b2Contact__2c_20b2BlockAllocator__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0) | 0; - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2], 148); - __stack_pointer = $2 + 16 | 0; -} - -function void_20_28__emscripten__internal__getContext_void_20_28__29_28b2DrawWrapper__29__28void_20_28__20const__29_28b2DrawWrapper__29_29_29_28b2DrawWrapper__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Fixture__GetAABB_28int_29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (!(HEAP32[$2 + 8 >> 2] < HEAP32[$0 + 28 >> 2] & HEAP32[$2 + 8 >> 2] >= 0)) { - __assert_fail(2185, 7532, 346, 11363); - wasm2js_trap(); - } - __stack_pointer = $2 + 16 | 0; - return HEAP32[$0 + 24 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 28) | 0; -} - -function b2Body__GetInertia_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0, $2 = Math_fround(0), $3 = Math_fround(0); - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - $2 = HEAPF32[$0 + 124 >> 2]; - $3 = Math_fround(HEAPF32[$0 + 116 >> 2] * b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($0 + 28 | 0, $0 + 28 | 0)); - __stack_pointer = $1 + 16 | 0; - return Math_fround(Math_fround($3 + $2)); -} - -function b2Body__20_28__emscripten__internal__getContext_b2Body__20_28__29_28b2JointDef__29__28b2Body__20_28__20const__29_28b2JointDef__29_29_29_28b2JointDef__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - b2Vec2__b2Vec2_28float_2c_20float_29($0, Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] >> 2] - HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]), Math_fround(HEAPF32[HEAP32[$3 + 12 >> 2] + 4 >> 2] - HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function b2DistanceProxy__GetVertex_28int_29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (!(HEAP32[$2 + 8 >> 2] < HEAP32[$0 + 20 >> 2] & HEAP32[$2 + 8 >> 2] >= 0)) { - __assert_fail(2155, 7668, 131, 1811); - wasm2js_trap(); - } - __stack_pointer = $2 + 16 | 0; - return HEAP32[$0 + 16 >> 2] + (HEAP32[$2 + 8 >> 2] << 3) | 0; -} - -function std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______root_ptr_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______end_node_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2__allocator_b2Vec2___deallocate_5babi_v160004_5d_28b2Vec2__2c_20unsigned_20long_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - std____2____libcpp_deallocate_5babi_v160004_5d_28void__2c_20unsigned_20long_2c_20unsigned_20long_29(HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2] << 3, 4); - __stack_pointer = $3 + 16 | 0; -} - -function std____2____tree_const_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long_____tree_const_iterator_5babi_v160004_5d_28std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $1; - HEAP32[$2 + 8 >> 2] = $0; - $0 = HEAP32[$2 + 8 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$2 + 12 >> 2]; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__GenericBindingType_b2Vec2___toWireType_28b2Vec2___29($0) { - var $1 = 0, $2 = 0, $3 = 0, $4 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $3 = operator_20new_28unsigned_20long_29(8); - $2 = HEAP32[$1 + 12 >> 2]; - $0 = HEAP32[$2 >> 2]; - $4 = HEAP32[$2 + 4 >> 2]; - $2 = $0; - $0 = $3; - HEAP32[$0 >> 2] = $2; - HEAP32[$0 + 4 >> 2] = $4; - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__class__b2QueryCallback_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2QueryCallback_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2QueryCallbackWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2QueryCallbackWrapper__29__operator_20void_20_28__29_28b2QueryCallbackWrapper__29_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 483; -} - -function b2QueryCallbackWrapper__ReportFixture_28unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = bool_20emscripten__wrapper_b2QueryCallback___call_bool_2c_20unsigned_20int___28char_20const__2c_20unsigned_20int__29_20const(HEAP32[$2 + 12 >> 2], 9411, $2 + 8 | 0); - __stack_pointer = $2 + 16 | 0; - return $0 & 1; -} - -function b2PolygonContact__Destroy_28b2Contact__2c_20b2BlockAllocator__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0) | 0; - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2], 148); - __stack_pointer = $2 + 16 | 0; -} - -function std____2____libcpp_deallocate_5babi_v160004_5d_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - void_20std____2____do_deallocate_handle_size_5babi_v160004_5d___28void__2c_20unsigned_20long_29(HEAP32[$3 + 12 >> 2], HEAP32[$3 + 8 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20b2Filter_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20b2Filter_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_unsigned_20int_2c_20b2Body____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_unsigned_20int_2c_20emscripten__internal__AllowedRawPointer_b2Body_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Vec2_20b2PrismaticJointDef_____20emscripten__internal__getContext_b2Vec2_20b2PrismaticJointDef_____28b2Vec2_20b2PrismaticJointDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2CircleContact__Destroy_28b2Contact__2c_20b2BlockAllocator__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0) | 0; - b2BlockAllocator__Free_28void__2c_20int_29(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2], 148); - __stack_pointer = $2 + 16 | 0; -} - -function __cxxabiv1____base_class_type_info__search_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_2c_20bool_29_20const($0, $1, $2, $3, $4) { - var $5 = 0, $6 = 0; - $5 = HEAP32[$0 + 4 >> 2]; - $6 = $5 >> 8; - if ($5 & 1) { - $6 = update_offset_to_base_28char_20const__2c_20long_29(HEAP32[$2 >> 2], $6); - } - $0 = HEAP32[$0 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0, $1, $2 + $6 | 0, $5 & 2 ? $3 : 2, $4); -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____c_str_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____data_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function PolygonShapeSetAsBox_28unsigned_20int_2c_20float_2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = Math_fround($1); - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAPF32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - b2PolygonShape__SetAsBox_28float_2c_20float_29(HEAP32[$3 + 12 >> 2], HEAPF32[$3 + 8 >> 2], HEAPF32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20float_2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20float_2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function unsigned_20short_20b2Filter_____20emscripten__internal__getContext_unsigned_20short_20b2Filter_____28unsigned_20short_20b2Filter____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function std____2____split_buffer_int_2c_20std____2__allocator_int_____capacity_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0, $2 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - $2 = HEAP32[std____2____split_buffer_int_2c_20std____2__allocator_int_______end_cap_5babi_v160004_5d_28_29_20const($0) >> 2]; - __stack_pointer = $1 + 16 | 0; - return $2 - HEAP32[$0 >> 2] >> 2; -} - -function float_20b2PrismaticJointDef_____20emscripten__internal__getContext_float_20b2PrismaticJointDef_____28float_20b2PrismaticJointDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Vec2_20b2RevoluteJointDef_____20emscripten__internal__getContext_b2Vec2_20b2RevoluteJointDef_____28b2Vec2_20b2RevoluteJointDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Vec2_20b2DistanceJointDef_____20emscripten__internal__getContext_b2Vec2_20b2DistanceJointDef_____28b2Vec2_20b2DistanceJointDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function std____2__allocator_int___deallocate_5babi_v160004_5d_28int__2c_20unsigned_20long_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - std____2____libcpp_deallocate_5babi_v160004_5d_28void__2c_20unsigned_20long_2c_20unsigned_20long_29(HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2] << 2, 4); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_bool_2c_20unsigned_20int_2c_20b2Vec2_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20unsigned_20int_2c_20b2Vec2_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20std____2__allocator_traits_std____2__allocator_b2Vec2____destroy_5babi_v160004_5d_b2Vec2_2c_20void__28std____2__allocator_b2Vec2___2c_20b2Vec2__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - std____2__allocator_b2Vec2___destroy_5babi_v160004_5d_28b2Vec2__29(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function void_20std____2__allocator_b2Vec2___construct_5babi_v160004_5d_b2Vec2_2c_20b2Vec2_20const___28b2Vec2__2c_20b2Vec2_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $1 = HEAP32[$3 + 4 >> 2]; - $0 = HEAP32[$1 >> 2]; - $2 = HEAP32[$1 + 4 >> 2]; - $1 = $0; - $0 = HEAP32[$3 + 8 >> 2]; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; -} - -function float_20b2RevoluteJointDef_____20emscripten__internal__getContext_float_20b2RevoluteJointDef_____28float_20b2RevoluteJointDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function float_20b2DistanceJointDef_____20emscripten__internal__getContext_float_20b2DistanceJointDef_____28float_20b2DistanceJointDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Vec2_20const__2c_20unsigned_20int_2c_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_20const__2c_20unsigned_20int_2c_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2AABB_20const__2c_20unsigned_20int_2c_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2AABB_20const__2c_20unsigned_20int_2c_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Color_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Color_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function embind_init_b2_28_29__$_1__operator_28_29_28b2AABB__2c_20b2AABB__2c_20b2AABB__29_20const($0, $1, $2, $3) { - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - __stack_pointer = $4; - HEAP32[$4 + 12 >> 2] = $0; - HEAP32[$4 + 8 >> 2] = $1; - HEAP32[$4 + 4 >> 2] = $2; - HEAP32[$4 >> 2] = $3; - b2AABB__Combine_28b2AABB_20const__2c_20b2AABB_20const__29(HEAP32[$4 + 8 >> 2], HEAP32[$4 + 4 >> 2], HEAP32[$4 >> 2]); - __stack_pointer = $4 + 16 | 0; -} - -function bool_20b2PrismaticJointDef_____20emscripten__internal__getContext_bool_20b2PrismaticJointDef_____28bool_20b2PrismaticJointDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Joint____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Joint_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Fixture__SetDensity_28float_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if (!(b2IsValid_28float_29(HEAPF32[$2 + 8 >> 2]) & 1 & HEAPF32[$2 + 8 >> 2] >= Math_fround(0))) { - __assert_fail(8355, 7532, 300, 1130); - wasm2js_trap(); - } - HEAPF32[$0 >> 2] = HEAPF32[$2 + 8 >> 2]; - __stack_pointer = $2 + 16 | 0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____capacity_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0, $2 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - $2 = HEAP32[std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______end_cap_5babi_v160004_5d_28_29_20const($0) >> 2]; - __stack_pointer = $1 + 16 | 0; - return $2 - HEAP32[$0 >> 2] >> 3; -} - -function float_20b2Clamp_float__28float_2c_20float_2c_20float_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAPF32[$3 + 12 >> 2] = $0; - HEAPF32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $0 = float_20b2Max_float__28float_2c_20float_29(HEAPF32[$3 + 8 >> 2], float_20b2Min_float__28float_2c_20float_29(HEAPF32[$3 + 12 >> 2], HEAPF32[$3 + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; - return $0; -} - -function bool_20b2RevoluteJointDef_____20emscripten__internal__getContext_bool_20b2RevoluteJointDef_____28bool_20b2RevoluteJointDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2World__2c_20b2Vec2_____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2World__2c_20b2Vec2______get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int__2c_20int__2c_20b2Color_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int__2c_20int__2c_20b2Color_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function unsigned_20long_20std____2__allocator_traits_std____2__allocator_b2Vec2____max_size_5babi_v160004_5d_std____2__allocator_b2Vec2__2c_20void__28std____2__allocator_b2Vec2__20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2__allocator_b2Vec2___max_size_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____allocator_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____tree_node_b2Fixture__2c_20void________non_trivial_if_5babi_v160004_5d_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Vec2_20b2WheelJointDef_____20emscripten__internal__getContext_b2Vec2_20b2WheelJointDef_____28b2Vec2_20b2WheelJointDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Vec2_20b2RayCastOutput_____20emscripten__internal__getContext_b2Vec2_20b2RayCastOutput_____28b2Vec2_20b2RayCastOutput____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Vec2_20b2MouseJointDef_____20emscripten__internal__getContext_b2Vec2_20b2MouseJointDef_____28b2Vec2_20b2MouseJointDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Vec2_20b2MotorJointDef_____20emscripten__internal__getContext_b2Vec2_20b2MotorJointDef_____28b2Vec2_20b2MotorJointDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2PulleyJoint__ShiftOrigin_28b2Vec2_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - b2Vec2__operator___28b2Vec2_20const__29_1($0 + 68 | 0, HEAP32[$2 + 8 >> 2]); - b2Vec2__operator___28b2Vec2_20const__29_1($0 + 76 | 0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function b2JointType_20b2JointDef_____20emscripten__internal__getContext_b2JointType_20b2JointDef_____28b2JointType_20b2JointDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2DrawWrapper__DrawTransform_28b2Transform_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - void_20emscripten__wrapper_b2Draw___call_void_2c_20b2Transform_20const___28char_20const__2c_20b2Transform_20const__29_20const(HEAP32[$2 + 12 >> 2], 7093, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____value_comp_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_unsigned_20long_2c_20std____2__less_b2Fixture_____second_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2] + 8 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Vec3__operator___28b2Vec3_20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAPF32[$0 >> 2] = HEAPF32[$0 >> 2] + HEAPF32[HEAP32[$2 + 8 >> 2] >> 2]; - HEAPF32[$0 + 4 >> 2] = HEAPF32[$0 + 4 >> 2] + HEAPF32[HEAP32[$2 + 8 >> 2] + 4 >> 2]; - HEAPF32[$0 + 8 >> 2] = HEAPF32[$0 + 8 >> 2] + HEAPF32[HEAP32[$2 + 8 >> 2] + 8 >> 2]; -} - -function b2GrowableStack_int_2c_20256___Pop_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if (HEAP32[$0 + 1028 >> 2] <= 0) { - __assert_fail(12433, 7390, 72, 6313); - wasm2js_trap(); - } - HEAP32[$0 + 1028 >> 2] = HEAP32[$0 + 1028 >> 2] - 1; - __stack_pointer = $1 + 16 | 0; - return HEAP32[HEAP32[$0 >> 2] + (HEAP32[$0 + 1028 >> 2] << 2) >> 2]; -} - -function b2Fixture__b2Fixture_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Filter__b2Filter_28_29($0 + 32 | 0); - HEAP32[$0 + 40 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 24 >> 2] = 0; - HEAP32[$0 + 28 >> 2] = 0; - HEAP32[$0 + 12 >> 2] = 0; - HEAPF32[$0 >> 2] = 0; - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2DistanceJoint__GetReactionForce_28float_29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAPF32[$3 + 8 >> 2] = $2; - $1 = HEAP32[$3 + 12 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($0, Math_fround(HEAPF32[$3 + 8 >> 2] * HEAPF32[$1 + 100 >> 2]), $1 + 116 | 0); - __stack_pointer = $3 + 16 | 0; -} - -function Vec2VectorPush_28unsigned_20int_2c_20float_2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = Math_fround($1); - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAPF32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - Vec2VectorCC__push_28float_2c_20float_29(HEAP32[$3 + 12 >> 2], HEAPF32[$3 + 8 >> 2], HEAPF32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2PrismaticJointDef____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2PrismaticJointDef_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WireTypePack_b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const____operator_20void_20const__28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2__array_emscripten__internal__GenericWireType_2c_204ul___data_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2DrawWrapper__20emscripten__internal__wrapped_new_b2DrawWrapper__2c_20b2DrawWrapper_2c_20emscripten__val__28emscripten__val___29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(16); - b2DrawWrapper__b2DrawWrapper___28emscripten__val___29($0, HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function float_20b2WheelJointDef_____20emscripten__internal__getContext_float_20b2WheelJointDef_____28float_20b2WheelJointDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function float_20b2RayCastOutput_____20emscripten__internal__getContext_float_20b2RayCastOutput_____28float_20b2RayCastOutput____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function float_20b2MouseJointDef_____20emscripten__internal__getContext_float_20b2MouseJointDef_____28float_20b2MouseJointDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function float_20b2MotorJointDef_____20emscripten__internal__getContext_float_20b2MotorJointDef_____28float_20b2MotorJointDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__WireTypePack_unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float____operator_20void_20const__28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2__array_emscripten__internal__GenericWireType_2c_204ul___data_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Vec2_20b2WeldJointDef_____20emscripten__internal__getContext_b2Vec2_20b2WeldJointDef_____28b2Vec2_20b2WeldJointDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Vec2_20b2RopeJointDef_____20emscripten__internal__getContext_b2Vec2_20b2RopeJointDef_____28b2Vec2_20b2RopeJointDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Vec2_20b2RayCastInput_____20emscripten__internal__getContext_b2Vec2_20b2RayCastInput_____28b2Vec2_20b2RayCastInput____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2MotorJoint__GetAnchorB_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $3 = b2Body__GetPosition_28_29_20const(HEAP32[HEAP32[$2 + 12 >> 2] + 52 >> 2]); - $1 = HEAP32[$3 >> 2]; - $4 = HEAP32[$3 + 4 >> 2]; - $3 = $1; - $1 = $0; - HEAP32[$1 >> 2] = $3; - HEAP32[$1 + 4 >> 2] = $4; - __stack_pointer = $2 + 16 | 0; -} - -function b2MotorJoint__GetAnchorA_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0, $4 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $3 = b2Body__GetPosition_28_29_20const(HEAP32[HEAP32[$2 + 12 >> 2] + 48 >> 2]); - $1 = HEAP32[$3 >> 2]; - $4 = HEAP32[$3 + 4 >> 2]; - $3 = $1; - $1 = $0; - HEAP32[$1 >> 2] = $3; - HEAP32[$1 + 4 >> 2] = $4; - __stack_pointer = $2 + 16 | 0; -} - -function b2DistanceSquared_28b2Vec2_20const__2c_20b2Vec2_20const__29($0, $1) { - var $2 = 0, $3 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2, HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - $3 = b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($2, $2); - __stack_pointer = $2 + 16 | 0; - return $3; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2RevoluteJointDef____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2RevoluteJointDef_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2DistanceJointDef____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2DistanceJointDef_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__Invoker_b2PrismaticJointDef____invoke_28b2PrismaticJointDef__20_28__29_28_29_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__BindingType_b2PrismaticJointDef__2c_20void___toWireType_28b2PrismaticJointDef__29(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]() | 0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function void_20const__20emscripten__internal__getActualType_b2RayCastCallbackWrapper__28b2RayCastCallbackWrapper__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2RayCastCallbackWrapper__28b2RayCastCallbackWrapper_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function void_20const__20emscripten__internal__getActualType_b2ContactListenerWrapper__28b2ContactListenerWrapper__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2ContactListenerWrapper__28b2ContactListenerWrapper_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2FixtureDef__b2FixtureDef_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Filter__b2Filter_28_29($0 + 22 | 0); - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAPF32[$0 + 8 >> 2] = .20000000298023224; - HEAPF32[$0 + 12 >> 2] = 0; - HEAPF32[$0 + 16 >> 2] = 0; - HEAP8[$0 + 20 | 0] = 0; - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_short_pointer_5babi_v160004_5d_28_29($0) { - return std____2__pointer_traits_char____pointer_to_5babi_v160004_5d_28char__29(std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_5babi_v160004_5d_28_29($0)); -} - -function pad($0, $1, $2, $3, $4) { - var $5 = 0; - $5 = __stack_pointer - 256 | 0; - __stack_pointer = $5; - if (!($4 & 73728 | ($2 | 0) <= ($3 | 0))) { - $3 = $2 - $3 | 0; - $2 = $3 >>> 0 < 256; - __memset($5, $1 & 255, $2 ? $3 : 256); - if (!$2) { - while (1) { - out($0, $5, 256); - $3 = $3 - 256 | 0; - if ($3 >>> 0 > 255) { - continue; - } - break; - } - } - out($0, $5, $3); - } - __stack_pointer = $5 + 256 | 0; -} - -function float_20b2WeldJointDef_____20emscripten__internal__getContext_float_20b2WeldJointDef_____28float_20b2WeldJointDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function float_20b2RopeJointDef_____20emscripten__internal__getContext_float_20b2RopeJointDef_____28float_20b2RopeJointDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function float_20b2RayCastInput_____20emscripten__internal__getContext_float_20b2RayCastInput_____28float_20b2RayCastInput____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function bool_20b2WheelJointDef_____20emscripten__internal__getContext_bool_20b2WheelJointDef_____28bool_20b2WheelJointDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2RopeJoint__GetReactionForce_28float_29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAPF32[$3 + 8 >> 2] = $2; - $1 = HEAP32[$3 + 12 >> 2]; - operator__28float_2c_20b2Vec2_20const__29($0, Math_fround(HEAPF32[$3 + 8 >> 2] * HEAPF32[$1 + 92 >> 2]), $1 + 104 | 0); - __stack_pointer = $3 + 16 | 0; -} - -function b2BodyType_20b2BodyDef_____20emscripten__internal__getContext_b2BodyType_20b2BodyDef_____28b2BodyType_20b2BodyDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2AABB__GetPerimeter_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0, $2 = Math_fround(0); - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAPF32[$1 + 8 >> 2] = HEAPF32[$0 + 8 >> 2] - HEAPF32[$0 >> 2]; - HEAPF32[$1 + 4 >> 2] = HEAPF32[$0 + 12 >> 2] - HEAPF32[$0 + 4 >> 2]; - $2 = Math_fround(HEAPF32[$1 + 8 >> 2] + HEAPF32[$1 + 4 >> 2]); - return Math_fround(Math_fround($2 + $2)); -} - -function PolygonShapeSet_28unsigned_20int_2c_20unsigned_20int_2c_20int_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - b2PolygonShape__Set_28b2Vec2_20const__2c_20int_29(HEAP32[$3 + 12 >> 2], HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function std____2__set_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture______set_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture________tree_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_____size_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_unsigned_20long_2c_20std____2__less_b2Fixture_____first_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2] + 8 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Filter_20const__2c_20unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Filter_20const__2c_20unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__Invoker_b2RevoluteJointDef____invoke_28b2RevoluteJointDef__20_28__29_28_29_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__BindingType_b2RevoluteJointDef__2c_20void___toWireType_28b2RevoluteJointDef__29(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]() | 0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__Invoker_b2DistanceJointDef____invoke_28b2DistanceJointDef__20_28__29_28_29_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__BindingType_b2DistanceJointDef__2c_20void___toWireType_28b2DistanceJointDef__29(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]() | 0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function std____2__vector_int_2c_20std____2__allocator_int____capacity_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0, $2 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - $2 = HEAP32[std____2__vector_int_2c_20std____2__allocator_int______end_cap_5babi_v160004_5d_28_29_20const($0) >> 2]; - __stack_pointer = $1 + 16 | 0; - return $2 - HEAP32[$0 >> 2] >> 2; -} - -function void_20std____2__allocator_b2Vec2___construct_5babi_v160004_5d_b2Vec2_2c_20b2Vec2__28b2Vec2__2c_20b2Vec2___29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - $1 = HEAP32[$3 + 4 >> 2]; - $0 = HEAP32[$1 >> 2]; - $2 = HEAP32[$1 + 4 >> 2]; - $1 = $0; - $0 = HEAP32[$3 + 8 >> 2]; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $2; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2WheelJointDef____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2WheelJointDef_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2MouseJointDef____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2MouseJointDef_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2MotorJointDef____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2MotorJointDef_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Cross_28float_2c_20b2Vec2_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAPF32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - b2Vec2__b2Vec2_28float_2c_20float_29($0, Math_fround(Math_fround(-HEAPF32[$3 + 12 >> 2]) * HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2]), Math_fround(HEAPF32[$3 + 12 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function b2Cross_28b2Vec2_20const__2c_20float_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAPF32[$3 + 8 >> 2] = $2; - b2Vec2__b2Vec2_28float_2c_20float_29($0, Math_fround(HEAPF32[$3 + 8 >> 2] * HEAPF32[HEAP32[$3 + 12 >> 2] + 4 >> 2]), Math_fround(Math_fround(-HEAPF32[$3 + 8 >> 2]) * HEAPF32[HEAP32[$3 + 12 >> 2] >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function unsigned_20long_20std____2__allocator_traits_std____2__allocator_int____max_size_5babi_v160004_5d_std____2__allocator_int__2c_20void__28std____2__allocator_int__20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2__allocator_int___max_size_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20std____2__allocator_traits_std____2__allocator_int____destroy_5babi_v160004_5d_int_2c_20void__28std____2__allocator_int___2c_20int__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - std____2__allocator_int___destroy_5babi_v160004_5d_28int__29(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function getint($0) { - var $1 = 0, $2 = 0, $3 = 0; - if (!isdigit(HEAP8[HEAP32[$0 >> 2]])) { - return 0; - } - while (1) { - $3 = HEAP32[$0 >> 2]; - $1 = -1; - if ($2 >>> 0 <= 214748364) { - $1 = HEAP8[$3 | 0] - 48 | 0; - $2 = Math_imul($2, 10); - $1 = ($2 ^ 2147483647) < ($1 | 0) ? -1 : $1 + $2 | 0; - } - HEAP32[$0 >> 2] = $3 + 1; - $2 = $1; - if (isdigit(HEAP8[$3 + 1 | 0])) { - continue; - } - break; - } - return $1; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2WeldJointDef____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2WeldJointDef_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Vec2_20const__2c_20unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_20const__2c_20unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2RopeJointDef____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2RopeJointDef_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Vec2_20b2Transform_____20emscripten__internal__getContext_b2Vec2_20b2Transform_____28b2Vec2_20b2Transform____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function void_20const__20emscripten__internal__getActualType_b2QueryCallbackWrapper__28b2QueryCallbackWrapper__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2QueryCallbackWrapper__28b2QueryCallbackWrapper_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function embind_init_b2_28_29__$_2____invoke_28b2Body__2c_20b2MassData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - embind_init_b2_28_29__$_2__operator_28_29_28b2Body__2c_20b2MassData_20const__29_20const($2 + 7 | 0, HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20bool___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20bool____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_unsigned_20int_2c_20unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_unsigned_20int_2c_20unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_float_2c_20unsigned_20int_2c_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20unsigned_20int_2c_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WireTypePack_b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const____operator_20void_20const__28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2__array_emscripten__internal__GenericWireType_2c_203ul___data_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__InitFunc__InitFunc_28void_20_28__29_28_29_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$2 + 8 >> 2]; - HEAP32[$0 + 4 >> 2] = 0; - FUNCTION_TABLE[HEAP32[$2 + 8 >> 2]](); - _embind_register_bindings($0); - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function b2Vec2_20b2MassData_____20emscripten__internal__getContext_b2Vec2_20b2MassData_____28b2Vec2_20b2MassData____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Rot_20b2Transform_____20emscripten__internal__getContext_b2Rot_20b2Transform_____28b2Rot_20b2Transform____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2RevoluteJoint__GetJointAngle_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[$1 + 8 >> 2] = HEAP32[$0 + 48 >> 2]; - HEAP32[$1 + 4 >> 2] = HEAP32[$0 + 52 >> 2]; - return Math_fround(Math_fround(Math_fround(HEAPF32[HEAP32[$1 + 4 >> 2] + 56 >> 2] - HEAPF32[HEAP32[$1 + 8 >> 2] + 56 >> 2]) - HEAPF32[$0 + 116 >> 2])); -} - -function float_20b2MassData_____20emscripten__internal__getContext_float_20b2MassData_____28float_20b2MassData____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Vec2_20b2BodyDef_____20emscripten__internal__getContext_b2Vec2_20b2BodyDef_____28b2Vec2_20b2BodyDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2RayCastCallbackWrapper__b2RayCastCallbackWrapper___28emscripten__val___29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - emscripten__wrapper_b2RayCastCallback___wrapper___28emscripten__val___29($0, HEAP32[$2 + 8 >> 2]); - HEAP32[$0 >> 2] = 26284; - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function std____2____tree_node_base_void____20std____2____tree_min_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - while (1) { - if (HEAP32[HEAP32[$1 + 12 >> 2] >> 2]) { - HEAP32[$1 + 12 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - continue; - } - break; - } - return HEAP32[$1 + 12 >> 2]; -} - -function b2BroadPhase__DestroyProxy_28int_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - b2BroadPhase__UnBufferMove_28int_29($0, HEAP32[$2 + 8 >> 2]); - HEAP32[$0 + 28 >> 2] = HEAP32[$0 + 28 >> 2] - 1; - b2DynamicTree__DestroyProxy_28int_29($0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2JointDef____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2JointDef_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int__2c_20unsigned_20int____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int__2c_20unsigned_20int_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__Invoker_b2WheelJointDef____invoke_28b2WheelJointDef__20_28__29_28_29_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__BindingType_b2WheelJointDef__2c_20void___toWireType_28b2WheelJointDef__29(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]() | 0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__Invoker_b2MouseJointDef____invoke_28b2MouseJointDef__20_28__29_28_29_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__BindingType_b2MouseJointDef__2c_20void___toWireType_28b2MouseJointDef__29(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]() | 0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__Invoker_b2MotorJointDef____invoke_28b2MotorJointDef__20_28__29_28_29_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__BindingType_b2MotorJointDef__2c_20void___toWireType_28b2MotorJointDef__29(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]() | 0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function float_20b2BodyDef_____20emscripten__internal__getContext_float_20b2BodyDef_____28float_20b2BodyDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function bool_20b2JointDef_____20emscripten__internal__getContext_bool_20b2JointDef_____28bool_20b2JointDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2DistanceInput__b2DistanceInput_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2DistanceProxy__b2DistanceProxy_28_29($0); - b2DistanceProxy__b2DistanceProxy_28_29($0 + 28 | 0); - b2Transform__b2Transform_28_29($0 + 56 | 0); - b2Transform__b2Transform_28_29($0 + 72 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function operator__28float_2c_20b2Vec2_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAPF32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - b2Vec2__b2Vec2_28float_2c_20float_29($0, Math_fround(HEAPF32[$3 + 12 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] >> 2]), Math_fround(HEAPF32[$3 + 12 >> 2] * HEAPF32[HEAP32[$3 + 8 >> 2] + 4 >> 2])); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__value_object_b2RayCastOutput____value_object_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - _embind_finalize_value_object(emscripten__internal__TypeID_b2RayCastOutput_2c_20void___get_28_29() | 0); - emscripten__internal__noncopyable___noncopyable_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2BodyDef____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2BodyDef_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_____clear_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_______destruct_at_end_5babi_v160004_5d_28b2Vec2__29($0, HEAP32[$0 + 4 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_______end_cap_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_b2Vec2__2c_20std____2__allocator_b2Vec2_____first_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2] + 12 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WireTypePack_b2Vec2_20const__2c_20float__2c_20b2Color_20const____operator_20void_20const__28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2__array_emscripten__internal__GenericWireType_2c_203ul___data_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2____compressed_pair_b2Vec2__2c_20std____2__allocator_b2Vec2____second_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_std____2__allocator_b2Vec2__2c_201_2c_20true_____get_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function short_20b2Filter_____20emscripten__internal__getContext_short_20b2Filter_____28short_20b2Filter____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__value_object_b2RayCastInput____value_object_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - _embind_finalize_value_object(emscripten__internal__TypeID_b2RayCastInput_2c_20void___get_28_29() | 0); - emscripten__internal__noncopyable___noncopyable_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int_2c_20unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__Invoker_b2WeldJointDef____invoke_28b2WeldJointDef__20_28__29_28_29_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__BindingType_b2WeldJointDef__2c_20void___toWireType_28b2WeldJointDef__29(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]() | 0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__Invoker_b2RopeJointDef____invoke_28b2RopeJointDef__20_28__29_28_29_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__BindingType_b2RopeJointDef__2c_20void___toWireType_28b2RopeJointDef__29(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]() | 0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function bool_20b2BodyDef_____20emscripten__internal__getContext_bool_20b2BodyDef_____28bool_20b2BodyDef____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2QueryCallbackWrapper__b2QueryCallbackWrapper___28emscripten__val___29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - emscripten__wrapper_b2QueryCallback___wrapper___28emscripten__val___29($0, HEAP32[$2 + 8 >> 2]); - HEAP32[$0 >> 2] = 26024; - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function void_20const__20emscripten__internal__getActualType_b2PrismaticJointDef__28b2PrismaticJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2PrismaticJointDef__28b2PrismaticJointDef_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__WireTypePack_unsigned_20int__2c_20int__2c_20b2Color_20const____operator_20void_20const__28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2__array_emscripten__internal__GenericWireType_2c_203ul___data_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______annotate_contiguous_container_5babi_v160004_5d_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, $1, $2, $3, $4) { - var $5 = 0; - $5 = __stack_pointer - 32 | 0; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAP32[$5 + 12 >> 2] = $4; -} - -function emscripten__internal__WithPolicies____ArgTypeList_unsigned_20int_2c_20unsigned_20int_2c_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_unsigned_20int_2c_20unsigned_20int_2c_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function float_20b2Color_____20emscripten__internal__getContext_float_20b2Color_____28float_20b2Color____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2Vec2_20b2AABB_____20emscripten__internal__getContext_b2Vec2_20b2AABB_____28b2Vec2_20b2AABB____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function CircleShapeSetPosition_28unsigned_20int_2c_20float_2c_20float_29($0, $1, $2) { - $0 = $0 | 0; - $1 = Math_fround($1); - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - HEAP32[$3 + 12 >> 2] = $0; - HEAPF32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - HEAPF32[HEAP32[$3 + 12 >> 2] + 12 >> 2] = HEAPF32[$3 + 8 >> 2]; - HEAPF32[HEAP32[$3 + 12 >> 2] + 16 >> 2] = HEAPF32[$3 + 4 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2AABB____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2AABB_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2ContactManager__b2ContactManager_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2BroadPhase__b2BroadPhase_28_29($0); - HEAP32[$0 + 60 >> 2] = 0; - HEAP32[$0 + 64 >> 2] = 0; - HEAP32[$0 + 68 >> 2] = 29152; - HEAP32[$0 + 72 >> 2] = 29156; - HEAP32[$0 + 76 >> 2] = 0; - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20const__20emscripten__internal__getActualType_b2RevoluteJointDef__28b2RevoluteJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2RevoluteJointDef__28b2RevoluteJointDef_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function void_20const__20emscripten__internal__getActualType_b2DistanceJointDef__28b2DistanceJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2DistanceJointDef__28b2DistanceJointDef_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function std____2____compressed_pair_b2Vec2__2c_20std____2__allocator_b2Vec2_____second_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_std____2__allocator_b2Vec2___2c_201_2c_20false_____get_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2] + 4 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__BindingType_emscripten__val___2c_20void___fromWireType_28emscripten___EM_VAL__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - emscripten__internal__BindingType_emscripten__val_2c_20void___fromWireType_28emscripten___EM_VAL__29($0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function embind_init_b2_28_29__$_7____invoke_28b2JointDef__2c_20b2Body__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - embind_init_b2_28_29__$_7__operator_28_29_28b2JointDef__2c_20b2Body__29_20const($2 + 7 | 0, HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function embind_init_b2_28_29__$_5____invoke_28b2JointDef__2c_20b2Body__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - embind_init_b2_28_29__$_5__operator_28_29_28b2JointDef__2c_20b2Body__29_20const($2 + 7 | 0, HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function float_20b2Vec2_____20emscripten__internal__getContext_float_20b2Vec2_____28float_20b2Vec2____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function emscripten__value_object_b2Transform____value_object_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - _embind_finalize_value_object(emscripten__internal__TypeID_b2Transform_2c_20void___get_28_29() | 0); - emscripten__internal__noncopyable___noncopyable_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2____compressed_pair_elem_std____2__allocator_b2Vec2__2c_201_2c_20true_____compressed_pair_elem_5babi_v160004_5d_28std____2____default_init_tag_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - $0 = HEAP32[$1 + 8 >> 2]; - std____2__allocator_b2Vec2___allocator_5babi_v160004_5d_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__class__b2Draw_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2Draw_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2DrawWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2DrawWrapper__29__operator_20void_20_28__29_28b2DrawWrapper__29_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 507; -} - -function std____2__vector_int_2c_20std____2__allocator_int______annotate_contiguous_container_5babi_v160004_5d_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, $1, $2, $3, $4) { - var $5 = 0; - $5 = __stack_pointer - 32 | 0; - HEAP32[$5 + 28 >> 2] = $0; - HEAP32[$5 + 24 >> 2] = $1; - HEAP32[$5 + 20 >> 2] = $2; - HEAP32[$5 + 16 >> 2] = $3; - HEAP32[$5 + 12 >> 2] = $4; -} - -function emscripten__value_object_b2MassData____value_object_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - _embind_finalize_value_object(emscripten__internal__TypeID_b2MassData_2c_20void___get_28_29() | 0); - emscripten__internal__noncopyable___noncopyable_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_float_2c_20unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20const__20emscripten__internal__getActualType_b2RayCastCallback__28b2RayCastCallback__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2RayCastCallback__28b2RayCastCallback_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function void_20const__20emscripten__internal__getActualType_b2ContactListener__28b2ContactListener__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2ContactListener__28b2ContactListener_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function std____2__pair_char_20const__2c_20char___20std____2____copy_trivial__operator_28_29_5babi_v160004_5d_char_20const_2c_20char_2c_200__28char_20const__2c_20char_20const__2c_20char__29_20const($0, $1, $2, $3, $4) { - std____2__pair_char_20const__2c_20char___20std____2____copy_trivial_impl_5babi_v160004_5d_char_20const_2c_20char__28char_20const__2c_20char_20const__2c_20char__29($0, $2, $3, $4); -} - -function std____2____compressed_pair_int__2c_20std____2__allocator_int____second_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_std____2__allocator_int__2c_201_2c_20true_____get_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function float_20b2Rot_____20emscripten__internal__getContext_float_20b2Rot_____28float_20b2Rot____20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(4); - HEAP32[$0 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - HEAP32[$1 + 8 >> 2] = $0; - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 8 >> 2]; -} - -function b2ReferenceFace__b2ReferenceFace_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Vec2__b2Vec2_28_29($0 + 8 | 0); - b2Vec2__b2Vec2_28_29($0 + 16 | 0); - b2Vec2__b2Vec2_28_29($0 + 24 | 0); - b2Vec2__b2Vec2_28_29($0 + 32 | 0); - b2Vec2__b2Vec2_28_29($0 + 44 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Distance_28b2Vec2_20const__2c_20b2Vec2_20const__29($0, $1) { - var $2 = 0, $3 = Math_fround(0); - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2, HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - $3 = b2Vec2__Length_28_29_20const($2); - __stack_pointer = $2 + 16 | 0; - return $3; -} - -function void_20std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____construct_5babi_v160004_5d_b2Fixture__2c_20b2Fixture__20const___28b2Fixture___2c_20b2Fixture__20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - HEAP32[HEAP32[$3 + 8 >> 2] >> 2] = HEAP32[HEAP32[$3 + 4 >> 2] >> 2]; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______end_cap_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_b2Vec2__2c_20std____2__allocator_b2Vec2____first_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2] + 8 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long_____tree_iterator_5babi_v160004_5d_28std____2____tree_end_node_std____2____tree_node_base_void______29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$2 + 8 >> 2]; - return $0; -} - -function std____2____compressed_pair_unsigned_20long_2c_20std____2__less_b2Fixture_____second_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_std____2__less_b2Fixture___2c_201_2c_20true_____get_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_5babi_v160004_5d_28_29($0) { - return std____2____compressed_pair_elem_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_200_2c_20false_____get_5babi_v160004_5d_28_29($0); -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_bool_2c_20unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______alloc_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_b2Vec2__2c_20std____2__allocator_b2Vec2____second_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2] + 8 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2____split_buffer_int_2c_20std____2__allocator_int_______end_cap_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_int__2c_20std____2__allocator_int_____first_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2] + 12 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2____compressed_pair_elem_std____2__allocator_char__2c_201_2c_20true_____compressed_pair_elem_5babi_v160004_5d_28std____2____default_init_tag_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - $0 = HEAP32[$1 + 8 >> 2]; - std____2__allocator_char___allocator_5babi_v160004_5d_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2CircleShape__b2CircleShape_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Shape__b2Shape_28_29($0); - HEAP32[$0 >> 2] = 18268; - b2Vec2__b2Vec2_28_29($0 + 12 | 0); - HEAP32[$0 + 4 >> 2] = 0; - HEAPF32[$0 + 8 >> 2] = 0; - b2Vec2__SetZero_28_29($0 + 12 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__value_object_b2Filter____value_object_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - _embind_finalize_value_object(emscripten__internal__TypeID_b2Filter_2c_20void___get_28_29() | 0); - emscripten__internal__noncopyable___noncopyable_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_int_2c_20unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_int_2c_20unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WireTypePack_unsigned_20int__2c_20unsigned_20int____operator_20void_20const__28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2__array_emscripten__internal__GenericWireType_2c_202ul___data_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Vec3__b2Vec3_28float_2c_20float_2c_20float_29($0, $1, $2, $3) { - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - HEAP32[$4 + 12 >> 2] = $0; - HEAPF32[$4 + 8 >> 2] = $1; - HEAPF32[$4 + 4 >> 2] = $2; - HEAPF32[$4 >> 2] = $3; - $0 = HEAP32[$4 + 12 >> 2]; - HEAPF32[$0 >> 2] = HEAPF32[$4 + 8 >> 2]; - HEAPF32[$0 + 4 >> 2] = HEAPF32[$4 + 4 >> 2]; - HEAPF32[$0 + 8 >> 2] = HEAPF32[$4 >> 2]; - return $0; -} - -function void_20const__20emscripten__internal__getActualType_b2PrismaticJoint__28b2PrismaticJoint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2PrismaticJoint__28b2PrismaticJoint_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function strcmp($0, $1) { - var $2 = 0, $3 = 0; - $2 = HEAPU8[$0 | 0]; - $3 = HEAPU8[$1 | 0]; - label$1: { - if (!$2 | ($2 | 0) != ($3 | 0)) { - break label$1; - } - while (1) { - $3 = HEAPU8[$1 + 1 | 0]; - $2 = HEAPU8[$0 + 1 | 0]; - if (!$2) { - break label$1; - } - $1 = $1 + 1 | 0; - $0 = $0 + 1 | 0; - if (($2 | 0) == ($3 | 0)) { - continue; - } - break; - } - } - return $2 - $3 | 0; -} - -function std____2____libcpp_allocate_5babi_v160004_5d_28unsigned_20long_2c_20unsigned_20long_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = void__20std____2____libcpp_operator_new_5babi_v160004_5d_unsigned_20long__28unsigned_20long_29(HEAP32[$2 + 12 >> 2]); - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function std____2____compressed_pair_elem_std____2__allocator_int__2c_201_2c_20true_____compressed_pair_elem_5babi_v160004_5d_28std____2____default_init_tag_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - $0 = HEAP32[$1 + 8 >> 2]; - std____2__allocator_int___allocator_5babi_v160004_5d_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function embind_init_b2_28_29__$_0____invoke_28b2AABB__2c_20b2AABB__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - embind_init_b2_28_29__$_0__operator_28_29_28b2AABB__2c_20b2AABB__29_20const($2 + 7 | 0, HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function b2Fixture__SetSensor_28bool_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP8[$2 + 11 | 0] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - if ((HEAP8[$2 + 11 | 0] & 1) != (HEAP8[$0 + 38 | 0] & 1)) { - b2Body__SetAwake_28bool_29(HEAP32[$0 + 8 >> 2], 1); - HEAP8[$0 + 38 | 0] = HEAP8[$2 + 11 | 0] & 1; - } - __stack_pointer = $2 + 16 | 0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______clear_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______base_destruct_at_end_5babi_v160004_5d_28b2Vec2__29($0, HEAP32[$0 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function std____2__enable_if___is_cpp17_random_access_iterator_char_20const____value_2c_20char____type_20std____2__copy_n_5babi_v160004_5d_char_20const__2c_20unsigned_20long_2c_20char___28char_20const__2c_20unsigned_20long_2c_20char__29($0, $1, $2) { - return char__20std____2__copy_5babi_v160004_5d_char_20const__2c_20char___28char_20const__2c_20char_20const__2c_20char__29($0, $0 + $1 | 0, $2); -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_cap_5babi_v160004_5d_28_29_20const($0) { - return HEAP32[std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_5babi_v160004_5d_28_29_20const($0) + 8 >> 2] & 2147483647; -} - -function std____2____split_buffer_int_2c_20std____2__allocator_int_____clear_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - std____2____split_buffer_int_2c_20std____2__allocator_int_______destruct_at_end_5babi_v160004_5d_28int__29($0, HEAP32[$0 + 4 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function std____2____compressed_pair_int__2c_20std____2__allocator_int_____second_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_std____2__allocator_int___2c_201_2c_20false_____get_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2] + 4 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__value_object_b2Color____value_object_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - _embind_finalize_value_object(emscripten__internal__TypeID_b2Color_2c_20void___get_28_29() | 0); - emscripten__internal__noncopyable___noncopyable_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__enum__b2Shape__Type___enum__28char_20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - _embind_register_enum(emscripten__internal__TypeID_b2Shape__Type_2c_20void___get_28_29() | 0, HEAP32[$2 + 8 >> 2], 4, 0); - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function b2PolygonShape__operator__28b2PolygonShape_20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - b2Shape__operator__28b2Shape_20const__29($0, HEAP32[$2 + 8 >> 2]); - __memcpy($0 + 12 | 0, HEAP32[$2 + 8 >> 2] + 12 | 0, 140); - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function b2AABB__GetCenter_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29_1($2 + 4 | 0, $1, $1 + 8 | 0); - operator__28float_2c_20b2Vec2_20const__29($0, Math_fround(.5), $2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; -} - -function std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_______end_cap_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_b2Vec2__2c_20std____2__allocator_b2Vec2_____first_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2] + 12 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2____compressed_pair_elem_std____2__allocator_b2Vec2___2c_201_2c_20false_____compressed_pair_elem_5babi_v160004_5d_std____2__allocator_b2Vec2___2c_20void__28std____2__allocator_b2Vec2___29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$2 + 8 >> 2]; - return $0; -} - -function b2AABB__GetExtents_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - operator__28b2Vec2_20const__2c_20b2Vec2_20const__29($2 + 4 | 0, $1 + 8 | 0, $1); - operator__28float_2c_20b2Vec2_20const__29($0, Math_fround(.5), $2 + 4 | 0); - __stack_pointer = $2 + 16 | 0; -} - -function std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2_______alloc_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_b2Vec2__2c_20std____2__allocator_b2Vec2_____second_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2] + 12 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2____compressed_pair_b2Vec2__2c_20std____2__allocator_b2Vec2____second_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_std____2__allocator_b2Vec2__2c_201_2c_20true_____get_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__value_object_b2Vec2____value_object_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - _embind_finalize_value_object(emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29() | 0); - emscripten__internal__noncopyable___noncopyable_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__Invoker_b2JointDef____invoke_28b2JointDef__20_28__29_28_29_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__BindingType_b2JointDef__2c_20void___toWireType_28b2JointDef__29(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]() | 0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function void_20const__20emscripten__internal__getActualType_b2WheelJointDef__28b2WheelJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2WheelJointDef__28b2WheelJointDef_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function void_20const__20emscripten__internal__getActualType_b2RevoluteJoint__28b2RevoluteJoint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2RevoluteJoint__28b2RevoluteJoint_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function void_20const__20emscripten__internal__getActualType_b2QueryCallback__28b2QueryCallback__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2QueryCallback__28b2QueryCallback_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function void_20const__20emscripten__internal__getActualType_b2MouseJointDef__28b2MouseJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2MouseJointDef__28b2MouseJointDef_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function void_20const__20emscripten__internal__getActualType_b2MotorJointDef__28b2MotorJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2MotorJointDef__28b2MotorJointDef_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function void_20const__20emscripten__internal__getActualType_b2DistanceJoint__28b2DistanceJoint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2DistanceJoint__28b2DistanceJoint_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function std____2__pair_std____2____unwrap_ref_decay_char_20const_____type_2c_20std____2____unwrap_ref_decay_char____type__20std____2__make_pair_5babi_v160004_5d_char_20const___2c_20char___28char_20const___2c_20char____29($0, $1, $2) { - std____2__pair_char_20const__2c_20char____pair_5babi_v160004_5d_char_20const___2c_20char__2c_20_28void__290__28char_20const___2c_20char____29($0, $1, $2); -} - -function emscripten__value_object_b2Rot____value_object_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - _embind_finalize_value_object(emscripten__internal__TypeID_b2Rot_2c_20void___get_28_29() | 0); - emscripten__internal__noncopyable___noncopyable_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int_2c_20float___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20float____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2RayCastCallbackWrapper____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20b2RayCastCallbackWrapper_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2ContactListenerWrapper____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20b2ContactListenerWrapper_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2__pair_std____2____unwrap_ref_decay_char_20const____type_2c_20std____2____unwrap_ref_decay_char____type__20std____2__make_pair_5babi_v160004_5d_char_20const__2c_20char___28char_20const____2c_20char____29($0, $1, $2) { - std____2__pair_char_20const__2c_20char____pair_5babi_v160004_5d_char_20const__2c_20char__2c_20_28void__290__28char_20const____2c_20char____29($0, $1, $2); -} - -function std____2____compressed_pair_b2Vec2__2c_20std____2__allocator_b2Vec2_____first_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_b2Vec2__2c_200_2c_20false_____get_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function Vec2VectorCC__get_28int_29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____operator_5b_5d_5babi_v160004_5d_28unsigned_20long_29_20const(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function std____2____compressed_pair_b2Vec2__2c_20std____2__allocator_b2Vec2____first_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_b2Vec2__2c_200_2c_20false_____get_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int_2c_20bool___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20bool____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_unsigned_20int_2c_20unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_unsigned_20int_2c_20unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20unsigned_20int_2c_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20unsigned_20int_2c_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__Invoker_b2BodyDef____invoke_28b2BodyDef__20_28__29_28_29_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__BindingType_b2BodyDef__2c_20void___toWireType_28b2BodyDef__29(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]() | 0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function emscripten__enum__b2BodyType___enum__28char_20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - _embind_register_enum(emscripten__internal__TypeID_b2BodyType_2c_20void___get_28_29() | 0, HEAP32[$2 + 8 >> 2], 4, 0); - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function void_20emscripten__internal__writeGenericWireType_unsigned_20int__28emscripten__internal__GenericWireType___2c_20unsigned_20int_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - HEAP32[HEAP32[HEAP32[$2 + 12 >> 2] >> 2] >> 2] = HEAP32[$2 + 8 >> 2]; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 8; -} - -function void_20const__20emscripten__internal__getActualType_b2WeldJointDef__28b2WeldJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2WeldJointDef__28b2WeldJointDef_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function void_20const__20emscripten__internal__getActualType_b2RopeJointDef__28b2RopeJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2RopeJointDef__28b2RopeJointDef_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function std____2____compressed_pair_unsigned_20long_2c_20std____2__less_b2Fixture_____first_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Vec3__operator__28_29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Vec3__b2Vec3_28_29($0); - b2Vec3__Set_28float_2c_20float_2c_20float_29($0, Math_fround(-HEAPF32[$1 >> 2]), Math_fround(-HEAPF32[$1 + 4 >> 2]), Math_fround(-HEAPF32[$1 + 8 >> 2])); - __stack_pointer = $2 + 16 | 0; -} - -function std____2__vector_int_2c_20std____2__allocator_int______end_cap_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_int__2c_20std____2__allocator_int____first_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2] + 8 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2QueryCallbackWrapper____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20b2QueryCallbackWrapper_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function decltype_28std____2____unwrap_iter_impl_char_20const__2c_20true_____unwrap_28std__declval_char_20const___28_29_29_29_20std____2____unwrap_iter_5babi_v160004_5d_char_20const__2c_20std____2____unwrap_iter_impl_char_20const__2c_20true__2c_200__28char_20const__29($0) { - return std____2____unwrap_iter_impl_char_20const__2c_20true_____unwrap_5babi_v160004_5d_28char_20const__29($0); -} - -function std____2__vector_int_2c_20std____2__allocator_int______alloc_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_int__2c_20std____2__allocator_int____second_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2] + 8 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2TOIInput__b2TOIInput_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2DistanceProxy__b2DistanceProxy_28_29($0); - b2DistanceProxy__b2DistanceProxy_28_29($0 + 28 | 0); - b2Sweep__b2Sweep_28_29($0 + 56 | 0); - b2Sweep__b2Sweep_28_29($0 + 92 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2GearJoint__GetReactionTorque_28float_29_20const($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAPF32[$2 + 4 >> 2] = HEAPF32[$0 + 156 >> 2] * HEAPF32[$0 + 256 >> 2]; - return Math_fround(Math_fround(HEAPF32[$2 + 8 >> 2] * HEAPF32[$2 + 4 >> 2])); -} - -function void_20emscripten__val__call_void__28char_20const__29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - emscripten__internal__MethodCaller_void___call_28emscripten___EM_VAL__2c_20char_20const__29(HEAP32[HEAP32[$2 + 12 >> 2] >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function std____2____compressed_pair_elem_std____2__allocator_int___2c_201_2c_20false_____compressed_pair_elem_5babi_v160004_5d_std____2__allocator_int___2c_20void__28std____2__allocator_int___29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$2 + 8 >> 2]; - return $0; -} - -function TransformVector2_28b2Transform_20const__2c_20b2Vec2_20const__29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($0, HEAP32[$3 + 12 >> 2], HEAP32[$3 + 8 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function void_20const__20emscripten__internal__getActualType_b2DrawWrapper__28b2DrawWrapper__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2DrawWrapper__28b2DrawWrapper_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function std____2____less_unsigned_20long_2c_20unsigned_20long___operator_28_29_5babi_v160004_5d_28unsigned_20long_20const__2c_20unsigned_20long_20const__29_20const($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - return HEAPU32[HEAP32[$3 + 8 >> 2] >> 2] < HEAPU32[HEAP32[$3 + 4 >> 2] >> 2]; -} - -function std____2____compressed_pair_int__2c_20std____2__allocator_int____second_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_std____2__allocator_int__2c_201_2c_20true_____get_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2____allocation_result_std____2__allocator_traits_std____2__allocator_char____pointer__20std____2____allocate_at_least_5babi_v160004_5d_std____2__allocator_char___28std____2__allocator_char___2c_20unsigned_20long_29($0, $1, $2) { - $1 = std____2__allocator_char___allocate_5babi_v160004_5d_28unsigned_20long_29($1, $2); - HEAP32[$0 + 4 >> 2] = $2; - HEAP32[$0 >> 2] = $1; -} - -function b2GrowableStack_int_2c_20256____b2GrowableStack_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 8 >> 2] = $0; - $0 = HEAP32[$1 + 8 >> 2]; - HEAP32[$1 + 12 >> 2] = $0; - if (HEAP32[$0 >> 2] != ($0 + 4 | 0)) { - b2Free_28void__29(HEAP32[$0 >> 2]); - HEAP32[$0 >> 2] = 0; - } - __stack_pointer = $1 + 16 | 0; - return HEAP32[$1 + 12 >> 2]; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______end_cap_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_b2Vec2__2c_20std____2__allocator_b2Vec2____first_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2] + 8 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2FrictionJoint__GetReactionForce_28float_29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAPF32[$3 + 8 >> 2] = $2; - operator__28float_2c_20b2Vec2_20const__29($0, HEAPF32[$3 + 8 >> 2], HEAP32[$3 + 12 >> 2] + 84 | 0); - __stack_pointer = $3 + 16 | 0; -} - -function __towrite($0) { - var $1 = 0; - $1 = HEAP32[$0 + 72 >> 2]; - HEAP32[$0 + 72 >> 2] = $1 | $1 - 1; - $1 = HEAP32[$0 >> 2]; - if ($1 & 8) { - HEAP32[$0 >> 2] = $1 | 32; - return -1; - } - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - $1 = HEAP32[$0 + 44 >> 2]; - HEAP32[$0 + 28 >> 2] = $1; - HEAP32[$0 + 20 >> 2] = $1; - HEAP32[$0 + 16 >> 2] = HEAP32[$0 + 48 >> 2] + $1; - return 0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______alloc_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_b2Vec2__2c_20std____2__allocator_b2Vec2____second_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2] + 8 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long_____tree_iterator_5babi_v160004_5d_28std____2____tree_node_b2Fixture__2c_20void____29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$2 + 8 >> 2]; - return $0; -} - -function std____2____split_buffer_int_2c_20std____2__allocator_int_______end_cap_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_int__2c_20std____2__allocator_int_____first_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2] + 12 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Vec3__Set_28float_2c_20float_2c_20float_29($0, $1, $2, $3) { - var $4 = 0; - $4 = __stack_pointer - 16 | 0; - HEAP32[$4 + 12 >> 2] = $0; - HEAPF32[$4 + 8 >> 2] = $1; - HEAPF32[$4 + 4 >> 2] = $2; - HEAPF32[$4 >> 2] = $3; - $0 = HEAP32[$4 + 12 >> 2]; - HEAPF32[$0 >> 2] = HEAPF32[$4 + 8 >> 2]; - HEAPF32[$0 + 4 >> 2] = HEAPF32[$4 + 4 >> 2]; - HEAPF32[$0 + 8 >> 2] = HEAPF32[$4 >> 2]; -} - -function b2DrawWrapper__b2DrawWrapper___28emscripten__val___29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - emscripten__wrapper_b2Draw___wrapper___28emscripten__val___29($0, HEAP32[$2 + 8 >> 2]); - HEAP32[$0 >> 2] = 26964; - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function b2ContactSolver___b2ContactSolver_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2StackAllocator__Free_28void__29(HEAP32[$0 + 32 >> 2], HEAP32[$0 + 40 >> 2]); - b2StackAllocator__Free_28void__29(HEAP32[$0 + 32 >> 2], HEAP32[$0 + 36 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Body__GetLocalPoint_28b2Vec2_20const__29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - b2MulT_28b2Transform_20const__2c_20b2Vec2_20const__29($0, HEAP32[$3 + 12 >> 2] + 12 | 0, HEAP32[$3 + 8 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function std____2____split_buffer_int_2c_20std____2__allocator_int_______alloc_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_int__2c_20std____2__allocator_int_____second_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2] + 12 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2____compressed_pair_int__2c_20std____2__allocator_int_____first_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_int__2c_200_2c_20false_____get_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2Transform_20const____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20b2Transform_20const_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WireTypePack_b2Transform_20const____operator_20void_20const__28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2__array_emscripten__internal__GenericWireType_2c_201ul___data_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function embind_init_b2_28_29__$_2__operator_28_29_28b2Body__2c_20b2MassData_20const__29_20const($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - b2Body__SetMassData_28b2MassData_20const__29(HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - b2Mul_28b2Transform_20const__2c_20b2Vec2_20const__29($0, HEAP32[$3 + 12 >> 2] + 12 | 0, HEAP32[$3 + 8 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function void_20const__20emscripten__internal__getActualType_b2WheelJoint__28b2WheelJoint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2WheelJoint__28b2WheelJoint_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function void_20const__20emscripten__internal__getActualType_b2MouseJoint__28b2MouseJoint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2MouseJoint__28b2MouseJoint_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function void_20const__20emscripten__internal__getActualType_b2MotorJoint__28b2MotorJoint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2MotorJoint__28b2MotorJoint_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function std____2__vector_int_2c_20std____2__allocator_int______clear_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - std____2__vector_int_2c_20std____2__allocator_int______base_destruct_at_end_5babi_v160004_5d_28int__29($0, HEAP32[$0 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function std____2____compressed_pair_int__2c_20std____2__allocator_int____first_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_int__2c_200_2c_20false_____get_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2MouseJoint__GetReactionForce_28float_29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAPF32[$3 + 8 >> 2] = $2; - operator__28float_2c_20b2Vec2_20const__29($0, HEAPF32[$3 + 8 >> 2], HEAP32[$3 + 12 >> 2] + 96 | 0); - __stack_pointer = $3 + 16 | 0; -} - -function b2MotorJoint__GetReactionForce_28float_29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = Math_fround($2); - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAPF32[$3 + 8 >> 2] = $2; - operator__28float_2c_20b2Vec2_20const__29($0, HEAPF32[$3 + 8 >> 2], HEAP32[$3 + 12 >> 2] + 80 | 0); - __stack_pointer = $3 + 16 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2RevoluteJoint__GetJointSpeed_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[$1 + 8 >> 2] = HEAP32[$0 + 48 >> 2]; - HEAP32[$1 + 4 >> 2] = HEAP32[$0 + 52 >> 2]; - return Math_fround(Math_fround(HEAPF32[HEAP32[$1 + 4 >> 2] + 72 >> 2] - HEAPF32[HEAP32[$1 + 8 >> 2] + 72 >> 2])); -} - -function std____2____unwrap_iter_impl_std____2__reverse_iterator_b2Vec2___2c_20false_____rewrap_5babi_v160004_5d_28std____2__reverse_iterator_b2Vec2___2c_20std____2__reverse_iterator_b2Vec2___29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 8 >> 2] = $0; - HEAP32[$2 + 4 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = HEAP32[$2 + 4 >> 2]; - return HEAP32[$2 + 12 >> 2]; -} - -function b2SeparationFunction__b2SeparationFunction_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Sweep__b2Sweep_28_29($0 + 8 | 0); - b2Sweep__b2Sweep_28_29($0 + 44 | 0); - b2Vec2__b2Vec2_28_29($0 + 84 | 0); - b2Vec2__b2Vec2_28_29($0 + 92 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__Invoker_b2AABB____invoke_28b2AABB__20_28__29_28_29_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__BindingType_b2AABB__2c_20void___toWireType_28b2AABB__29(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]() | 0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2Body__GetLocalVector_28b2Vec2_20const__29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - b2MulT_28b2Rot_20const__2c_20b2Vec2_20const__29($0, HEAP32[$3 + 12 >> 2] + 20 | 0, HEAP32[$3 + 8 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function void_20const__20emscripten__internal__getActualType_b2WeldJoint__28b2WeldJoint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2WeldJoint__28b2WeldJoint_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function void_20const__20emscripten__internal__getActualType_b2RopeJoint__28b2RopeJoint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2RopeJoint__28b2RopeJoint_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__WireTypePack_unsigned_20int____operator_20void_20const__28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2__array_emscripten__internal__GenericWireType_2c_201ul___data_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WireTypePack_b2Vec2_20const____operator_20void_20const__28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2__array_emscripten__internal__GenericWireType_2c_201ul___data_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Vec3__operator___28float_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAPF32[$0 >> 2] = HEAPF32[$0 >> 2] * HEAPF32[$2 + 8 >> 2]; - HEAPF32[$0 + 4 >> 2] = HEAPF32[$0 + 4 >> 2] * HEAPF32[$2 + 8 >> 2]; - HEAPF32[$0 + 8 >> 2] = HEAPF32[$0 + 8 >> 2] * HEAPF32[$2 + 8 >> 2]; -} - -function b2Body__GetWorldVector_28b2Vec2_20const__29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $1; - HEAP32[$3 + 8 >> 2] = $2; - b2Mul_28b2Rot_20const__2c_20b2Vec2_20const__29($0, HEAP32[$3 + 12 >> 2] + 20 | 0, HEAP32[$3 + 8 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function FixtureTestPoint_28unsigned_20int_2c_20b2Vec2_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = b2Fixture__TestPoint_28b2Vec2_20const__29_20const(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; - return $0 & 1; -} - -function std____2____compressed_pair_b2Vec2__2c_20std____2__allocator_b2Vec2_____first_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_b2Vec2__2c_200_2c_20false_____get_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function BodyCreateFixture_28unsigned_20int_2c_20unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = b2Body__CreateFixture_28b2FixtureDef_20const__29(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function void_20emscripten__wrapper_b2RayCastCallback___call_void__28char_20const__29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - void_20emscripten__val__call_void__28char_20const__29_20const(HEAP32[$2 + 12 >> 2] + 8 | 0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function void_20emscripten__wrapper_b2ContactListener___call_void__28char_20const__29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - void_20emscripten__val__call_void__28char_20const__29_20const(HEAP32[$2 + 12 >> 2] + 8 | 0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function std____2____compressed_pair_b2Vec2__2c_20std____2__allocator_b2Vec2____first_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_b2Vec2__2c_200_2c_20false_____get_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_2c_20unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WireTypePack_int_20const____operator_20void_20const__28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2__array_emscripten__internal__GenericWireType_2c_201ul___data_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2World__SetGravity_28b2Vec2_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = HEAP32[$2 + 8 >> 2]; - $0 = HEAP32[$1 >> 2]; - $3 = HEAP32[$1 + 4 >> 2]; - $1 = $0; - $0 = HEAP32[$2 + 12 >> 2] + 102964 | 0; - HEAP32[$0 >> 2] = $1; - HEAP32[$0 + 4 >> 2] = $3; -} - -function Vec2VectorGetY_28unsigned_20int_2c_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = Vec2VectorCC__get_28int_29_20const(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; - return Math_fround(HEAPF32[$0 + 4 >> 2]); -} - -function void_20const__20emscripten__internal__getActualType_b2JointDef__28b2JointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2JointDef__28b2JointDef_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2Fixture__GetMassData_28b2MassData__29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - $1 = HEAP32[$0 + 12 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 28 >> 2]]($1, HEAP32[$2 + 8 >> 2], HEAPF32[$0 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function b2Body__SetBullet_28bool_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP8[$2 + 11 | 0] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - label$1: { - if (HEAP8[$2 + 11 | 0] & 1) { - HEAP16[$0 + 4 >> 1] = HEAPU16[$0 + 4 >> 1] | 8; - break label$1; - } - HEAP16[$0 + 4 >> 1] = HEAPU16[$0 + 4 >> 1] & -9; - } -} - -function void_20emscripten__wrapper_b2QueryCallback___call_void__28char_20const__29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - void_20emscripten__val__call_void__28char_20const__29_20const(HEAP32[$2 + 12 >> 2] + 8 | 0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function std____2__vector_int_2c_20std____2__allocator_int______end_cap_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_int__2c_20std____2__allocator_int____first_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2] + 8 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20unsigned_20int____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20unsigned_20int_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20std____2____do_deallocate_handle_size_5babi_v160004_5d___28void__2c_20unsigned_20long_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - void_20std____2____libcpp_operator_delete_5babi_v160004_5d_void___28void__29(HEAP32[$2 + 12 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function std____2__vector_int_2c_20std____2__allocator_int______alloc_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_int__2c_20std____2__allocator_int____second_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2] + 8 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2World__20emscripten__internal__operator_new_b2World_2c_20b2Vec2__28b2Vec2___29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(103028); - b2World__b2World_28b2Vec2_20const__29($0, HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function std____2____unwrap_iter_impl_std____2__reverse_iterator_int___2c_20false_____rewrap_5babi_v160004_5d_28std____2__reverse_iterator_int___2c_20std____2__reverse_iterator_int___29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 8 >> 2] = $0; - HEAP32[$2 + 4 >> 2] = $1; - HEAP32[$2 + 12 >> 2] = HEAP32[$2 + 4 >> 2]; - return HEAP32[$2 + 12 >> 2]; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2DrawWrapper____getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20b2DrawWrapper_____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function Vec2VectorGetX_28unsigned_20int_2c_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = Vec2VectorCC__get_28int_29_20const(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; - return Math_fround(HEAPF32[$0 >> 2]); -} - -function void_20const__20emscripten__internal__getActualType_b2BodyDef__28b2BodyDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2BodyDef__28b2BodyDef_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2Cross_28b2Vec2_20const__2c_20b2Vec2_20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return Math_fround(Math_fround(HEAPF32[HEAP32[$2 + 12 >> 2] >> 2] * HEAPF32[HEAP32[$2 + 8 >> 2] + 4 >> 2]) - Math_fround(HEAPF32[HEAP32[$2 + 12 >> 2] + 4 >> 2] * HEAPF32[HEAP32[$2 + 8 >> 2] >> 2])); -} - -function ContactGetWorldManifold_28unsigned_20int_2c_20unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - b2Contact__GetWorldManifold_28b2WorldManifold__29_20const(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_int_2c_20unsigned_20int___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_int_2c_20unsigned_20int____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20std____2__allocator_traits_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void______destroy_5babi_v160004_5d_b2Fixture__2c_20void_2c_20void__28std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____2c_20b2Fixture___29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; -} - -function void_20emscripten__internal__writeGenericWireType_int__28emscripten__internal__GenericWireType___2c_20int_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - HEAP32[HEAP32[HEAP32[$2 + 12 >> 2] >> 2] >> 2] = HEAP32[$2 + 8 >> 2]; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 8; -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_pointer_5babi_v160004_5d_28_29($0) { - return HEAP32[std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_5babi_v160004_5d_28_29($0) >> 2]; -} - -function b2Dot_28b2Vec2_20const__2c_20b2Vec2_20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return Math_fround(Math_fround(HEAPF32[HEAP32[$2 + 12 >> 2] >> 2] * HEAPF32[HEAP32[$2 + 8 >> 2] >> 2]) + Math_fround(HEAPF32[HEAP32[$2 + 12 >> 2] + 4 >> 2] * HEAPF32[HEAP32[$2 + 8 >> 2] + 4 >> 2])); -} - -function std____2____compressed_pair_int__2c_20std____2__allocator_int_____first_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_int__2c_200_2c_20false_____get_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function WorldManifoldNew_28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(32); - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 24 >> 2] = 0; - HEAP32[$0 + 28 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = 0; - HEAP32[$0 + 20 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - HEAP32[$0 + 12 >> 2] = 0; - b2WorldManifold__b2WorldManifold_28_29($0); - return $0 | 0; -} - -function std____2____compressed_pair_int__2c_20std____2__allocator_int____first_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2____compressed_pair_elem_int__2c_200_2c_20false_____get_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20emscripten__wrapper_b2Draw___call_void__28char_20const__29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - void_20emscripten__val__call_void__28char_20const__29_20const(HEAP32[$2 + 12 >> 2] + 12 | 0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____data_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = b2Vec2__20std____2____to_address_5babi_v160004_5d_b2Vec2__28b2Vec2__29(HEAP32[HEAP32[$1 + 12 >> 2] >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Simplex__b2Simplex_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2SimplexVertex__b2SimplexVertex_28_29($0); - b2SimplexVertex__b2SimplexVertex_28_29($0 + 36 | 0); - b2SimplexVertex__b2SimplexVertex_28_29($0 + 72 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2__char_traits_char___copy_28char__2c_20char_20const__2c_20unsigned_20long_29($0, $1, $2) { - std____2__enable_if___is_cpp17_random_access_iterator_char_20const____value_2c_20char____type_20std____2__copy_n_5babi_v160004_5d_char_20const__2c_20unsigned_20long_2c_20char___28char_20const__2c_20unsigned_20long_2c_20char__29($1, $2, $0); - return $0; -} - -function emscripten__internal__WireTypePack____operator_20void_20const__28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2__array_emscripten__internal__GenericWireType_2c_200ul___data_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function embind_init_b2_28_29__$_0__operator_28_29_28b2AABB__2c_20b2AABB__29_20const($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - __stack_pointer = $3; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - b2AABB__Combine_28b2AABB_20const__29(HEAP32[$3 + 8 >> 2], HEAP32[$3 + 4 >> 2]); - __stack_pointer = $3 + 16 | 0; -} - -function void_20const__20emscripten__internal__getActualType_b2World__28b2World__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2World__28b2World_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function void_20const__20emscripten__internal__getActualType_b2Joint__28b2Joint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2Joint__28b2Joint_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_5babi_v160004_5d_28_29_20const($0) { - return std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____second_5babi_v160004_5d_28_29_20const($0); -} - -function emscripten__internal__writeGenericWireType_28emscripten__internal__GenericWireType___2c_20float_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - HEAPF32[HEAP32[HEAP32[$2 + 12 >> 2] >> 2] >> 2] = HEAPF32[$2 + 8 >> 2]; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 8; -} - -function emscripten__internal__BindingType_emscripten__val_2c_20void___fromWireType_28emscripten___EM_VAL__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - emscripten__val__take_ownership_28emscripten___EM_VAL__29($0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function operator___28b2Vec2_20const__2c_20b2Vec2_20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = 1; - $0 = HEAPF32[HEAP32[$2 + 12 >> 2] >> 2] == HEAPF32[HEAP32[$2 + 8 >> 2] >> 2] ? HEAPF32[HEAP32[$2 + 12 >> 2] + 4 >> 2] != HEAPF32[HEAP32[$2 + 8 >> 2] + 4 >> 2] : $0; - return $0; -} - -function b2Abs_28b2Vec2_20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - b2Vec2__b2Vec2_28float_2c_20float_29($0, float_20b2Abs_float__28float_29(HEAPF32[HEAP32[$2 + 12 >> 2] >> 2]), float_20b2Abs_float__28float_29(HEAPF32[HEAP32[$2 + 12 >> 2] + 4 >> 2])); - __stack_pointer = $2 + 16 | 0; -} - -function FixtureSetFilterData_28unsigned_20int_2c_20b2Filter_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - b2Fixture__SetFilterData_28b2Filter_20const__29(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function std____2__allocator_b2Vec2___allocator_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - std____2____non_trivial_if_true_2c_20std____2__allocator_b2Vec2______non_trivial_if_5babi_v160004_5d_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20const__20emscripten__internal__getActualType_b2Draw__28b2Draw__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2Draw__28b2Draw_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function void_20const__20emscripten__internal__getActualType_b2Body__28b2Body__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2Body__28b2Body_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function void_20const__20emscripten__internal__getActualType_b2AABB__28b2AABB__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = void_20const__20emscripten__internal__getLightTypeID_b2AABB__28b2AABB_20const__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______destroy_vector____destroy_vector_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$2 + 8 >> 2]; - return $0; -} - -function pop_arg_long_double($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, wasm2js_i32$0 = 0, wasm2js_f64$0 = 0; - $2 = HEAP32[$1 >> 2] + 7 & -8; - HEAP32[$1 >> 2] = $2 + 16; - wasm2js_i32$0 = $0, wasm2js_f64$0 = __trunctfdf2(HEAP32[$2 >> 2], HEAP32[$2 + 4 >> 2], HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2]), - HEAPF64[wasm2js_i32$0 >> 3] = wasm2js_f64$0; -} - -function void_20emscripten__internal__raw_destructor_b2RayCastCallbackWrapper__28b2RayCastCallbackWrapper__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function void_20emscripten__internal__raw_destructor_b2ContactListenerWrapper__28b2ContactListenerWrapper__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function void_20b2Swap_float__28float__2c_20float__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - HEAPF32[$2 + 4 >> 2] = HEAPF32[HEAP32[$2 + 12 >> 2] >> 2]; - HEAPF32[HEAP32[$2 + 12 >> 2] >> 2] = HEAPF32[HEAP32[$2 + 8 >> 2] >> 2]; - HEAPF32[HEAP32[$2 + 8 >> 2] >> 2] = HEAPF32[$2 + 4 >> 2]; -} - -function std____2____compressed_pair_elem_std____2__less_b2Fixture___2c_201_2c_20true_____compressed_pair_elem_5babi_v160004_5d_std____2__less_b2Fixture___20const__2c_20void__28std____2__less_b2Fixture___20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return HEAP32[$2 + 12 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__pure_virtual_2c_20emscripten__allow_raw_pointers___ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RayCastCallback__2c_20unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 6; -} - -function std____2__allocator_char___allocator_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - std____2____non_trivial_if_true_2c_20std____2__allocator_char______non_trivial_if_5babi_v160004_5d_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2____unwrap_range_impl_char_20const__2c_20char_20const______rewrap_5babi_v160004_5d_28char_20const__2c_20char_20const__29($0, $1) { - return char_20const__20std____2____rewrap_iter_5babi_v160004_5d_char_20const__2c_20char_20const__2c_20std____2____unwrap_iter_impl_char_20const__2c_20true___28char_20const__2c_20char_20const__29($0, $1); -} - -function b2Shape__operator__28b2Shape_20const__29($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $1 = HEAP32[$2 + 8 >> 2]; - $0 = HEAP32[$1 + 4 >> 2]; - $3 = HEAP32[$1 + 8 >> 2]; - $1 = $0; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 + 4 >> 2] = $1; - HEAP32[$0 + 8 >> 2] = $3; - return $0; -} - -function void_20emscripten__internal__raw_destructor_b2QueryCallbackWrapper__28b2QueryCallbackWrapper__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function std____2__allocator_int___allocator_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - std____2____non_trivial_if_true_2c_20std____2__allocator_int______non_trivial_if_5babi_v160004_5d_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function Vec2VectorDelete_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - if (HEAP32[$1 + 12 >> 2]) { - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - Vec2VectorCC___Vec2VectorCC_28_29($0); - operator_20delete_28void__29($0); - } - } - __stack_pointer = $1 + 16 | 0; -} - -function ContactSetTangentSpeed_28unsigned_20int_2c_20float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - b2Contact__SetTangentSpeed_28float_29(HEAP32[$2 + 12 >> 2], HEAPF32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function b2Vec2__operator___28b2Vec2_20const__29_1($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAPF32[$0 >> 2] = HEAPF32[$0 >> 2] - HEAPF32[HEAP32[$2 + 8 >> 2] >> 2]; - HEAPF32[$0 + 4 >> 2] = HEAPF32[$0 + 4 >> 2] - HEAPF32[HEAP32[$2 + 8 >> 2] + 4 >> 2]; -} - -function std____2__vector_int_2c_20std____2__allocator_int____data_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = int__20std____2____to_address_5babi_v160004_5d_int__28int__29(HEAP32[HEAP32[$1 + 12 >> 2] >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2PolygonAndCircleContact___b2PolygonAndCircleContact_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2PolygonAndCircleContact___b2PolygonAndCircleContact_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function FixtureSetRestitution_28unsigned_20int_2c_20float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - b2Fixture__SetRestitution_28float_29(HEAP32[$2 + 12 >> 2], HEAPF32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function FixtureGetAABB_28unsigned_20int_2c_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = b2Fixture__GetAABB_28int_29_20const(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function ContactSetRestitution_28unsigned_20int_2c_20float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - b2Contact__SetRestitution_28float_29(HEAP32[$2 + 12 >> 2], HEAPF32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function std____2__less_b2Fixture____operator_28_29_5babi_v160004_5d_28b2Fixture__20const__2c_20b2Fixture__20const__29_20const($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - return HEAPU32[HEAP32[$3 + 8 >> 2] >> 2] < HEAPU32[HEAP32[$3 + 4 >> 2] >> 2]; -} - -function std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____compressed_pair_elem_5babi_v160004_5d_int_2c_20void__28int___29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[HEAP32[$2 + 8 >> 2] >> 2]; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20bool_2c_20unsigned_20short_2c_20unsigned_20short_2c_20short___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 11; -} - -function b2Vec2__operator___28b2Vec2_20const__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAPF32[$0 >> 2] = HEAPF32[$0 >> 2] + HEAPF32[HEAP32[$2 + 8 >> 2] >> 2]; - HEAPF32[$0 + 4 >> 2] = HEAPF32[$0 + 4 >> 2] + HEAPF32[HEAP32[$2 + 8 >> 2] + 4 >> 2]; -} - -function b2Contact__SetEnabled_28bool_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP8[$2 + 11 | 0] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - label$1: { - if (HEAP8[$2 + 11 | 0] & 1) { - HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] | 4; - break label$1; - } - HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] & -5; - } -} - -function Vec2VectorGet_28unsigned_20int_2c_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = Vec2VectorCC__get_28int_29_20const(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; - return $0 | 0; -} - -function std____2__vector_int_2c_20std____2__allocator_int______destroy_vector____destroy_vector_28std____2__vector_int_2c_20std____2__allocator_int____29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$2 + 8 >> 2]; - return $0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____20emscripten__internal__operator_new_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(12); - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____vector_5babi_v160004_5d_28_29($0); - return $0 | 0; -} - -function b2MouseJoint__ShiftOrigin_28b2Vec2_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - b2Vec2__operator___28b2Vec2_20const__29_1(HEAP32[$2 + 12 >> 2] + 76 | 0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function BodyDestroyFixture_28unsigned_20int_2c_20unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - b2Body__DestroyFixture_28b2Fixture__29(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_5babi_v160004_5d_28_29($0) { - return std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____second_5babi_v160004_5d_28_29($0); -} - -function b2RayCastCallbackWrapper___b2RayCastCallbackWrapper_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2RayCastCallbackWrapper___b2RayCastCallbackWrapper_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function b2ContactListenerWrapper___b2ContactListenerWrapper_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2ContactListenerWrapper___b2ContactListenerWrapper_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function b2ChainAndPolygonContact___b2ChainAndPolygonContact_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2ChainAndPolygonContact___b2ChainAndPolygonContact_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function std____2____compressed_pair_elem_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_200_2c_20false_____compressed_pair_elem_5babi_v160004_5d_28std____2____default_init_tag_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 8 >> 2] = $0; - return HEAP32[$1 + 8 >> 2]; -} - -function is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, $1, $2) { - if (!$2) { - return HEAP32[$0 + 4 >> 2] == HEAP32[$1 + 4 >> 2]; - } - if (($0 | 0) == ($1 | 0)) { - return 1; - } - return !strcmp(std__type_info__name_5babi_v160004_5d_28_29_20const($0), std__type_info__name_5babi_v160004_5d_28_29_20const($1)); -} - -function char_20const__20std____2____rewrap_iter_5babi_v160004_5d_char_20const__2c_20char_20const__2c_20std____2____unwrap_iter_impl_char_20const__2c_20true___28char_20const__2c_20char_20const__29($0, $1) { - return std____2____unwrap_iter_impl_char_20const__2c_20true_____rewrap_5babi_v160004_5d_28char_20const__2c_20char_20const__29($0, $1); -} - -function b2BroadPhase___b2BroadPhase_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Free_28void__29(HEAP32[$0 + 32 >> 2]); - b2Free_28void__29(HEAP32[$0 + 44 >> 2]); - b2DynamicTree___b2DynamicTree_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20emscripten__internal__raw_destructor_b2RayCastCallback__28b2RayCastCallback__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function void_20emscripten__internal__raw_destructor_b2ContactListener__28b2ContactListener__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____second_5babi_v160004_5d_28_29_20const($0) { - return std____2____compressed_pair_elem_std____2__allocator_char__2c_201_2c_20true_____get_5babi_v160004_5d_28_29_20const($0); -} - -function b2Vec2__operator__28_29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Vec2__b2Vec2_28_29($0); - b2Vec2__Set_28float_2c_20float_29($0, Math_fround(-HEAPF32[$1 >> 2]), Math_fround(-HEAPF32[$1 + 4 >> 2])); - __stack_pointer = $2 + 16 | 0; -} - -function FixtureSetFriction_28unsigned_20int_2c_20float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - b2Fixture__SetFriction_28float_29(HEAP32[$2 + 12 >> 2], HEAPF32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function ContactSetFriction_28unsigned_20int_2c_20float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - b2Contact__SetFriction_28float_29(HEAP32[$2 + 12 >> 2], HEAPF32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__BindingType_emscripten__val_2c_20void___toWireType_28emscripten__val_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - _emval_incref(HEAP32[HEAP32[$1 + 12 >> 2] >> 2]); - __stack_pointer = $1 + 16 | 0; - return HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; -} - -function b2EdgeAndPolygonContact___b2EdgeAndPolygonContact_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2EdgeAndPolygonContact___b2EdgeAndPolygonContact_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function b2ChainAndCircleContact___b2ChainAndCircleContact_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2ChainAndCircleContact___b2ChainAndCircleContact_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function FixtureSetUserData_28unsigned_20int_2c_20unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - b2Fixture__SetUserData_28void__29(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function FixtureSetDensity_28unsigned_20int_2c_20float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - b2Fixture__SetDensity_28float_29(HEAP32[$2 + 12 >> 2], HEAPF32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function void_20emscripten__internal__raw_destructor_b2QueryCallback__28b2QueryCallback__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function emscripten__wrapper_b2ContactListener____wrapper_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - emscripten__wrapper_b2ContactListener____wrapper_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function b2RayCastInput__20emscripten__internal__raw_constructor_b2RayCastInput__28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(20); - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 16 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - HEAP32[$0 + 12 >> 2] = 0; - b2RayCastInput__b2RayCastInput_28_29($0); - return $0 | 0; -} - -function b2PrismaticJoint__GetAnchorB_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($0, HEAP32[$1 + 52 >> 2], $1 + 76 | 0); - __stack_pointer = $2 + 16 | 0; -} - -function b2PrismaticJoint__GetAnchorA_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($0, HEAP32[$1 + 48 >> 2], $1 + 68 | 0); - __stack_pointer = $2 + 16 | 0; -} - -function operator_20new_28unsigned_20long_29($0) { - var $1 = 0; - $1 = $0 >>> 0 <= 1 ? 1 : $0; - label$1: { - while (1) { - $0 = dlmalloc($1); - if ($0) { - break label$1; - } - $0 = std__get_new_handler_28_29(); - if ($0) { - FUNCTION_TABLE[$0 | 0](); - continue; - } - break; - } - abort(); - wasm2js_trap(); - } - return $0; -} - -function b2RevoluteJoint__GetAnchorB_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($0, HEAP32[$1 + 52 >> 2], $1 + 76 | 0); - __stack_pointer = $2 + 16 | 0; -} - -function b2RevoluteJoint__GetAnchorA_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($0, HEAP32[$1 + 48 >> 2], $1 + 68 | 0); - __stack_pointer = $2 + 16 | 0; -} - -function b2FrictionJoint__GetAnchorB_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($0, HEAP32[$1 + 52 >> 2], $1 + 76 | 0); - __stack_pointer = $2 + 16 | 0; -} - -function b2FrictionJoint__GetAnchorA_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($0, HEAP32[$1 + 48 >> 2], $1 + 68 | 0); - __stack_pointer = $2 + 16 | 0; -} - -function b2DistanceJoint__GetAnchorB_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($0, HEAP32[$1 + 52 >> 2], $1 + 88 | 0); - __stack_pointer = $2 + 16 | 0; -} - -function b2DistanceJoint__GetAnchorA_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($0, HEAP32[$1 + 48 >> 2], $1 + 80 | 0); - __stack_pointer = $2 + 16 | 0; -} - -function b2QueryCallbackWrapper___b2QueryCallbackWrapper_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2QueryCallbackWrapper___b2QueryCallbackWrapper_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function b2PulleyJoint__GetAnchorB_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($0, HEAP32[$1 + 52 >> 2], $1 + 100 | 0); - __stack_pointer = $2 + 16 | 0; -} - -function b2EdgeAndCircleContact___b2EdgeAndCircleContact_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2EdgeAndCircleContact___b2EdgeAndCircleContact_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function embind_init_b2_28_29__$_8____invoke_28b2JointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = embind_init_b2_28_29__$_8__operator_28_29_28b2JointDef__29_20const($1 + 11 | 0, HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function embind_init_b2_28_29__$_6____invoke_28b2JointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = embind_init_b2_28_29__$_6__operator_28_29_28b2JointDef__29_20const($1 + 11 | 0, HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2PulleyJoint__GetAnchorA_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($0, HEAP32[$1 + 48 >> 2], $1 + 92 | 0); - __stack_pointer = $2 + 16 | 0; -} - -function void_20emscripten__internal__raw_destructor_b2DrawWrapper__28b2DrawWrapper__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function b2WheelJoint__GetAnchorB_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($0, HEAP32[$1 + 52 >> 2], $1 + 84 | 0); - __stack_pointer = $2 + 16 | 0; -} - -function b2WheelJoint__GetAnchorA_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($0, HEAP32[$1 + 48 >> 2], $1 + 76 | 0); - __stack_pointer = $2 + 16 | 0; -} - -function b2MouseJoint__GetAnchorB_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($0, HEAP32[$1 + 52 >> 2], $1 + 68 | 0); - __stack_pointer = $2 + 16 | 0; -} - -function b2GearJoint__GetAnchorB_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($0, HEAP32[$1 + 52 >> 2], $1 + 100 | 0); - __stack_pointer = $2 + 16 | 0; -} - -function void_20emscripten__internal__raw_destructor_b2World__28b2World__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - b2World___b2World_28_29($0); - operator_20delete_28void__29($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function b2WeldJoint__GetAnchorB_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($0, HEAP32[$1 + 52 >> 2], $1 + 88 | 0); - __stack_pointer = $2 + 16 | 0; -} - -function b2WeldJoint__GetAnchorA_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($0, HEAP32[$1 + 48 >> 2], $1 + 80 | 0); - __stack_pointer = $2 + 16 | 0; -} - -function b2RopeJoint__GetAnchorB_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($0, HEAP32[$1 + 52 >> 2], $1 + 76 | 0); - __stack_pointer = $2 + 16 | 0; -} - -function b2RopeJoint__GetAnchorA_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($0, HEAP32[$1 + 48 >> 2], $1 + 68 | 0); - __stack_pointer = $2 + 16 | 0; -} - -function b2GearJoint__GetAnchorA_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $1; - $1 = HEAP32[$2 + 12 >> 2]; - b2Body__GetWorldPoint_28b2Vec2_20const__29_20const($0, HEAP32[$1 + 48 >> 2], $1 + 92 | 0); - __stack_pointer = $2 + 16 | 0; -} - -function decltype_28std____2____unwrap_iter_impl_char__2c_20true_____unwrap_28std__declval_char___28_29_29_29_20std____2____unwrap_iter_5babi_v160004_5d_char__2c_20std____2____unwrap_iter_impl_char__2c_20true__2c_200__28char__29($0) { - return std____2____unwrap_iter_impl_char__2c_20true_____unwrap_5babi_v160004_5d_28char__29($0); -} - -function void_20std____2__allocator_int___construct_5babi_v160004_5d_int_2c_20int_20const___28int__2c_20int_20const__29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - HEAP32[HEAP32[$3 + 8 >> 2] >> 2] = HEAP32[HEAP32[$3 + 4 >> 2] >> 2]; -} - -function void_20emscripten__internal__raw_destructor_b2RopeJoint__28b2RopeJoint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 28 >> 2]]($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function std____2____compressed_pair_elem_b2Vec2__2c_200_2c_20false_____compressed_pair_elem_5babi_v160004_5d_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = 0; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void___getTypes_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void____get_28_29(); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2Vec2__IsValid_28_29_20const($0) { - var $1 = 0, $2 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if (b2IsValid_28float_29(HEAPF32[$0 >> 2]) & 1) { - $2 = b2IsValid_28float_29(HEAPF32[$0 + 4 >> 2]); - } - __stack_pointer = $1 + 16 | 0; - return $2 & 1; -} - -function PolygonShapeDelete_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - if (HEAP32[$1 + 12 >> 2]) { - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0); - } - } - __stack_pointer = $1 + 16 | 0; -} - -function ContactSetEnabled_28unsigned_20int_2c_20bool_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP8[$2 + 11 | 0] = $1; - b2Contact__SetEnabled_28bool_29(HEAP32[$2 + 12 >> 2], HEAP8[$2 + 11 | 0] & 1); - __stack_pointer = $2 + 16 | 0; -} - -function CircleShapeDelete_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - if (HEAP32[$1 + 12 >> 2]) { - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0); - } - } - __stack_pointer = $1 + 16 | 0; -} - -function std____2__vector_int_2c_20std____2__allocator_int____20emscripten__internal__operator_new_std____2__vector_int_2c_20std____2__allocator_int____28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(12); - std____2__vector_int_2c_20std____2__allocator_int____vector_5babi_v160004_5d_28_29($0); - return $0 | 0; -} - -function std____2____compressed_pair_elem_int__2c_200_2c_20false_____compressed_pair_elem_5babi_v160004_5d_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = 0; - return $0; -} - -function embind_init_b2_28_29__$_4____invoke_28b2Body__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = embind_init_b2_28_29__$_4__operator_28_29_28b2Body__29_20const($1 + 11 | 0, HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function embind_init_b2_28_29__$_3____invoke_28b2Body__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = embind_init_b2_28_29__$_3__operator_28_29_28b2Body__29_20const($1 + 11 | 0, HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function FixtureSetSensor_28unsigned_20int_2c_20bool_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP8[$2 + 11 | 0] = $1; - b2Fixture__SetSensor_28bool_29(HEAP32[$2 + 12 >> 2], HEAP8[$2 + 11 | 0] & 1); - __stack_pointer = $2 + 16 | 0; -} - -function void_20emscripten__internal__raw_destructor_b2PrismaticJointDef__28b2PrismaticJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - operator_20delete_28void__29($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____second_5babi_v160004_5d_28_29($0) { - return std____2____compressed_pair_elem_std____2__allocator_char__2c_201_2c_20true_____get_5babi_v160004_5d_28_29($0); -} - -function Vec2VectorCC__getPtr_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____operator_5b_5d_5babi_v160004_5d_28unsigned_20long_29(HEAP32[$1 + 12 >> 2], 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20emscripten__internal__raw_destructor_b2RevoluteJointDef__28b2RevoluteJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - operator_20delete_28void__29($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function void_20emscripten__internal__raw_destructor_b2DistanceJointDef__28b2DistanceJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - operator_20delete_28void__29($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function b2World__GetGravity_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $1; - $2 = HEAP32[$2 + 12 >> 2] + 102964 | 0; - $1 = HEAP32[$2 >> 2]; - $3 = HEAP32[$2 + 4 >> 2]; - $2 = $1; - $1 = $0; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $3; -} - -function b2BroadPhase__GetUserData_28int_29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = b2DynamicTree__GetUserData_28int_29_20const(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function b2MouseJoint__GetAnchorA_28_29_20const($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $1; - $2 = HEAP32[$2 + 12 >> 2]; - $1 = HEAP32[$2 + 76 >> 2]; - $3 = HEAP32[$2 + 80 >> 2]; - $2 = $1; - $1 = $0; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $3; -} - -function b2BroadPhase__GetFatAABB_28int_29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = b2DynamicTree__GetFatAABB_28int_29_20const(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function void_20emscripten__internal__raw_destructor_b2Draw__28b2Draw__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function b2SimplexVertex__b2SimplexVertex_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Vec2__b2Vec2_28_29($0); - b2Vec2__b2Vec2_28_29($0 + 8 | 0); - b2Vec2__b2Vec2_28_29($0 + 16 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2RayCastCallbackWrapper___b2RayCastCallbackWrapper_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - emscripten__wrapper_b2RayCastCallback____wrapper_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function void_20emscripten__internal__raw_destructor_b2WheelJointDef__28b2WheelJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - operator_20delete_28void__29($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function void_20emscripten__internal__raw_destructor_b2RayCastOutput__28b2RayCastOutput__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - operator_20delete_28void__29($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function void_20emscripten__internal__raw_destructor_b2MouseJointDef__28b2MouseJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - operator_20delete_28void__29($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function void_20emscripten__internal__raw_destructor_b2MotorJointDef__28b2MotorJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - operator_20delete_28void__29($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function std____2____split_buffer_b2Vec2_2c_20std____2__allocator_b2Vec2______ConstructTransaction____ConstructTransaction_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[HEAP32[$0 + 8 >> 2] >> 2] = HEAP32[$0 >> 2]; - return $0; -} - -function b2Vec2__b2Vec2_28float_2c_20float_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - HEAP32[$3 + 12 >> 2] = $0; - HEAPF32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - HEAPF32[$0 >> 2] = HEAPF32[$3 + 8 >> 2]; - HEAPF32[$0 + 4 >> 2] = HEAPF32[$3 + 4 >> 2]; - return $0; -} - -function void_20emscripten__internal__raw_destructor_b2WeldJointDef__28b2WeldJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - operator_20delete_28void__29($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function void_20emscripten__internal__raw_destructor_b2RopeJointDef__28b2RopeJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - operator_20delete_28void__29($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function void_20emscripten__internal__raw_destructor_b2RayCastInput__28b2RayCastInput__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - operator_20delete_28void__29($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World_20const__2c_20b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 5; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 6; -} - -function emscripten__internal__BindingType_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20void___fromWireType_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2ContactListener___b2ContactListener_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2ContactListener___b2ContactListener_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function ContactGetTangentSpeed_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0, $2 = Math_fround(0); - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $2 = b2Contact__GetTangentSpeed_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return Math_fround($2); -} - -function void__20std____2____libcpp_operator_new_5babi_v160004_5d_unsigned_20long__28unsigned_20long_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = operator_20new_28unsigned_20long_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____operator_5b_5d_5babi_v160004_5d_28unsigned_20long_29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return HEAP32[HEAP32[$2 + 12 >> 2] >> 2] + (HEAP32[$2 + 8 >> 2] << 3) | 0; -} - -function fmt_x($0, $1, $2, $3) { - var $4 = 0; - if ($0 | $1) { - while (1) { - $2 = $2 - 1 | 0; - HEAP8[$2 | 0] = HEAPU8[($0 & 15) + 24144 | 0] | $3; - $4 = !$1 & $0 >>> 0 > 15 | ($1 | 0) != 0; - $0 = ($1 & 15) << 28 | $0 >>> 4; - $1 = $1 >>> 4 | 0; - if ($4) { - continue; - } - break; - } - } - return $2; -} - -function void_20std____2____debug_db_insert_c_5babi_v160004_5d_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______throw_length_error_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - std____2____throw_length_error_5babi_v160004_5d_28char_20const__29(3837); - wasm2js_trap(); -} - -function char_20const__20std____2____rewrap_range_5babi_v160004_5d_char_20const__2c_20char_20const__2c_20char_20const___28char_20const__2c_20char_20const__29($0, $1) { - return std____2____unwrap_range_impl_char_20const__2c_20char_20const______rewrap_5babi_v160004_5d_28char_20const__2c_20char_20const__29($0, $1); -} - -function b2QueryCallbackWrapper___b2QueryCallbackWrapper_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - emscripten__wrapper_b2QueryCallback____wrapper_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function FixtureGetRestitution_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0, $2 = Math_fround(0); - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $2 = b2Fixture__GetRestitution_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return Math_fround($2); -} - -function ContactGetRestitution_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0, $2 = Math_fround(0); - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $2 = b2Contact__GetRestitution_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return Math_fround($2); -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2_____ConstructTransaction____ConstructTransaction_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[HEAP32[$0 >> 2] + 4 >> 2] = HEAP32[$0 + 4 >> 2]; - return $0; -} - -function Vec2VectorCC___Vec2VectorCC_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2_____vector_5babi_v160004_5d_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function FixtureDump_28unsigned_20int_2c_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - b2Fixture__Dump_28int_29(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function std____2____split_buffer_int_2c_20std____2__allocator_int______ConstructTransaction____ConstructTransaction_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[HEAP32[$0 + 8 >> 2] >> 2] = HEAP32[$0 >> 2]; - return $0; -} - -function b2PrismaticJoint___b2PrismaticJoint_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2PrismaticJoint___b2PrismaticJoint_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function b2PolygonContact___b2PolygonContact_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2PolygonContact___b2PolygonContact_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function Vec2VectorCC__size_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____size_5babi_v160004_5d_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2PrismaticJoint__GetReactionTorque_28float_29_20const($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - return Math_fround(Math_fround(HEAPF32[$2 + 8 >> 2] * HEAPF32[HEAP32[$2 + 12 >> 2] + 108 >> 2])); -} - -function WorldManifoldDelete_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - if (HEAP32[$1 + 12 >> 2]) { - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - operator_20delete_28void__29($0); - } - } - __stack_pointer = $1 + 16 | 0; -} - -function Vec2VectorCC__Vec2VectorCC_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____vector_5babi_v160004_5d_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20emscripten__internal__raw_destructor_b2Transform__28b2Transform__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - operator_20delete_28void__29($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function WorldManifoldGetPointValueY_28unsigned_20int_2c_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return Math_fround(HEAPF32[((HEAP32[$2 + 12 >> 2] + 8 | 0) + (HEAP32[$2 + 8 >> 2] << 3) | 0) + 4 >> 2]); -} - -function std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_5babi_v160004_5d_28unsigned_20long_29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return HEAP32[HEAP32[$2 + 12 >> 2] >> 2] + (HEAP32[$2 + 8 >> 2] << 2) | 0; -} - -function b2RevoluteJoint__GetReactionTorque_28float_29_20const($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - return Math_fround(Math_fround(HEAPF32[$2 + 8 >> 2] * HEAPF32[HEAP32[$2 + 12 >> 2] + 92 >> 2])); -} - -function b2FrictionJoint__GetReactionTorque_28float_29_20const($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - return Math_fround(Math_fround(HEAPF32[$2 + 8 >> 2] * HEAPF32[HEAP32[$2 + 12 >> 2] + 92 >> 2])); -} - -function void_20emscripten__internal__raw_destructor_b2MassData__28b2MassData__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - operator_20delete_28void__29($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function void_20emscripten__internal__raw_destructor_b2JointDef__28b2JointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - operator_20delete_28void__29($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function std____2__vector_int_2c_20std____2__allocator_int______throw_length_error_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - std____2____throw_length_error_5babi_v160004_5d_28char_20const__29(3837); - wasm2js_trap(); -} - -function std____2____compressed_pair_elem_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_200_2c_20false_____get_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2Vec2__operator___28float_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAPF32[$0 >> 2] = HEAPF32[$0 >> 2] * HEAPF32[$2 + 8 >> 2]; - HEAPF32[$0 + 4 >> 2] = HEAPF32[$0 + 4 >> 2] * HEAPF32[$2 + 8 >> 2]; -} - -function b2RevoluteJoint___b2RevoluteJoint_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2RevoluteJoint___b2RevoluteJoint_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function b2FrictionJoint___b2FrictionJoint_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2FrictionJoint___b2FrictionJoint_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function b2DistanceJoint___b2DistanceJoint_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2DistanceJoint___b2DistanceJoint_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function b2ContactFilter___b2ContactFilter_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2ContactFilter___b2ContactFilter_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function b2CircleContact___b2CircleContact_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2CircleContact___b2CircleContact_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function FixtureGetFriction_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0, $2 = Math_fround(0); - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $2 = b2Fixture__GetFriction_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return Math_fround($2); -} - -function FixtureDefDelete_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - if (HEAP32[$1 + 12 >> 2]) { - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - operator_20delete_28void__29($0); - } - } - __stack_pointer = $1 + 16 | 0; -} - -function ContactGetFriction_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0, $2 = Math_fround(0); - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $2 = b2Contact__GetFriction_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return Math_fround($2); -} - -function std____2__vector_int_2c_20std____2__allocator_int_____ConstructTransaction____ConstructTransaction_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[HEAP32[$0 >> 2] + 4 >> 2] = HEAP32[$0 + 4 >> 2]; - return $0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____operator_5b_5d_5babi_v160004_5d_28unsigned_20long_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return HEAP32[HEAP32[$2 + 12 >> 2] >> 2] + (HEAP32[$2 + 8 >> 2] << 3) | 0; -} - -function std____2____unwrap_iter_impl_std____2__reverse_iterator_b2Vec2___2c_20false_____unwrap_5babi_v160004_5d_28std____2__reverse_iterator_b2Vec2___29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 + 12 >> 2] = HEAP32[$1 + 8 >> 2]; - return HEAP32[$1 + 12 >> 2]; -} - -function b2WheelJoint__GetReactionTorque_28float_29_20const($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - return Math_fround(Math_fround(HEAPF32[$2 + 8 >> 2] * HEAPF32[HEAP32[$2 + 12 >> 2] + 112 >> 2])); -} - -function b2PrismaticJoint__GetMotorForce_28float_29_20const($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - return Math_fround(Math_fround(HEAPF32[$2 + 8 >> 2] * HEAPF32[HEAP32[$2 + 12 >> 2] + 116 >> 2])); -} - -function emscripten__val__take_ownership_28emscripten___EM_VAL__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - emscripten__val__val_28emscripten___EM_VAL__29($0, HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_emscripten__val_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function embind_init_b2_28_29__$_3__operator_28_29_28b2Body__29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = b2Body__GetFixtureList_28_29(HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function b2WeldJoint__GetReactionTorque_28float_29_20const($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - return Math_fround(Math_fround(HEAPF32[$2 + 8 >> 2] * HEAPF32[HEAP32[$2 + 12 >> 2] + 112 >> 2])); -} - -function b2RevoluteJoint__GetMotorTorque_28float_29_20const($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - return Math_fround(Math_fround(HEAPF32[$2 + 8 >> 2] * HEAPF32[HEAP32[$2 + 12 >> 2] + 96 >> 2])); -} - -function b2MotorJoint__GetReactionTorque_28float_29_20const($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - return Math_fround(Math_fround(HEAPF32[$2 + 8 >> 2] * HEAPF32[HEAP32[$2 + 12 >> 2] + 88 >> 2])); -} - -function FixtureGetDensity_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0, $2 = Math_fround(0); - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $2 = b2Fixture__GetDensity_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return Math_fround($2); -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 5; -} - -function b2Mat33__b2Mat33_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Vec3__b2Vec3_28_29($0); - b2Vec3__b2Vec3_28_29($0 + 12 | 0); - b2Vec3__b2Vec3_28_29($0 + 24 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function WorldManifoldGetSeparationValue_28unsigned_20int_2c_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return Math_fround(HEAPF32[(HEAP32[$2 + 12 >> 2] + 24 | 0) + (HEAP32[$2 + 8 >> 2] << 2) >> 2]); -} - -function ShapeGetChildCount_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - $0 = FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 12 >> 2]]($0) | 0; - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function void_20emscripten__internal__raw_destructor_b2Filter__28b2Filter__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - operator_20delete_28void__29($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function std____2__pointer_traits_std____2____tree_end_node_std____2____tree_node_base_void________pointer_to_5babi_v160004_5d_28std____2____tree_end_node_std____2____tree_node_base_void______29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 4; -} - -function emscripten__internal__BindingType_std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20void___fromWireType_28std____2__vector_int_2c_20std____2__allocator_int___20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function embind_init_b2_28_29__$_4__operator_28_29_28b2Body__29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = b2Body__GetJointList_28_29(HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; - return $0; -} - -function b2WheelJoint__GetMotorTorque_28float_29_20const($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - return Math_fround(Math_fround(HEAPF32[$2 + 8 >> 2] * HEAPF32[HEAP32[$2 + 12 >> 2] + 112 >> 2])); -} - -function b2Sweep__b2Sweep_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Vec2__b2Vec2_28_29($0); - b2Vec2__b2Vec2_28_29($0 + 8 | 0); - b2Vec2__b2Vec2_28_29($0 + 16 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2PolygonShape___b2PolygonShape_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2PolygonShape___b2PolygonShape_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function ContactImpulseGetTangentImpulse_28unsigned_20int_2c_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return Math_fround(HEAPF32[(HEAP32[$2 + 12 >> 2] + 8 | 0) + (HEAP32[$2 + 8 >> 2] << 2) >> 2]); -} - -function bool_20std____2____tree_is_left_child_5babi_v160004_5d_std____2____tree_node_base_void_____28std____2____tree_node_base_void____29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] == HEAP32[HEAP32[HEAP32[$1 + 12 >> 2] + 8 >> 2] >> 2]; -} - -function void_20emscripten__internal__raw_destructor_b2Color__28b2Color__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - operator_20delete_28void__29($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function emscripten__internal__DestructorsRunner__DestructorsRunner_28emscripten__internal___EM_DESTRUCTORS__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$2 + 8 >> 2]; - return $0; -} - -function b2Vec2__Set_28float_2c_20float_29($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - HEAP32[$3 + 12 >> 2] = $0; - HEAPF32[$3 + 8 >> 2] = $1; - HEAPF32[$3 + 4 >> 2] = $2; - $0 = HEAP32[$3 + 12 >> 2]; - HEAPF32[$0 >> 2] = HEAPF32[$3 + 8 >> 2]; - HEAPF32[$0 + 4 >> 2] = HEAPF32[$3 + 4 >> 2]; -} - -function b2PositionSolverManifold__b2PositionSolverManifold_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Vec2__b2Vec2_28_29($0); - b2Vec2__b2Vec2_28_29($0 + 8 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_5babi_v160004_5d_28unsigned_20long_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return HEAP32[HEAP32[$2 + 12 >> 2] >> 2] + (HEAP32[$2 + 8 >> 2] << 2) | 0; -} - -function std____2____unwrap_iter_impl_std____2__reverse_iterator_int___2c_20false_____unwrap_5babi_v160004_5d_28std____2__reverse_iterator_int___29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 8 >> 2] = $0; - HEAP32[$1 + 12 >> 2] = HEAP32[$1 + 8 >> 2]; - return HEAP32[$1 + 12 >> 2]; -} - -function float_20b2Min_float__28float_2c_20float_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAPF32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - if (HEAPF32[$2 + 12 >> 2] < HEAPF32[$2 + 8 >> 2]) { - $0 = HEAPF32[$2 + 12 >> 2]; - } else { - $0 = HEAPF32[$2 + 8 >> 2]; - } - return $0; -} - -function float_20b2Max_float__28float_2c_20float_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAPF32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - if (HEAPF32[$2 + 12 >> 2] > HEAPF32[$2 + 8 >> 2]) { - $0 = HEAPF32[$2 + 12 >> 2]; - } else { - $0 = HEAPF32[$2 + 8 >> 2]; - } - return $0; -} - -function void_20emscripten__internal__raw_destructor_b2Vec2__28b2Vec2__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - operator_20delete_28void__29($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function void_20emscripten__internal__raw_destructor_b2AABB__28b2AABB__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - operator_20delete_28void__29($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function std____2____compressed_pair_elem_std____2____tree_node_destructor_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____2c_201_2c_20false_____get_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const__2c_20b2RayCastOutput__2c_20b2RayCastInput_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 4; -} - -function emscripten__internal__BindingType_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20void___fromWireType_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2PulleyJoint___b2PulleyJoint_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2PulleyJoint___b2PulleyJoint_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function b2PulleyJoint__GetGroundAnchorB_28_29_20const($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $1; - $2 = HEAP32[$2 + 12 >> 2]; - $1 = HEAP32[$2 + 76 >> 2]; - $3 = HEAP32[$2 + 80 >> 2]; - $2 = $1; - $1 = $0; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $3; -} - -function b2PulleyJoint__GetGroundAnchorA_28_29_20const($0, $1) { - var $2 = 0, $3 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $1; - $2 = HEAP32[$2 + 12 >> 2]; - $1 = HEAP32[$2 + 68 >> 2]; - $3 = HEAP32[$2 + 72 >> 2]; - $2 = $1; - $1 = $0; - HEAP32[$1 >> 2] = $2; - HEAP32[$1 + 4 >> 2] = $3; -} - -function b2DrawWrapper___b2DrawWrapper_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2DrawWrapper___b2DrawWrapper_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function b2CircleShape___b2CircleShape_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2CircleShape___b2CircleShape_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function WorldManifoldGetPointValueX_28unsigned_20int_2c_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return Math_fround(HEAPF32[(HEAP32[$2 + 12 >> 2] + 8 | 0) + (HEAP32[$2 + 8 >> 2] << 3) >> 2]); -} - -function b2Vec2__Length_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - return Math_fround(Math_sqrt(Math_fround(Math_fround(HEAPF32[$0 >> 2] * HEAPF32[$0 >> 2]) + Math_fround(HEAPF32[$0 + 4 >> 2] * HEAPF32[$0 + 4 >> 2])))); -} - -function void_20emscripten__internal__raw_destructor_b2Rot__28b2Rot__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - if ($0) { - operator_20delete_28void__29($0); - } - __stack_pointer = $1 + 16 | 0; -} - -function std____2__reverse_iterator_b2Vec2____operator__5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - HEAP32[$1 + 8 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - $0 = HEAP32[$1 + 8 >> 2] - 8 | 0; - HEAP32[$1 + 8 >> 2] = $0; - return $0; -} - -function emscripten__internal__BindingType_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20void___toWireType_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2MixRestitution_28float_2c_20float_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAPF32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - if (HEAPF32[$2 + 12 >> 2] > HEAPF32[$2 + 8 >> 2]) { - $0 = HEAPF32[$2 + 12 >> 2]; - } else { - $0 = HEAPF32[$2 + 8 >> 2]; - } - return $0; -} - -function emscripten__internal__GenericBindingType_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2_____fromWireType_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2WheelJoint___b2WheelJoint_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2WheelJoint___b2WheelJoint_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function b2MouseJoint___b2MouseJoint_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2MouseJoint___b2MouseJoint_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function b2MotorJoint___b2MotorJoint_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2MotorJoint___b2MotorJoint_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function std____2__reverse_iterator_int____operator__5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - HEAP32[$1 + 8 >> 2] = HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; - $0 = HEAP32[$1 + 8 >> 2] - 4 | 0; - HEAP32[$1 + 8 >> 2] = $0; - return $0; -} - -function emscripten__val__val_28emscripten__val___29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[HEAP32[$2 + 8 >> 2] >> 2]; - HEAP32[HEAP32[$2 + 8 >> 2] >> 2] = 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Vec2_20const__2c_20float_2c_20b2Color_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 5; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 4; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const____get_28_29(); -} - -function b2PolygonAndCircleContact___b2PolygonAndCircleContact_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Contact___b2Contact_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2MassData__20emscripten__internal__raw_constructor_b2MassData__28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(16); - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - HEAP32[$0 + 12 >> 2] = 0; - b2MassData__b2MassData_28_29($0); - return $0 | 0; -} - -function b2ContactManager__FindNewContacts_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - void_20b2BroadPhase__UpdatePairs_b2ContactManager__28b2ContactManager__29($0, $0); - __stack_pointer = $1 + 16 | 0; -} - -function EmBindInit_b2__EmBindInit_b2_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - emscripten__internal__InitFunc__InitFunc_28void_20_28__29_28_29_29($0, 1); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World_20const__2c_20b2QueryCallback__2c_20b2AABB_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 4; -} - -function b2StackAllocator__b2StackAllocator_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[$0 + 102400 >> 2] = 0; - HEAP32[$0 + 102404 >> 2] = 0; - HEAP32[$0 + 102408 >> 2] = 0; - HEAP32[$0 + 102796 >> 2] = 0; - return $0; -} - -function b2ChainAndPolygonContact___b2ChainAndPolygonContact_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Contact___b2Contact_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function ContactImpulseGetNormalImpulse_28unsigned_20int_2c_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return Math_fround(HEAPF32[HEAP32[$2 + 12 >> 2] + (HEAP32[$2 + 8 >> 2] << 2) >> 2]); -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20unsigned_20int_2c_20int_2c_20b2Color_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 5; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2ContactListener__2c_20unsigned_20int_2c_20unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 4; -} - -function embind_init_b2_28_29__$_7__operator_28_29_28b2JointDef__2c_20b2Body__29_20const($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - HEAP32[HEAP32[$3 + 8 >> 2] + 12 >> 2] = HEAP32[$3 + 4 >> 2]; -} - -function b2WeldJoint___b2WeldJoint_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2WeldJoint___b2WeldJoint_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function b2RopeJoint___b2RopeJoint_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2RopeJoint___b2RopeJoint_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function b2GearJoint___b2GearJoint_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2GearJoint___b2GearJoint_28_29($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function b2EdgeShape___b2EdgeShape_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2EdgeShape___b2EdgeShape_28_29_1($0); - operator_20delete_28void__29($0); - __stack_pointer = $1 + 16 | 0; -} - -function emscripten__internal__DestructorsRunner___DestructorsRunner_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - _emval_run_destructors(HEAP32[$0 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function embind_init_b2_28_29__$_5__operator_28_29_28b2JointDef__2c_20b2Body__29_20const($0, $1, $2) { - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - HEAP32[HEAP32[$3 + 8 >> 2] + 8 >> 2] = HEAP32[$3 + 4 >> 2]; -} - -function b2EdgeAndPolygonContact___b2EdgeAndPolygonContact_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Contact___b2Contact_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2ChainAndCircleContact___b2ChainAndCircleContact_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Contact___b2Contact_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2EdgeAndCircleContact___b2EdgeAndCircleContact_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Contact___b2Contact_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__BindingType_std____2__vector_int_2c_20std____2__allocator_int____2c_20void___fromWireType_28std____2__vector_int_2c_20std____2__allocator_int____29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2RayCastOutput__20emscripten__internal__raw_constructor_b2RayCastOutput__28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(12); - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - b2RayCastOutput__b2RayCastOutput_28_29($0); - return $0 | 0; -} - -function int_20b2Min_int__28int_2c_20int_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - if (HEAP32[$2 + 12 >> 2] < HEAP32[$2 + 8 >> 2]) { - $0 = HEAP32[$2 + 12 >> 2]; - } else { - $0 = HEAP32[$2 + 8 >> 2]; - } - return $0; -} - -function int_20b2Max_int__28int_2c_20int_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - if (HEAP32[$2 + 12 >> 2] > HEAP32[$2 + 8 >> 2]) { - $0 = HEAP32[$2 + 12 >> 2]; - } else { - $0 = HEAP32[$2 + 8 >> 2]; - } - return $0; -} - -function b2Draw__ClearFlags_28unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] & (HEAP32[$2 + 8 >> 2] ^ -1); -} - -function b2DrawWrapper___b2DrawWrapper_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - emscripten__wrapper_b2Draw____wrapper_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2BroadPhase__TouchProxy_28int_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - b2BroadPhase__BufferMove_28int_29(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function auto_20std____2____unwrap_range_5babi_v160004_5d_char_20const__2c_20char_20const___28char_20const__2c_20char_20const__29($0, $1, $2) { - std____2____unwrap_range_impl_char_20const__2c_20char_20const______unwrap_5babi_v160004_5d_28char_20const__2c_20char_20const__29($0, $1, $2); -} - -function std____2____tree_node_base_void______set_parent_5babi_v160004_5d_28std____2____tree_node_base_void____29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - HEAP32[HEAP32[$2 + 12 >> 2] + 8 >> 2] = HEAP32[$2 + 8 >> 2]; -} - -function fmt_o($0, $1, $2) { - var $3 = 0; - if ($0 | $1) { - while (1) { - $2 = $2 - 1 | 0; - HEAP8[$2 | 0] = $0 & 7 | 48; - $3 = !$1 & $0 >>> 0 > 7 | ($1 | 0) != 0; - $0 = ($1 & 7) << 29 | $0 >>> 3; - $1 = $1 >>> 3 | 0; - if ($3) { - continue; - } - break; - } - } - return $2; -} - -function emscripten__internal__BindingType_std____2__vector_int_2c_20std____2__allocator_int____2c_20void___toWireType_28std____2__vector_int_2c_20std____2__allocator_int____29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2DistanceOutput__b2DistanceOutput_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Vec2__b2Vec2_28_29($0); - b2Vec2__b2Vec2_28_29($0 + 8 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2RayCastCallback__20emscripten__base_b2RayCastCallback___convertPointer_b2RayCastCallbackWrapper_2c_20b2RayCastCallback__28b2RayCastCallbackWrapper__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2RayCastCallbackWrapper__20emscripten__base_b2RayCastCallback___convertPointer_b2RayCastCallback_2c_20b2RayCastCallbackWrapper__28b2RayCastCallback__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2ContactListener__20emscripten__base_b2ContactListener___convertPointer_b2ContactListenerWrapper_2c_20b2ContactListener__28b2ContactListenerWrapper__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2ContactListenerWrapper__20emscripten__base_b2ContactListener___convertPointer_b2ContactListener_2c_20b2ContactListenerWrapper__28b2ContactListener__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__GenericBindingType_std____2__vector_int_2c_20std____2__allocator_int_____fromWireType_28std____2__vector_int_2c_20std____2__allocator_int____29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function std____2__reverse_iterator_b2Vec2____reverse_iterator_5babi_v160004_5d_28b2Vec2__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$2 + 8 >> 2]; - return $0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20b2Vec2_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_std____2__vector_int_2c_20std____2__allocator_int___20const____get_28_29(); -} - -function b2JointDef__b2JointDef_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - HEAP32[$0 + 12 >> 2] = 0; - HEAP8[$0 + 16 | 0] = 0; - return $0; -} - -function void_20_28_emscripten__select_overload_void_20_28b2RayCastCallbackWrapper__29__28void_20_28__29_28b2RayCastCallbackWrapper__29_29_29_28b2RayCastCallbackWrapper__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function void_20_28_emscripten__select_overload_void_20_28b2ContactListenerWrapper__29__28void_20_28__29_28b2ContactListenerWrapper__29_29_29_28b2ContactListenerWrapper__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function unsigned_20long_20std____2__allocator_traits_std____2__allocator_char____max_size_5babi_v160004_5d_std____2__allocator_char__2c_20void_2c_20void__28std____2__allocator_char__20const__29($0) { - return std____2__numeric_limits_unsigned_20long___max_5babi_v160004_5d_28_29(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World_20const__2c_20emscripten__internal__AllowedRawPointer_b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const_____get_28_29() { - return 27552; -} - -function b2Vec2__LengthSquared_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - return Math_fround(Math_fround(HEAPF32[$0 >> 2] * HEAPF32[$0 >> 2]) + Math_fround(HEAPF32[$0 + 4 >> 2] * HEAPF32[$0 + 4 >> 2])); -} - -function b2RayCastInput__b2RayCastInput_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Vec2__b2Vec2_28_29($0); - b2Vec2__b2Vec2_28_29($0 + 8 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function FixtureGetFilterData_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = b2Fixture__GetFilterData_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_unsigned_20long_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function b2MouseJoint__GetReactionTorque_28float_29_20const($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - return Math_fround(Math_fround(HEAPF32[$2 + 8 >> 2] * Math_fround(0))); -} - -function b2EdgeShape__TestPoint_28b2Transform_20const__2c_20b2Vec2_20const__29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; - return 0; -} - -function b2Draw__AppendFlags_28unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 + 8 >> 2] | HEAP32[$0 + 4 >> 2]; -} - -function Vec2VectorCC__clear_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____clear_5babi_v160004_5d_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______get_28_29(); -} - -function FixtureGetUserData_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = b2Fixture__GetUserData_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____size_5babi_v160004_5d_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] >> 3; -} - -function std____2__reverse_iterator_int____reverse_iterator_5babi_v160004_5d_28int__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$2 + 8 >> 2]; - return $0; -} - -function std____2__pair_char_20const__2c_20char_20const____pair_5babi_v160004_5d_char_20const__2c_20char_20const__2c_20_28void__290__28char_20const____2c_20char_20const____29($0, $1, $2) { - HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 >> 2]; - return $0; -} - -function std____2____tree_const_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long_____get_np_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2Joint__2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20emscripten__internal__AllowedRawPointer_b2JointDef_20const_____get_28_29() { - return 27432; -} - -function b2PolygonContact___b2PolygonContact_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Contact___b2Contact_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2IsValid_28float_29($0) { - var $1 = 0, $2 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAPF32[$1 + 12 >> 2] = $0; - $2 = bool_20isfinite_5babi_v160004_5d_float_2c_200__28float_29(HEAPF32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $2 & 1; -} - -function void_20_28_emscripten__select_overload_void_20_28b2QueryCallbackWrapper__29__28void_20_28__29_28b2QueryCallbackWrapper__29_29_29_28b2QueryCallbackWrapper__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2AABB__20emscripten__internal__operator_new_b2AABB__28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(16); - HEAP32[$0 >> 2] = 0; - HEAP32[$0 + 4 >> 2] = 0; - HEAP32[$0 + 8 >> 2] = 0; - HEAP32[$0 + 12 >> 2] = 0; - b2AABB__b2AABB_28_29($0); - return $0 | 0; -} - -function __cxxabiv1____fundamental_type_info__can_catch_28__cxxabiv1____shim_type_info_20const__2c_20void___29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, $1, 0) | 0; -} - -function ContactIsTouching_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = b2Contact__IsTouching_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 & 1; -} - -function emscripten__internal__WithPolicies____ArgTypeList_unsigned_20long_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int___20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2Body__2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20emscripten__internal__AllowedRawPointer_b2BodyDef_20const_____get_28_29() { - return 27360; -} - -function b2QueryCallback__20emscripten__base_b2QueryCallback___convertPointer_b2QueryCallbackWrapper_2c_20b2QueryCallback__28b2QueryCallbackWrapper__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2QueryCallbackWrapper__20emscripten__base_b2QueryCallback___convertPointer_b2QueryCallback_2c_20b2QueryCallbackWrapper__28b2QueryCallback__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2CircleContact___b2CircleContact_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Contact___b2Contact_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function ManifoldGetManifoldPointPtr_28unsigned_20int_2c_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return HEAP32[$2 + 12 >> 2] + Math_imul(HEAP32[$2 + 8 >> 2], 20) | 0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int____2c_20int_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function b2Transform__b2Transform_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Vec2__b2Vec2_28_29($0); - b2Rot__b2Rot_28_29($0 + 8 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20std____2____libcpp_operator_delete_5babi_v160004_5d_void___28void__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - operator_20delete_28void__29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2AABB__2c_20emscripten__internal__AllowedRawPointer_b2AABB__2c_20emscripten__internal__AllowedRawPointer_b2AABB_____get_28_29() { - return 27216; -} - -function b2PrismaticJoint___b2PrismaticJoint_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Joint___b2Joint_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function GetFloat32_28unsigned_20int_2c_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return Math_fround(HEAPF32[HEAP32[$2 + 12 >> 2] + (HEAP32[$2 + 8 >> 2] << 2) >> 2]); -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2ContactListener__2c_20unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20bool_2c_20unsigned_20short_2c_20unsigned_20short_2c_20short____get_28_29() { - return 25232; -} - -function FixtureIsSensor_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = b2Fixture__IsSensor_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 & 1; -} - -function std____2__vector_int_2c_20std____2__allocator_int____size_5babi_v160004_5d_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] >> 2; -} - -function std____2__allocator_traits_std____2__allocator_char____deallocate_5babi_v160004_5d_28std____2__allocator_char___2c_20char__2c_20unsigned_20long_29($0, $1, $2) { - std____2__allocator_char___deallocate_5babi_v160004_5d_28char__2c_20unsigned_20long_29($0, $1, $2); -} - -function std____2____tree_iterator_b2Fixture__2c_20std____2____tree_node_b2Fixture__2c_20void____2c_20long_____get_np_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Joint__2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2JointDef_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function char__20std____2____rewrap_iter_5babi_v160004_5d_char__2c_20char__2c_20std____2____unwrap_iter_impl_char__2c_20true___28char__2c_20char__29($0, $1) { - return std____2____unwrap_iter_impl_char__2c_20true_____rewrap_5babi_v160004_5d_28char__2c_20char__29($0, $1); -} - -function b2RevoluteJoint___b2RevoluteJoint_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Joint___b2Joint_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2FrictionJoint___b2FrictionJoint_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Joint___b2Joint_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2DistanceJoint___b2DistanceJoint_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Joint___b2Joint_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function std____2____compressed_pair_elem_std____2____tree_end_node_std____2____tree_node_base_void_____2c_200_2c_20false_____get_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2QueryCallback__2c_20unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function Vec2VectorSize_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = Vec2VectorCC__size_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function FixtureGetType_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = b2Fixture__GetType_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function ContactGetManifold_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = b2Contact__GetManifold_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function ContactGetFixtureB_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = b2Contact__GetFixtureB_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function ContactGetFixtureA_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = b2Contact__GetFixtureA_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Body__2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2BodyDef_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function b2WheelJoint__SetSpringDampingRatio_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - HEAPF32[HEAP32[$2 + 12 >> 2] + 72 >> 2] = HEAPF32[$2 + 8 >> 2]; -} - -function b2PolygonShape___b2PolygonShape_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Shape___b2Shape_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function __cxxabiv1____enum_type_info__can_catch_28__cxxabiv1____shim_type_info_20const__2c_20void___29_20const($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - return is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, $1, 0) | 0; -} - -function b2WheelJoint__SetSpringFrequencyHz_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - HEAPF32[HEAP32[$2 + 12 >> 2] + 68 >> 2] = HEAPF32[$2 + 8 >> 2]; -} - -function b2Mat22__b2Mat22_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Vec2__b2Vec2_28_29($0); - b2Vec2__b2Vec2_28_29($0 + 8 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2GrowableStack_int_2c_20256___b2GrowableStack_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[$0 >> 2] = $0 + 4; - HEAP32[$0 + 1028 >> 2] = 0; - HEAP32[$0 + 1032 >> 2] = 256; - return $0; -} - -function float_20b2Abs_float__28float_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAPF32[$1 + 12 >> 2] = $0; - if (HEAPF32[$1 + 12 >> 2] > Math_fround(0)) { - $0 = HEAPF32[$1 + 12 >> 2]; - } else { - $0 = Math_fround(-HEAPF32[$1 + 12 >> 2]); - } - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Transform_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int____2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_std____2__vector_int_2c_20std____2__allocator_int______get_28_29(); -} - -function b2PulleyJoint___b2PulleyJoint_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Joint___b2Joint_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2CircleShape___b2CircleShape_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Shape___b2Shape_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function ShapeSetRadius_28unsigned_20int_2c_20float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - HEAPF32[HEAP32[$2 + 12 >> 2] + 8 >> 2] = HEAPF32[$2 + 8 >> 2]; -} - -function void_20const__20emscripten__internal__getLightTypeID_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 25696; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2RayCastCallbackWrapper__28b2RayCastCallbackWrapper_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[HEAP32[$1 + 12 >> 2] >> 2] - 4 >> 2]; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2ContactListenerWrapper__28b2ContactListenerWrapper_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[HEAP32[$1 + 12 >> 2] >> 2] - 4 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2ContactListener____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const__2c_20b2MassData____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const__2c_20emscripten__internal__AllowedRawPointer_b2RayCastOutput__2c_20b2RayCastInput_20const_____get_28_29() { - return 27248; -} - -function b2World__SetContactListener_28b2ContactListener__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - HEAP32[HEAP32[$2 + 12 >> 2] + 102940 >> 2] = HEAP32[$2 + 8 >> 2]; -} - -function b2Fixture__GetType_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = b2Shape__GetType_28_29_20const(HEAP32[HEAP32[$1 + 12 >> 2] + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2DistanceJoint__SetDampingRatio_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - HEAPF32[HEAP32[$2 + 12 >> 2] + 72 >> 2] = HEAPF32[$2 + 8 >> 2]; -} - -function b2AABB__b2AABB_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Vec2__b2Vec2_28_29($0); - b2Vec2__b2Vec2_28_29($0 + 8 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function Vec2VectorGetPtr_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = Vec2VectorCC__getPtr_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function ShapeGetType_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = b2Shape__GetType_28_29_20const(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function std____2____compressed_pair_elem_std____2__allocator_std____2____tree_node_b2Fixture__2c_20void____2c_201_2c_20true_____get_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2WheelJoint___b2WheelJoint_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Joint___b2Joint_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2MouseJoint___b2MouseJoint_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Joint___b2Joint_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2MotorJoint___b2MotorJoint_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Joint___b2Joint_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2EdgeShape___b2EdgeShape_28_29_1($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Shape___b2Shape_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2ContactManager___b2ContactManager_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2BroadPhase___b2BroadPhase_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function __cxxabiv1____class_type_info__process_static_type_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_29_20const($0, $1, $2, $3) { - if (!(HEAP32[$1 + 28 >> 2] == 1 | HEAP32[$1 + 4 >> 2] != ($2 | 0))) { - HEAP32[$1 + 28 >> 2] = $3; - } -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 4; -} - -function FixtureGetShape_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = b2Fixture__GetShape_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____tree_node_b2Fixture__2c_20void________non_trivial_if_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 7; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 5; -} - -function b2WeldJoint___b2WeldJoint_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Joint___b2Joint_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2RopeJoint___b2RopeJoint_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Joint___b2Joint_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2MouseJoint__SetDampingRatio_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - HEAPF32[HEAP32[$2 + 12 >> 2] + 88 >> 2] = HEAPF32[$2 + 8 >> 2]; -} - -function b2GearJoint___b2GearJoint_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Joint___b2Joint_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2DistanceJoint__SetFrequency_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - HEAPF32[HEAP32[$2 + 12 >> 2] + 68 >> 2] = HEAPF32[$2 + 8 >> 2]; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2QueryCallbackWrapper__28b2QueryCallbackWrapper_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[HEAP32[$1 + 12 >> 2] >> 2] - 4 >> 2]; -} - -function std____2____compressed_pair_elem_std____2____tree_end_node_std____2____tree_node_base_void_____2c_200_2c_20false_____get_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__WithPolicies____ArgTypeList_emscripten__val_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__val_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const_____get_28_29() { - return 26088; -} - -function b2WeldJoint__SetDampingRatio_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - HEAPF32[HEAP32[$2 + 12 >> 2] + 72 >> 2] = HEAPF32[$2 + 8 >> 2]; -} - -function FixtureGetNext_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = b2Fixture__GetNext_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function FixtureGetBody_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = b2Fixture__GetBody_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0 | 0; -} - -function b2Log_28char_20const__2c_20____29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - __stack_pointer = $2; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - vprintf(HEAP32[$2 + 12 >> 2], HEAP32[$2 + 8 >> 2]); - __stack_pointer = $2 + 16 | 0; -} - -function b2DistanceJoint__SetLength_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - HEAPF32[HEAP32[$2 + 12 >> 2] + 104 >> 2] = HEAPF32[$2 + 8 >> 2]; -} - -function b2ContactListener__PostSolve_28unsigned_20int_2c_20unsigned_20int_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; -} - -function void_20std____2____debug_db_erase_c_5babi_v160004_5d_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____29($0) {} - -function std____2____unwrap_iter_impl_char_20const__2c_20true_____rewrap_5babi_v160004_5d_28char_20const__2c_20char_20const__29($0, $1) { - return ($1 - char_20const__20std____2____to_address_5babi_v160004_5d_char_20const__28char_20const__29($0) | 0) + $0 | 0; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const_____get_28_29() { - return 25760; -} - -function b2MouseJoint__SetMaxForce_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - HEAPF32[HEAP32[$2 + 12 >> 2] + 104 >> 2] = HEAPF32[$2 + 8 >> 2]; -} - -function b2MouseJoint__SetFrequency_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - HEAPF32[HEAP32[$2 + 12 >> 2] + 84 >> 2] = HEAPF32[$2 + 8 >> 2]; -} - -function b2DynamicTree___b2DynamicTree_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Free_28void__29(HEAP32[$0 + 4 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2ContactListener__PreSolve_28unsigned_20int_2c_20unsigned_20int_29($0, $1, $2) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - var $3 = 0; - $3 = __stack_pointer - 16 | 0; - HEAP32[$3 + 12 >> 2] = $0; - HEAP32[$3 + 8 >> 2] = $1; - HEAP32[$3 + 4 >> 2] = $2; -} - -function b2Body__SetAngularDamping_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - HEAPF32[HEAP32[$2 + 12 >> 2] + 136 >> 2] = HEAPF32[$2 + 8 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World_20const__2c_20emscripten__internal__AllowedRawPointer_b2QueryCallback__2c_20b2AABB_20const_____get_28_29() { - return 27536; -} - -function b2WeldJoint__SetFrequency_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - HEAPF32[HEAP32[$2 + 12 >> 2] + 68 >> 2] = HEAPF32[$2 + 8 >> 2]; -} - -function b2RopeJoint__SetMaxLength_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - HEAPF32[HEAP32[$2 + 12 >> 2] + 84 >> 2] = HEAPF32[$2 + 8 >> 2]; -} - -function b2Body__SetLinearDamping_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - HEAPF32[HEAP32[$2 + 12 >> 2] + 132 >> 2] = HEAPF32[$2 + 8 >> 2]; -} - -function ContactResetRestitution_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - b2Contact__ResetRestitution_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function b2Body__SetGravityScale_28float_29($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - HEAPF32[HEAP32[$2 + 12 >> 2] + 140 >> 2] = HEAPF32[$2 + 8 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2Joint____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_emscripten__val_2c_20std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2Draw____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2Body____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_bool_2c_20unsigned_20int_2c_20b2Transform_20const__2c_20b2Vec2_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 4; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 4; -} - -function void_20const__20emscripten__internal__getLightTypeID_std____2__vector_int_2c_20std____2__allocator_int____28std____2__vector_int_2c_20std____2__allocator_int___20const__29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 25572; -} - -function std____2____compressed_pair_elem_std____2____tree_node_b2Fixture__2c_20void____2c_200_2c_20false_____get_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2PrismaticJointDef__20emscripten__base_b2JointDef___convertPointer_b2JointDef_2c_20b2PrismaticJointDef__28b2JointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2JointDef__20emscripten__base_b2JointDef___convertPointer_b2PrismaticJointDef_2c_20b2JointDef__28b2PrismaticJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function std____2__pair_char_20const__2c_20char____pair_5babi_v160004_5d_char_20const___2c_20char__2c_20_28void__290__28char_20const___2c_20char____29($0, $1, $2) { - HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 >> 2]; - return $0; -} - -function std____2__pair_char_20const__2c_20char____pair_5babi_v160004_5d_char_20const__2c_20char__2c_20_28void__290__28char_20const____2c_20char____29($0, $1, $2) { - HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$2 >> 2]; - return $0; -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______throw_length_error_5babi_v160004_5d_28_29_20const($0) { - std____2____throw_length_error_5babi_v160004_5d_28char_20const__29(7825); - wasm2js_trap(); -} - -function std____2____tree_b2Fixture__2c_20std____2__less_b2Fixture___2c_20std____2__allocator_b2Fixture_______begin_node_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function ContactResetFriction_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - b2Contact__ResetFriction_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2RayCastCallback__28b2RayCastCallback_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[HEAP32[$1 + 12 >> 2] >> 2] - 4 >> 2]; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2ContactListener__28b2ContactListener_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[HEAP32[$1 + 12 >> 2] >> 2] - 4 >> 2]; -} - -function std____2____tree_end_node_std____2____tree_node_base_void________tree_end_node_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[$0 >> 2] = 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointer_emscripten__ret_val____ArgTypeList_b2RayCastCallbackWrapper__2c_20emscripten__val_____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointer_emscripten__ret_val____ArgTypeList_b2ContactListenerWrapper__2c_20emscripten__val_____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RayCastCallback__2c_20unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float____get_28_29() { - return 26160; -} - -function b2RevoluteJointDef__20emscripten__base_b2JointDef___convertPointer_b2JointDef_2c_20b2RevoluteJointDef__28b2JointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2JointDef__20emscripten__base_b2JointDef___convertPointer_b2RevoluteJointDef_2c_20b2JointDef__28b2RevoluteJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2JointDef__20emscripten__base_b2JointDef___convertPointer_b2DistanceJointDef_2c_20b2JointDef__28b2DistanceJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2DistanceJointDef__20emscripten__base_b2JointDef___convertPointer_b2JointDef_2c_20b2DistanceJointDef__28b2JointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const_____get_28_29() { - return 25632; -} - -function void_20std____2____debug_db_invalidate_all_5babi_v160004_5d_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2PrismaticJoint__28b2PrismaticJoint_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[HEAP32[$1 + 12 >> 2] >> 2] - 4 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointer_emscripten__ret_val____ArgTypeList_b2QueryCallbackWrapper__2c_20emscripten__val_____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function void_20_28_emscripten__select_overload_void_20_28b2DrawWrapper__29__28void_20_28__29_28b2DrawWrapper__29_29_29_28b2DrawWrapper__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2ContactListenerWrapper__2c_20unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2ContactListenerWrapper__2c_20unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function b2World__SetDebugDraw_28b2Draw__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - HEAP32[HEAP32[$2 + 12 >> 2] + 102980 >> 2] = HEAP32[$2 + 8 >> 2]; -} - -function b2RayCastOutput__b2RayCastOutput_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Vec2__b2Vec2_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2ManifoldPoint__b2ManifoldPoint_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Vec2__b2Vec2_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2RevoluteJoint__28b2RevoluteJoint_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[HEAP32[$1 + 12 >> 2] >> 2] - 4 >> 2]; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2QueryCallback__28b2QueryCallback_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[HEAP32[$1 + 12 >> 2] >> 2] - 4 >> 2]; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2DistanceJoint__28b2DistanceJoint_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[HEAP32[$1 + 12 >> 2] >> 2] - 4 >> 2]; -} - -function b2MixFriction_28float_2c_20float_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAPF32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - return Math_fround(Math_sqrt(Math_fround(HEAPF32[$2 + 12 >> 2] * HEAPF32[$2 + 8 >> 2]))); -} - -function b2DistanceJoint__GetReactionTorque_28float_29_20const($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - return Math_fround(Math_fround(0)); -} - -function b2MassData__b2MassData_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Vec2__b2Vec2_28_29($0 + 4 | 0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2____compressed_pair_elem_std____2____tree_node_b2Fixture__2c_20void____2c_200_2c_20false_____get_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__val__val_28emscripten___EM_VAL__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - $0 = HEAP32[$2 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$2 + 8 >> 2]; - return $0; -} - -function b2WheelJointDef__20emscripten__base_b2JointDef___convertPointer_b2JointDef_2c_20b2WheelJointDef__28b2JointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2PulleyJoint__GetReactionTorque_28float_29_20const($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - return Math_fround(Math_fround(0)); -} - -function b2MouseJointDef__20emscripten__base_b2JointDef___convertPointer_b2JointDef_2c_20b2MouseJointDef__28b2JointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2MotorJointDef__20emscripten__base_b2JointDef___convertPointer_b2JointDef_2c_20b2MotorJointDef__28b2JointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2JointDef__20emscripten__base_b2JointDef___convertPointer_b2WheelJointDef_2c_20b2JointDef__28b2WheelJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2JointDef__20emscripten__base_b2JointDef___convertPointer_b2MouseJointDef_2c_20b2JointDef__28b2MouseJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2JointDef__20emscripten__base_b2JointDef___convertPointer_b2MotorJointDef_2c_20b2JointDef__28b2MotorJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2Draw__SetFlags_28unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - HEAP32[HEAP32[$2 + 12 >> 2] + 4 >> 2] = HEAP32[$2 + 8 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2World__2c_20emscripten__internal__AllowedRawPointer_b2Body____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Body__2c_20emscripten__internal__AllowedRawPointer_b2Joint____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function void_20std____2____debug_db_insert_c_5babi_v160004_5d_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2DrawWrapper__28b2DrawWrapper_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[HEAP32[$1 + 12 >> 2] >> 2] - 4 >> 2]; -} - -function emscripten__val___val_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - _emval_decref(HEAP32[$0 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function b2WeldJointDef__20emscripten__base_b2JointDef___convertPointer_b2JointDef_2c_20b2WeldJointDef__28b2JointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2RopeJoint__GetReactionTorque_28float_29_20const($0, $1) { - $0 = $0 | 0; - $1 = Math_fround($1); - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - return Math_fround(Math_fround(0)); -} - -function b2RopeJointDef__20emscripten__base_b2JointDef___convertPointer_b2JointDef_2c_20b2RopeJointDef__28b2JointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2Mat22__SetZero_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAPF32[$0 >> 2] = 0; - HEAPF32[$0 + 8 >> 2] = 0; - HEAPF32[$0 + 4 >> 2] = 0; - HEAPF32[$0 + 12 >> 2] = 0; -} - -function b2JointDef__20emscripten__base_b2JointDef___convertPointer_b2WeldJointDef_2c_20b2JointDef__28b2WeldJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2JointDef__20emscripten__base_b2JointDef___convertPointer_b2RopeJointDef_2c_20b2JointDef__28b2RopeJointDef__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function void_20std____2____debug_db_erase_c_5babi_v160004_5d_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; -} - -function emscripten__internal__WrapperBase__setNotifyJSOnDestruction_28bool_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP8[$2 + 11 | 0] = $1; - HEAP8[HEAP32[$2 + 12 >> 2]] = HEAP8[$2 + 11 | 0] & 1; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint__2c_20float_2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 4; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const__2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 4; -} - -function b2ClipVertex__b2ClipVertex_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - b2Vec2__b2Vec2_28_29($0); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function Vec2VectorClear_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - Vec2VectorCC__clear_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function FixtureRefilter_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - b2Fixture__Refilter_28_29(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2WheelJoint__28b2WheelJoint_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[HEAP32[$1 + 12 >> 2] >> 2] - 4 >> 2]; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2MouseJoint__28b2MouseJoint_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[HEAP32[$1 + 12 >> 2] >> 2] - 4 >> 2]; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2MotorJoint__28b2MotorJoint_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[HEAP32[$1 + 12 >> 2] >> 2] - 4 >> 2]; -} - -function std____2____compressed_pair_elem_std____2__allocator_b2Vec2___2c_201_2c_20false_____get_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 1; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint__2c_20float_2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 4; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const__2c_20bool___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 4; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const__2c_20b2Vec2_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const_____get_28_29() { - return 26800; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointer_emscripten__ret_val____ArgTypeList_b2DrawWrapper__2c_20emscripten__val_____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20float_2c_20int_2c_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 5; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const__2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2WeldJoint__28b2WeldJoint_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[HEAP32[$1 + 12 >> 2] >> 2] - 4 >> 2]; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2RopeJoint__28b2RopeJoint_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[HEAP32[$1 + 12 >> 2] >> 2] - 4 >> 2]; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const__2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const__2c_20b2AABB_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function std____2__reverse_iterator_b2Vec2____operator___5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$0 >> 2] - 8; - return $0; -} - -function std____2____compressed_pair_elem_std____2__allocator_int___2c_201_2c_20false_____get_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20int_2c_20float_2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 5; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20b2Vec2_20const_____get_28_29() { - return 25740; -} - -function b2PrismaticJoint__20emscripten__base_b2Joint___convertPointer_b2Joint_2c_20b2PrismaticJoint__28b2Joint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2Joint__20emscripten__base_b2Joint___convertPointer_b2PrismaticJoint_2c_20b2Joint__28b2PrismaticJoint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function void_20std____2____debug_db_invalidate_all_5babi_v160004_5d_std____2__vector_int_2c_20std____2__allocator_int____28std____2__vector_int_2c_20std____2__allocator_int____29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint__2c_20b2Vec2_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint__2c_20b2Vec2_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 4; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Vec2_2c_20b2Transform_20const__2c_20b2Vec2_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const__2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const__2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__TypeID_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2_____get_28_29(); -} - -function emscripten__internal__BindingType_unsigned_20short_2c_20void___toWireType_28unsigned_20short_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAPU16[HEAP32[$1 + 12 >> 2] >> 1]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_unsigned_20long_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const_____get_28_29() { - return 25776; -} - -function b2RevoluteJoint__20emscripten__base_b2Joint___convertPointer_b2Joint_2c_20b2RevoluteJoint__28b2Joint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2Joint__20emscripten__base_b2Joint___convertPointer_b2RevoluteJoint_2c_20b2Joint__28b2RevoluteJoint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2Joint__20emscripten__base_b2Joint___convertPointer_b2DistanceJoint_2c_20b2Joint__28b2DistanceJoint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2DistanceJoint__20emscripten__base_b2Joint___convertPointer_b2Joint_2c_20b2DistanceJoint__28b2Joint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______invalidate_iterators_past_5babi_v160004_5d_28b2Vec2__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; -} - -function std____2__reverse_iterator_int____operator___5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[$0 >> 2] = HEAP32[$0 >> 2] - 4; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_std____2__vector_int_2c_20std____2__allocator_int______getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 1; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const__2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function __wasm_call_ctors() { - _GLOBAL__sub_I_Box2DWebBindings_cpp(); - _GLOBAL__sub_I_b2_block_allocator_cpp(); - _GLOBAL__sub_I_b2_math_cpp(); - _GLOBAL__sub_I_b2_contact_manager_cpp(); - _GLOBAL__sub_I_bind_cpp(); - init_pthread_self(); -} - -function __cxx_global_array_dtor_2($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - b2ContactListener___b2ContactListener_28_29(29156); - __stack_pointer = $1 + 16 | 0; -} - -function std____2____compressed_pair_elem_std____2__allocator_b2Vec2__2c_201_2c_20true_____get_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Transform_20const__2c_20emscripten__internal__AllowedRawPointer_b2Body_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 5; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 5; -} - -function emscripten__internal__BindingType_unsigned_20long_2c_20void___toWireType_28unsigned_20long_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; -} - -function emscripten__internal__BindingType_b2PrismaticJoint_20const__2c_20void___fromWireType_28b2PrismaticJoint_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2ContactListenerWrapper__2c_20void___fromWireType_28b2ContactListenerWrapper__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2Vec2_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const__2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function embind_init_b2_28_29__$_8__operator_28_29_28b2JointDef__29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return HEAP32[HEAP32[$2 + 8 >> 2] + 12 >> 2]; -} - -function void_20std____2____debug_db_insert_c_5babi_v160004_5d_std____2__vector_int_2c_20std____2__allocator_int____28std____2__vector_int_2c_20std____2__allocator_int____29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2Joint__28b2Joint_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[HEAP32[$1 + 12 >> 2] >> 2] - 4 >> 2]; -} - -function std____2____compressed_pair_elem_std____2__allocator_int__2c_201_2c_20true_____get_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__val__undefined_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - emscripten__val__val_28emscripten___EM_VAL__29($0, 1); - __stack_pointer = $1 + 16 | 0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint__2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20float_2c_20bool___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 4; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const__2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__BindingType_unsigned_20int_2c_20void___toWireType_28unsigned_20int_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; -} - -function emscripten__internal__BindingType_b2RevoluteJoint_20const__2c_20void___fromWireType_28b2RevoluteJoint_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2RayCastCallbackWrapper__2c_20void___toWireType_28b2RayCastCallbackWrapper__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2DistanceJoint_20const__2c_20void___fromWireType_28b2DistanceJoint_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2ContactListenerWrapper__2c_20void___toWireType_28b2ContactListenerWrapper__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20emscripten__internal__AllowedRawPointer_b2ContactListener_____get_28_29() { - return 27328; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const__2c_20emscripten__internal__AllowedRawPointer_b2MassData_____get_28_29() { - return 27776; -} - -function embind_init_b2_28_29__$_6__operator_28_29_28b2JointDef__29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return HEAP32[HEAP32[$2 + 8 >> 2] + 8 >> 2]; -} - -function b2Vec2__operator_28_29_28int_29_20const($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return HEAPF32[HEAP32[$2 + 12 >> 2] + (HEAP32[$2 + 8 >> 2] << 2) >> 2]; -} - -function void_20std____2____debug_db_erase_c_5babi_v160004_5d_std____2__vector_int_2c_20std____2__allocator_int____28std____2__vector_int_2c_20std____2__allocator_int____29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20b2Filter_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint__2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint__2c_20bool___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint__2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const_____get_28_29() { - return 26832; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_unsigned_20long_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int___20const_____get_28_29() { - return 25648; -} - -function b2WheelJoint__20emscripten__base_b2Joint___convertPointer_b2Joint_2c_20b2WheelJoint__28b2Joint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2MouseJoint__20emscripten__base_b2Joint___convertPointer_b2Joint_2c_20b2MouseJoint__28b2Joint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2MotorJoint__20emscripten__base_b2Joint___convertPointer_b2Joint_2c_20b2MotorJoint__28b2Joint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2Joint__20emscripten__base_b2Joint___convertPointer_b2WheelJoint_2c_20b2Joint__28b2WheelJoint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2Joint__20emscripten__base_b2Joint___convertPointer_b2MouseJoint_2c_20b2Joint__28b2MouseJoint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2Joint__20emscripten__base_b2Joint___convertPointer_b2MotorJoint_2c_20b2Joint__28b2MotorJoint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2Filter__b2Filter_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP16[$0 >> 1] = 1; - HEAP16[$0 + 2 >> 1] = 65535; - HEAP16[$0 + 4 >> 1] = 0; - return $0; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2Draw__28b2Draw_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[HEAP32[$1 + 12 >> 2] >> 2] - 4 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20float_2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 4; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint__2c_20bool___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2Body_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__GenericBindingType_b2RayCastCallbackWrapper___fromWireType_28b2RayCastCallbackWrapper__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__GenericBindingType_b2ContactListenerWrapper___fromWireType_28b2ContactListenerWrapper__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int____2c_20int_20const_____get_28_29() { - return 25616; -} - -function b2Draw__20emscripten__base_b2Draw___convertPointer_b2DrawWrapper_2c_20b2Draw__28b2DrawWrapper__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2DrawWrapper__20emscripten__base_b2Draw___convertPointer_b2Draw_2c_20b2DrawWrapper__28b2Draw__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function __cxx_global_array_dtor($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - b2ContactFilter___b2ContactFilter_28_29(29152); - __stack_pointer = $1 + 16 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_bool_2c_20unsigned_20int_2c_20b2Vec2_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_unsigned_20int_2c_20emscripten__internal__AllowedRawPointer_b2Draw_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RayCastCallbackWrapper_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2RayCastCallbackWrapper_20const____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2ContactListenerWrapper_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2ContactListenerWrapper_20const____get_28_29(); -} - -function b2WeldJoint__20emscripten__base_b2Joint___convertPointer_b2Joint_2c_20b2WeldJoint__28b2Joint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2RopeJoint__20emscripten__base_b2Joint___convertPointer_b2Joint_2c_20b2RopeJoint__28b2Joint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2Joint__20emscripten__base_b2Joint___convertPointer_b2WeldJoint_2c_20b2Joint__28b2WeldJoint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2Joint__20emscripten__base_b2Joint___convertPointer_b2RopeJoint_2c_20b2Joint__28b2RopeJoint__29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function __sindf($0) { - var $1 = 0, $2 = 0; - $1 = $0 * $0; - $2 = $1 * $0; - return Math_fround($2 * ($1 * $1) * ($1 * 2718311493989822e-21 + -.00019839334836096632) + ($2 * ($1 * .008333329385889463 + -.16666666641626524) + $0)); -} - -function legalstub$dynCall_jiji($0, $1, $2, $3, $4) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - $4 = $4 | 0; - $3 = dynCall_jiji($0, $1, $2, $3, $4); - $2 = i64toi32_i32$HIGH_BITS; - setTempRet0($2); - return $3 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Vec2_20const__2c_20unsigned_20int_2c_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2AABB_20const__2c_20unsigned_20int_2c_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint__2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint__2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint__2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__BindingType_b2QueryCallbackWrapper__2c_20void___toWireType_28b2QueryCallbackWrapper__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2MouseJoint__Dump_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - b2Log_28char_20const__2c_20____29(15904, 0); - __stack_pointer = $1 + 16 | 0; -} - -function std____2__vector_int_2c_20std____2__allocator_int______invalidate_iterators_past_5babi_v160004_5d_28int__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; -} - -function std____2____compressed_pair_elem_std____2__allocator_b2Vec2__2c_201_2c_20true_____get_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20b2AABB__2c_20b2AABB__2c_20b2AABB____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 4; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint__2c_20bool___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint__2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint__2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2BodyType___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2JointType_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__BindingType_short_2c_20void___toWireType_28short_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAPU16[HEAP32[$1 + 12 >> 2] >> 1] << 16 >> 16; -} - -function b2PrismaticJointDef__20emscripten__internal__operator_new_b2PrismaticJointDef__28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(72); - b2PrismaticJointDef__b2PrismaticJointDef_28_29($0); - return $0 | 0; -} - -function b2FrictionJoint__SolvePositionConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return 1; -} - -function std____2____compressed_pair_elem_std____2__less_b2Fixture___2c_201_2c_20true_____get_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20b2Body__2c_20b2MassData_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__GenericBindingType_b2QueryCallbackWrapper___fromWireType_28b2QueryCallbackWrapper__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2WheelJoint_20const__2c_20void___fromWireType_28b2WheelJoint_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2MouseJoint_20const__2c_20void___fromWireType_28b2MouseJoint_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2MotorJoint_20const__2c_20void___fromWireType_28b2MotorJoint_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function std____2____non_trivial_if_true_2c_20std____2__allocator_b2Vec2______non_trivial_if_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2BodyType_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__TypeID_std____2__vector_int_2c_20std____2__allocator_int___2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_std____2__vector_int_2c_20std____2__allocator_int_____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2QueryCallbackWrapper_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2QueryCallbackWrapper_20const____get_28_29(); -} - -function bool_20isfinite_5babi_v160004_5d_float_2c_200__28float_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAPF32[$1 + 12 >> 2] = $0; - return Math_fround(Math_abs(HEAPF32[$1 + 12 >> 2])) < Math_fround(Infinity); -} - -function std____2____compressed_pair_elem_std____2__allocator_int__2c_201_2c_20true_____get_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2WeldJoint_20const__2c_20void___fromWireType_28b2WeldJoint_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2RopeJoint_20const__2c_20void___fromWireType_28b2RopeJoint_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2JointDef__2c_20emscripten__internal__AllowedRawPointer_b2Body_____get_28_29() { - return 27920; -} - -function b2MouseJoint__SolvePositionConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return 1; -} - -function b2MotorJoint__SolvePositionConstraints_28b2SolverData_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return 1; -} - -function b2Contact__SetTangentSpeed_28float_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - HEAPF32[HEAP32[$2 + 12 >> 2] + 144 >> 2] = HEAPF32[$2 + 8 >> 2]; -} - -function std____2__allocator_char___deallocate_5babi_v160004_5d_28char__2c_20unsigned_20long_29($0, $1, $2) { - std____2____libcpp_deallocate_5babi_v160004_5d_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2, 1); -} - -function std____2____non_trivial_if_true_2c_20std____2__allocator_char______non_trivial_if_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2RevoluteJointDef__20emscripten__internal__operator_new_b2RevoluteJointDef__28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(64); - b2RevoluteJointDef__b2RevoluteJointDef_28_29($0); - return $0 | 0; -} - -function b2Joint__Dump_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - b2Log_28char_20const__2c_20____29(15857, 0); - __stack_pointer = $1 + 16 | 0; -} - -function b2DistanceJointDef__20emscripten__internal__operator_new_b2DistanceJointDef__28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(48); - b2DistanceJointDef__b2DistanceJointDef_28_29($0); - return $0 | 0; -} - -function b2Contact__SetRestitution_28float_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - HEAPF32[HEAP32[$2 + 12 >> 2] + 140 >> 2] = HEAPF32[$2 + 8 >> 2]; -} - -function std____2____non_trivial_if_true_2c_20std____2__allocator_int______non_trivial_if_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20bool___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 4; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2World_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__BindingType_b2PrismaticJointDef__2c_20void___toWireType_28b2PrismaticJointDef__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2JointDef_20const__2c_20void___fromWireType_28b2JointDef_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20emscripten__internal__AllowedRawPointer_b2Joint_____get_28_29() { - return 27492; -} - -function b2Fixture__SetRestitution_28float_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - HEAPF32[HEAP32[$2 + 12 >> 2] + 20 >> 2] = HEAPF32[$2 + 8 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Filter_20const__2c_20unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20bool___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20emscripten__internal__AllowedRawPointer_b2Draw_____get_28_29() { - return 27340; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20emscripten__internal__AllowedRawPointer_b2Body_____get_28_29() { - return 27420; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Vec2_20const__2c_20float_2c_20b2Color_20const_____get_28_29() { - return 26768; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2World_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__BindingType_b2RevoluteJointDef__2c_20void___toWireType_28b2RevoluteJointDef__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2RayCastCallback__2c_20void___fromWireType_28b2RayCastCallback__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2DistanceJointDef__2c_20void___toWireType_28b2DistanceJointDef__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2ContactListener__2c_20void___fromWireType_28b2ContactListener__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2BodyDef_20const__2c_20void___fromWireType_28b2BodyDef_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2AABB__2c_20emscripten__internal__AllowedRawPointer_b2AABB_____get_28_29() { - return 27204; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const_____get_28_29() { - return 25808; -} - -function b2Contact__SetFriction_28float_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - HEAPF32[HEAP32[$2 + 12 >> 2] + 136 >> 2] = HEAPF32[$2 + 8 >> 2]; -} - -function std__get_new_handler_28_29() { - return void_20_28_std____2___28anonymous_20namespace_29____libcpp_atomic_load_5babi_v160004_5d_void_20_28__29_28_29__28void_20_28__20const__29_28_29_2c_20int_29_29_28_29(32040); -} - -function std____2__array_emscripten__internal__GenericWireType_2c_204ul___data_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function std____2__array_emscripten__internal__GenericWireType_2c_203ul___data_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function std____2__array_emscripten__internal__GenericWireType_2c_202ul___data_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function std____2__array_emscripten__internal__GenericWireType_2c_201ul___data_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Vec2_20const__2c_20unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2PrismaticJointDef_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2PrismaticJointDef_20const____get_28_29(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool____get_28_29() { - return 27712; -} - -function b2Island__Clear_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[$0 + 28 >> 2] = 0; - HEAP32[$0 + 36 >> 2] = 0; - HEAP32[$0 + 32 >> 2] = 0; -} - -function b2Fixture__SetFriction_28float_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAPF32[$2 + 8 >> 2] = $1; - HEAPF32[HEAP32[$2 + 12 >> 2] + 16 >> 2] = HEAPF32[$2 + 8 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20bool___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20b2JointDef__2c_20b2Body____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_unsigned_20int_2c_20unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_float_2c_20unsigned_20int_2c_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__BindingType_b2PrismaticJoint__2c_20void___fromWireType_28b2PrismaticJoint__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20unsigned_20int_2c_20int_2c_20b2Color_20const_____get_28_29() { - return 26736; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2ContactListener__2c_20unsigned_20int_2c_20unsigned_20int____get_28_29() { - return 26416; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__val_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long____get_28_29() { - return 25784; -} - -function std____2____unwrap_iter_impl_char_20const__2c_20true_____unwrap_5babi_v160004_5d_28char_20const__29($0) { - return char_20const__20std____2____to_address_5babi_v160004_5d_char_20const__28char_20const__29($0); -} - -function std____2____tree_node_base_void______parent_unsafe_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 8 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int_2c_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RevoluteJointDef_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2RevoluteJointDef_20const____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2DistanceJointDef_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2DistanceJointDef_20const____get_28_29(); -} - -function emscripten__internal__BindingType_unsigned_20short_2c_20void___fromWireType_28unsigned_20short_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP16[$1 + 14 >> 1] = $0; - return HEAPU16[$1 + 14 >> 1]; -} - -function __wasi_syscall_ret($0) { - var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - if (!$0) { - return 0; - } - wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = $0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; - return -1; -} - -function std____2____tree_key_value_types_b2Fixture______get_key_5babi_v160004_5d_28b2Fixture__20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function std____2____compressed_pair_elem_b2Vec2__2c_200_2c_20false_____get_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__BindingType_b2World_20const__2c_20void___fromWireType_28b2World_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2RevoluteJoint__2c_20void___fromWireType_28b2RevoluteJoint__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2RayCastOutput__2c_20void___fromWireType_28b2RayCastOutput__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2QueryCallback__2c_20void___fromWireType_28b2QueryCallback__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2Joint_20const__2c_20void___fromWireType_28b2Joint_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2DistanceJoint__2c_20void___fromWireType_28b2DistanceJoint__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2Fixture__SetUserData_28void__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - HEAP32[HEAP32[$2 + 12 >> 2] + 40 >> 2] = HEAP32[$2 + 8 >> 2]; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RayCastCallback_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2RayCastCallback_20const____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2ContactListener_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2ContactListener_20const____get_28_29(); -} - -function emscripten__internal__BindingType_float_2c_20void___toWireType_28float_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAPF32[HEAP32[$1 + 12 >> 2] >> 2]; -} - -function b2Vec3__SetZero_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAPF32[$0 >> 2] = 0; - HEAPF32[$0 + 4 >> 2] = 0; - HEAPF32[$0 + 8 >> 2] = 0; -} - -function b2PrismaticJoint__GetReferenceAngle_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 100 >> 2]); -} - -function _embind_initialize_bindings() { - var $0 = 0; - $0 = HEAP32[7576]; - if ($0) { - while (1) { - FUNCTION_TABLE[HEAP32[$0 >> 2]](); - $0 = HEAP32[$0 + 4 >> 2]; - if ($0) { - continue; - } - break; - } - } -} - -function ManifoldPointGetTangentImpulse_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 12 >> 2]); -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20b2AABB__2c_20b2AABB____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__BindingType_unsigned_20long_2c_20void___fromWireType_28unsigned_20long_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2WheelJointDef__2c_20void___toWireType_28b2WheelJointDef__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2MouseJointDef__2c_20void___toWireType_28b2MouseJointDef__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2MotorJointDef__2c_20void___toWireType_28b2MotorJointDef__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2Draw_20const__2c_20void___fromWireType_28b2Draw_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2Body_20const__2c_20void___fromWireType_28b2Body_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2AABB_20const__2c_20void___fromWireType_28b2AABB_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2Body__2c_20emscripten__internal__AllowedRawPointer_b2JointDef_____get_28_29() { - return 27932; -} - -function b2WheelJoint__GetSpringDampingRatio_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 72 >> 2]); -} - -function b2Vec2__operator_28_29_28int_29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; - return HEAP32[$2 + 12 >> 2] + (HEAP32[$2 + 8 >> 2] << 2) | 0; -} - -function b2RevoluteJoint__GetReferenceAngle_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 116 >> 2]); -} - -function b2RevoluteJoint__GetMaxMotorTorque_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 104 >> 2]); -} - -function b2PrismaticJoint__GetMaxMotorForce_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 128 >> 2]); -} - -function std____2____compressed_pair_elem_int__2c_200_2c_20false_____get_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Color_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 4; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RayCastCallbackWrapper__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2RayCastCallbackWrapper____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2PrismaticJoint_20const____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2ContactListenerWrapper__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2ContactListenerWrapper____get_28_29(); -} - -function b2WheelJoint__GetSpringFrequencyHz_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 68 >> 2]); -} - -function b2MotorJoint__GetCorrectionFactor_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 100 >> 2]); -} - -function ManifoldPointGetNormalImpulse_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 8 >> 2]); -} - -function ManifoldGetLocalNormalValueY_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 44 >> 2]); -} - -function ManifoldGetLocalNormalValueX_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 40 >> 2]); -} - -function std____2____unwrap_iter_impl_char__2c_20true_____rewrap_5babi_v160004_5d_28char__2c_20char__29($0, $1) { - return ($1 - char__20std____2____to_address_5babi_v160004_5d_char__28char__29($0) | 0) + $0 | 0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Joint____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__BindingType_unsigned_20int_2c_20void___fromWireType_28unsigned_20int_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2WeldJointDef__2c_20void___toWireType_28b2WeldJointDef__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2RopeJointDef__2c_20void___toWireType_28b2RopeJointDef__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__val_2c_20std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long____get_28_29() { - return 25656; -} - -function WorldManifoldGetNormalValueY_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 4 >> 2]); -} - -function ManifoldGetLocalPointValueY_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 52 >> 2]); -} - -function ManifoldGetLocalPointValueX_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 48 >> 2]); -} - -function std____2__array_emscripten__internal__GenericWireType_2c_204ul___data_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function std____2__array_emscripten__internal__GenericWireType_2c_203ul___data_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function std____2__array_emscripten__internal__GenericWireType_2c_202ul___data_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function std____2__array_emscripten__internal__GenericWireType_2c_201ul___data_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_unsigned_20int_2c_20b2Body____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int__2c_20int__2c_20b2Color_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 4; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2WheelJointDef_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2WheelJointDef_20const____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2RevoluteJoint_20const____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2QueryCallback_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2QueryCallback_20const____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2MouseJointDef_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2MouseJointDef_20const____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2MotorJointDef_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2MotorJointDef_20const____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2DistanceJoint_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2DistanceJoint_20const____get_28_29(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2World__2c_20emscripten__internal__AllowedRawPointer_b2Body_____get_28_29() { - return 27884; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2Body__2c_20emscripten__internal__AllowedRawPointer_b2Joint_____get_28_29() { - return 27964; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const_____get_28_29() { - return 25680; -} - -function b2WheelJoint__GetMaxMotorTorque_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 120 >> 2]); -} - -function b2WheelJointDef__20emscripten__internal__operator_new_b2WheelJointDef__28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(64); - b2WheelJointDef__b2WheelJointDef_28_29($0); - return $0 | 0; -} - -function b2PrismaticJoint__GetUpperLimit_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 124 >> 2]); -} - -function b2PrismaticJoint__GetMotorSpeed_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 132 >> 2]); -} - -function b2PrismaticJoint__GetLowerLimit_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 120 >> 2]); -} - -function b2MouseJointDef__20emscripten__internal__operator_new_b2MouseJointDef__28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(40); - b2MouseJointDef__b2MouseJointDef_28_29($0); - return $0 | 0; -} - -function b2MotorJointDef__20emscripten__internal__operator_new_b2MotorJointDef__28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(44); - b2MotorJointDef__b2MotorJointDef_28_29($0); - return $0 | 0; -} - -function b2DistanceJoint__GetDampingRatio_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 72 >> 2]); -} - -function ManifoldPointGetLocalPointY_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 4 >> 2]); -} - -function emscripten__internal__GenericBindingType_b2RayCastInput___fromWireType_28b2RayCastInput__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_int_2c_20void___toWireType_28int_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; -} - -function emscripten__internal__BindingType_b2WheelJoint__2c_20void___fromWireType_28b2WheelJoint__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2MouseJoint__2c_20void___fromWireType_28b2MouseJoint__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2MotorJoint__2c_20void___fromWireType_28b2MotorJoint__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2DrawWrapper__2c_20void___toWireType_28b2DrawWrapper__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2RevoluteJoint__GetUpperLimit_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 124 >> 2]); -} - -function b2RevoluteJoint__GetMotorSpeed_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 108 >> 2]); -} - -function b2RevoluteJoint__GetLowerLimit_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 120 >> 2]); -} - -function b2Alloc_28int_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - $0 = dlmalloc(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; - return $0; -} - -function std____2____compressed_pair_elem_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_200_2c_20false_____get_5babi_v160004_5d_28_29($0) { - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_float_2c_20unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2WeldJointDef_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2WeldJointDef_20const____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RopeJointDef_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2RopeJointDef_20const____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2QueryCallbackWrapper__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2QueryCallbackWrapper____get_28_29(); -} - -function b2WeldJoint__GetReferenceAngle_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 96 >> 2]); -} - -function b2MotorJoint__GetAngularOffset_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 76 >> 2]); -} - -function std____2____tree_key_value_types_b2Fixture______get_ptr_5babi_v160004_5d_28b2Fixture___29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function std____2____compressed_pair_elem_b2Vec2__2c_200_2c_20false_____get_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_void_2c_20unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_bool_2c_20unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2Body__2c_20b2JointDef____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__GenericBindingType_b2DrawWrapper___fromWireType_28b2DrawWrapper__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2WeldJoint__2c_20void___fromWireType_28b2WeldJoint__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2RopeJoint__2c_20void___fromWireType_28b2RopeJoint__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2_______get_28_29() { - return 25736; -} - -function b2MouseJoint__GetDampingRatio_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 88 >> 2]); -} - -function b2DistanceJoint__GetFrequency_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 68 >> 2]); -} - -function __cosdf($0) { - var $1 = 0; - $0 = $0 * $0; - $1 = $0 * $0; - return Math_fround($0 * $1 * ($0 * 2439044879627741e-20 + -.001388676377460993) + ($1 * .04166662332373906 + ($0 * -.499999997251031 + 1))); -} - -function WorldManifoldGetNormalValueX_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] >> 2]); -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_int_2c_20unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2DrawWrapper_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2DrawWrapper_20const____get_28_29(); -} - -function emscripten__internal__BindingType_short_2c_20void___fromWireType_28short_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP16[$1 + 14 >> 1] = $0; - return HEAPU16[$1 + 14 >> 1] << 16 >> 16; -} - -function char_20const__20std____2____to_address_5babi_v160004_5d_char_20const__28char_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2WheelJoint__GetMotorSpeed_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 124 >> 2]); -} - -function b2WeldJoint__GetDampingRatio_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 72 >> 2]); -} - -function b2WeldJointDef__20emscripten__internal__operator_new_b2WeldJointDef__28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(48); - b2WeldJointDef__b2WeldJointDef_28_29($0); - return $0 | 0; -} - -function b2RopeJointDef__20emscripten__internal__operator_new_b2RopeJointDef__28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(40); - b2RopeJointDef__b2RopeJointDef_28_29($0); - return $0 | 0; -} - -function ManifoldPointGetLocalPointX_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] >> 2]); -} - -function std____2__pointer_traits_char_20const____pointer_to_5babi_v160004_5d_28char_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2World__2c_20b2Vec2_____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__BindingType_b2MassData__2c_20void___fromWireType_28b2MassData__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2JointDef__2c_20void___fromWireType_28b2JointDef__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2DistanceJoint__GetLength_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 104 >> 2]); -} - -function unsigned_20long_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______align_it_5babi_v160004_5d_16ul__28unsigned_20long_29($0) { - return $0 + 15 & -16; -} - -function std____2____throw_length_error_5babi_v160004_5d_28char_20const__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - abort(); - wasm2js_trap(); -} - -function std____2____compressed_pair_elem_int__2c_200_2c_20false_____get_5babi_v160004_5d_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2WheelJoint_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2WheelJoint_20const____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2MouseJoint_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2MouseJoint_20const____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2MotorJoint_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2MotorJoint_20const____get_28_29(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2ContactListenerWrapper__2c_20unsigned_20int____get_28_29() { - return 26476; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2ContactListenerWrapper__2c_20unsigned_20int____get_28_29() { - return 26504; -} - -function b2MouseJoint__GetMaxForce_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 104 >> 2]); -} - -function b2MouseJoint__GetFrequency_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 84 >> 2]); -} - -function b2MotorJoint__GetMaxTorque_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 96 >> 2]); -} - -function b2Body__IsSleepingAllowed_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return (HEAPU16[HEAP32[$1 + 12 >> 2] + 4 >> 1] & 4) == 4 | 0; -} - -function b2Body__IsFixedRotation_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return (HEAPU16[HEAP32[$1 + 12 >> 2] + 4 >> 1] & 16) == 16 | 0; -} - -function b2Body__GetAngularVelocity_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 72 >> 2]); -} - -function b2Body__GetAngularDamping_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 136 >> 2]); -} - -function std____2__reverse_iterator_b2Vec2____base_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2PrismaticJointDef____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 1; -} - -function emscripten__internal__GenericBindingType_b2Transform___fromWireType_28b2Transform__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2JointDef__2c_20void___toWireType_28b2JointDef__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2WeldJoint__GetFrequency_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 68 >> 2]); -} - -function b2RopeJoint__GetMaxLength_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 84 >> 2]); -} - -function b2MotorJoint__GetMaxForce_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 92 >> 2]); -} - -function b2Body__GetLinearDamping_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 132 >> 2]); -} - -function void_20_28_std____2___28anonymous_20namespace_29____libcpp_atomic_load_5babi_v160004_5d_void_20_28__29_28_29__28void_20_28__20const__29_28_29_2c_20int_29_29_28_29($0) { - return HEAP32[$0 >> 2]; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2RevoluteJointDef____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 1; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2DistanceJointDef____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 1; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2WeldJoint_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2WeldJoint_20const____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RopeJoint_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2RopeJoint_20const____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2PrismaticJointDef__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2PrismaticJointDef____get_28_29(); -} - -function emscripten__internal__GenericWireTypeConverter_float___from_28double_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAPF64[$1 + 8 >> 3] = $0; - return Math_fround(HEAPF64[$1 + 8 >> 3]); -} - -function b2Body__GetGravityScale_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 140 >> 2]); -} - -function __DOUBLE_BITS($0) { - var $1 = 0, $2 = 0; - wasm2js_scratch_store_f64(+$0); - $1 = wasm2js_scratch_load_i32(1) | 0; - $2 = wasm2js_scratch_load_i32(0) | 0; - i64toi32_i32$HIGH_BITS = $1; - return $2; -} - -function emscripten__internal__GenericBindingType_b2MassData___fromWireType_28b2MassData__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2BodyDef__2c_20void___toWireType_28b2BodyDef__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_std____2__vector_int_2c_20std____2__allocator_int_______get_28_29() { - return 25612; -} - -function char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20int_2c_20float_2c_20float_2c_20float_2c_20int_2c_20int_2c_20int_2c_20int__28_29() { - return 16e3; -} - -function std____2__reverse_iterator_int____base_5babi_v160004_5d_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; -} - -function emscripten__internal__WrapperBase__WrapperBase_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP8[$0 | 0] = 0; - return $0; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RevoluteJointDef__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2RevoluteJointDef____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2JointDef_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2JointDef_20const____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2DistanceJointDef__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2DistanceJointDef____get_28_29(); -} - -function b2Draw__b2Draw_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[$0 >> 2] = 18464; - HEAP32[$0 + 4 >> 2] = 0; - return $0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2WheelJointDef____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 1; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2MouseJointDef____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 1; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2MotorJointDef____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 1; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int__2c_20unsigned_20int____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__EnumBindingType_b2JointType___fromWireType_28b2JointType_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2World__2c_20void___fromWireType_28b2World__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2Joint__2c_20void___fromWireType_28b2Joint__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2PrismaticJoint__IsMotorEnabled_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP8[HEAP32[$1 + 12 >> 2] + 137 | 0] & 1; -} - -function b2PrismaticJoint__IsLimitEnabled_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP8[HEAP32[$1 + 12 >> 2] + 136 | 0] & 1; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2WeldJointDef____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 1; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2RopeJointDef____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 1; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RayCastCallback__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2RayCastCallback____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2ContactListener__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2ContactListener____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2BodyDef_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2BodyDef_20const____get_28_29(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint__2c_20float_2c_20float____get_28_29() { - return 28512; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const__2c_20float____get_28_29() { - return 27648; -} - -function b2RevoluteJoint__IsMotorEnabled_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP8[HEAP32[$1 + 12 >> 2] + 100 | 0] & 1; -} - -function b2RevoluteJoint__IsLimitEnabled_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP8[HEAP32[$1 + 12 >> 2] + 112 | 0] & 1; -} - -function b2ContactListener__BeginContact_28unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; -} - -function b2Body__IsEnabled_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return (HEAPU16[HEAP32[$1 + 12 >> 2] + 4 >> 1] & 32) == 32 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 1; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int_2c_20unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__GenericBindingType_b2Filter___fromWireType_28b2Filter__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__EnumBindingType_b2JointType___toWireType_28b2JointType_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__EnumBindingType_b2BodyType___fromWireType_28b2BodyType_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2World__2c_20void___toWireType_28b2World__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2Joint__2c_20void___toWireType_28b2Joint__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2Draw__2c_20void___fromWireType_28b2Draw__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2Body__2c_20void___fromWireType_28b2Body__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2AABB__2c_20void___fromWireType_28b2AABB__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint__2c_20float_2c_20float____get_28_29() { - return 28688; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2ContactListener__2c_20unsigned_20int____get_28_29() { - return 26396; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const__2c_20bool____get_28_29() { - return 27744; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2RayCastCallbackWrapper__2c_20emscripten__val______get_28_29() { - return 26268; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2ContactListenerWrapper__2c_20emscripten__val______get_28_29() { - return 26540; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const__2c_20b2Vec2_20const_____get_28_29() { - return 27824; -} - -function b2Transform__20emscripten__internal__raw_constructor_b2Transform__28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(16); - b2Transform__b2Transform_28_29($0); - return $0 | 0; -} - -function b2Contact__FlagForFiltering_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] | 8; -} - -function ShapeGetRadius_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 8 >> 2]); -} - -function emscripten__internal__WithPolicies____ArgTypeList_unsigned_20int_2c_20unsigned_20int_2c_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2PrismaticJoint__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2PrismaticJoint____get_28_29(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20float_2c_20int_2c_20int____get_28_29() { - return 27504; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const__2c_20float____get_28_29() { - return 28540; -} - -function b2RayCastCallback__b2RayCastCallback_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[$0 >> 2] = 26324; - return $0; -} - -function b2ContactListener__b2ContactListener_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[$0 >> 2] = 26620; - return $0; -} - -function b2ContactListener__EndContact_28unsigned_20int_29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; -} - -function emscripten__internal__GenericBindingType_b2Color___fromWireType_28b2Color__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__EnumBindingType_b2BodyType___toWireType_28b2BodyType_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAPF32[$1 + 12 >> 2] = $0; - return HEAPF32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2Body__2c_20void___toWireType_28b2Body__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_b2AABB__2c_20void___toWireType_28b2AABB__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const__2c_20float____get_28_29() { - return 28716; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2QueryCallbackWrapper__2c_20emscripten__val______get_28_29() { - return 26008; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2QueryCallback__2c_20unsigned_20int____get_28_29() { - return 25904; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const__2c_20b2AABB_20const_____get_28_29() { - return 27232; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const_____get_28_29() { - return 28472; -} - -function b2World__GetAllowSleeping_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP8[HEAP32[$1 + 12 >> 2] + 102972 | 0] & 1; -} - -function b2WheelJoint__IsMotorEnabled_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP8[HEAP32[$1 + 12 >> 2] + 128 | 0] & 1; -} - -function b2Body__IsBullet_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return (HEAPU16[HEAP32[$1 + 12 >> 2] + 4 >> 1] & 8) == 8 | 0; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2JointDef____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 1; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2World_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2World_20const____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2WheelJointDef__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2WheelJointDef____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RevoluteJoint__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2RevoluteJoint____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2QueryCallback__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2QueryCallback____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2MouseJointDef__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2MouseJointDef____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2MotorJointDef__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2MotorJointDef____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2Joint_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2Joint_20const____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2DistanceJoint__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2DistanceJoint____get_28_29(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const_____get_28_29() { - return 28640; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint_20const_____get_28_29() { - return 28100; -} - -function b2Joint__GetCollideConnected_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP8[HEAP32[$1 + 12 >> 2] + 61 | 0] & 1; -} - -function b2Body__IsAwake_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return (HEAPU16[HEAP32[$1 + 12 >> 2] + 4 >> 1] & 2) == 2 | 0; -} - -function b2Body__GetMass_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 116 >> 2]); -} - -function b2Body__GetAngle_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return Math_fround(HEAPF32[HEAP32[$1 + 12 >> 2] + 56 >> 2]); -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2BodyDef____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 1; -} - -function emscripten__internal__GenericWireTypeConverter_bool___from_28double_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAPF64[$1 + 8 >> 3] = $0; - return HEAPF64[$1 + 8 >> 3] != 0; -} - -function emscripten__internal__GenericBindingType_b2Vec2___fromWireType_28b2Vec2__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__GenericBindingType_b2AABB___fromWireType_28b2AABB__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint__2c_20b2Vec2_20const_____get_28_29() { - return 28344; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint__2c_20b2Vec2_20const_____get_28_29() { - return 28216; -} - -function std____2__allocator_std____2____tree_node_b2Fixture__2c_20void_____max_size_5babi_v160004_5d_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 214748364; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2WeldJointDef__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2WeldJointDef____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RopeJointDef__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2RopeJointDef____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2Draw_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2Draw_20const____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2Body_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2Body_20const____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2AABB_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2AABB_20const____get_28_29(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20b2Transform_20const_____get_28_29() { - return 26852; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const__2c_20float____get_28_29() { - return 29120; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const__2c_20float____get_28_29() { - return 28824; -} - -function b2QueryCallback__b2QueryCallback_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[$0 >> 2] = 26064; - return $0; -} - -function ContactImpulseGetCount_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 16 >> 2]; -} - -function emscripten__internal__GenericBindingType_b2Rot___fromWireType_28b2Rot__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_bool_2c_20void___fromWireType_28bool_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP8[$1 + 15 | 0] = $0; - return HEAP8[$1 + 15 | 0] & 1; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2MassData_20const_____get_28_29() { - return 27804; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const__2c_20float____get_28_29() { - return 28836; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const_____get_28_29() { - return 29072; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint_20const_____get_28_29() { - return 28356; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint_20const_____get_28_29() { - return 28228; -} - -function b2Free_28void__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - __stack_pointer = $1; - HEAP32[$1 + 12 >> 2] = $0; - dlfree(HEAP32[$1 + 12 >> 2]); - __stack_pointer = $1 + 16 | 0; -} - -function ManifoldGetPointCount_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 60 >> 2]; -} - -function init_pthread_self() { - var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; - HEAP32[7877] = 31388; - wasm2js_i32$0 = 31436, wasm2js_i32$1 = getpid(), HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; -} - -function emscripten__internal__WithPolicies_emscripten__allow_raw_pointers___ArgTypeList_b2AABB____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 1; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2DrawWrapper__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2DrawWrapper____get_28_29(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint_20const_____get_28_29() { - return 28956; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const_____get_28_29() { - return 28816; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Transform_20const__2c_20emscripten__internal__AllowedRawPointer_b2Body_20const_____get_28_29() { - return 27664; -} - -function b2JointDef__20emscripten__internal__operator_new_b2JointDef__28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(20); - b2JointDef__b2JointDef_28_29($0); - return $0 | 0; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2PrismaticJointDef__28b2PrismaticJointDef_20const__29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 28392; -} - -function emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__BindingType_bool_2c_20void___toWireType_28bool_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP8[$1 + 15 | 0] = $0; - return HEAP8[$1 + 15 | 0] & 1; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Vec2_20const__2c_20b2Color_20const_____get_28_29() { - return 27088; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20unsigned_20int__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float_____get_28_29() { - return 26336; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int_2c_20float___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2RayCastCallbackWrapper____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2ContactListenerWrapper____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2WheelJoint__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2WheelJoint____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2MouseJoint__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2MouseJoint____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2MotorJoint__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2MotorJoint____get_28_29(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float____get_28_29() { - return 25472; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20b2Vec2_20const_____get_28_29() { - return 27592; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const__2c_20float____get_28_29() { - return 27980; -} - -function b2Vec2__20std____2____to_address_5babi_v160004_5d_b2Vec2__28b2Vec2__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2PrismaticJoint__GetLocalAnchorB_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] + 76 | 0; -} - -function b2PrismaticJoint__GetLocalAnchorA_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] + 68 | 0; -} - -function b2Joint__ShiftOrigin_28b2Vec2_20const__29($0, $1) { - $0 = $0 | 0; - $1 = $1 | 0; - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2RevoluteJointDef__28b2RevoluteJointDef_20const__29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 28560; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2DistanceJointDef__28b2DistanceJointDef_20const__29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 28020; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int_2c_20bool___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__WithPolicies____ArgTypeList_unsigned_20int_2c_20unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20unsigned_20int_2c_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 3; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint__2c_20float____get_28_29() { - return 28528; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20float_2c_20bool____get_28_29() { - return 27760; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2Vec2_20const_____get_28_29() { - return 27688; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const__2c_20float____get_28_29() { - return 27992; -} - -function b2Vec2__SetZero_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAPF32[$0 >> 2] = 0; - HEAPF32[$0 + 4 >> 2] = 0; -} - -function b2RevoluteJoint__GetLocalAnchorB_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] + 76 | 0; -} - -function b2RevoluteJoint__GetLocalAnchorA_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] + 68 | 0; -} - -function b2DistanceJoint__GetLocalAnchorB_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] + 88 | 0; -} - -function b2DistanceJoint__GetLocalAnchorA_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] + 80 | 0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2QueryCallbackWrapper____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2WeldJoint__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2WeldJoint____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2RopeJoint__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2RopeJoint____get_28_29(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint__2c_20float____get_28_29() { - return 28704; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint__2c_20bool____get_28_29() { - return 28496; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Draw__2c_20unsigned_20int____get_28_29() { - return 26704; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint__2c_20float____get_28_29() { - return 28108; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2DrawWrapper__2c_20emscripten__val______get_28_29() { - return 26948; -} - -function b2PrismaticJoint__GetLocalAxisA_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] + 84 | 0; -} - -function b2BodyDef__20emscripten__internal__operator_new_b2BodyDef__28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(52); - b2BodyDef__b2BodyDef_28_29($0); - return $0 | 0; -} - -function __cxxabiv1____fundamental_type_info_____fundamental_type_info_28_29($0) { - $0 = $0 | 0; - operator_20delete_28void__29(__cxxabiv1____shim_type_info_____shim_type_info_28_29($0)); -} - -function JointEdgeGetNext_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 12 >> 2]; -} - -function JointEdgeGetJoint_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 4 >> 2]; -} - -function std____2__allocator_b2Vec2___destroy_5babi_v160004_5d_28b2Vec2__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint__2c_20bool____get_28_29() { - return 28664; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const_____get_28_29() { - return 28480; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_20const__2c_20emscripten__internal__AllowedRawPointer_b2Body_20const_____get_28_29() { - return 27672; -} - -function embind_init_b2_28_29__$_1__operator_20void_20_28__29_28b2AABB__2c_20b2AABB__2c_20b2AABB__29_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 662; -} - -function ManifoldGetType_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 56 >> 2]; -} - -function JointEdgeGetPrev_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 8 >> 2]; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2JointDef__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2JointDef____get_28_29(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_unsigned_20int_2c_20emscripten__internal__AllowedRawPointer_b2Draw_20const_____get_28_29() { - return 26716; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const_____get_28_29() { - return 28648; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint_20const_____get_28_29() { - return 28120; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_20const_____get_28_29() { - return 28488; -} - -function embind_init_b2_28_29__$_2__operator_20void_20_28__29_28b2Body__2c_20b2MassData_20const__29_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 663; -} - -function b2WheelJoint__GetLocalAnchorB_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] + 84 | 0; -} - -function b2WheelJoint__GetLocalAnchorA_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] + 76 | 0; -} - -function b2MotorJoint__GetLinearOffset_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] + 68 | 0; -} - -function b2Filter__20emscripten__internal__raw_constructor_b2Filter__28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(6); - b2Filter__b2Filter_28_29($0); - return $0 | 0; -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______fits_in_sso_5babi_v160004_5d_28unsigned_20long_29($0) { - return $0 >>> 0 < 11; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2Transform_20const____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint__2c_20float____get_28_29() { - return 29108; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint__2c_20float____get_28_29() { - return 28364; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint__2c_20float____get_28_29() { - return 28236; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_20const_____get_28_29() { - return 28656; -} - -function b2WeldJoint__GetLocalAnchorB_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] + 88 | 0; -} - -function b2WeldJoint__GetLocalAnchorA_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] + 80 | 0; -} - -function b2RopeJoint__GetLocalAnchorB_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] + 76 | 0; -} - -function b2RopeJoint__GetLocalAnchorA_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] + 68 | 0; -} - -function b2GrowableStack_int_2c_20256___GetCount_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 1028 >> 2]; -} - -function CircleShapeGetPosition_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] + 12 | 0; -} - -function std____2__numeric_limits_unsigned_20long___max_5babi_v160004_5d_28_29() { - return std____2____libcpp_numeric_limits_unsigned_20long_2c_20true___max_5babi_v160004_5d_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2BodyDef__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2BodyDef____get_28_29(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint__2c_20bool____get_28_29() { - return 29096; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint__2c_20float____get_28_29() { - return 28972; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint__2c_20float____get_28_29() { - return 28848; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20b2BodyType____get_28_29() { - return 27836; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2JointType_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const_____get_28_29() { - return 27956; -} - -function b2WheelJoint__GetLocalAxisA_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] + 92 | 0; -} - -function __cxxabiv1____vmi_class_type_info_____vmi_class_type_info_28_29($0) { - $0 = $0 | 0; - operator_20delete_28void__29(__cxxabiv1____shim_type_info_____shim_type_info_28_29($0)); -} - -function JointEdgeGetOther_28unsigned_20int_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2WheelJointDef__28b2WheelJointDef_20const__29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 28992; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2MouseJointDef__28b2MouseJointDef_20const__29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 28264; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2MotorJointDef__28b2MotorJointDef_20const__29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 28136; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const_____get_28_29() { - return 29080; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint_20const_____get_28_29() { - return 28376; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint_20const_____get_28_29() { - return 28248; -} - -function b2Contact__IsTouching_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return (HEAP32[HEAP32[$1 + 12 >> 2] + 4 >> 2] & 2) == 2; -} - -function b2Color__20emscripten__internal__raw_constructor_b2Color__28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(16); - b2Color__b2Color_28_29($0); - return $0 | 0; -} - -function b2Body__GetLinearVelocity_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] - -64 | 0; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint_20const_____get_28_29() { - return 28964; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_20const_____get_28_29() { - return 28860; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20unsigned_20int_2c_20b2Transform_20const__2c_20b2Vec2_20const_____get_28_29() { - return 25360; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_20const_____get_28_29() { - return 29088; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2BodyType_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const_____get_28_29() { - return 27848; -} - -function b2Contact__IsEnabled_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return (HEAP32[HEAP32[$1 + 12 >> 2] + 4 >> 2] & 4) == 4; -} - -function __cxxabiv1____si_class_type_info_____si_class_type_info_28_29($0) { - $0 = $0 | 0; - operator_20delete_28void__29(__cxxabiv1____shim_type_info_____shim_type_info_28_29($0)); -} - -function void_20const__20emscripten__internal__getLightTypeID_b2WeldJointDef__28b2WeldJointDef_20const__29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 28876; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2RopeJointDef__28b2RopeJointDef_20const__29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 28736; -} - -function std____2__allocator_int___destroy_5babi_v160004_5d_28int__29($0, $1) { - var $2 = 0; - $2 = __stack_pointer - 16 | 0; - HEAP32[$2 + 12 >> 2] = $0; - HEAP32[$2 + 8 >> 2] = $1; -} - -function int__20std____2____to_address_5babi_v160004_5d_int__28int__29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__WithPolicies____ArgTypeList_b2Vec2_2c_20unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function b2Joint__GetType_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 4 >> 2]; -} - -function b2Draw__GetFlags_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 4 >> 2]; -} - -function std____2__array_emscripten__internal__GenericWireType_2c_200ul___data_5babi_v160004_5d_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_float_2c_20unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20unsigned_20int____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2World__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2World____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2Joint__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2Joint____get_28_29(); -} - -function double_20emscripten__internal__asGenericValue_int__28int_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return +HEAP32[$1 + 12 >> 2]; -} - -function b2MouseJoint__GetTarget_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] + 76 | 0; -} - -function b2Contact__GetTangentSpeed_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAPF32[HEAP32[$1 + 12 >> 2] + 144 >> 2]; -} - -function __cxxabiv1____pointer_type_info_____pointer_type_info_28_29($0) { - $0 = $0 | 0; - operator_20delete_28void__29(__cxxabiv1____shim_type_info_____shim_type_info_28_29($0)); -} - -function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______begin_lifetime_5babi_v160004_5d_28char__2c_20unsigned_20long_29($0, $1) {} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20b2DrawWrapper____getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__WithPolicies____ArgTypeList_bool_2c_20unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World__2c_20bool____get_28_29() { - return 27572; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20float____get_28_29() { - return 27700; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const_____get_28_29() { - return 27120; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2World_20const_____get_28_29() { - return 27604; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const_____get_28_29() { - return 27972; -} - -function b2Contact__GetRestitution_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAPF32[HEAP32[$1 + 12 >> 2] + 140 >> 2]; -} - -function b2Body__GetWorldCenter_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] + 44 | 0; -} - -function b2Body__GetLocalCenter_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] + 28 | 0; -} - -function std____2____unwrap_iter_impl_char__2c_20true_____unwrap_5babi_v160004_5d_28char__29($0) { - return char__20std____2____to_address_5babi_v160004_5d_char__28char__29($0); -} - -function emscripten__internal__WithPolicies____ArgTypeList_int_2c_20unsigned_20int___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 2; -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2Draw__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2Draw____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2Body__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2Body____get_28_29(); -} - -function emscripten__internal__TypeID_emscripten__internal__AllowedRawPointer_b2AABB__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2AABB____get_28_29(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2PrismaticJoint_____get_28_29() { - return 28552; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body__2c_20bool____get_28_29() { - return 27856; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_unsigned_20int_2c_20emscripten__internal__AllowedRawPointer_b2Body_____get_28_29() { - return 27876; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const_____get_28_29() { - return 27188; -} - -function embind_init_b2_28_29__$_7__operator_20void_20_28__29_28b2JointDef__2c_20b2Body__29_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 668; -} - -function embind_init_b2_28_29__$_5__operator_20void_20_28__29_28b2JointDef__2c_20b2Body__29_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 666; -} - -function b2Vec2__20emscripten__internal__raw_constructor_b2Vec2__28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(8); - b2Vec2__b2Vec2_28_29($0); - return $0 | 0; -} - -function b2Shape__b2Shape_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - $0 = HEAP32[$1 + 12 >> 2]; - HEAP32[$0 >> 2] = 25384; - return $0; -} - -function b2Fixture__GetRestitution_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAPF32[HEAP32[$1 + 12 >> 2] + 20 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RevoluteJoint_____get_28_29() { - return 28728; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2DistanceJoint_____get_28_29() { - return 28128; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const_____get_28_29() { - return 27680; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const_____get_28_29() { - return 27196; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2World_20const_____get_28_29() { - return 27584; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2Joint_20const_____get_28_29() { - return 28004; -} - -function b2RayCastCallback___b2RayCastCallback_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2Contact__GetChildIndexB_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 60 >> 2]; -} - -function b2Contact__GetChildIndexA_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 56 >> 2]; -} - -function b2ContactListener___b2ContactListener_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2Body__GetTransform_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] + 12 | 0; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2Body_20const_____get_28_29() { - return 27868; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20emscripten__internal__AllowedRawPointer_b2AABB_20const_____get_28_29() { - return 27180; -} - -function b2TreeNode__IsLeaf_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 24 >> 2] == -1; -} - -function b2Contact__GetFriction_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAPF32[HEAP32[$1 + 12 >> 2] + 136 >> 2]; -} - -function b2Body__GetType_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; -} - -function b2Body__GetPosition_28_29_20const($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] + 12 | 0; -} - -function __cxxabiv1____class_type_info_____class_type_info_28_29($0) { - $0 = $0 | 0; - operator_20delete_28void__29(__cxxabiv1____shim_type_info_____shim_type_info_28_29($0)); -} - -function b2World__IsLocked_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP8[HEAP32[$1 + 12 >> 2] + 102989 | 0] & 1; -} - -function b2Joint__GetBodyB_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 52 >> 2]; -} - -function b2Joint__GetBodyA_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 48 >> 2]; -} - -function b2Fixture__GetFriction_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAPF32[HEAP32[$1 + 12 >> 2] + 16 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WheelJoint_____get_28_29() { - return 29132; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MouseJoint_____get_28_29() { - return 28384; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2MotorJoint_____get_28_29() { - return 28256; -} - -function embind_init_b2_28_29__$_0__operator_20void_20_28__29_28b2AABB__2c_20b2AABB__29_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 661; -} - -function b2Rot__20emscripten__internal__raw_constructor_b2Rot__28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(8); - b2Rot__b2Rot_28_29($0); - return $0 | 0; -} - -function b2Fixture__GetUserData_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 40 >> 2]; -} - -function b2Body__GetWorld_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 88 >> 2]; -} - -function __cxxabiv1____enum_type_info_____enum_type_info_28_29($0) { - $0 = $0 | 0; - operator_20delete_28void__29(__cxxabiv1____shim_type_info_____shim_type_info_28_29($0)); -} - -function void_20const__20emscripten__internal__getLightTypeID_b2JointDef__28b2JointDef_20const__29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 27468; -} - -function emscripten__val__as_handle_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] >> 2]; -} - -function emscripten__internal__noncopyable___noncopyable_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2WeldJoint_____get_28_29() { - return 28984; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2RopeJoint_____get_28_29() { - return 28868; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2World__2c_20b2Vec2______get_28_29() { - return 27320; -} - -function b2QueryCallback___b2QueryCallback_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2Fixture__IsSensor_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP8[HEAP32[$1 + 12 >> 2] + 38 | 0] & 1; -} - -function b2ContactFilter___b2ContactFilter_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function std____2__array_emscripten__internal__GenericWireType_2c_200ul___data_5babi_v160004_5d_28_29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 0; -} - -function emscripten__internal__noncopyable__noncopyable_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__TypeID_b2RayCastCallbackWrapper_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2RayCastCallbackWrapper___get_28_29(); -} - -function emscripten__internal__TypeID_b2ContactListenerWrapper_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2ContactListenerWrapper___get_28_29(); -} - -function char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float__28_29() { - return 16058; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2BodyDef__28b2BodyDef_20const__29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 27396; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2PrismaticJointDef_____get_28_29() { - return 28436; -} - -function embind_init_b2_28_29__$_4__operator_20unsigned_20int_20_28__29_28b2Body__29_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 665; -} - -function embind_init_b2_28_29__$_3__operator_20unsigned_20int_20_28__29_28b2Body__29_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 664; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20b2Vec2_20const__2c_20float__2c_20b2Color_20const_____get_28_29() { - return 27072; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2RevoluteJointDef_____get_28_29() { - return 28604; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2DistanceJointDef_____get_28_29() { - return 28064; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2World_____get_28_29() { - return 27352; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Joint_____get_28_29() { - return 28012; -} - -function b2RayCastCallbackWrapper__20_28_emscripten__base_b2RayCastCallback___getDowncaster_b2RayCastCallbackWrapper__28_29_29_28b2RayCastCallback__29() { - return 487; -} - -function b2Fixture__GetDensity_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAPF32[HEAP32[$1 + 12 >> 2] >> 2]; -} - -function b2ContactListenerWrapper__20_28_emscripten__base_b2ContactListener___getDowncaster_b2ContactListenerWrapper__28_29_29_28b2ContactListener__29() { - return 495; -} - -function legalfunc$_embind_register_bigint($0, $1, $2, $3, $4, $5, $6) { - legalimport$_embind_register_bigint($0 | 0, $1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0); -} - -function emscripten__internal__TypeID_b2QueryCallbackWrapper_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2QueryCallbackWrapper___get_28_29(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int__2c_20int__2c_20b2Color_20const_____get_28_29() { - return 27056; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20emscripten__internal__AllowedRawPointer_b2Body_____get_28_29() { - return 27816; -} - -function embind_init_b2_28_29__$_8__operator_20b2Body__20_28__29_28b2JointDef__29_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 669; -} - -function embind_init_b2_28_29__$_6__operator_20b2Body__20_28__29_28b2JointDef__29_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 667; -} - -function void_20emscripten__internal__raw_destructor_b2PrismaticJoint__28b2PrismaticJoint__29($0) { - $0 = $0 | 0; - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2World__28b2World_20const__29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 27280; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2WheelJointDef_____get_28_29() { - return 29036; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2MouseJointDef_____get_28_29() { - return 28308; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2MotorJointDef_____get_28_29() { - return 28180; -} - -function b2Shape__GetType_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 4 >> 2]; -} - -function b2RayCastCallback__20_28_emscripten__base_b2RayCastCallback___getUpcaster_b2RayCastCallbackWrapper__28_29_29_28b2RayCastCallbackWrapper__29() { - return 486; -} - -function b2Fixture__GetFilterData_28_29_20const($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] + 32 | 0; -} - -function b2ContactListener__20_28_emscripten__base_b2ContactListener___getUpcaster_b2ContactListenerWrapper__28_29_29_28b2ContactListenerWrapper__29() { - return 494; -} - -function b2Body__GetFixtureList_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 100 >> 2]; -} - -function b2Body__GetContactList_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 112 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20int_2c_20float_2c_20float____get_28_29() { - return 25536; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2WeldJointDef_____get_28_29() { - return 28920; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2RopeJointDef_____get_28_29() { - return 28780; -} - -function b2Contact__GetFixtureB_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 52 >> 2]; -} - -function b2Contact__GetFixtureA_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 48 >> 2]; -} - -function void_20emscripten__internal__raw_destructor_b2RevoluteJoint__28b2RevoluteJoint__29($0) { - $0 = $0 | 0; - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; -} - -function void_20emscripten__internal__raw_destructor_b2DistanceJoint__28b2DistanceJoint__29($0) { - $0 = $0 | 0; - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2Body__28b2Body_20const__29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 27372; -} - -function void_20const__20emscripten__internal__getLightTypeID_b2AABB__28b2AABB_20const__29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 25328; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int____get_28_29() { - return 25500; -} - -function b2Body__GetJointList_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 108 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20int____get_28_29() { - return 25456; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_2c_20b2Transform_20const__2c_20b2Vec2_20const_____get_28_29() { - return 25100; -} - -function b2Fixture__GetShape_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 12 >> 2]; -} - -function std____2__numeric_limits_long___max_5babi_v160004_5d_28_29() { - return std____2____libcpp_numeric_limits_long_2c_20true___max_5babi_v160004_5d_28_29(); -} - -function emscripten__internal__TypeID_b2PrismaticJointDef_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2PrismaticJointDef___get_28_29(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2JointDef_____get_28_29() { - return 27908; -} - -function b2Contact__GetNext_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 12 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2BodyDef_____get_28_29() { - return 27628; -} - -function b2QueryCallbackWrapper__20_28_emscripten__base_b2QueryCallback___getDowncaster_b2QueryCallbackWrapper__28_29_29_28b2QueryCallback__29() { - return 482; -} - -function b2Fixture__GetNext_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 4 >> 2]; -} - -function b2Fixture__GetBody_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 8 >> 2]; -} - -function b2Contact___b2Contact_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function _GLOBAL__sub_I_bind_cpp() { - HEAP32[7577] = 903; - HEAP32[7578] = 0; - embind_init_builtin_28_29(); - HEAP32[7578] = HEAP32[7576]; - HEAP32[7576] = 30308; -} - -function emscripten__internal__TypeID_b2RevoluteJointDef_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2RevoluteJointDef___get_28_29(); -} - -function emscripten__internal__TypeID_b2DistanceJointDef_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2DistanceJointDef___get_28_29(); -} - -function b2Joint__GetNext_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 12 >> 2]; -} - -function void_20emscripten__internal__raw_destructor_b2WheelJoint__28b2WheelJoint__29($0) { - $0 = $0 | 0; - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; -} - -function void_20emscripten__internal__raw_destructor_b2MouseJoint__28b2MouseJoint__29($0) { - $0 = $0 | 0; - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; -} - -function void_20emscripten__internal__raw_destructor_b2MotorJoint__28b2MotorJoint__29($0) { - $0 = $0 | 0; - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; -} - -function void_20_28_emscripten__internal__NoBaseClass__getDowncaster_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28_29_29_28_29() { - return 0; -} - -function emscripten__internal__WithPolicies____ArgTypeList_void___getCount_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 1; -} - -function b2QueryCallback__20_28_emscripten__base_b2QueryCallback___getUpcaster_b2QueryCallbackWrapper__28_29_29_28b2QueryCallbackWrapper__29() { - return 481; -} - -function b2Body__GetNext_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[HEAP32[$1 + 12 >> 2] + 96 >> 2]; -} - -function emscripten__internal__TypeID_b2RayCastCallback_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2RayCastCallback___get_28_29(); -} - -function emscripten__internal__TypeID_b2ContactListener_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2ContactListener___get_28_29(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20b2Filter_20const_____get_28_29() { - return 25276; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_emscripten__internal__AllowedRawPointer_b2AABB_____get_28_29() { - return 27176; -} - -function b2Contact__GetManifold_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2] - -64 | 0; -} - -function void_20emscripten__internal__raw_destructor_b2WeldJoint__28b2WeldJoint__29($0) { - $0 = $0 | 0; - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; -} - -function void_20_28_emscripten__internal__NoBaseClass__getUpcaster_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28_29_29_28_29() { - return 0; -} - -function emscripten__internal__writeGenericWireTypes_28emscripten__internal__GenericWireType___29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int__2c_20unsigned_20int_____get_28_29() { - return 26652; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20float_2c_20float____get_28_29() { - return 25424; -} - -function b2Shape___b2Shape_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2Joint___b2Joint_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function void_20std____2___IterOps_std____2___ClassicAlgPolicy_____validate_iter_reference_5babi_v160004_5d_std____2__reverse_iterator_b2Vec2_____28_29() {} - -function std____2__allocator_b2Vec2___max_size_5babi_v160004_5d_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 536870911; -} - -function emscripten__wrapper_b2RayCastCallback____wrapper_28_29_1($0) { - $0 = $0 | 0; - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - wasm2js_trap(); -} - -function emscripten__internal__TypeID_unsigned_20short_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_unsigned_20short___get_28_29(); -} - -function emscripten__internal__TypeID_b2PrismaticJoint_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2PrismaticJoint___get_28_29(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20unsigned_20int_2c_20b2Vec2_20const_____get_28_29() { - return 25304; -} - -function char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int_2c_20int_2c_20int_2c_20int_2c_20float__28_29() { - return 16779; -} - -function PolygonShapeNew_28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(152); - b2PolygonShape__b2PolygonShape_28_29($0); - return $0 | 0; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20unsigned_20int____get_28_29() { - return 25192; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_20const__2c_20unsigned_20int_2c_20int____get_28_29() { - return 25512; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2AABB_20const__2c_20unsigned_20int_2c_20int____get_28_29() { - return 25316; -} - -function char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20float_2c_20int_2c_20int__28_29() { - return 17147; -} - -function b2Draw___b2Draw_28_29($0) { - $0 = $0 | 0; - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function std____2__allocator_int___max_size_5babi_v160004_5d_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 1073741823; -} - -function emscripten__wrapper_b2QueryCallback____wrapper_28_29_1($0) { - $0 = $0 | 0; - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - wasm2js_trap(); -} - -function emscripten__internal__TypeID_b2WheelJointDef_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2WheelJointDef___get_28_29(); -} - -function emscripten__internal__TypeID_b2Vec2_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2Vec2_20const____get_28_29(); -} - -function emscripten__internal__TypeID_b2RevoluteJoint_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2RevoluteJoint___get_28_29(); -} - -function emscripten__internal__TypeID_b2RayCastOutput_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2RayCastOutput___get_28_29(); -} - -function emscripten__internal__TypeID_b2QueryCallback_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2QueryCallback___get_28_29(); -} - -function emscripten__internal__TypeID_b2MouseJointDef_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2MouseJointDef___get_28_29(); -} - -function emscripten__internal__TypeID_b2MotorJointDef_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2MotorJointDef___get_28_29(); -} - -function emscripten__internal__TypeID_b2DistanceJoint_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2DistanceJoint___get_28_29(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_unsigned_20int_2c_20unsigned_20int_2c_20int____get_28_29() { - return 25204; -} - -function void_20std____2___IterOps_std____2___ClassicAlgPolicy_____validate_iter_reference_5babi_v160004_5d_std____2__reverse_iterator_int_____28_29() {} - -function void_20emscripten__internal__raw_destructor_b2BodyDef__28b2BodyDef__29($0) { - $0 = $0 | 0; - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; -} - -function void_20_28_emscripten__internal__NoBaseClass__getDowncaster_std____2__vector_int_2c_20std____2__allocator_int____28_29_29_28_29() { - return 0; -} - -function emscripten__internal__TypeID_b2WeldJointDef_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2WeldJointDef___get_28_29(); -} - -function emscripten__internal__TypeID_b2RopeJointDef_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2RopeJointDef___get_28_29(); -} - -function emscripten__internal__TypeID_b2RayCastInput_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2RayCastInput___get_28_29(); -} - -function CircleShapeNew_28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(20); - b2CircleShape__b2CircleShape_28_29($0); - return $0 | 0; -} - -function void_20_28_emscripten__internal__NoBaseClass__getUpcaster_std____2__vector_int_2c_20std____2__allocator_int____28_29_29_28_29() { - return 0; -} - -function emscripten__internal__TypeID_b2Shape__Type_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2Shape__Type___get_28_29(); -} - -function emscripten__internal__TypeID_b2DrawWrapper_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2DrawWrapper___get_28_29(); -} - -function void_20emscripten__internal__raw_destructor_b2Joint__28b2Joint__29($0) { - $0 = $0 | 0; - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; -} - -function __emscripten_stdout_seek($0, $1, $2, $3) { - $0 = $0 | 0; - $1 = $1 | 0; - $2 = $2 | 0; - $3 = $3 | 0; - i64toi32_i32$HIGH_BITS = 0; - return 0; -} - -function Vec2VectorNew_28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(12); - Vec2VectorCC__Vec2VectorCC_28_29($0); - return $0 | 0; -} - -function FixtureDefNew_28_29() { - var $0 = 0; - $0 = operator_20new_28unsigned_20long_29(28); - b2FixtureDef__b2FixtureDef_28_29($0); - return $0 | 0; -} - -function emscripten__internal__TypeID_int_20const__2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_int_20const____get_28_29(); -} - -function emscripten__internal__TypeID_b2WheelJoint_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2WheelJoint___get_28_29(); -} - -function emscripten__internal__TypeID_b2MouseJoint_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2MouseJoint___get_28_29(); -} - -function emscripten__internal__TypeID_b2MotorJoint_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2MotorJoint___get_28_29(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Filter_20const__2c_20unsigned_20int____get_28_29() { - return 25296; -} - -function char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20float_2c_20float__28_29() { - return 16067; -} - -function void_20emscripten__internal__raw_destructor_b2Body__28b2Body__29($0) { - $0 = $0 | 0; - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; -} - -function strdup($0) { - var $1 = 0, $2 = 0; - $1 = strlen($0) + 1 | 0; - $2 = dlmalloc($1); - if (!$2) { - return 0; - } - return __memcpy($2, $0, $1); -} - -function emscripten__internal__TypeID_b2WeldJoint_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2WeldJoint___get_28_29(); -} - -function emscripten__internal__TypeID_b2Transform_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2Transform___get_28_29(); -} - -function emscripten__internal__TypeID_b2RopeJoint_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2RopeJoint___get_28_29(); -} - -function emscripten__internal__TypeID_b2JointType_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2JointType___get_28_29(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20float____get_28_29() { - return 25148; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20b2RayCastCallbackWrapper_____get_28_29() { - return 26260; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20b2ContactListenerWrapper_____get_28_29() { - return 26532; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_20const__2c_20unsigned_20int____get_28_29() { - return 25440; -} - -function char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20float_2c_20int__28_29() { - return 17140; -} - -function char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float_2c_20int_2c_20int__28_29() { - return 17394; -} - -function emscripten__wrapper_b2Draw____wrapper_28_29_1($0) { - $0 = $0 | 0; - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - wasm2js_trap(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20bool____get_28_29() { - return 25128; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_unsigned_20int_2c_20unsigned_20int____get_28_29() { - return 25184; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20unsigned_20int_2c_20int____get_28_29() { - return 25088; -} - -function b2RayCastCallback___b2RayCastCallback_28_29_1($0) { - $0 = $0 | 0; - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - wasm2js_trap(); -} - -function b2PrismaticJointDef__20_28_emscripten__base_b2JointDef___getDowncaster_b2PrismaticJointDef__28_29_29_28b2JointDef__29() { - return 592; -} - -function emscripten__internal__TypeID_b2MassData_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2MassData___get_28_29(); -} - -function emscripten__internal__TypeID_b2JointDef_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2JointDef___get_28_29(); -} - -function emscripten__internal__TypeID_b2BodyType_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2BodyType___get_28_29(); -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_2c_20int____get_28_29() { - return 25336; -} - -function char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20int_2c_20int__28_29() { - return 17133; -} - -function std____2____compressed_pair_elem_std____2__allocator_char__2c_201_2c_20true_____get_5babi_v160004_5d_28_29_20const($0) { - return $0; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20b2QueryCallbackWrapper_____get_28_29() { - return 26e3; -} - -function b2RevoluteJointDef__20_28_emscripten__base_b2JointDef___getDowncaster_b2RevoluteJointDef__28_29_29_28b2JointDef__29() { - return 605; -} - -function b2JointDef__20_28_emscripten__base_b2JointDef___getUpcaster_b2PrismaticJointDef__28_29_29_28b2PrismaticJointDef__29() { - return 591; -} - -function b2DistanceJointDef__20_28_emscripten__base_b2JointDef___getDowncaster_b2DistanceJointDef__28_29_29_28b2JointDef__29() { - return 563; -} - -function __wasm_i64_udiv($0, $1, $2, $3) { - $3 = _ZN17compiler_builtins3int4udiv10divmod_u6417h6026910b5ed08e40E($0, $1, $2, $3); - return $3; -} - -function emscripten__internal__TypeID_b2BodyDef_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2BodyDef___get_28_29(); -} - -function emscripten__internal__LightTypeID_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const____get_28_29() { - return 25720; -} - -function b2Timer__b2Timer_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2Color__b2Color_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20b2Transform_20const_____get_28_29() { - return 27136; -} - -function emscripten__base_b2RayCastCallback___get_28_29() { - return emscripten__internal__TypeID_b2RayCastCallback_2c_20void___get_28_29(); -} - -function emscripten__base_b2ContactListener___get_28_29() { - return emscripten__internal__TypeID_b2ContactListener_2c_20void___get_28_29(); -} - -function b2QueryCallback___b2QueryCallback_28_29_1($0) { - $0 = $0 | 0; - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - wasm2js_trap(); -} - -function b2JointDef__20_28_emscripten__base_b2JointDef___getUpcaster_b2RevoluteJointDef__28_29_29_28b2RevoluteJointDef__29() { - return 604; -} - -function b2JointDef__20_28_emscripten__base_b2JointDef___getUpcaster_b2DistanceJointDef__28_29_29_28b2DistanceJointDef__29() { - return 562; -} - -function b2Body___b2Body_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__TypeID_b2Filter_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2Filter___get_28_29(); -} - -function b2Vec3__b2Vec3_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function b2Vec2__b2Vec2_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float_2c_20float__28_29() { - return 16046; -} - -function __wasm_rotl_i32($0, $1) { - var $2 = 0; - $2 = $1 & 31; - $1 = 0 - $1 & 31; - return (-1 >>> $2 & $0) << $2 | (-1 << $1 & $0) >>> $1; -} -function emscripten__internal__TypeID_b2World_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2World___get_28_29(); -} - -function emscripten__internal__TypeID_b2Joint_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2Joint___get_28_29(); -} - -function emscripten__internal__TypeID_b2Color_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2Color___get_28_29(); -} - -function b2Rot__b2Rot_28_29($0) { - var $1 = 0; - $1 = __stack_pointer - 16 | 0; - HEAP32[$1 + 12 >> 2] = $0; - return HEAP32[$1 + 12 >> 2]; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_b2Vec2_2c_20unsigned_20int____get_28_29() { - return 25176; -} - -function emscripten__base_b2QueryCallback___get_28_29() { - return emscripten__internal__TypeID_b2QueryCallback_2c_20void___get_28_29(); -} - -function char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20float__28_29() { - return 17423; -} - -function char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float_2c_20int__28_29() { - return 17429; -} - -function b2WheelJointDef__20_28_emscripten__base_b2JointDef___getDowncaster_b2WheelJointDef__28_29_29_28b2JointDef__29() { - return 638; -} - -function b2PolygonShape__GetChildCount_28_29_20const($0) { - $0 = $0 | 0; - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 1; -} - -function b2MouseJointDef__20_28_emscripten__base_b2JointDef___getDowncaster_b2MouseJointDef__28_29_29_28b2JointDef__29() { - return 582; -} - -function b2MotorJointDef__20_28_emscripten__base_b2JointDef___getDowncaster_b2MotorJointDef__28_29_29_28b2JointDef__29() { - return 572; -} - -function __wasm_i64_mul($0, $1, $2, $3) { - $3 = _ZN17compiler_builtins3int3mul3Mul3mul17h070e9a1c69faec5bE($0, $1, $2, $3); - return $3; -} - -function emscripten__internal__TypeID_b2Vec2_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2Vec2___get_28_29(); -} - -function emscripten__internal__TypeID_b2Draw_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2Draw___get_28_29(); -} - -function emscripten__internal__TypeID_b2Body_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2Body___get_28_29(); -} - -function emscripten__internal__TypeID_b2AABB_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2AABB___get_28_29(); -} - -function emscripten__internal__LightTypeID_std____2__vector_int_2c_20std____2__allocator_int___20const____get_28_29() { - return 25596; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int_____get_28_29() { - return 26644; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_float_2c_20unsigned_20int____get_28_29() { - return 25160; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20unsigned_20int_____get_28_29() { - return 26080; -} - -function b2CircleShape__GetChildCount_28_29_20const($0) { - $0 = $0 | 0; - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 1; -} - -function std____2____compressed_pair_elem_std____2__allocator_char__2c_201_2c_20true_____get_5babi_v160004_5d_28_29($0) { - return $0; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20unsigned_20int____get_28_29() { - return 25168; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20b2DrawWrapper_____get_28_29() { - return 26940; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_bool_2c_20unsigned_20int____get_28_29() { - return 25140; -} - -function char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int_2c_20int__28_29() { - return 16052; -} - -function b2WeldJointDef__20_28_emscripten__base_b2JointDef___getDowncaster_b2WeldJointDef__28_29_29_28b2JointDef__29() { - return 629; -} - -function b2RopeJointDef__20_28_emscripten__base_b2JointDef___getDowncaster_b2RopeJointDef__28_29_29_28b2JointDef__29() { - return 618; -} - -function b2JointDef__20_28_emscripten__base_b2JointDef___getUpcaster_b2WheelJointDef__28_29_29_28b2WheelJointDef__29() { - return 637; -} - -function b2JointDef__20_28_emscripten__base_b2JointDef___getUpcaster_b2MouseJointDef__28_29_29_28b2MouseJointDef__29() { - return 581; -} - -function b2JointDef__20_28_emscripten__base_b2JointDef___getUpcaster_b2MotorJointDef__28_29_29_28b2MotorJointDef__29() { - return 571; -} - -function emscripten__internal__TypeID_short_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_short___get_28_29(); -} - -function emscripten__internal__TypeID_float_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_float___get_28_29(); -} - -function emscripten__internal__TypeID_b2Rot_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_b2Rot___get_28_29(); -} - -function emscripten__internal__LightTypeID_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______get_28_29() { - return 25704; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_int_2c_20unsigned_20int____get_28_29() { - return 25220; -} - -function char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int_2c_20int__28_29() { - return 16031; -} - -function b2EdgeShape__GetChildCount_28_29_20const($0) { - $0 = $0 | 0; - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return 1; -} - -function __cxxabiv1____shim_type_info_____shim_type_info_28_29($0) { - $0 = $0 | 0; - return std__type_info___type_info_28_29($0) | 0; -} - -function emscripten__internal__LightTypeID_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2_____get_28_29() { - return 25696; -} - -function b2PrismaticJoint__20_28_emscripten__base_b2Joint___getDowncaster_b2PrismaticJoint__28_29_29_28b2Joint__29() { - return 595; -} - -function b2JointDef__20_28_emscripten__base_b2JointDef___getUpcaster_b2WeldJointDef__28_29_29_28b2WeldJointDef__29() { - return 628; -} - -function b2JointDef__20_28_emscripten__base_b2JointDef___getUpcaster_b2RopeJointDef__28_29_29_28b2RopeJointDef__29() { - return 617; -} - -function emscripten__internal__TypeID_bool_2c_20void___get_28_29() { - return emscripten__internal__LightTypeID_bool___get_28_29(); -} - -function b2Timer__GetMilliseconds_28_29_20const($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - return Math_fround(0); -} - -function b2RevoluteJoint__20_28_emscripten__base_b2Joint___getDowncaster_b2RevoluteJoint__28_29_29_28b2Joint__29() { - return 608; -} - -function b2Joint__20_28_emscripten__base_b2Joint___getUpcaster_b2PrismaticJoint__28_29_29_28b2PrismaticJoint__29() { - return 594; -} - -function b2DistanceJoint__20_28_emscripten__base_b2Joint___getDowncaster_b2DistanceJoint__28_29_29_28b2Joint__29() { - return 566; -} - -function char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int_2c_20float__28_29() { - return 17493; -} - -function b2Joint__20_28_emscripten__base_b2Joint___getUpcaster_b2RevoluteJoint__28_29_29_28b2RevoluteJoint__29() { - return 607; -} - -function b2Joint__20_28_emscripten__base_b2Joint___getUpcaster_b2DistanceJoint__28_29_29_28b2DistanceJoint__29() { - return 565; -} - -function b2Contact___b2Contact_28_29_1($0) { - $0 = $0 | 0; - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - wasm2js_trap(); -} - -function emscripten__internal__LightTypeID_std____2__vector_int_2c_20std____2__allocator_int______get_28_29() { - return 25580; -} - -function char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() { - return 15984; -} - -function void_20emscripten__internal__NoBaseClass__verify_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28_29() {} - -function emscripten__internal__LightTypeID_std____2__vector_int_2c_20std____2__allocator_int_____get_28_29() { - return 25572; -} - -function emscripten__base_b2JointDef___get_28_29() { - return emscripten__internal__TypeID_b2JointDef_2c_20void___get_28_29(); -} - -function char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20float__28_29() { - return 17488; -} - -function char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int_2c_20int__28_29() { - return 15943; -} - -function char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() { - return 15975; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_unsigned_20int____get_28_29() { - return 25216; -} - -function char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int__28_29() { - return 15970; -} - -function b2WheelJoint__20_28_emscripten__base_b2Joint___getDowncaster_b2WheelJoint__28_29_29_28b2Joint__29() { - return 641; -} - -function b2Shape___b2Shape_28_29_1($0) { - $0 = $0 | 0; - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - wasm2js_trap(); -} - -function b2MouseJoint__20_28_emscripten__base_b2Joint___getDowncaster_b2MouseJoint__28_29_29_28b2Joint__29() { - return 585; -} - -function b2MotorJoint__20_28_emscripten__base_b2Joint___getDowncaster_b2MotorJoint__28_29_29_28b2Joint__29() { - return 575; -} - -function b2Joint___b2Joint_28_29_1($0) { - $0 = $0 | 0; - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - wasm2js_trap(); -} - -function b2DrawWrapper__20_28_emscripten__base_b2Draw___getDowncaster_b2DrawWrapper__28_29_29_28b2Draw__29() { - return 506; -} - -function b2WeldJoint__20_28_emscripten__base_b2Joint___getDowncaster_b2WeldJoint__28_29_29_28b2Joint__29() { - return 632; -} - -function b2RopeJoint__20_28_emscripten__base_b2Joint___getDowncaster_b2RopeJoint__28_29_29_28b2Joint__29() { - return 621; -} - -function b2Joint__20_28_emscripten__base_b2Joint___getUpcaster_b2WheelJoint__28_29_29_28b2WheelJoint__29() { - return 640; -} - -function b2Joint__20_28_emscripten__base_b2Joint___getUpcaster_b2MouseJoint__28_29_29_28b2MouseJoint__29() { - return 584; -} - -function b2Joint__20_28_emscripten__base_b2Joint___getUpcaster_b2MotorJoint__28_29_29_28b2MotorJoint__29() { - return 574; -} - -function b2Draw___b2Draw_28_29_1($0) { - $0 = $0 | 0; - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; - wasm2js_trap(); -} - -function b2Draw__20_28_emscripten__base_b2Draw___getUpcaster_b2DrawWrapper__28_29_29_28b2DrawWrapper__29() { - return 505; -} - -function void_20emscripten__internal__NoBaseClass__verify_std____2__vector_int_2c_20std____2__allocator_int____28_29() {} - -function emscripten__base_b2Joint___get_28_29() { - return emscripten__internal__TypeID_b2Joint_2c_20void___get_28_29(); -} - -function b2Joint__20_28_emscripten__base_b2Joint___getUpcaster_b2WeldJoint__28_29_29_28b2WeldJoint__29() { - return 631; -} - -function b2Joint__20_28_emscripten__base_b2Joint___getUpcaster_b2RopeJoint__28_29_29_28b2RopeJoint__29() { - return 620; -} - -function void_20_28_emscripten__internal__NoBaseClass__getDowncaster_b2RayCastCallback__28_29_29_28_29() { - return 0; -} - -function void_20_28_emscripten__internal__NoBaseClass__getDowncaster_b2ContactListener__28_29_29_28_29() { - return 0; -} - -function std____2__char_traits_char___assign_28char__2c_20char_20const__29($0, $1) { - HEAP8[$0 | 0] = HEAPU8[$1 | 0]; -} - -function emscripten__base_b2Draw___get_28_29() { - return emscripten__internal__TypeID_b2Draw_2c_20void___get_28_29(); -} - -function char_20const__20emscripten__internal__getGenericSignature_float_2c_20int_2c_20int__28_29() { - return 15989; -} - -function void_20_28_emscripten__internal__NoBaseClass__getUpcaster_b2RayCastCallback__28_29_29_28_29() { - return 0; -} - -function void_20_28_emscripten__internal__NoBaseClass__getUpcaster_b2ContactListener__28_29_29_28_29() { - return 0; -} - -function void_20_28_emscripten__internal__NoBaseClass__getDowncaster_b2QueryCallback__28_29_29_28_29() { - return 0; -} - -function char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int__28_29() { - return 15993; -} - -function char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() { - return 15980; -} - -function __cxx_global_var_init_2() { - b2Vec2__b2Vec2_28float_2c_20float_29(30072, Math_fround(0), Math_fround(0)); -} - -function void_20_28_emscripten__internal__NoBaseClass__getUpcaster_b2QueryCallback__28_29_29_28_29() { - return 0; -} - -function std____2____libcpp_numeric_limits_unsigned_20long_2c_20true___max_5babi_v160004_5d_28_29() { - return -1; -} - -function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void____get_28_29() { - return 26076; -} - -function stackAlloc($0) { - $0 = $0 | 0; - $0 = __stack_pointer - $0 & -16; - __stack_pointer = $0; - return $0 | 0; -} - -function void_20_28_emscripten__internal__NoBaseClass__getDowncaster_b2JointDef__28_29_29_28_29() { - return 0; -} - -function std____2____libcpp_numeric_limits_long_2c_20true___max_5babi_v160004_5d_28_29() { - return 2147483647; -} - -function void_20_28_emscripten__internal__NoBaseClass__getDowncaster_b2BodyDef__28_29_29_28_29() { - return 0; -} - -function void_20_28_emscripten__internal__NoBaseClass__getUpcaster_b2JointDef__28_29_29_28_29() { - return 0; -} - -function _GLOBAL__sub_I_b2_contact_manager_cpp() { - __cxx_global_var_init_3(); - __cxx_global_var_init_1_1(); -} - -function void_20_28_emscripten__internal__NoBaseClass__getUpcaster_b2BodyDef__28_29_29_28_29() { - return 0; -} - -function void_20_28_emscripten__internal__NoBaseClass__getDowncaster_b2World__28_29_29_28_29() { - return 0; -} - -function void_20_28_emscripten__internal__NoBaseClass__getDowncaster_b2Joint__28_29_29_28_29() { - return 0; -} - -function emscripten__internal__LightTypeID_b2RayCastCallbackWrapper_20const____get_28_29() { - return 26244; -} - -function emscripten__internal__LightTypeID_b2ContactListenerWrapper_20const____get_28_29() { - return 26516; -} - -function void_20_28_emscripten__internal__NoBaseClass__getDowncaster_b2Draw__28_29_29_28_29() { - return 0; -} - -function void_20_28_emscripten__internal__NoBaseClass__getDowncaster_b2Body__28_29_29_28_29() { - return 0; -} - -function void_20_28_emscripten__internal__NoBaseClass__getDowncaster_b2AABB__28_29_29_28_29() { - return 0; -} - -function char_20const__20emscripten__internal__getGenericSignature_void_2c_20int__28_29() { - return 16216; -} - -function void_20_28_emscripten__internal__NoBaseClass__getUpcaster_b2World__28_29_29_28_29() { - return 0; -} - -function void_20_28_emscripten__internal__NoBaseClass__getUpcaster_b2Joint__28_29_29_28_29() { - return 0; -} - -function emscripten__internal__LightTypeID_b2QueryCallbackWrapper_20const____get_28_29() { - return 25984; -} - -function dynCall_jiji($0, $1, $2, $3, $4) { - $3 = FUNCTION_TABLE[$0 | 0]($1, $2, $3, $4) | 0; - return $3; -} - -function char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29() { - return 15997; -} - -function void_20_28_emscripten__internal__NoBaseClass__getUpcaster_b2Draw__28_29_29_28_29() { - return 0; -} - -function void_20_28_emscripten__internal__NoBaseClass__getUpcaster_b2Body__28_29_29_28_29() { - return 0; -} - -function void_20_28_emscripten__internal__NoBaseClass__getUpcaster_b2AABB__28_29_29_28_29() { - return 0; -} - -function emscripten__internal__LightTypeID_b2PrismaticJointDef_20const____get_28_29() { - return 28420; -} - -function emscripten__internal__LightTypeID_b2RevoluteJointDef_20const____get_28_29() { - return 28588; -} - -function emscripten__internal__LightTypeID_b2DistanceJointDef_20const____get_28_29() { - return 28048; -} - -function emscripten__internal__LightTypeID_b2RayCastCallback_20const____get_28_29() { - return 26132; -} - -function emscripten__internal__LightTypeID_b2ContactListener_20const____get_28_29() { - return 26380; -} - -function update_offset_to_base_28char_20const__2c_20long_29($0, $1) { - return HEAP32[$0 + $1 >> 2]; -} - -function emscripten__internal__LightTypeID_b2RayCastCallbackWrapper____get_28_29() { - return 26228; -} - -function emscripten__internal__LightTypeID_b2PrismaticJoint_20const____get_28_29() { - return 28456; -} - -function emscripten__internal__LightTypeID_b2ContactListenerWrapper____get_28_29() { - return 26488; -} - -function std____2__pointer_traits_char____pointer_to_5babi_v160004_5d_28char__29($0) { - return $0; -} - -function emscripten__internal__LightTypeID_b2WheelJointDef_20const____get_28_29() { - return 29020; -} - -function emscripten__internal__LightTypeID_b2RevoluteJoint_20const____get_28_29() { - return 28624; -} - -function emscripten__internal__LightTypeID_b2RayCastCallbackWrapper___get_28_29() { - return 26216; -} - -function emscripten__internal__LightTypeID_b2QueryCallback_20const____get_28_29() { - return 25888; -} - -function emscripten__internal__LightTypeID_b2MouseJointDef_20const____get_28_29() { - return 28292; -} - -function emscripten__internal__LightTypeID_b2MotorJointDef_20const____get_28_29() { - return 28164; -} - -function emscripten__internal__LightTypeID_b2DistanceJoint_20const____get_28_29() { - return 28084; -} - -function emscripten__internal__LightTypeID_b2ContactListenerWrapper___get_28_29() { - return 26464; -} - -function __wasm_ctz_i32($0) { - if ($0) { - return 31 - Math_clz32($0 - 1 ^ $0) | 0; - } - return 32; -} - -function emscripten__internal__LightTypeID_b2WeldJointDef_20const____get_28_29() { - return 28904; -} - -function emscripten__internal__LightTypeID_b2RopeJointDef_20const____get_28_29() { - return 28764; -} - -function emscripten__internal__LightTypeID_b2QueryCallbackWrapper____get_28_29() { - return 25968; -} - -function char_20const__20emscripten__internal__getGenericSignature_void__28_29() { - return 16214; -} - -function _embind_register_bindings($0) { - HEAP32[$0 + 4 >> 2] = HEAP32[7576]; - HEAP32[7576] = $0; -} - -function std____throw_bad_array_new_length_5babi_v160004_5d_28_29() { - abort(); - wasm2js_trap(); -} - -function emscripten__internal__LightTypeID_b2QueryCallbackWrapper___get_28_29() { - return 25956; -} - -function emscripten__internal__LightTypeID_b2DrawWrapper_20const____get_28_29() { - return 26924; -} - -function char_20const__20emscripten__internal__getGenericSignature_int__28_29() { - return 16238; -} - -function strnlen($0, $1) { - var $2 = 0; - $2 = memchr($0, 0, $1); - return $2 ? $2 - $0 | 0 : $1; -} - -function std__type_info__name_5babi_v160004_5d_28_29_20const($0) { - return HEAP32[$0 + 4 >> 2]; -} - -function emscripten__internal__LightTypeID_b2WheelJoint_20const____get_28_29() { - return 29056; -} - -function emscripten__internal__LightTypeID_b2MouseJoint_20const____get_28_29() { - return 28328; -} - -function emscripten__internal__LightTypeID_b2MotorJoint_20const____get_28_29() { - return 28200; -} - -function void_20emscripten__base_b2RayCastCallback___verify_b2RayCastCallbackWrapper__28_29() {} - -function void_20emscripten__base_b2ContactListener___verify_b2ContactListenerWrapper__28_29() {} - -function emscripten__internal__LightTypeID_b2WeldJoint_20const____get_28_29() { - return 28940; -} - -function emscripten__internal__LightTypeID_b2RopeJoint_20const____get_28_29() { - return 28800; -} - -function emscripten__internal__LightTypeID_b2PrismaticJointDef____get_28_29() { - return 28404; -} - -function emscripten__internal__LightTypeID_b2RevoluteJointDef____get_28_29() { - return 28572; -} - -function emscripten__internal__LightTypeID_b2PrismaticJointDef___get_28_29() { - return 28392; -} - -function emscripten__internal__LightTypeID_b2JointDef_20const____get_28_29() { - return 27476; -} - -function emscripten__internal__LightTypeID_b2DistanceJointDef____get_28_29() { - return 28032; -} - -function emscripten__internal__LightTypeID_b2RevoluteJointDef___get_28_29() { - return 28560; -} - -function emscripten__internal__LightTypeID_b2RayCastCallback____get_28_29() { - return 26116; -} - -function emscripten__internal__LightTypeID_b2DistanceJointDef___get_28_29() { - return 28020; -} - -function emscripten__internal__LightTypeID_b2ContactListener____get_28_29() { - return 26364; -} - -function emscripten__internal__LightTypeID_b2BodyDef_20const____get_28_29() { - return 27404; -} - -function emscripten__internal__LightTypeID_b2RayCastCallback___get_28_29() { - return 26108; -} - -function emscripten__internal__LightTypeID_b2PrismaticJoint____get_28_29() { - return 28440; -} - -function emscripten__internal__LightTypeID_b2ContactListener___get_28_29() { - return 26356; -} - -function char__20std____2____to_address_5babi_v160004_5d_char__28char__29($0) { - return $0; -} - -function void_20emscripten__base_b2QueryCallback___verify_b2QueryCallbackWrapper__28_29() {} - -function emscripten__internal__LightTypeID_unsigned_20short___get_28_29() { - return 24632; -} - -function emscripten__internal__LightTypeID_b2World_20const____get_28_29() { - return 27304; -} - -function emscripten__internal__LightTypeID_b2WheelJointDef____get_28_29() { - return 29004; -} - -function emscripten__internal__LightTypeID_b2RevoluteJoint____get_28_29() { - return 28608; -} - -function emscripten__internal__LightTypeID_b2QueryCallback____get_28_29() { - return 25872; -} - -function emscripten__internal__LightTypeID_b2PrismaticJoint___get_28_29() { - return 19544; -} - -function emscripten__internal__LightTypeID_b2MouseJointDef____get_28_29() { - return 28276; -} - -function emscripten__internal__LightTypeID_b2MotorJointDef____get_28_29() { - return 28148; -} - -function emscripten__internal__LightTypeID_b2Joint_20const____get_28_29() { - return 27940; -} - -function emscripten__internal__LightTypeID_b2DistanceJoint____get_28_29() { - return 28068; -} - -function emscripten__internal__LightTypeID_b2WheelJointDef___get_28_29() { - return 28992; -} - -function emscripten__internal__LightTypeID_b2WeldJointDef____get_28_29() { - return 28888; -} - -function emscripten__internal__LightTypeID_b2Vec2_20const____get_28_29() { - return 25112; -} - -function emscripten__internal__LightTypeID_b2RopeJointDef____get_28_29() { - return 28748; -} - -function emscripten__internal__LightTypeID_b2RevoluteJoint___get_28_29() { - return 19708; -} - -function emscripten__internal__LightTypeID_b2RayCastOutput___get_28_29() { - return 25848; -} - -function emscripten__internal__LightTypeID_b2QueryCallback___get_28_29() { - return 25864; -} - -function emscripten__internal__LightTypeID_b2MouseJointDef___get_28_29() { - return 28264; -} - -function emscripten__internal__LightTypeID_b2MotorJointDef___get_28_29() { - return 28136; -} - -function emscripten__internal__LightTypeID_b2Draw_20const____get_28_29() { - return 26688; -} - -function emscripten__internal__LightTypeID_b2DistanceJoint___get_28_29() { - return 18852; -} - -function emscripten__internal__LightTypeID_b2Body_20const____get_28_29() { - return 27632; -} - -function emscripten__internal__LightTypeID_b2AABB_20const____get_28_29() { - return 27160; -} - -function emscripten__internal__LightTypeID_b2WeldJointDef___get_28_29() { - return 28876; -} - -function emscripten__internal__LightTypeID_b2RopeJointDef___get_28_29() { - return 28736; -} - -function emscripten__internal__LightTypeID_b2RayCastInput___get_28_29() { - return 25840; -} - -function emscripten__internal__LightTypeID_b2DrawWrapper____get_28_29() { - return 26908; -} - -function emscripten__internal__LightTypeID_b2WheelJoint____get_28_29() { - return 29040; -} - -function emscripten__internal__LightTypeID_b2Shape__Type___get_28_29() { - return 25556; -} - -function emscripten__internal__LightTypeID_b2MouseJoint____get_28_29() { - return 28312; -} - -function emscripten__internal__LightTypeID_b2MotorJoint____get_28_29() { - return 28184; -} - -function emscripten__internal__LightTypeID_b2DrawWrapper___get_28_29() { - return 26896; -} - -function b2Timer__Reset_28_29($0) { - HEAP32[(__stack_pointer - 16 | 0) + 12 >> 2] = $0; -} - -function emscripten__internal__LightTypeID_int_20const____get_28_29() { - return 24644; -} - -function emscripten__internal__LightTypeID_b2WheelJoint___get_28_29() { - return 19948; -} - -function emscripten__internal__LightTypeID_b2WeldJoint____get_28_29() { - return 28924; -} - -function emscripten__internal__LightTypeID_b2RopeJoint____get_28_29() { - return 28784; -} - -function emscripten__internal__LightTypeID_b2MouseJoint___get_28_29() { - return 19348; -} - -function emscripten__internal__LightTypeID_b2MotorJoint___get_28_29() { - return 19268; -} - -function void_20emscripten__internal__NoBaseClass__verify_b2RayCastCallback__28_29() {} - -function void_20emscripten__internal__NoBaseClass__verify_b2ContactListener__28_29() {} - -function out($0, $1, $2) { - if (!(HEAPU8[$0 | 0] & 32)) { - __fwritex($1, $2, $0); - } -} - -function emscripten__internal__LightTypeID_b2WeldJoint___get_28_29() { - return 19868; -} - -function emscripten__internal__LightTypeID_b2Transform___get_28_29() { - return 25120; -} - -function emscripten__internal__LightTypeID_b2RopeJoint___get_28_29() { - return 19788; -} - -function emscripten__internal__LightTypeID_b2JointType___get_28_29() { - return 27912; -} - -function emscripten__internal__LightTypeID_b2JointDef____get_28_29() { - return 27892; -} - -function emscripten__internal__LightTypeID_b2MassData___get_28_29() { - return 25856; -} - -function emscripten__internal__LightTypeID_b2JointDef___get_28_29() { - return 27468; -} - -function emscripten__internal__LightTypeID_b2BodyType___get_28_29() { - return 25564; -} - -function emscripten__internal__LightTypeID_b2BodyDef____get_28_29() { - return 27612; -} - -function void_20emscripten__internal__NoBaseClass__verify_b2QueryCallback__28_29() {} - -function emscripten__internal__LightTypeID_b2BodyDef___get_28_29() { - return 27396; -} - -function __getTypeName($0) { - $0 = $0 | 0; - return strdup(HEAP32[$0 + 4 >> 2]) | 0; -} - -function void_20emscripten__base_b2JointDef___verify_b2PrismaticJointDef__28_29() {} - -function vfprintf($0, $1, $2) { - return __vfprintf_internal($0, $1, $2, 907, 908); -} - -function emscripten__internal__LightTypeID_b2World____get_28_29() { - return 27288; -} - -function emscripten__internal__LightTypeID_b2Joint____get_28_29() { - return 27452; -} - -function emscripten__internal__LightTypeID_b2Filter___get_28_29() { - return 25288; -} - -function void_20emscripten__base_b2JointDef___verify_b2RevoluteJointDef__28_29() {} - -function void_20emscripten__base_b2JointDef___verify_b2DistanceJointDef__28_29() {} - -function emscripten__internal__LightTypeID_b2World___get_28_29() { - return 27280; -} - -function emscripten__internal__LightTypeID_b2Joint___get_28_29() { - return 27444; -} - -function emscripten__internal__LightTypeID_b2Draw____get_28_29() { - return 26672; -} - -function emscripten__internal__LightTypeID_b2Color___get_28_29() { - return 25832; -} - -function emscripten__internal__LightTypeID_b2Body____get_28_29() { - return 27380; -} - -function emscripten__internal__LightTypeID_b2AABB____get_28_29() { - return 27144; -} - -function wctomb($0, $1) { - if (!$0) { - return 0; - } - return wcrtomb($0, $1, 0); -} - -function emscripten__internal__LightTypeID_b2Vec2___get_28_29() { - return 25112; -} - -function emscripten__internal__LightTypeID_b2Draw___get_28_29() { - return 26664; -} - -function emscripten__internal__LightTypeID_b2Body___get_28_29() { - return 27372; -} - -function emscripten__internal__LightTypeID_b2AABB___get_28_29() { - return 25328; -} - -function emscripten__internal__LightTypeID_short___get_28_29() { - return 24620; -} - -function emscripten__internal__LightTypeID_float___get_28_29() { - return 24716; -} - -function emscripten__internal__LightTypeID_b2Rot___get_28_29() { - return 25824; -} - -function void_20emscripten__internal__NoBaseClass__verify_b2JointDef__28_29() {} - -function void_20emscripten__base_b2JointDef___verify_b2WheelJointDef__28_29() {} - -function void_20emscripten__base_b2JointDef___verify_b2MouseJointDef__28_29() {} - -function void_20emscripten__base_b2JointDef___verify_b2MotorJointDef__28_29() {} - -function emscripten__internal__LightTypeID_bool___get_28_29() { - return 24572; -} - -function __cxxabiv1____shim_type_info__noop2_28_29_20const($0) { - $0 = $0 | 0; -} - -function __cxxabiv1____shim_type_info__noop1_28_29_20const($0) { - $0 = $0 | 0; -} - -function __cxx_global_var_init() { - EmBindInit_b2__EmBindInit_b2_28_29(29328); -} - -function _GLOBAL__sub_I_b2_block_allocator_cpp() { - __cxx_global_var_init_1(); -} - -function void_20emscripten__internal__NoBaseClass__verify_b2BodyDef__28_29() {} - -function void_20emscripten__base_b2JointDef___verify_b2WeldJointDef__28_29() {} - -function void_20emscripten__base_b2JointDef___verify_b2RopeJointDef__28_29() {} - -function void_20emscripten__base_b2Joint___verify_b2PrismaticJoint__28_29() {} - -function void_20emscripten__internal__NoBaseClass__verify_b2World__28_29() {} - -function void_20emscripten__internal__NoBaseClass__verify_b2Joint__28_29() {} - -function void_20emscripten__base_b2Joint___verify_b2RevoluteJoint__28_29() {} - -function void_20emscripten__base_b2Joint___verify_b2DistanceJoint__28_29() {} - -function void_20emscripten__internal__NoBaseClass__verify_b2Draw__28_29() {} - -function void_20emscripten__internal__NoBaseClass__verify_b2Body__28_29() {} - -function void_20emscripten__internal__NoBaseClass__verify_b2AABB__28_29() {} - -function __cxa_pure_virtual() { - abort_message(12809, 0); - wasm2js_trap(); -} - -function _GLOBAL__sub_I_Box2DWebBindings_cpp() { - __cxx_global_var_init(); -} - -function emscripten_get_heap_size() { - return __wasm_memory_size() << 16; -} - -function void_20emscripten__base_b2Joint___verify_b2WheelJoint__28_29() {} - -function void_20emscripten__base_b2Joint___verify_b2MouseJoint__28_29() {} - -function void_20emscripten__base_b2Joint___verify_b2MotorJoint__28_29() {} - -function void_20emscripten__base_b2Draw___verify_b2DrawWrapper__28_29() {} - -function __cxx_global_var_init_1() { - b2SizeMap__b2SizeMap_28_29(29428); -} - -function void_20emscripten__base_b2Joint___verify_b2WeldJoint__28_29() {} - -function void_20emscripten__base_b2Joint___verify_b2RopeJoint__28_29() {} - -function emscripten__internal__NoBaseClass__get_28_29() { - return 0; -} - -function __cxx_global_var_init_1_1() { - __cxa_atexit(767, 0, 1024); -} - -function _GLOBAL__sub_I_b2_math_cpp() { - __cxx_global_var_init_2(); -} - -function __emscripten_stdout_close($0) { - $0 = $0 | 0; - return 0; -} - -function __cxx_global_var_init_3() { - __cxa_atexit(766, 0, 1024); -} - -function stackRestore($0) { - $0 = $0 | 0; - __stack_pointer = $0; -} - -function vprintf($0, $1) { - return vfprintf(29168, $0, $1); -} - -function std__type_info___type_info_28_29($0) { - return $0; -} - -function abort_message($0, $1) { - abort(); - wasm2js_trap(); -} - -function operator_20delete_28void__29($0) { - dlfree($0); -} - -function stackSave() { - return __stack_pointer | 0; -} - -function isdigit($0) { - return $0 - 48 >>> 0 < 10; -} - -function getpid() { - return __syscall_getpid(); -} - -function __cxa_atexit($0, $1, $2) { - return 0; -} - -function floor($0) { - return Math_floor($0); -} - -function __errno_location() { - return 31352; -} - -function __syscall_getpid() { - return 42; -} - -function __lockfile($0) { - return 1; -} - -function __get_tp() { - return 31412; -} - -function __unlockfile($0) {} - -function setTempRet0($0) {} - - -// EMSCRIPTEN_END_FUNCS - -; - bufferView = HEAPU8; - initActiveSegments(imports); - var FUNCTION_TABLE = Table([null, embind_init_b2_28_29, GetFloat32_28unsigned_20int_2c_20int_29, TransformVector2_28b2Transform_20const__2c_20b2Vec2_20const__29, ContactSetEnabled_28unsigned_20int_2c_20bool_29, ContactIsTouching_28unsigned_20int_29, ContactSetTangentSpeed_28unsigned_20int_2c_20float_29, ContactGetTangentSpeed_28unsigned_20int_29, ContactSetFriction_28unsigned_20int_2c_20float_29, ContactGetFriction_28unsigned_20int_29, ContactResetFriction_28unsigned_20int_29, ContactSetRestitution_28unsigned_20int_2c_20float_29, ContactGetRestitution_28unsigned_20int_29, ContactResetRestitution_28unsigned_20int_29, ContactGetFixture_28unsigned_20int_29, ContactGetFixtureA_28unsigned_20int_29, ContactGetFixtureB_28unsigned_20int_29, ContactGetWorldManifold_28unsigned_20int_2c_20unsigned_20int_29, ContactGetManifold_28unsigned_20int_29, ManifoldGetType_28unsigned_20int_29, ManifoldGetPointCount_28unsigned_20int_29, ManifoldGetManifoldPointPtr_28unsigned_20int_2c_20int_29, ManifoldGetLocalPointValueX_28unsigned_20int_29, ManifoldGetLocalPointValueY_28unsigned_20int_29, ManifoldGetLocalNormalValueX_28unsigned_20int_29, ManifoldGetLocalNormalValueY_28unsigned_20int_29, ManifoldPointGetLocalPointX_28unsigned_20int_29, ManifoldPointGetLocalPointY_28unsigned_20int_29, ManifoldPointGetNormalImpulse_28unsigned_20int_29, ManifoldPointGetTangentImpulse_28unsigned_20int_29, WorldManifoldNew_28_29, WorldManifoldGetPointValueX_28unsigned_20int_2c_20int_29, WorldManifoldGetPointValueY_28unsigned_20int_2c_20int_29, WorldManifoldGetSeparationValue_28unsigned_20int_2c_20int_29, WorldManifoldGetNormalValueX_28unsigned_20int_29, WorldManifoldGetNormalValueY_28unsigned_20int_29, WorldManifoldDelete_28unsigned_20int_29, ContactImpulseGetNormalImpulse_28unsigned_20int_2c_20int_29, ContactImpulseGetTangentImpulse_28unsigned_20int_2c_20int_29, ContactImpulseGetCount_28unsigned_20int_29, JointEdgeGetOther_28unsigned_20int_29, JointEdgeGetJoint_28unsigned_20int_29, JointEdgeGetPrev_28unsigned_20int_29, JointEdgeGetNext_28unsigned_20int_29, FixtureDefNew_28_29, FixtureDefDelete_28unsigned_20int_29, FixtureDefSetAll_28unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20bool_2c_20unsigned_20short_2c_20unsigned_20short_2c_20short_29, FixtureGetType_28unsigned_20int_29, FixtureGetShape_28unsigned_20int_29, FixtureSetSensor_28unsigned_20int_2c_20bool_29, FixtureIsSensor_28unsigned_20int_29, FixtureSetFilterData_28unsigned_20int_2c_20b2Filter_20const__29, FixtureGetFilterData_28unsigned_20int_29, FixtureRefilter_28unsigned_20int_29, FixtureGetBody_28unsigned_20int_29, FixtureGetNext_28unsigned_20int_29, FixtureGetUserData_28unsigned_20int_29, FixtureSetUserData_28unsigned_20int_2c_20unsigned_20int_29, FixtureTestPoint_28unsigned_20int_2c_20b2Vec2_20const__29, FixtureSetDensity_28unsigned_20int_2c_20float_29, FixtureGetDensity_28unsigned_20int_29, FixtureGetFriction_28unsigned_20int_29, FixtureSetFriction_28unsigned_20int_2c_20float_29, FixtureGetRestitution_28unsigned_20int_29, FixtureSetRestitution_28unsigned_20int_2c_20float_29, FixtureGetAABB_28unsigned_20int_2c_20int_29, FixtureDump_28unsigned_20int_2c_20int_29, ShapeGetRadius_28unsigned_20int_29, ShapeSetRadius_28unsigned_20int_2c_20float_29, ShapeGetType_28unsigned_20int_29, ShapeGetChildCount_28unsigned_20int_29, ShapeTestPoint_28unsigned_20int_2c_20b2Transform_20const__2c_20b2Vec2_20const__29, CircleShapeNew_28_29, CircleShapeDelete_28unsigned_20int_29, CircleShapeSetPosition_28unsigned_20int_2c_20float_2c_20float_29, CircleShapeGetPosition_28unsigned_20int_29, PolygonShapeNew_28_29, PolygonShapeDelete_28unsigned_20int_29, PolygonShapeSet_28unsigned_20int_2c_20unsigned_20int_2c_20int_29, PolygonShapeSetAsBox_28unsigned_20int_2c_20float_2c_20float_29, PolygonShapeSetAsBoxWithCenterAndAngle_28unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_29, BodyCreateFixture_28unsigned_20int_2c_20unsigned_20int_29, BodyDestroyFixture_28unsigned_20int_2c_20unsigned_20int_29, Vec2VectorNew_28_29, Vec2VectorDelete_28unsigned_20int_29, Vec2VectorPush_28unsigned_20int_2c_20float_2c_20float_29, Vec2VectorSize_28unsigned_20int_29, Vec2VectorGetX_28unsigned_20int_2c_20int_29, Vec2VectorGetY_28unsigned_20int_2c_20int_29, Vec2VectorGet_28unsigned_20int_2c_20int_29, Vec2VectorGetPtr_28unsigned_20int_29, Vec2VectorResize_28unsigned_20int_2c_20int_2c_20float_2c_20float_29, Vec2VectorClear_28unsigned_20int_29, void_20const__20emscripten__internal__getActualType_b2QueryCallback__28b2QueryCallback__29, void_20emscripten__internal__raw_destructor_b2QueryCallback__28b2QueryCallback__29, void_20const__20emscripten__internal__getActualType_b2QueryCallbackWrapper__28b2QueryCallbackWrapper__29, void_20emscripten__internal__raw_destructor_b2QueryCallbackWrapper__28b2QueryCallbackWrapper__29, b2QueryCallbackWrapper__20emscripten__internal__wrapped_new_b2QueryCallbackWrapper__2c_20b2QueryCallbackWrapper_2c_20emscripten__val__28emscripten__val___29, emscripten__internal__Invoker_b2QueryCallbackWrapper__2c_20emscripten__val_____invoke_28b2QueryCallbackWrapper__20_28__29_28emscripten__val___29_2c_20emscripten___EM_VAL__29, emscripten__val_20emscripten__internal__wrapped_extend_b2QueryCallbackWrapper__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const__29, emscripten__internal__Invoker_emscripten__val_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const____invoke_28emscripten__val_20_28__29_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const__29_2c_20emscripten__internal__BindingType_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___2c_20void____unnamed___2c_20emscripten___EM_VAL__29, void_20const__20emscripten__internal__getActualType_b2RayCastCallback__28b2RayCastCallback__29, void_20emscripten__internal__raw_destructor_b2RayCastCallback__28b2RayCastCallback__29, void_20const__20emscripten__internal__getActualType_b2RayCastCallbackWrapper__28b2RayCastCallbackWrapper__29, void_20emscripten__internal__raw_destructor_b2RayCastCallbackWrapper__28b2RayCastCallbackWrapper__29, b2RayCastCallbackWrapper__20emscripten__internal__wrapped_new_b2RayCastCallbackWrapper__2c_20b2RayCastCallbackWrapper_2c_20emscripten__val__28emscripten__val___29, emscripten__internal__Invoker_b2RayCastCallbackWrapper__2c_20emscripten__val_____invoke_28b2RayCastCallbackWrapper__20_28__29_28emscripten__val___29_2c_20emscripten___EM_VAL__29, emscripten__val_20emscripten__internal__wrapped_extend_b2RayCastCallbackWrapper__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const__29, void_20const__20emscripten__internal__getActualType_b2ContactListener__28b2ContactListener__29, void_20emscripten__internal__raw_destructor_b2ContactListener__28b2ContactListener__29, b2ContactListenerWrapper__registerContactFixture_28unsigned_20int_29, b2ContactListenerWrapper__unregisterContactFixture_28unsigned_20int_29, b2ContactListenerWrapper__isIndexOf_28unsigned_20int_29, void_20const__20emscripten__internal__getActualType_b2ContactListenerWrapper__28b2ContactListenerWrapper__29, void_20emscripten__internal__raw_destructor_b2ContactListenerWrapper__28b2ContactListenerWrapper__29, b2ContactListenerWrapper__20emscripten__internal__wrapped_new_b2ContactListenerWrapper__2c_20b2ContactListenerWrapper_2c_20emscripten__val__28emscripten__val___29, emscripten__internal__Invoker_b2ContactListenerWrapper__2c_20emscripten__val_____invoke_28b2ContactListenerWrapper__20_28__29_28emscripten__val___29_2c_20emscripten___EM_VAL__29, emscripten__val_20emscripten__internal__wrapped_extend_b2ContactListenerWrapper__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const__29, void_20const__20emscripten__internal__getActualType_b2Draw__28b2Draw__29, void_20emscripten__internal__raw_destructor_b2Draw__28b2Draw__29, b2Draw__SetFlags_28unsigned_20int_29, b2Draw__GetFlags_28_29_20const, b2Draw__AppendFlags_28unsigned_20int_29, b2Draw__ClearFlags_28unsigned_20int_29, void_20const__20emscripten__internal__getActualType_b2DrawWrapper__28b2DrawWrapper__29, void_20emscripten__internal__raw_destructor_b2DrawWrapper__28b2DrawWrapper__29, b2DrawWrapper__20emscripten__internal__wrapped_new_b2DrawWrapper__2c_20b2DrawWrapper_2c_20emscripten__val__28emscripten__val___29, emscripten__internal__Invoker_b2DrawWrapper__2c_20emscripten__val_____invoke_28b2DrawWrapper__20_28__29_28emscripten__val___29_2c_20emscripten___EM_VAL__29, emscripten__val_20emscripten__internal__wrapped_extend_b2DrawWrapper__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20emscripten__val_20const__29, void_20const__20emscripten__internal__getActualType_b2AABB__28b2AABB__29, void_20emscripten__internal__raw_destructor_b2AABB__28b2AABB__29, b2AABB__20emscripten__internal__operator_new_b2AABB__28_29, b2AABB__IsValid_28_29_20const, b2AABB__GetCenter_28_29_20const, b2AABB__GetExtents_28_29_20const, b2AABB__GetPerimeter_28_29_20const, b2AABB__Contains_28b2AABB_20const__29_20const, b2AABB__RayCast_28b2RayCastOutput__2c_20b2RayCastInput_20const__29_20const, b2Vec2__20emscripten__internal__MemberAccess_b2AABB_2c_20b2Vec2___getWire_b2AABB__28b2Vec2_20b2AABB____20const__2c_20b2AABB_20const__29, void_20emscripten__internal__MemberAccess_b2AABB_2c_20b2Vec2___setWire_b2AABB__28b2Vec2_20b2AABB____20const__2c_20b2AABB__2c_20b2Vec2__29, void_20const__20emscripten__internal__getActualType_b2World__28b2World__29, void_20emscripten__internal__raw_destructor_b2World__28b2World__29, b2World__20emscripten__internal__operator_new_b2World_2c_20b2Vec2__28b2Vec2___29, b2World__SetContactListener_28b2ContactListener__29, b2World__SetDebugDraw_28b2Draw__29, b2World__DebugDraw_28_29, b2World__CreateBody_28b2BodyDef_20const__29, b2World__DestroyBody_28b2Body__29, b2World__CreateJoint_28b2JointDef_20const__29, b2World__DestroyJoint_28b2Joint__29, b2World__Step_28float_2c_20int_2c_20int_29, b2World__QueryAABB_28b2QueryCallback__2c_20b2AABB_20const__29_20const, b2World__RayCast_28b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const__29_20const, b2World__SetAllowSleeping_28bool_29, b2World__GetAllowSleeping_28_29_20const, b2World__SetGravity_28b2Vec2_20const__29, b2World__GetGravity_28_29_20const, b2World__Dump_28_29, void_20const__20emscripten__internal__getActualType_b2BodyDef__28b2BodyDef__29, void_20emscripten__internal__raw_destructor_b2BodyDef__28b2BodyDef__29, b2BodyDef__20emscripten__internal__operator_new_b2BodyDef__28_29, b2BodyType_20emscripten__internal__MemberAccess_b2BodyDef_2c_20b2BodyType___getWire_b2BodyDef__28b2BodyType_20b2BodyDef____20const__2c_20b2BodyDef_20const__29, void_20emscripten__internal__MemberAccess_b2BodyDef_2c_20b2BodyType___setWire_b2BodyDef__28b2BodyType_20b2BodyDef____20const__2c_20b2BodyDef__2c_20b2BodyType_29, b2Vec2__20emscripten__internal__MemberAccess_b2BodyDef_2c_20b2Vec2___getWire_b2BodyDef__28b2Vec2_20b2BodyDef____20const__2c_20b2BodyDef_20const__29, void_20emscripten__internal__MemberAccess_b2BodyDef_2c_20b2Vec2___setWire_b2BodyDef__28b2Vec2_20b2BodyDef____20const__2c_20b2BodyDef__2c_20b2Vec2__29, float_20emscripten__internal__MemberAccess_b2BodyDef_2c_20float___getWire_b2BodyDef__28float_20b2BodyDef____20const__2c_20b2BodyDef_20const__29, void_20emscripten__internal__MemberAccess_b2BodyDef_2c_20float___setWire_b2BodyDef__28float_20b2BodyDef____20const__2c_20b2BodyDef__2c_20float_29, bool_20emscripten__internal__MemberAccess_b2BodyDef_2c_20bool___getWire_b2BodyDef__28bool_20b2BodyDef____20const__2c_20b2BodyDef_20const__29, void_20emscripten__internal__MemberAccess_b2BodyDef_2c_20bool___setWire_b2BodyDef__28bool_20b2BodyDef____20const__2c_20b2BodyDef__2c_20bool_29, void_20const__20emscripten__internal__getActualType_b2Body__28b2Body__29, void_20emscripten__internal__raw_destructor_b2Body__28b2Body__29, b2Body__SetTransform_28b2Vec2_20const__2c_20float_29, b2Body__GetTransform_28_29_20const, b2Body__GetPosition_28_29_20const, b2Body__GetAngle_28_29_20const, b2Body__GetWorldCenter_28_29_20const, b2Body__GetLocalCenter_28_29_20const, b2Body__SetLinearVelocity_28b2Vec2_20const__29, b2Body__GetLinearVelocity_28_29_20const, b2Body__SetAngularVelocity_28float_29, b2Body__GetAngularVelocity_28_29_20const, b2Body__ApplyForce_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool_29, b2Body__ApplyForceToCenter_28b2Vec2_20const__2c_20bool_29, b2Body__ApplyTorque_28float_2c_20bool_29, b2Body__ApplyLinearImpulse_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool_29, b2Body__ApplyLinearImpulseToCenter_28b2Vec2_20const__2c_20bool_29, b2Body__ApplyAngularImpulse_28float_2c_20bool_29, b2Body__GetMass_28_29_20const, b2Body__GetInertia_28_29_20const, b2Body__GetMassData_28b2MassData__29_20const, b2Body__ResetMassData_28_29, b2Body__GetWorldPoint_28b2Vec2_20const__29_20const, b2Body__GetWorldVector_28b2Vec2_20const__29_20const, b2Body__GetLocalPoint_28b2Vec2_20const__29_20const, b2Body__GetLocalVector_28b2Vec2_20const__29_20const, b2Body__GetLinearVelocityFromWorldPoint_28b2Vec2_20const__29_20const, b2Body__GetLinearVelocityFromLocalPoint_28b2Vec2_20const__29_20const, b2Body__GetLinearDamping_28_29_20const, b2Body__SetLinearDamping_28float_29, b2Body__GetAngularDamping_28_29_20const, b2Body__SetAngularDamping_28float_29, b2Body__GetGravityScale_28_29_20const, b2Body__SetGravityScale_28float_29, b2Body__SetType_28b2BodyType_29, b2Body__GetType_28_29_20const, b2Body__SetBullet_28bool_29, b2Body__IsBullet_28_29_20const, b2Body__SetSleepingAllowed_28bool_29, b2Body__IsSleepingAllowed_28_29_20const, b2Body__SetAwake_28bool_29, b2Body__IsAwake_28_29_20const, b2Body__SetEnabled_28bool_29, b2Body__IsEnabled_28_29_20const, b2Body__SetFixedRotation_28bool_29, b2Body__IsFixedRotation_28_29_20const, b2Body__GetWorld_28_29, b2Body__Dump_28_29, void_20const__20emscripten__internal__getActualType_b2JointDef__28b2JointDef__29, void_20emscripten__internal__raw_destructor_b2JointDef__28b2JointDef__29, b2JointDef__20emscripten__internal__operator_new_b2JointDef__28_29, b2JointType_20emscripten__internal__MemberAccess_b2JointDef_2c_20b2JointType___getWire_b2JointDef__28b2JointType_20b2JointDef____20const__2c_20b2JointDef_20const__29, void_20emscripten__internal__MemberAccess_b2JointDef_2c_20b2JointType___setWire_b2JointDef__28b2JointType_20b2JointDef____20const__2c_20b2JointDef__2c_20b2JointType_29, bool_20emscripten__internal__MemberAccess_b2JointDef_2c_20bool___getWire_b2JointDef__28bool_20b2JointDef____20const__2c_20b2JointDef_20const__29, void_20emscripten__internal__MemberAccess_b2JointDef_2c_20bool___setWire_b2JointDef__28bool_20b2JointDef____20const__2c_20b2JointDef__2c_20bool_29, void_20const__20emscripten__internal__getActualType_b2Joint__28b2Joint__29, void_20emscripten__internal__raw_destructor_b2Joint__28b2Joint__29, b2Joint__GetType_28_29_20const, b2Joint__GetBodyA_28_29, b2Joint__GetBodyB_28_29, b2Joint__GetCollideConnected_28_29_20const, void_20const__20emscripten__internal__getActualType_b2DistanceJointDef__28b2DistanceJointDef__29, void_20emscripten__internal__raw_destructor_b2DistanceJointDef__28b2DistanceJointDef__29, b2DistanceJointDef__20emscripten__internal__operator_new_b2DistanceJointDef__28_29, b2Vec2__20emscripten__internal__MemberAccess_b2DistanceJointDef_2c_20b2Vec2___getWire_b2DistanceJointDef__28b2Vec2_20b2DistanceJointDef____20const__2c_20b2DistanceJointDef_20const__29, void_20emscripten__internal__MemberAccess_b2DistanceJointDef_2c_20b2Vec2___setWire_b2DistanceJointDef__28b2Vec2_20b2DistanceJointDef____20const__2c_20b2DistanceJointDef__2c_20b2Vec2__29, float_20emscripten__internal__MemberAccess_b2DistanceJointDef_2c_20float___getWire_b2DistanceJointDef__28float_20b2DistanceJointDef____20const__2c_20b2DistanceJointDef_20const__29, void_20emscripten__internal__MemberAccess_b2DistanceJointDef_2c_20float___setWire_b2DistanceJointDef__28float_20b2DistanceJointDef____20const__2c_20b2DistanceJointDef__2c_20float_29, void_20const__20emscripten__internal__getActualType_b2DistanceJoint__28b2DistanceJoint__29, void_20emscripten__internal__raw_destructor_b2DistanceJoint__28b2DistanceJoint__29, b2DistanceJoint__GetLocalAnchorA_28_29_20const, b2DistanceJoint__GetLocalAnchorB_28_29_20const, b2DistanceJoint__SetLength_28float_29, b2DistanceJoint__GetLength_28_29_20const, b2DistanceJoint__SetFrequency_28float_29, b2DistanceJoint__GetFrequency_28_29_20const, b2DistanceJoint__SetDampingRatio_28float_29, b2DistanceJoint__GetDampingRatio_28_29_20const, void_20const__20emscripten__internal__getActualType_b2MotorJointDef__28b2MotorJointDef__29, void_20emscripten__internal__raw_destructor_b2MotorJointDef__28b2MotorJointDef__29, b2MotorJointDef__20emscripten__internal__operator_new_b2MotorJointDef__28_29, b2Vec2__20emscripten__internal__MemberAccess_b2MotorJointDef_2c_20b2Vec2___getWire_b2MotorJointDef__28b2Vec2_20b2MotorJointDef____20const__2c_20b2MotorJointDef_20const__29, void_20emscripten__internal__MemberAccess_b2MotorJointDef_2c_20b2Vec2___setWire_b2MotorJointDef__28b2Vec2_20b2MotorJointDef____20const__2c_20b2MotorJointDef__2c_20b2Vec2__29, float_20emscripten__internal__MemberAccess_b2MotorJointDef_2c_20float___getWire_b2MotorJointDef__28float_20b2MotorJointDef____20const__2c_20b2MotorJointDef_20const__29, void_20emscripten__internal__MemberAccess_b2MotorJointDef_2c_20float___setWire_b2MotorJointDef__28float_20b2MotorJointDef____20const__2c_20b2MotorJointDef__2c_20float_29, void_20const__20emscripten__internal__getActualType_b2MotorJoint__28b2MotorJoint__29, void_20emscripten__internal__raw_destructor_b2MotorJoint__28b2MotorJoint__29, b2MotorJoint__SetLinearOffset_28b2Vec2_20const__29, b2MotorJoint__GetLinearOffset_28_29_20const, b2MotorJoint__SetAngularOffset_28float_29, b2MotorJoint__GetAngularOffset_28_29_20const, b2MotorJoint__SetMaxForce_28float_29, b2MotorJoint__GetMaxForce_28_29_20const, b2MotorJoint__SetMaxTorque_28float_29, b2MotorJoint__GetMaxTorque_28_29_20const, b2MotorJoint__SetCorrectionFactor_28float_29, b2MotorJoint__GetCorrectionFactor_28_29_20const, void_20const__20emscripten__internal__getActualType_b2MouseJointDef__28b2MouseJointDef__29, void_20emscripten__internal__raw_destructor_b2MouseJointDef__28b2MouseJointDef__29, b2MouseJointDef__20emscripten__internal__operator_new_b2MouseJointDef__28_29, b2Vec2__20emscripten__internal__MemberAccess_b2MouseJointDef_2c_20b2Vec2___getWire_b2MouseJointDef__28b2Vec2_20b2MouseJointDef____20const__2c_20b2MouseJointDef_20const__29, void_20emscripten__internal__MemberAccess_b2MouseJointDef_2c_20b2Vec2___setWire_b2MouseJointDef__28b2Vec2_20b2MouseJointDef____20const__2c_20b2MouseJointDef__2c_20b2Vec2__29, float_20emscripten__internal__MemberAccess_b2MouseJointDef_2c_20float___getWire_b2MouseJointDef__28float_20b2MouseJointDef____20const__2c_20b2MouseJointDef_20const__29, void_20emscripten__internal__MemberAccess_b2MouseJointDef_2c_20float___setWire_b2MouseJointDef__28float_20b2MouseJointDef____20const__2c_20b2MouseJointDef__2c_20float_29, void_20const__20emscripten__internal__getActualType_b2MouseJoint__28b2MouseJoint__29, void_20emscripten__internal__raw_destructor_b2MouseJoint__28b2MouseJoint__29, b2MouseJoint__SetTarget_28b2Vec2_20const__29, b2MouseJoint__GetTarget_28_29_20const, b2MouseJoint__SetMaxForce_28float_29, b2MouseJoint__GetMaxForce_28_29_20const, b2MouseJoint__SetFrequency_28float_29, b2MouseJoint__GetFrequency_28_29_20const, b2MouseJoint__SetDampingRatio_28float_29, b2MouseJoint__GetDampingRatio_28_29_20const, void_20const__20emscripten__internal__getActualType_b2PrismaticJointDef__28b2PrismaticJointDef__29, void_20emscripten__internal__raw_destructor_b2PrismaticJointDef__28b2PrismaticJointDef__29, b2PrismaticJointDef__20emscripten__internal__operator_new_b2PrismaticJointDef__28_29, b2Vec2__20emscripten__internal__MemberAccess_b2PrismaticJointDef_2c_20b2Vec2___getWire_b2PrismaticJointDef__28b2Vec2_20b2PrismaticJointDef____20const__2c_20b2PrismaticJointDef_20const__29, void_20emscripten__internal__MemberAccess_b2PrismaticJointDef_2c_20b2Vec2___setWire_b2PrismaticJointDef__28b2Vec2_20b2PrismaticJointDef____20const__2c_20b2PrismaticJointDef__2c_20b2Vec2__29, float_20emscripten__internal__MemberAccess_b2PrismaticJointDef_2c_20float___getWire_b2PrismaticJointDef__28float_20b2PrismaticJointDef____20const__2c_20b2PrismaticJointDef_20const__29, void_20emscripten__internal__MemberAccess_b2PrismaticJointDef_2c_20float___setWire_b2PrismaticJointDef__28float_20b2PrismaticJointDef____20const__2c_20b2PrismaticJointDef__2c_20float_29, bool_20emscripten__internal__MemberAccess_b2PrismaticJointDef_2c_20bool___getWire_b2PrismaticJointDef__28bool_20b2PrismaticJointDef____20const__2c_20b2PrismaticJointDef_20const__29, void_20emscripten__internal__MemberAccess_b2PrismaticJointDef_2c_20bool___setWire_b2PrismaticJointDef__28bool_20b2PrismaticJointDef____20const__2c_20b2PrismaticJointDef__2c_20bool_29, void_20const__20emscripten__internal__getActualType_b2PrismaticJoint__28b2PrismaticJoint__29, void_20emscripten__internal__raw_destructor_b2PrismaticJoint__28b2PrismaticJoint__29, b2PrismaticJoint__GetLocalAnchorA_28_29_20const, b2PrismaticJoint__GetLocalAnchorB_28_29_20const, b2PrismaticJoint__GetLocalAxisA_28_29_20const, b2PrismaticJoint__GetReferenceAngle_28_29_20const, b2PrismaticJoint__GetJointTranslation_28_29_20const, b2PrismaticJoint__GetJointSpeed_28_29_20const, b2PrismaticJoint__IsLimitEnabled_28_29_20const, b2PrismaticJoint__EnableLimit_28bool_29, b2PrismaticJoint__GetLowerLimit_28_29_20const, b2PrismaticJoint__GetUpperLimit_28_29_20const, b2PrismaticJoint__SetLimits_28float_2c_20float_29, b2PrismaticJoint__IsMotorEnabled_28_29_20const, b2PrismaticJoint__EnableMotor_28bool_29, b2PrismaticJoint__SetMotorSpeed_28float_29, b2PrismaticJoint__GetMotorSpeed_28_29_20const, b2PrismaticJoint__SetMaxMotorForce_28float_29, b2PrismaticJoint__GetMaxMotorForce_28_29_20const, b2PrismaticJoint__GetMotorForce_28float_29_20const, void_20const__20emscripten__internal__getActualType_b2RevoluteJointDef__28b2RevoluteJointDef__29, void_20emscripten__internal__raw_destructor_b2RevoluteJointDef__28b2RevoluteJointDef__29, b2RevoluteJointDef__20emscripten__internal__operator_new_b2RevoluteJointDef__28_29, b2Vec2__20emscripten__internal__MemberAccess_b2RevoluteJointDef_2c_20b2Vec2___getWire_b2RevoluteJointDef__28b2Vec2_20b2RevoluteJointDef____20const__2c_20b2RevoluteJointDef_20const__29, void_20emscripten__internal__MemberAccess_b2RevoluteJointDef_2c_20b2Vec2___setWire_b2RevoluteJointDef__28b2Vec2_20b2RevoluteJointDef____20const__2c_20b2RevoluteJointDef__2c_20b2Vec2__29, float_20emscripten__internal__MemberAccess_b2RevoluteJointDef_2c_20float___getWire_b2RevoluteJointDef__28float_20b2RevoluteJointDef____20const__2c_20b2RevoluteJointDef_20const__29, void_20emscripten__internal__MemberAccess_b2RevoluteJointDef_2c_20float___setWire_b2RevoluteJointDef__28float_20b2RevoluteJointDef____20const__2c_20b2RevoluteJointDef__2c_20float_29, bool_20emscripten__internal__MemberAccess_b2RevoluteJointDef_2c_20bool___getWire_b2RevoluteJointDef__28bool_20b2RevoluteJointDef____20const__2c_20b2RevoluteJointDef_20const__29, void_20emscripten__internal__MemberAccess_b2RevoluteJointDef_2c_20bool___setWire_b2RevoluteJointDef__28bool_20b2RevoluteJointDef____20const__2c_20b2RevoluteJointDef__2c_20bool_29, void_20const__20emscripten__internal__getActualType_b2RevoluteJoint__28b2RevoluteJoint__29, void_20emscripten__internal__raw_destructor_b2RevoluteJoint__28b2RevoluteJoint__29, b2RevoluteJoint__GetLocalAnchorA_28_29_20const, b2RevoluteJoint__GetLocalAnchorB_28_29_20const, b2RevoluteJoint__GetReferenceAngle_28_29_20const, b2RevoluteJoint__GetJointAngle_28_29_20const, b2RevoluteJoint__GetJointSpeed_28_29_20const, b2RevoluteJoint__IsLimitEnabled_28_29_20const, b2RevoluteJoint__EnableLimit_28bool_29, b2RevoluteJoint__GetLowerLimit_28_29_20const, b2RevoluteJoint__GetUpperLimit_28_29_20const, b2RevoluteJoint__SetLimits_28float_2c_20float_29, b2RevoluteJoint__IsMotorEnabled_28_29_20const, b2RevoluteJoint__EnableMotor_28bool_29, b2RevoluteJoint__SetMotorSpeed_28float_29, b2RevoluteJoint__GetMotorSpeed_28_29_20const, b2RevoluteJoint__SetMaxMotorTorque_28float_29, b2RevoluteJoint__GetMaxMotorTorque_28_29_20const, b2RevoluteJoint__GetMotorTorque_28float_29_20const, void_20const__20emscripten__internal__getActualType_b2RopeJointDef__28b2RopeJointDef__29, void_20emscripten__internal__raw_destructor_b2RopeJointDef__28b2RopeJointDef__29, b2RopeJointDef__20emscripten__internal__operator_new_b2RopeJointDef__28_29, b2Vec2__20emscripten__internal__MemberAccess_b2RopeJointDef_2c_20b2Vec2___getWire_b2RopeJointDef__28b2Vec2_20b2RopeJointDef____20const__2c_20b2RopeJointDef_20const__29, void_20emscripten__internal__MemberAccess_b2RopeJointDef_2c_20b2Vec2___setWire_b2RopeJointDef__28b2Vec2_20b2RopeJointDef____20const__2c_20b2RopeJointDef__2c_20b2Vec2__29, float_20emscripten__internal__MemberAccess_b2RopeJointDef_2c_20float___getWire_b2RopeJointDef__28float_20b2RopeJointDef____20const__2c_20b2RopeJointDef_20const__29, void_20emscripten__internal__MemberAccess_b2RopeJointDef_2c_20float___setWire_b2RopeJointDef__28float_20b2RopeJointDef____20const__2c_20b2RopeJointDef__2c_20float_29, void_20const__20emscripten__internal__getActualType_b2RopeJoint__28b2RopeJoint__29, void_20emscripten__internal__raw_destructor_b2RopeJoint__28b2RopeJoint__29, b2RopeJoint__GetLocalAnchorA_28_29_20const, b2RopeJoint__GetLocalAnchorB_28_29_20const, b2RopeJoint__SetMaxLength_28float_29, b2RopeJoint__GetMaxLength_28_29_20const, void_20const__20emscripten__internal__getActualType_b2WeldJointDef__28b2WeldJointDef__29, void_20emscripten__internal__raw_destructor_b2WeldJointDef__28b2WeldJointDef__29, b2WeldJointDef__20emscripten__internal__operator_new_b2WeldJointDef__28_29, b2Vec2__20emscripten__internal__MemberAccess_b2WeldJointDef_2c_20b2Vec2___getWire_b2WeldJointDef__28b2Vec2_20b2WeldJointDef____20const__2c_20b2WeldJointDef_20const__29, void_20emscripten__internal__MemberAccess_b2WeldJointDef_2c_20b2Vec2___setWire_b2WeldJointDef__28b2Vec2_20b2WeldJointDef____20const__2c_20b2WeldJointDef__2c_20b2Vec2__29, float_20emscripten__internal__MemberAccess_b2WeldJointDef_2c_20float___getWire_b2WeldJointDef__28float_20b2WeldJointDef____20const__2c_20b2WeldJointDef_20const__29, void_20emscripten__internal__MemberAccess_b2WeldJointDef_2c_20float___setWire_b2WeldJointDef__28float_20b2WeldJointDef____20const__2c_20b2WeldJointDef__2c_20float_29, void_20const__20emscripten__internal__getActualType_b2WeldJoint__28b2WeldJoint__29, void_20emscripten__internal__raw_destructor_b2WeldJoint__28b2WeldJoint__29, b2WeldJoint__GetLocalAnchorA_28_29_20const, b2WeldJoint__GetLocalAnchorB_28_29_20const, b2WeldJoint__GetReferenceAngle_28_29_20const, b2WeldJoint__SetFrequency_28float_29, b2WeldJoint__GetFrequency_28_29_20const, b2WeldJoint__SetDampingRatio_28float_29, b2WeldJoint__GetDampingRatio_28_29_20const, void_20const__20emscripten__internal__getActualType_b2WheelJointDef__28b2WheelJointDef__29, void_20emscripten__internal__raw_destructor_b2WheelJointDef__28b2WheelJointDef__29, b2WheelJointDef__20emscripten__internal__operator_new_b2WheelJointDef__28_29, b2Vec2__20emscripten__internal__MemberAccess_b2WheelJointDef_2c_20b2Vec2___getWire_b2WheelJointDef__28b2Vec2_20b2WheelJointDef____20const__2c_20b2WheelJointDef_20const__29, void_20emscripten__internal__MemberAccess_b2WheelJointDef_2c_20b2Vec2___setWire_b2WheelJointDef__28b2Vec2_20b2WheelJointDef____20const__2c_20b2WheelJointDef__2c_20b2Vec2__29, bool_20emscripten__internal__MemberAccess_b2WheelJointDef_2c_20bool___getWire_b2WheelJointDef__28bool_20b2WheelJointDef____20const__2c_20b2WheelJointDef_20const__29, void_20emscripten__internal__MemberAccess_b2WheelJointDef_2c_20bool___setWire_b2WheelJointDef__28bool_20b2WheelJointDef____20const__2c_20b2WheelJointDef__2c_20bool_29, float_20emscripten__internal__MemberAccess_b2WheelJointDef_2c_20float___getWire_b2WheelJointDef__28float_20b2WheelJointDef____20const__2c_20b2WheelJointDef_20const__29, void_20emscripten__internal__MemberAccess_b2WheelJointDef_2c_20float___setWire_b2WheelJointDef__28float_20b2WheelJointDef____20const__2c_20b2WheelJointDef__2c_20float_29, void_20const__20emscripten__internal__getActualType_b2WheelJoint__28b2WheelJoint__29, void_20emscripten__internal__raw_destructor_b2WheelJoint__28b2WheelJoint__29, b2WheelJoint__GetLocalAnchorA_28_29_20const, b2WheelJoint__GetLocalAnchorB_28_29_20const, b2WheelJoint__GetLocalAxisA_28_29_20const, b2WheelJoint__GetJointTranslation_28_29_20const, b2WheelJoint__IsMotorEnabled_28_29_20const, b2WheelJoint__EnableMotor_28bool_29, b2WheelJoint__SetMotorSpeed_28float_29, b2WheelJoint__GetMotorSpeed_28_29_20const, b2WheelJoint__SetMaxMotorTorque_28float_29, b2WheelJoint__GetMaxMotorTorque_28_29_20const, b2WheelJoint__GetMotorTorque_28float_29_20const, b2WheelJoint__SetSpringFrequencyHz_28float_29, b2WheelJoint__GetSpringFrequencyHz_28_29_20const, b2WheelJoint__SetSpringDampingRatio_28float_29, b2WheelJoint__GetSpringDampingRatio_28_29_20const, emscripten__internal__Invoker_float_2c_20unsigned_20int_2c_20int___invoke_28float_20_28__29_28unsigned_20int_2c_20int_29_2c_20unsigned_20int_2c_20int_29, emscripten__internal__Invoker_b2Vec2_2c_20b2Transform_20const__2c_20b2Vec2_20const____invoke_28b2Vec2_20_28__29_28b2Transform_20const__2c_20b2Vec2_20const__29_2c_20b2Transform__2c_20b2Vec2__29, emscripten__internal__Invoker_void_2c_20unsigned_20int_2c_20bool___invoke_28void_20_28__29_28unsigned_20int_2c_20bool_29_2c_20unsigned_20int_2c_20bool_29, emscripten__internal__Invoker_bool_2c_20unsigned_20int___invoke_28bool_20_28__29_28unsigned_20int_29_2c_20unsigned_20int_29, emscripten__internal__Invoker_void_2c_20unsigned_20int_2c_20float___invoke_28void_20_28__29_28unsigned_20int_2c_20float_29_2c_20unsigned_20int_2c_20float_29, emscripten__internal__Invoker_float_2c_20unsigned_20int___invoke_28float_20_28__29_28unsigned_20int_29_2c_20unsigned_20int_29, emscripten__internal__Invoker_void_2c_20unsigned_20int___invoke_28void_20_28__29_28unsigned_20int_29_2c_20unsigned_20int_29, emscripten__internal__Invoker_b2Vec2_2c_20unsigned_20int___invoke_28b2Vec2_20_28__29_28unsigned_20int_29_2c_20unsigned_20int_29, emscripten__internal__Invoker_unsigned_20int_2c_20unsigned_20int___invoke_28unsigned_20int_20_28__29_28unsigned_20int_29_2c_20unsigned_20int_29, emscripten__internal__Invoker_void_2c_20unsigned_20int_2c_20unsigned_20int___invoke_28void_20_28__29_28unsigned_20int_2c_20unsigned_20int_29_2c_20unsigned_20int_2c_20unsigned_20int_29, emscripten__internal__Invoker_unsigned_20int_2c_20unsigned_20int_2c_20int___invoke_28unsigned_20int_20_28__29_28unsigned_20int_2c_20int_29_2c_20unsigned_20int_2c_20int_29, emscripten__internal__Invoker_unsigned_20int___invoke_28unsigned_20int_20_28__29_28_29_29, emscripten__internal__Invoker_int_2c_20unsigned_20int___invoke_28int_20_28__29_28unsigned_20int_29_2c_20unsigned_20int_29, emscripten__internal__Invoker_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20bool_2c_20unsigned_20short_2c_20unsigned_20short_2c_20short___invoke_28void_20_28__29_28unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20bool_2c_20unsigned_20short_2c_20unsigned_20short_2c_20short_29_2c_20unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20bool_2c_20unsigned_20short_2c_20unsigned_20short_2c_20short_29, emscripten__internal__Invoker_void_2c_20unsigned_20int_2c_20b2Filter_20const____invoke_28void_20_28__29_28unsigned_20int_2c_20b2Filter_20const__29_2c_20unsigned_20int_2c_20b2Filter__29, emscripten__internal__Invoker_b2Filter_20const__2c_20unsigned_20int___invoke_28b2Filter_20const__20_28__29_28unsigned_20int_29_2c_20unsigned_20int_29, emscripten__internal__Invoker_bool_2c_20unsigned_20int_2c_20b2Vec2_20const____invoke_28bool_20_28__29_28unsigned_20int_2c_20b2Vec2_20const__29_2c_20unsigned_20int_2c_20b2Vec2__29, emscripten__internal__Invoker_b2AABB_20const__2c_20unsigned_20int_2c_20int___invoke_28b2AABB_20const__20_28__29_28unsigned_20int_2c_20int_29_2c_20unsigned_20int_2c_20int_29, emscripten__internal__Invoker_void_2c_20unsigned_20int_2c_20int___invoke_28void_20_28__29_28unsigned_20int_2c_20int_29_2c_20unsigned_20int_2c_20int_29, emscripten__internal__Invoker_bool_2c_20unsigned_20int_2c_20b2Transform_20const__2c_20b2Vec2_20const____invoke_28bool_20_28__29_28unsigned_20int_2c_20b2Transform_20const__2c_20b2Vec2_20const__29_2c_20unsigned_20int_2c_20b2Transform__2c_20b2Vec2__29, emscripten__internal__Invoker_void_2c_20unsigned_20int_2c_20float_2c_20float___invoke_28void_20_28__29_28unsigned_20int_2c_20float_2c_20float_29_2c_20unsigned_20int_2c_20float_2c_20float_29, emscripten__internal__Invoker_b2Vec2_20const__2c_20unsigned_20int___invoke_28b2Vec2_20const__20_28__29_28unsigned_20int_29_2c_20unsigned_20int_29, emscripten__internal__Invoker_void_2c_20unsigned_20int_2c_20unsigned_20int_2c_20int___invoke_28void_20_28__29_28unsigned_20int_2c_20unsigned_20int_2c_20int_29_2c_20unsigned_20int_2c_20unsigned_20int_2c_20int_29, emscripten__internal__Invoker_void_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float___invoke_28void_20_28__29_28unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_29_2c_20unsigned_20int_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_29, emscripten__internal__Invoker_unsigned_20int_2c_20unsigned_20int_2c_20unsigned_20int___invoke_28unsigned_20int_20_28__29_28unsigned_20int_2c_20unsigned_20int_29_2c_20unsigned_20int_2c_20unsigned_20int_29, emscripten__internal__Invoker_b2Vec2_20const__2c_20unsigned_20int_2c_20int___invoke_28b2Vec2_20const__20_28__29_28unsigned_20int_2c_20int_29_2c_20unsigned_20int_2c_20int_29, emscripten__internal__Invoker_void_2c_20unsigned_20int_2c_20int_2c_20float_2c_20float___invoke_28void_20_28__29_28unsigned_20int_2c_20int_2c_20float_2c_20float_29_2c_20unsigned_20int_2c_20int_2c_20float_2c_20float_29, std____2__vector_int_2c_20std____2__allocator_int____push_back_5babi_v160004_5d_28int_20const__29, std____2__vector_int_2c_20std____2__allocator_int____resize_28unsigned_20long_2c_20int_20const__29, std____2__vector_int_2c_20std____2__allocator_int____size_5babi_v160004_5d_28_29_20const, void_20const__20emscripten__internal__getActualType_std____2__vector_int_2c_20std____2__allocator_int____28std____2__vector_int_2c_20std____2__allocator_int____29, void_20emscripten__internal__raw_destructor_std____2__vector_int_2c_20std____2__allocator_int____28std____2__vector_int_2c_20std____2__allocator_int____29, std____2__vector_int_2c_20std____2__allocator_int____20emscripten__internal__operator_new_std____2__vector_int_2c_20std____2__allocator_int____28_29, emscripten__internal__VectorAccess_std____2__vector_int_2c_20std____2__allocator_int_____get_28std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long_29, emscripten__internal__VectorAccess_std____2__vector_int_2c_20std____2__allocator_int_____set_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const__29, b2Vec2__20emscripten__internal__raw_constructor_b2Vec2__28_29, void_20emscripten__internal__raw_destructor_b2Vec2__28b2Vec2__29, float_20emscripten__internal__MemberAccess_b2Vec2_2c_20float___getWire_b2Vec2__28float_20b2Vec2____20const__2c_20b2Vec2_20const__29, void_20emscripten__internal__MemberAccess_b2Vec2_2c_20float___setWire_b2Vec2__28float_20b2Vec2____20const__2c_20b2Vec2__2c_20float_29, std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____push_back_5babi_v160004_5d_28b2Vec2_20const__29, std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____resize_28unsigned_20long_2c_20b2Vec2_20const__29, std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____size_5babi_v160004_5d_28_29_20const, void_20const__20emscripten__internal__getActualType_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____29, void_20emscripten__internal__raw_destructor_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____29, std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____20emscripten__internal__operator_new_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____28_29, emscripten__internal__VectorAccess_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2_____get_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long_29, emscripten__internal__VectorAccess_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2_____set_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const__29, b2Rot__20emscripten__internal__raw_constructor_b2Rot__28_29, void_20emscripten__internal__raw_destructor_b2Rot__28b2Rot__29, float_20emscripten__internal__MemberAccess_b2Rot_2c_20float___getWire_b2Rot__28float_20b2Rot____20const__2c_20b2Rot_20const__29, void_20emscripten__internal__MemberAccess_b2Rot_2c_20float___setWire_b2Rot__28float_20b2Rot____20const__2c_20b2Rot__2c_20float_29, b2Transform__20emscripten__internal__raw_constructor_b2Transform__28_29, void_20emscripten__internal__raw_destructor_b2Transform__28b2Transform__29, b2Vec2__20emscripten__internal__MemberAccess_b2Transform_2c_20b2Vec2___getWire_b2Transform__28b2Vec2_20b2Transform____20const__2c_20b2Transform_20const__29, void_20emscripten__internal__MemberAccess_b2Transform_2c_20b2Vec2___setWire_b2Transform__28b2Vec2_20b2Transform____20const__2c_20b2Transform__2c_20b2Vec2__29, b2Rot__20emscripten__internal__MemberAccess_b2Transform_2c_20b2Rot___getWire_b2Transform__28b2Rot_20b2Transform____20const__2c_20b2Transform_20const__29, void_20emscripten__internal__MemberAccess_b2Transform_2c_20b2Rot___setWire_b2Transform__28b2Rot_20b2Transform____20const__2c_20b2Transform__2c_20b2Rot__29, b2Color__20emscripten__internal__raw_constructor_b2Color__28_29, void_20emscripten__internal__raw_destructor_b2Color__28b2Color__29, float_20emscripten__internal__MemberAccess_b2Color_2c_20float___getWire_b2Color__28float_20b2Color____20const__2c_20b2Color_20const__29, void_20emscripten__internal__MemberAccess_b2Color_2c_20float___setWire_b2Color__28float_20b2Color____20const__2c_20b2Color__2c_20float_29, b2RayCastInput__20emscripten__internal__raw_constructor_b2RayCastInput__28_29, void_20emscripten__internal__raw_destructor_b2RayCastInput__28b2RayCastInput__29, b2Vec2__20emscripten__internal__MemberAccess_b2RayCastInput_2c_20b2Vec2___getWire_b2RayCastInput__28b2Vec2_20b2RayCastInput____20const__2c_20b2RayCastInput_20const__29, void_20emscripten__internal__MemberAccess_b2RayCastInput_2c_20b2Vec2___setWire_b2RayCastInput__28b2Vec2_20b2RayCastInput____20const__2c_20b2RayCastInput__2c_20b2Vec2__29, float_20emscripten__internal__MemberAccess_b2RayCastInput_2c_20float___getWire_b2RayCastInput__28float_20b2RayCastInput____20const__2c_20b2RayCastInput_20const__29, void_20emscripten__internal__MemberAccess_b2RayCastInput_2c_20float___setWire_b2RayCastInput__28float_20b2RayCastInput____20const__2c_20b2RayCastInput__2c_20float_29, b2RayCastOutput__20emscripten__internal__raw_constructor_b2RayCastOutput__28_29, void_20emscripten__internal__raw_destructor_b2RayCastOutput__28b2RayCastOutput__29, b2Vec2__20emscripten__internal__MemberAccess_b2RayCastOutput_2c_20b2Vec2___getWire_b2RayCastOutput__28b2Vec2_20b2RayCastOutput____20const__2c_20b2RayCastOutput_20const__29, void_20emscripten__internal__MemberAccess_b2RayCastOutput_2c_20b2Vec2___setWire_b2RayCastOutput__28b2Vec2_20b2RayCastOutput____20const__2c_20b2RayCastOutput__2c_20b2Vec2__29, float_20emscripten__internal__MemberAccess_b2RayCastOutput_2c_20float___getWire_b2RayCastOutput__28float_20b2RayCastOutput____20const__2c_20b2RayCastOutput_20const__29, void_20emscripten__internal__MemberAccess_b2RayCastOutput_2c_20float___setWire_b2RayCastOutput__28float_20b2RayCastOutput____20const__2c_20b2RayCastOutput__2c_20float_29, b2MassData__20emscripten__internal__raw_constructor_b2MassData__28_29, void_20emscripten__internal__raw_destructor_b2MassData__28b2MassData__29, float_20emscripten__internal__MemberAccess_b2MassData_2c_20float___getWire_b2MassData__28float_20b2MassData____20const__2c_20b2MassData_20const__29, void_20emscripten__internal__MemberAccess_b2MassData_2c_20float___setWire_b2MassData__28float_20b2MassData____20const__2c_20b2MassData__2c_20float_29, b2Vec2__20emscripten__internal__MemberAccess_b2MassData_2c_20b2Vec2___getWire_b2MassData__28b2Vec2_20b2MassData____20const__2c_20b2MassData_20const__29, void_20emscripten__internal__MemberAccess_b2MassData_2c_20b2Vec2___setWire_b2MassData__28b2Vec2_20b2MassData____20const__2c_20b2MassData__2c_20b2Vec2__29, b2Filter__20emscripten__internal__raw_constructor_b2Filter__28_29, void_20emscripten__internal__raw_destructor_b2Filter__28b2Filter__29, unsigned_20short_20emscripten__internal__MemberAccess_b2Filter_2c_20unsigned_20short___getWire_b2Filter__28unsigned_20short_20b2Filter____20const__2c_20b2Filter_20const__29, void_20emscripten__internal__MemberAccess_b2Filter_2c_20unsigned_20short___setWire_b2Filter__28unsigned_20short_20b2Filter____20const__2c_20b2Filter__2c_20unsigned_20short_29, short_20emscripten__internal__MemberAccess_b2Filter_2c_20short___getWire_b2Filter__28short_20b2Filter____20const__2c_20b2Filter_20const__29, void_20emscripten__internal__MemberAccess_b2Filter_2c_20short___setWire_b2Filter__28short_20b2Filter____20const__2c_20b2Filter__2c_20short_29, emscripten__internal__MethodInvoker_bool_20_28b2QueryCallback____29_28unsigned_20int_29_2c_20bool_2c_20b2QueryCallback__2c_20unsigned_20int___invoke_28bool_20_28b2QueryCallback____20const__29_28unsigned_20int_29_2c_20b2QueryCallback__2c_20unsigned_20int_29, b2QueryCallback__20emscripten__base_b2QueryCallback___convertPointer_b2QueryCallbackWrapper_2c_20b2QueryCallback__28b2QueryCallbackWrapper__29, b2QueryCallbackWrapper__20emscripten__base_b2QueryCallback___convertPointer_b2QueryCallback_2c_20b2QueryCallbackWrapper__28b2QueryCallback__29, emscripten__class__b2QueryCallback_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2QueryCallback_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2QueryCallbackWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2QueryCallbackWrapper__29____invoke_28b2QueryCallbackWrapper__29, emscripten__internal__FunctionInvoker_void_20_28__29_28b2QueryCallbackWrapper__29_2c_20void_2c_20b2QueryCallbackWrapper____invoke_28void_20_28___29_28b2QueryCallbackWrapper__29_2c_20b2QueryCallbackWrapper__29, emscripten__internal__MethodInvoker_float_20_28b2RayCastCallback____29_28unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float_29_2c_20float_2c_20b2RayCastCallback__2c_20unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float___invoke_28float_20_28b2RayCastCallback____20const__29_28unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float_29_2c_20b2RayCastCallback__2c_20unsigned_20int_2c_20b2Vec2__2c_20b2Vec2__2c_20float_29, b2RayCastCallback__20emscripten__base_b2RayCastCallback___convertPointer_b2RayCastCallbackWrapper_2c_20b2RayCastCallback__28b2RayCastCallbackWrapper__29, b2RayCastCallbackWrapper__20emscripten__base_b2RayCastCallback___convertPointer_b2RayCastCallback_2c_20b2RayCastCallbackWrapper__28b2RayCastCallback__29, emscripten__class__b2RayCastCallback_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2RayCastCallback_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2RayCastCallbackWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2RayCastCallbackWrapper__29____invoke_28b2RayCastCallbackWrapper__29, emscripten__internal__FunctionInvoker_void_20_28__29_28b2RayCastCallbackWrapper__29_2c_20void_2c_20b2RayCastCallbackWrapper____invoke_28void_20_28___29_28b2RayCastCallbackWrapper__29_2c_20b2RayCastCallbackWrapper__29, emscripten__internal__MethodInvoker_void_20_28b2ContactListener____29_28unsigned_20int_29_2c_20void_2c_20b2ContactListener__2c_20unsigned_20int___invoke_28void_20_28b2ContactListener____20const__29_28unsigned_20int_29_2c_20b2ContactListener__2c_20unsigned_20int_29, emscripten__internal__MethodInvoker_void_20_28b2ContactListener____29_28unsigned_20int_2c_20unsigned_20int_29_2c_20void_2c_20b2ContactListener__2c_20unsigned_20int_2c_20unsigned_20int___invoke_28void_20_28b2ContactListener____20const__29_28unsigned_20int_2c_20unsigned_20int_29_2c_20b2ContactListener__2c_20unsigned_20int_2c_20unsigned_20int_29, emscripten__internal__MethodInvoker_void_20_28b2ContactListenerWrapper____29_28unsigned_20int_29_2c_20void_2c_20b2ContactListenerWrapper__2c_20unsigned_20int___invoke_28void_20_28b2ContactListenerWrapper____20const__29_28unsigned_20int_29_2c_20b2ContactListenerWrapper__2c_20unsigned_20int_29, emscripten__internal__MethodInvoker_bool_20_28b2ContactListenerWrapper____29_28unsigned_20int_29_2c_20bool_2c_20b2ContactListenerWrapper__2c_20unsigned_20int___invoke_28bool_20_28b2ContactListenerWrapper____20const__29_28unsigned_20int_29_2c_20b2ContactListenerWrapper__2c_20unsigned_20int_29, b2ContactListener__20emscripten__base_b2ContactListener___convertPointer_b2ContactListenerWrapper_2c_20b2ContactListener__28b2ContactListenerWrapper__29, b2ContactListenerWrapper__20emscripten__base_b2ContactListener___convertPointer_b2ContactListener_2c_20b2ContactListenerWrapper__28b2ContactListener__29, emscripten__class__b2ContactListener_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2ContactListener_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2ContactListenerWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2ContactListenerWrapper__29____invoke_28b2ContactListenerWrapper__29, emscripten__internal__FunctionInvoker_void_20_28__29_28b2ContactListenerWrapper__29_2c_20void_2c_20b2ContactListenerWrapper____invoke_28void_20_28___29_28b2ContactListenerWrapper__29_2c_20b2ContactListenerWrapper__29, emscripten__internal__MethodInvoker_void_20_28b2Draw____29_28unsigned_20int_29_2c_20void_2c_20b2Draw__2c_20unsigned_20int___invoke_28void_20_28b2Draw____20const__29_28unsigned_20int_29_2c_20b2Draw__2c_20unsigned_20int_29, emscripten__internal__MethodInvoker_unsigned_20int_20_28b2Draw____29_28_29_20const_2c_20unsigned_20int_2c_20b2Draw_20const____invoke_28unsigned_20int_20_28b2Draw____20const__29_28_29_20const_2c_20b2Draw_20const__29, emscripten__internal__MethodInvoker_void_20_28b2Draw____29_28unsigned_20int_2c_20int_2c_20b2Color_20const__29_2c_20void_2c_20b2Draw__2c_20unsigned_20int_2c_20int_2c_20b2Color_20const____invoke_28void_20_28b2Draw____20const__29_28unsigned_20int_2c_20int_2c_20b2Color_20const__29_2c_20b2Draw__2c_20unsigned_20int_2c_20int_2c_20b2Color__29, emscripten__internal__MethodInvoker_void_20_28b2Draw____29_28b2Vec2_20const__2c_20float_2c_20b2Color_20const__29_2c_20void_2c_20b2Draw__2c_20b2Vec2_20const__2c_20float_2c_20b2Color_20const____invoke_28void_20_28b2Draw____20const__29_28b2Vec2_20const__2c_20float_2c_20b2Color_20const__29_2c_20b2Draw__2c_20b2Vec2__2c_20float_2c_20b2Color__29, emscripten__internal__MethodInvoker_void_20_28b2Draw____29_28b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const__29_2c_20void_2c_20b2Draw__2c_20b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const____invoke_28void_20_28b2Draw____20const__29_28b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const__29_2c_20b2Draw__2c_20b2Vec2__2c_20float_2c_20b2Vec2__2c_20b2Color__29, emscripten__internal__MethodInvoker_void_20_28b2Draw____29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29_2c_20void_2c_20b2Draw__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const____invoke_28void_20_28b2Draw____20const__29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29_2c_20b2Draw__2c_20b2Vec2__2c_20b2Vec2__2c_20b2Color__29, emscripten__internal__MethodInvoker_void_20_28b2Draw____29_28b2Transform_20const__29_2c_20void_2c_20b2Draw__2c_20b2Transform_20const____invoke_28void_20_28b2Draw____20const__29_28b2Transform_20const__29_2c_20b2Draw__2c_20b2Transform__29, b2Draw__20emscripten__base_b2Draw___convertPointer_b2DrawWrapper_2c_20b2Draw__28b2DrawWrapper__29, b2DrawWrapper__20emscripten__base_b2Draw___convertPointer_b2Draw_2c_20b2DrawWrapper__28b2Draw__29, emscripten__class__b2Draw_2c_20emscripten__internal__NoBaseClass__20const__20emscripten__class__b2Draw_2c_20emscripten__internal__NoBaseClass___allow_subclass_b2DrawWrapper__28char_20const__2c_20emscripten__constructor___29_20const___lambda__28b2DrawWrapper__29____invoke_28b2DrawWrapper__29, emscripten__internal__FunctionInvoker_void_20_28__29_28b2DrawWrapper__29_2c_20void_2c_20b2DrawWrapper____invoke_28void_20_28___29_28b2DrawWrapper__29_2c_20b2DrawWrapper__29, emscripten__internal__Invoker_b2AABB____invoke_28b2AABB__20_28__29_28_29_29, emscripten__internal__MethodInvoker_bool_20_28b2AABB____29_28_29_20const_2c_20bool_2c_20b2AABB_20const____invoke_28bool_20_28b2AABB____20const__29_28_29_20const_2c_20b2AABB_20const__29, emscripten__internal__MethodInvoker_b2Vec2_20_28b2AABB____29_28_29_20const_2c_20b2Vec2_2c_20b2AABB_20const____invoke_28b2Vec2_20_28b2AABB____20const__29_28_29_20const_2c_20b2AABB_20const__29, emscripten__internal__MethodInvoker_float_20_28b2AABB____29_28_29_20const_2c_20float_2c_20b2AABB_20const____invoke_28float_20_28b2AABB____20const__29_28_29_20const_2c_20b2AABB_20const__29, emscripten__internal__FunctionInvoker_void_20_28__29_28b2AABB__2c_20b2AABB__29_2c_20void_2c_20b2AABB__2c_20b2AABB____invoke_28void_20_28___29_28b2AABB__2c_20b2AABB__29_2c_20b2AABB__2c_20b2AABB__29, emscripten__internal__FunctionInvoker_void_20_28__29_28b2AABB__2c_20b2AABB__2c_20b2AABB__29_2c_20void_2c_20b2AABB__2c_20b2AABB__2c_20b2AABB____invoke_28void_20_28___29_28b2AABB__2c_20b2AABB__2c_20b2AABB__29_2c_20b2AABB__2c_20b2AABB__2c_20b2AABB__29, emscripten__internal__MethodInvoker_bool_20_28b2AABB____29_28b2AABB_20const__29_20const_2c_20bool_2c_20b2AABB_20const__2c_20b2AABB_20const____invoke_28bool_20_28b2AABB____20const__29_28b2AABB_20const__29_20const_2c_20b2AABB_20const__2c_20b2AABB__29, emscripten__internal__MethodInvoker_bool_20_28b2AABB____29_28b2RayCastOutput__2c_20b2RayCastInput_20const__29_20const_2c_20bool_2c_20b2AABB_20const__2c_20b2RayCastOutput__2c_20b2RayCastInput_20const____invoke_28bool_20_28b2AABB____20const__29_28b2RayCastOutput__2c_20b2RayCastInput_20const__29_20const_2c_20b2AABB_20const__2c_20b2RayCastOutput__2c_20b2RayCastInput__29, emscripten__internal__Invoker_b2World__2c_20b2Vec2_____invoke_28b2World__20_28__29_28b2Vec2___29_2c_20b2Vec2__29, emscripten__internal__MethodInvoker_void_20_28b2World____29_28b2ContactListener__29_2c_20void_2c_20b2World__2c_20b2ContactListener____invoke_28void_20_28b2World____20const__29_28b2ContactListener__29_2c_20b2World__2c_20b2ContactListener__29, emscripten__internal__MethodInvoker_void_20_28b2World____29_28b2Draw__29_2c_20void_2c_20b2World__2c_20b2Draw____invoke_28void_20_28b2World____20const__29_28b2Draw__29_2c_20b2World__2c_20b2Draw__29, emscripten__internal__MethodInvoker_void_20_28b2World____29_28_29_2c_20void_2c_20b2World____invoke_28void_20_28b2World____20const__29_28_29_2c_20b2World__29, emscripten__internal__MethodInvoker_b2Body__20_28b2World____29_28b2BodyDef_20const__29_2c_20b2Body__2c_20b2World__2c_20b2BodyDef_20const____invoke_28b2Body__20_28b2World____20const__29_28b2BodyDef_20const__29_2c_20b2World__2c_20b2BodyDef_20const__29, emscripten__internal__MethodInvoker_void_20_28b2World____29_28b2Body__29_2c_20void_2c_20b2World__2c_20b2Body____invoke_28void_20_28b2World____20const__29_28b2Body__29_2c_20b2World__2c_20b2Body__29, emscripten__internal__MethodInvoker_b2Joint__20_28b2World____29_28b2JointDef_20const__29_2c_20b2Joint__2c_20b2World__2c_20b2JointDef_20const____invoke_28b2Joint__20_28b2World____20const__29_28b2JointDef_20const__29_2c_20b2World__2c_20b2JointDef_20const__29, emscripten__internal__MethodInvoker_void_20_28b2World____29_28b2Joint__29_2c_20void_2c_20b2World__2c_20b2Joint____invoke_28void_20_28b2World____20const__29_28b2Joint__29_2c_20b2World__2c_20b2Joint__29, emscripten__internal__MethodInvoker_void_20_28b2World____29_28float_2c_20int_2c_20int_29_2c_20void_2c_20b2World__2c_20float_2c_20int_2c_20int___invoke_28void_20_28b2World____20const__29_28float_2c_20int_2c_20int_29_2c_20b2World__2c_20float_2c_20int_2c_20int_29, emscripten__internal__MethodInvoker_void_20_28b2World____29_28b2QueryCallback__2c_20b2AABB_20const__29_20const_2c_20void_2c_20b2World_20const__2c_20b2QueryCallback__2c_20b2AABB_20const____invoke_28void_20_28b2World____20const__29_28b2QueryCallback__2c_20b2AABB_20const__29_20const_2c_20b2World_20const__2c_20b2QueryCallback__2c_20b2AABB__29, emscripten__internal__MethodInvoker_void_20_28b2World____29_28b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const__29_20const_2c_20void_2c_20b2World_20const__2c_20b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const____invoke_28void_20_28b2World____20const__29_28b2RayCastCallback__2c_20b2Vec2_20const__2c_20b2Vec2_20const__29_20const_2c_20b2World_20const__2c_20b2RayCastCallback__2c_20b2Vec2__2c_20b2Vec2__29, emscripten__internal__MethodInvoker_void_20_28b2World____29_28bool_29_2c_20void_2c_20b2World__2c_20bool___invoke_28void_20_28b2World____20const__29_28bool_29_2c_20b2World__2c_20bool_29, emscripten__internal__MethodInvoker_bool_20_28b2World____29_28_29_20const_2c_20bool_2c_20b2World_20const____invoke_28bool_20_28b2World____20const__29_28_29_20const_2c_20b2World_20const__29, emscripten__internal__MethodInvoker_void_20_28b2World____29_28b2Vec2_20const__29_2c_20void_2c_20b2World__2c_20b2Vec2_20const____invoke_28void_20_28b2World____20const__29_28b2Vec2_20const__29_2c_20b2World__2c_20b2Vec2__29, emscripten__internal__MethodInvoker_b2Vec2_20_28b2World____29_28_29_20const_2c_20b2Vec2_2c_20b2World_20const____invoke_28b2Vec2_20_28b2World____20const__29_28_29_20const_2c_20b2World_20const__29, emscripten__internal__Invoker_b2BodyDef____invoke_28b2BodyDef__20_28__29_28_29_29, emscripten__internal__MethodInvoker_void_20_28b2Body____29_28b2Vec2_20const__2c_20float_29_2c_20void_2c_20b2Body__2c_20b2Vec2_20const__2c_20float___invoke_28void_20_28b2Body____20const__29_28b2Vec2_20const__2c_20float_29_2c_20b2Body__2c_20b2Vec2__2c_20float_29, emscripten__internal__MethodInvoker_b2Transform_20const__20_28b2Body____29_28_29_20const_2c_20b2Transform_20const__2c_20b2Body_20const____invoke_28b2Transform_20const__20_28b2Body____20const__29_28_29_20const_2c_20b2Body_20const__29, emscripten__internal__MethodInvoker_b2Vec2_20const__20_28b2Body____29_28_29_20const_2c_20b2Vec2_20const__2c_20b2Body_20const____invoke_28b2Vec2_20const__20_28b2Body____20const__29_28_29_20const_2c_20b2Body_20const__29, emscripten__internal__MethodInvoker_float_20_28b2Body____29_28_29_20const_2c_20float_2c_20b2Body_20const____invoke_28float_20_28b2Body____20const__29_28_29_20const_2c_20b2Body_20const__29, emscripten__internal__MethodInvoker_void_20_28b2Body____29_28b2Vec2_20const__29_2c_20void_2c_20b2Body__2c_20b2Vec2_20const____invoke_28void_20_28b2Body____20const__29_28b2Vec2_20const__29_2c_20b2Body__2c_20b2Vec2__29, emscripten__internal__MethodInvoker_void_20_28b2Body____29_28float_29_2c_20void_2c_20b2Body__2c_20float___invoke_28void_20_28b2Body____20const__29_28float_29_2c_20b2Body__2c_20float_29, emscripten__internal__MethodInvoker_void_20_28b2Body____29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool_29_2c_20void_2c_20b2Body__2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool___invoke_28void_20_28b2Body____20const__29_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20bool_29_2c_20b2Body__2c_20b2Vec2__2c_20b2Vec2__2c_20bool_29, emscripten__internal__MethodInvoker_void_20_28b2Body____29_28b2Vec2_20const__2c_20bool_29_2c_20void_2c_20b2Body__2c_20b2Vec2_20const__2c_20bool___invoke_28void_20_28b2Body____20const__29_28b2Vec2_20const__2c_20bool_29_2c_20b2Body__2c_20b2Vec2__2c_20bool_29, emscripten__internal__MethodInvoker_void_20_28b2Body____29_28float_2c_20bool_29_2c_20void_2c_20b2Body__2c_20float_2c_20bool___invoke_28void_20_28b2Body____20const__29_28float_2c_20bool_29_2c_20b2Body__2c_20float_2c_20bool_29, emscripten__internal__MethodInvoker_void_20_28b2Body____29_28b2MassData__29_20const_2c_20void_2c_20b2Body_20const__2c_20b2MassData____invoke_28void_20_28b2Body____20const__29_28b2MassData__29_20const_2c_20b2Body_20const__2c_20b2MassData__29, emscripten__internal__FunctionInvoker_void_20_28__29_28b2Body__2c_20b2MassData_20const__29_2c_20void_2c_20b2Body__2c_20b2MassData_20const____invoke_28void_20_28___29_28b2Body__2c_20b2MassData_20const__29_2c_20b2Body__2c_20b2MassData__29, emscripten__internal__MethodInvoker_void_20_28b2Body____29_28_29_2c_20void_2c_20b2Body____invoke_28void_20_28b2Body____20const__29_28_29_2c_20b2Body__29, emscripten__internal__MethodInvoker_b2Vec2_20_28b2Body____29_28b2Vec2_20const__29_20const_2c_20b2Vec2_2c_20b2Body_20const__2c_20b2Vec2_20const____invoke_28b2Vec2_20_28b2Body____20const__29_28b2Vec2_20const__29_20const_2c_20b2Body_20const__2c_20b2Vec2__29, emscripten__internal__MethodInvoker_void_20_28b2Body____29_28b2BodyType_29_2c_20void_2c_20b2Body__2c_20b2BodyType___invoke_28void_20_28b2Body____20const__29_28b2BodyType_29_2c_20b2Body__2c_20b2BodyType_29, emscripten__internal__MethodInvoker_b2BodyType_20_28b2Body____29_28_29_20const_2c_20b2BodyType_2c_20b2Body_20const____invoke_28b2BodyType_20_28b2Body____20const__29_28_29_20const_2c_20b2Body_20const__29, emscripten__internal__MethodInvoker_void_20_28b2Body____29_28bool_29_2c_20void_2c_20b2Body__2c_20bool___invoke_28void_20_28b2Body____20const__29_28bool_29_2c_20b2Body__2c_20bool_29, emscripten__internal__MethodInvoker_bool_20_28b2Body____29_28_29_20const_2c_20bool_2c_20b2Body_20const____invoke_28bool_20_28b2Body____20const__29_28_29_20const_2c_20b2Body_20const__29, emscripten__internal__FunctionInvoker_unsigned_20int_20_28__29_28b2Body__29_2c_20unsigned_20int_2c_20b2Body____invoke_28unsigned_20int_20_28___29_28b2Body__29_2c_20b2Body__29, emscripten__internal__MethodInvoker_b2World__20_28b2Body____29_28_29_2c_20b2World__2c_20b2Body____invoke_28b2World__20_28b2Body____20const__29_28_29_2c_20b2Body__29, emscripten__internal__Invoker_b2JointDef____invoke_28b2JointDef__20_28__29_28_29_29, emscripten__internal__FunctionInvoker_void_20_28__29_28b2JointDef__2c_20b2Body__29_2c_20void_2c_20b2JointDef__2c_20b2Body____invoke_28void_20_28___29_28b2JointDef__2c_20b2Body__29_2c_20b2JointDef__2c_20b2Body__29, emscripten__internal__FunctionInvoker_b2Body__20_28__29_28b2JointDef__29_2c_20b2Body__2c_20b2JointDef____invoke_28b2Body__20_28___29_28b2JointDef__29_2c_20b2JointDef__29, emscripten__internal__MethodInvoker_b2JointType_20_28b2Joint____29_28_29_20const_2c_20b2JointType_2c_20b2Joint_20const____invoke_28b2JointType_20_28b2Joint____20const__29_28_29_20const_2c_20b2Joint_20const__29, emscripten__internal__MethodInvoker_b2Body__20_28b2Joint____29_28_29_2c_20b2Body__2c_20b2Joint____invoke_28b2Body__20_28b2Joint____20const__29_28_29_2c_20b2Joint__29, emscripten__internal__MethodInvoker_b2Vec2_20_28b2Joint____29_28_29_20const_2c_20b2Vec2_2c_20b2Joint_20const____invoke_28b2Vec2_20_28b2Joint____20const__29_28_29_20const_2c_20b2Joint_20const__29, emscripten__internal__MethodInvoker_b2Vec2_20_28b2Joint____29_28float_29_20const_2c_20b2Vec2_2c_20b2Joint_20const__2c_20float___invoke_28b2Vec2_20_28b2Joint____20const__29_28float_29_20const_2c_20b2Joint_20const__2c_20float_29, emscripten__internal__MethodInvoker_float_20_28b2Joint____29_28float_29_20const_2c_20float_2c_20b2Joint_20const__2c_20float___invoke_28float_20_28b2Joint____20const__29_28float_29_20const_2c_20b2Joint_20const__2c_20float_29, emscripten__internal__MethodInvoker_bool_20_28b2Joint____29_28_29_20const_2c_20bool_2c_20b2Joint_20const____invoke_28bool_20_28b2Joint____20const__29_28_29_20const_2c_20b2Joint_20const__29, emscripten__internal__MethodInvoker_void_20_28b2Joint____29_28_29_2c_20void_2c_20b2Joint____invoke_28void_20_28b2Joint____20const__29_28_29_2c_20b2Joint__29, b2JointDef__20emscripten__base_b2JointDef___convertPointer_b2DistanceJointDef_2c_20b2JointDef__28b2DistanceJointDef__29, b2DistanceJointDef__20emscripten__base_b2JointDef___convertPointer_b2JointDef_2c_20b2DistanceJointDef__28b2JointDef__29, emscripten__internal__Invoker_b2DistanceJointDef____invoke_28b2DistanceJointDef__20_28__29_28_29_29, b2Joint__20emscripten__base_b2Joint___convertPointer_b2DistanceJoint_2c_20b2Joint__28b2DistanceJoint__29, b2DistanceJoint__20emscripten__base_b2Joint___convertPointer_b2Joint_2c_20b2DistanceJoint__28b2Joint__29, emscripten__internal__MethodInvoker_b2Vec2_20const__20_28b2DistanceJoint____29_28_29_20const_2c_20b2Vec2_20const__2c_20b2DistanceJoint_20const____invoke_28b2Vec2_20const__20_28b2DistanceJoint____20const__29_28_29_20const_2c_20b2DistanceJoint_20const__29, emscripten__internal__MethodInvoker_void_20_28b2DistanceJoint____29_28float_29_2c_20void_2c_20b2DistanceJoint__2c_20float___invoke_28void_20_28b2DistanceJoint____20const__29_28float_29_2c_20b2DistanceJoint__2c_20float_29, emscripten__internal__MethodInvoker_float_20_28b2DistanceJoint____29_28_29_20const_2c_20float_2c_20b2DistanceJoint_20const____invoke_28float_20_28b2DistanceJoint____20const__29_28_29_20const_2c_20b2DistanceJoint_20const__29, emscripten__internal__MethodInvoker_void_20_28b2DistanceJoint____29_28_29_2c_20void_2c_20b2DistanceJoint____invoke_28void_20_28b2DistanceJoint____20const__29_28_29_2c_20b2DistanceJoint__29, b2JointDef__20emscripten__base_b2JointDef___convertPointer_b2MotorJointDef_2c_20b2JointDef__28b2MotorJointDef__29, b2MotorJointDef__20emscripten__base_b2JointDef___convertPointer_b2JointDef_2c_20b2MotorJointDef__28b2JointDef__29, emscripten__internal__Invoker_b2MotorJointDef____invoke_28b2MotorJointDef__20_28__29_28_29_29, b2Joint__20emscripten__base_b2Joint___convertPointer_b2MotorJoint_2c_20b2Joint__28b2MotorJoint__29, b2MotorJoint__20emscripten__base_b2Joint___convertPointer_b2Joint_2c_20b2MotorJoint__28b2Joint__29, emscripten__internal__MethodInvoker_void_20_28b2MotorJoint____29_28b2Vec2_20const__29_2c_20void_2c_20b2MotorJoint__2c_20b2Vec2_20const____invoke_28void_20_28b2MotorJoint____20const__29_28b2Vec2_20const__29_2c_20b2MotorJoint__2c_20b2Vec2__29, emscripten__internal__MethodInvoker_b2Vec2_20const__20_28b2MotorJoint____29_28_29_20const_2c_20b2Vec2_20const__2c_20b2MotorJoint_20const____invoke_28b2Vec2_20const__20_28b2MotorJoint____20const__29_28_29_20const_2c_20b2MotorJoint_20const__29, emscripten__internal__MethodInvoker_void_20_28b2MotorJoint____29_28float_29_2c_20void_2c_20b2MotorJoint__2c_20float___invoke_28void_20_28b2MotorJoint____20const__29_28float_29_2c_20b2MotorJoint__2c_20float_29, emscripten__internal__MethodInvoker_float_20_28b2MotorJoint____29_28_29_20const_2c_20float_2c_20b2MotorJoint_20const____invoke_28float_20_28b2MotorJoint____20const__29_28_29_20const_2c_20b2MotorJoint_20const__29, emscripten__internal__MethodInvoker_void_20_28b2MotorJoint____29_28_29_2c_20void_2c_20b2MotorJoint____invoke_28void_20_28b2MotorJoint____20const__29_28_29_2c_20b2MotorJoint__29, b2JointDef__20emscripten__base_b2JointDef___convertPointer_b2MouseJointDef_2c_20b2JointDef__28b2MouseJointDef__29, b2MouseJointDef__20emscripten__base_b2JointDef___convertPointer_b2JointDef_2c_20b2MouseJointDef__28b2JointDef__29, emscripten__internal__Invoker_b2MouseJointDef____invoke_28b2MouseJointDef__20_28__29_28_29_29, b2Joint__20emscripten__base_b2Joint___convertPointer_b2MouseJoint_2c_20b2Joint__28b2MouseJoint__29, b2MouseJoint__20emscripten__base_b2Joint___convertPointer_b2Joint_2c_20b2MouseJoint__28b2Joint__29, emscripten__internal__MethodInvoker_void_20_28b2MouseJoint____29_28b2Vec2_20const__29_2c_20void_2c_20b2MouseJoint__2c_20b2Vec2_20const____invoke_28void_20_28b2MouseJoint____20const__29_28b2Vec2_20const__29_2c_20b2MouseJoint__2c_20b2Vec2__29, emscripten__internal__MethodInvoker_b2Vec2_20const__20_28b2MouseJoint____29_28_29_20const_2c_20b2Vec2_20const__2c_20b2MouseJoint_20const____invoke_28b2Vec2_20const__20_28b2MouseJoint____20const__29_28_29_20const_2c_20b2MouseJoint_20const__29, emscripten__internal__MethodInvoker_void_20_28b2MouseJoint____29_28float_29_2c_20void_2c_20b2MouseJoint__2c_20float___invoke_28void_20_28b2MouseJoint____20const__29_28float_29_2c_20b2MouseJoint__2c_20float_29, emscripten__internal__MethodInvoker_float_20_28b2MouseJoint____29_28_29_20const_2c_20float_2c_20b2MouseJoint_20const____invoke_28float_20_28b2MouseJoint____20const__29_28_29_20const_2c_20b2MouseJoint_20const__29, emscripten__internal__MethodInvoker_void_20_28b2MouseJoint____29_28_29_2c_20void_2c_20b2MouseJoint____invoke_28void_20_28b2MouseJoint____20const__29_28_29_2c_20b2MouseJoint__29, b2JointDef__20emscripten__base_b2JointDef___convertPointer_b2PrismaticJointDef_2c_20b2JointDef__28b2PrismaticJointDef__29, b2PrismaticJointDef__20emscripten__base_b2JointDef___convertPointer_b2JointDef_2c_20b2PrismaticJointDef__28b2JointDef__29, emscripten__internal__Invoker_b2PrismaticJointDef____invoke_28b2PrismaticJointDef__20_28__29_28_29_29, b2Joint__20emscripten__base_b2Joint___convertPointer_b2PrismaticJoint_2c_20b2Joint__28b2PrismaticJoint__29, b2PrismaticJoint__20emscripten__base_b2Joint___convertPointer_b2Joint_2c_20b2PrismaticJoint__28b2Joint__29, emscripten__internal__MethodInvoker_b2Vec2_20const__20_28b2PrismaticJoint____29_28_29_20const_2c_20b2Vec2_20const__2c_20b2PrismaticJoint_20const____invoke_28b2Vec2_20const__20_28b2PrismaticJoint____20const__29_28_29_20const_2c_20b2PrismaticJoint_20const__29, emscripten__internal__MethodInvoker_float_20_28b2PrismaticJoint____29_28_29_20const_2c_20float_2c_20b2PrismaticJoint_20const____invoke_28float_20_28b2PrismaticJoint____20const__29_28_29_20const_2c_20b2PrismaticJoint_20const__29, emscripten__internal__MethodInvoker_bool_20_28b2PrismaticJoint____29_28_29_20const_2c_20bool_2c_20b2PrismaticJoint_20const____invoke_28bool_20_28b2PrismaticJoint____20const__29_28_29_20const_2c_20b2PrismaticJoint_20const__29, emscripten__internal__MethodInvoker_void_20_28b2PrismaticJoint____29_28bool_29_2c_20void_2c_20b2PrismaticJoint__2c_20bool___invoke_28void_20_28b2PrismaticJoint____20const__29_28bool_29_2c_20b2PrismaticJoint__2c_20bool_29, emscripten__internal__MethodInvoker_void_20_28b2PrismaticJoint____29_28float_2c_20float_29_2c_20void_2c_20b2PrismaticJoint__2c_20float_2c_20float___invoke_28void_20_28b2PrismaticJoint____20const__29_28float_2c_20float_29_2c_20b2PrismaticJoint__2c_20float_2c_20float_29, emscripten__internal__MethodInvoker_void_20_28b2PrismaticJoint____29_28float_29_2c_20void_2c_20b2PrismaticJoint__2c_20float___invoke_28void_20_28b2PrismaticJoint____20const__29_28float_29_2c_20b2PrismaticJoint__2c_20float_29, emscripten__internal__MethodInvoker_float_20_28b2PrismaticJoint____29_28float_29_20const_2c_20float_2c_20b2PrismaticJoint_20const__2c_20float___invoke_28float_20_28b2PrismaticJoint____20const__29_28float_29_20const_2c_20b2PrismaticJoint_20const__2c_20float_29, emscripten__internal__MethodInvoker_void_20_28b2PrismaticJoint____29_28_29_2c_20void_2c_20b2PrismaticJoint____invoke_28void_20_28b2PrismaticJoint____20const__29_28_29_2c_20b2PrismaticJoint__29, b2JointDef__20emscripten__base_b2JointDef___convertPointer_b2RevoluteJointDef_2c_20b2JointDef__28b2RevoluteJointDef__29, b2RevoluteJointDef__20emscripten__base_b2JointDef___convertPointer_b2JointDef_2c_20b2RevoluteJointDef__28b2JointDef__29, emscripten__internal__Invoker_b2RevoluteJointDef____invoke_28b2RevoluteJointDef__20_28__29_28_29_29, b2Joint__20emscripten__base_b2Joint___convertPointer_b2RevoluteJoint_2c_20b2Joint__28b2RevoluteJoint__29, b2RevoluteJoint__20emscripten__base_b2Joint___convertPointer_b2Joint_2c_20b2RevoluteJoint__28b2Joint__29, emscripten__internal__MethodInvoker_b2Vec2_20const__20_28b2RevoluteJoint____29_28_29_20const_2c_20b2Vec2_20const__2c_20b2RevoluteJoint_20const____invoke_28b2Vec2_20const__20_28b2RevoluteJoint____20const__29_28_29_20const_2c_20b2RevoluteJoint_20const__29, emscripten__internal__MethodInvoker_float_20_28b2RevoluteJoint____29_28_29_20const_2c_20float_2c_20b2RevoluteJoint_20const____invoke_28float_20_28b2RevoluteJoint____20const__29_28_29_20const_2c_20b2RevoluteJoint_20const__29, emscripten__internal__MethodInvoker_bool_20_28b2RevoluteJoint____29_28_29_20const_2c_20bool_2c_20b2RevoluteJoint_20const____invoke_28bool_20_28b2RevoluteJoint____20const__29_28_29_20const_2c_20b2RevoluteJoint_20const__29, emscripten__internal__MethodInvoker_void_20_28b2RevoluteJoint____29_28bool_29_2c_20void_2c_20b2RevoluteJoint__2c_20bool___invoke_28void_20_28b2RevoluteJoint____20const__29_28bool_29_2c_20b2RevoluteJoint__2c_20bool_29, emscripten__internal__MethodInvoker_void_20_28b2RevoluteJoint____29_28float_2c_20float_29_2c_20void_2c_20b2RevoluteJoint__2c_20float_2c_20float___invoke_28void_20_28b2RevoluteJoint____20const__29_28float_2c_20float_29_2c_20b2RevoluteJoint__2c_20float_2c_20float_29, emscripten__internal__MethodInvoker_void_20_28b2RevoluteJoint____29_28float_29_2c_20void_2c_20b2RevoluteJoint__2c_20float___invoke_28void_20_28b2RevoluteJoint____20const__29_28float_29_2c_20b2RevoluteJoint__2c_20float_29, emscripten__internal__MethodInvoker_float_20_28b2RevoluteJoint____29_28float_29_20const_2c_20float_2c_20b2RevoluteJoint_20const__2c_20float___invoke_28float_20_28b2RevoluteJoint____20const__29_28float_29_20const_2c_20b2RevoluteJoint_20const__2c_20float_29, emscripten__internal__MethodInvoker_void_20_28b2RevoluteJoint____29_28_29_2c_20void_2c_20b2RevoluteJoint____invoke_28void_20_28b2RevoluteJoint____20const__29_28_29_2c_20b2RevoluteJoint__29, b2JointDef__20emscripten__base_b2JointDef___convertPointer_b2RopeJointDef_2c_20b2JointDef__28b2RopeJointDef__29, b2RopeJointDef__20emscripten__base_b2JointDef___convertPointer_b2JointDef_2c_20b2RopeJointDef__28b2JointDef__29, emscripten__internal__Invoker_b2RopeJointDef____invoke_28b2RopeJointDef__20_28__29_28_29_29, b2Joint__20emscripten__base_b2Joint___convertPointer_b2RopeJoint_2c_20b2Joint__28b2RopeJoint__29, b2RopeJoint__20emscripten__base_b2Joint___convertPointer_b2Joint_2c_20b2RopeJoint__28b2Joint__29, emscripten__internal__MethodInvoker_b2Vec2_20const__20_28b2RopeJoint____29_28_29_20const_2c_20b2Vec2_20const__2c_20b2RopeJoint_20const____invoke_28b2Vec2_20const__20_28b2RopeJoint____20const__29_28_29_20const_2c_20b2RopeJoint_20const__29, emscripten__internal__MethodInvoker_b2Vec2_20_28b2RopeJoint____29_28float_29_20const_2c_20b2Vec2_2c_20b2RopeJoint_20const__2c_20float___invoke_28b2Vec2_20_28b2RopeJoint____20const__29_28float_29_20const_2c_20b2RopeJoint_20const__2c_20float_29, emscripten__internal__MethodInvoker_float_20_28b2RopeJoint____29_28float_29_20const_2c_20float_2c_20b2RopeJoint_20const__2c_20float___invoke_28float_20_28b2RopeJoint____20const__29_28float_29_20const_2c_20b2RopeJoint_20const__2c_20float_29, emscripten__internal__MethodInvoker_void_20_28b2RopeJoint____29_28float_29_2c_20void_2c_20b2RopeJoint__2c_20float___invoke_28void_20_28b2RopeJoint____20const__29_28float_29_2c_20b2RopeJoint__2c_20float_29, emscripten__internal__MethodInvoker_float_20_28b2RopeJoint____29_28_29_20const_2c_20float_2c_20b2RopeJoint_20const____invoke_28float_20_28b2RopeJoint____20const__29_28_29_20const_2c_20b2RopeJoint_20const__29, emscripten__internal__MethodInvoker_void_20_28b2RopeJoint____29_28_29_2c_20void_2c_20b2RopeJoint____invoke_28void_20_28b2RopeJoint____20const__29_28_29_2c_20b2RopeJoint__29, b2JointDef__20emscripten__base_b2JointDef___convertPointer_b2WeldJointDef_2c_20b2JointDef__28b2WeldJointDef__29, b2WeldJointDef__20emscripten__base_b2JointDef___convertPointer_b2JointDef_2c_20b2WeldJointDef__28b2JointDef__29, emscripten__internal__Invoker_b2WeldJointDef____invoke_28b2WeldJointDef__20_28__29_28_29_29, b2Joint__20emscripten__base_b2Joint___convertPointer_b2WeldJoint_2c_20b2Joint__28b2WeldJoint__29, b2WeldJoint__20emscripten__base_b2Joint___convertPointer_b2Joint_2c_20b2WeldJoint__28b2Joint__29, emscripten__internal__MethodInvoker_b2Vec2_20const__20_28b2WeldJoint____29_28_29_20const_2c_20b2Vec2_20const__2c_20b2WeldJoint_20const____invoke_28b2Vec2_20const__20_28b2WeldJoint____20const__29_28_29_20const_2c_20b2WeldJoint_20const__29, emscripten__internal__MethodInvoker_float_20_28b2WeldJoint____29_28_29_20const_2c_20float_2c_20b2WeldJoint_20const____invoke_28float_20_28b2WeldJoint____20const__29_28_29_20const_2c_20b2WeldJoint_20const__29, emscripten__internal__MethodInvoker_void_20_28b2WeldJoint____29_28float_29_2c_20void_2c_20b2WeldJoint__2c_20float___invoke_28void_20_28b2WeldJoint____20const__29_28float_29_2c_20b2WeldJoint__2c_20float_29, emscripten__internal__MethodInvoker_void_20_28b2WeldJoint____29_28_29_2c_20void_2c_20b2WeldJoint____invoke_28void_20_28b2WeldJoint____20const__29_28_29_2c_20b2WeldJoint__29, b2JointDef__20emscripten__base_b2JointDef___convertPointer_b2WheelJointDef_2c_20b2JointDef__28b2WheelJointDef__29, b2WheelJointDef__20emscripten__base_b2JointDef___convertPointer_b2JointDef_2c_20b2WheelJointDef__28b2JointDef__29, emscripten__internal__Invoker_b2WheelJointDef____invoke_28b2WheelJointDef__20_28__29_28_29_29, b2Joint__20emscripten__base_b2Joint___convertPointer_b2WheelJoint_2c_20b2Joint__28b2WheelJoint__29, b2WheelJoint__20emscripten__base_b2Joint___convertPointer_b2Joint_2c_20b2WheelJoint__28b2Joint__29, emscripten__internal__MethodInvoker_b2Vec2_20const__20_28b2WheelJoint____29_28_29_20const_2c_20b2Vec2_20const__2c_20b2WheelJoint_20const____invoke_28b2Vec2_20const__20_28b2WheelJoint____20const__29_28_29_20const_2c_20b2WheelJoint_20const__29, emscripten__internal__MethodInvoker_float_20_28b2WheelJoint____29_28_29_20const_2c_20float_2c_20b2WheelJoint_20const____invoke_28float_20_28b2WheelJoint____20const__29_28_29_20const_2c_20b2WheelJoint_20const__29, emscripten__internal__MethodInvoker_bool_20_28b2WheelJoint____29_28_29_20const_2c_20bool_2c_20b2WheelJoint_20const____invoke_28bool_20_28b2WheelJoint____20const__29_28_29_20const_2c_20b2WheelJoint_20const__29, emscripten__internal__MethodInvoker_void_20_28b2WheelJoint____29_28bool_29_2c_20void_2c_20b2WheelJoint__2c_20bool___invoke_28void_20_28b2WheelJoint____20const__29_28bool_29_2c_20b2WheelJoint__2c_20bool_29, emscripten__internal__MethodInvoker_void_20_28b2WheelJoint____29_28float_29_2c_20void_2c_20b2WheelJoint__2c_20float___invoke_28void_20_28b2WheelJoint____20const__29_28float_29_2c_20b2WheelJoint__2c_20float_29, emscripten__internal__MethodInvoker_float_20_28b2WheelJoint____29_28float_29_20const_2c_20float_2c_20b2WheelJoint_20const__2c_20float___invoke_28float_20_28b2WheelJoint____20const__29_28float_29_20const_2c_20b2WheelJoint_20const__2c_20float_29, emscripten__internal__MethodInvoker_void_20_28b2WheelJoint____29_28_29_2c_20void_2c_20b2WheelJoint____invoke_28void_20_28b2WheelJoint____20const__29_28_29_2c_20b2WheelJoint__29, emscripten__internal__Invoker_std____2__vector_int_2c_20std____2__allocator_int______invoke_28std____2__vector_int_2c_20std____2__allocator_int____20_28__29_28_29_29, emscripten__internal__MethodInvoker_void_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28int_20const__29_2c_20void_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20int_20const____invoke_28void_20_28std____2__vector_int_2c_20std____2__allocator_int______20const__29_28int_20const__29_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20int_29, emscripten__internal__MethodInvoker_void_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28unsigned_20long_2c_20int_20const__29_2c_20void_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const____invoke_28void_20_28std____2__vector_int_2c_20std____2__allocator_int______20const__29_28unsigned_20long_2c_20int_20const__29_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_29, emscripten__internal__MethodInvoker_unsigned_20long_20_28std____2__vector_int_2c_20std____2__allocator_int______29_28_29_20const_2c_20unsigned_20long_2c_20std____2__vector_int_2c_20std____2__allocator_int___20const____invoke_28unsigned_20long_20_28std____2__vector_int_2c_20std____2__allocator_int______20const__29_28_29_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int___20const__29, emscripten__internal__FunctionInvoker_emscripten__val_20_28__29_28std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long_29_2c_20emscripten__val_2c_20std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long___invoke_28emscripten__val_20_28___29_28std____2__vector_int_2c_20std____2__allocator_int___20const__2c_20unsigned_20long_29_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_29, emscripten__internal__FunctionInvoker_bool_20_28__29_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const__29_2c_20bool_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const____invoke_28bool_20_28___29_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_20const__29_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_2c_20int_29, emscripten__internal__Invoker_std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______invoke_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____20_28__29_28_29_29, emscripten__internal__MethodInvoker_void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28b2Vec2_20const__29_2c_20void_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20b2Vec2_20const____invoke_28void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______20const__29_28b2Vec2_20const__29_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20b2Vec2__29, emscripten__internal__MethodInvoker_void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28unsigned_20long_2c_20b2Vec2_20const__29_2c_20void_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const____invoke_28void_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______20const__29_28unsigned_20long_2c_20b2Vec2_20const__29_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2__29, emscripten__internal__MethodInvoker_unsigned_20long_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______29_28_29_20const_2c_20unsigned_20long_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const____invoke_28unsigned_20long_20_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2______20const__29_28_29_20const_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__29, emscripten__internal__FunctionInvoker_emscripten__val_20_28__29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long_29_2c_20emscripten__val_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long___invoke_28emscripten__val_20_28___29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2___20const__2c_20unsigned_20long_29_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_29, emscripten__internal__FunctionInvoker_bool_20_28__29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const__29_2c_20bool_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const____invoke_28bool_20_28___29_28std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2_20const__29_2c_20std____2__vector_b2Vec2_2c_20std____2__allocator_b2Vec2____2c_20unsigned_20long_2c_20b2Vec2__29, embind_init_b2_28_29__$_0____invoke_28b2AABB__2c_20b2AABB__29, embind_init_b2_28_29__$_1____invoke_28b2AABB__2c_20b2AABB__2c_20b2AABB__29, embind_init_b2_28_29__$_2____invoke_28b2Body__2c_20b2MassData_20const__29, embind_init_b2_28_29__$_3____invoke_28b2Body__29, embind_init_b2_28_29__$_4____invoke_28b2Body__29, embind_init_b2_28_29__$_5____invoke_28b2JointDef__2c_20b2Body__29, embind_init_b2_28_29__$_6____invoke_28b2JointDef__29, embind_init_b2_28_29__$_7____invoke_28b2JointDef__2c_20b2Body__29, embind_init_b2_28_29__$_8____invoke_28b2JointDef__29, b2Shape___b2Shape_28_29, b2Shape___b2Shape_28_29_1, __cxa_pure_virtual, b2QueryCallbackWrapper___b2QueryCallbackWrapper_28_29, b2QueryCallbackWrapper___b2QueryCallbackWrapper_28_29_1, b2QueryCallbackWrapper__ReportFixture_28unsigned_20int_29, emscripten__wrapper_b2QueryCallback____wrapper_28_29, emscripten__wrapper_b2QueryCallback____wrapper_28_29_1, b2QueryCallback___b2QueryCallback_28_29, b2QueryCallback___b2QueryCallback_28_29_1, b2RayCastCallbackWrapper___b2RayCastCallbackWrapper_28_29, b2RayCastCallbackWrapper___b2RayCastCallbackWrapper_28_29_1, b2RayCastCallbackWrapper__ReportFixture_28unsigned_20int_2c_20b2Vec2_20const__2c_20b2Vec2_20const__2c_20float_29, emscripten__wrapper_b2RayCastCallback____wrapper_28_29, emscripten__wrapper_b2RayCastCallback____wrapper_28_29_1, b2RayCastCallback___b2RayCastCallback_28_29, b2RayCastCallback___b2RayCastCallback_28_29_1, b2ContactListenerWrapper___b2ContactListenerWrapper_28_29, b2ContactListenerWrapper___b2ContactListenerWrapper_28_29_1, b2ContactListenerWrapper__BeginContact_28unsigned_20int_29, b2ContactListenerWrapper__EndContact_28unsigned_20int_29, b2ContactListenerWrapper__PreSolve_28unsigned_20int_2c_20unsigned_20int_29, b2ContactListenerWrapper__PostSolve_28unsigned_20int_2c_20unsigned_20int_29, emscripten__wrapper_b2ContactListener____wrapper_28_29, emscripten__wrapper_b2ContactListener____wrapper_28_29_1, b2ContactListener__BeginContact_28unsigned_20int_29, b2ContactListener__EndContact_28unsigned_20int_29, b2ContactListener__PreSolve_28unsigned_20int_2c_20unsigned_20int_29, b2ContactListener__PostSolve_28unsigned_20int_2c_20unsigned_20int_29, b2ContactListener___b2ContactListener_28_29, b2ContactListener___b2ContactListener_28_29_1, b2DrawWrapper___b2DrawWrapper_28_29, b2DrawWrapper___b2DrawWrapper_28_29_1, b2DrawWrapper__DrawPolygon_28unsigned_20int_2c_20int_2c_20b2Color_20const__29, b2DrawWrapper__DrawSolidPolygon_28unsigned_20int_2c_20int_2c_20b2Color_20const__29, b2DrawWrapper__DrawCircle_28b2Vec2_20const__2c_20float_2c_20b2Color_20const__29, b2DrawWrapper__DrawSolidCircle_28b2Vec2_20const__2c_20float_2c_20b2Vec2_20const__2c_20b2Color_20const__29, b2DrawWrapper__DrawSegment_28b2Vec2_20const__2c_20b2Vec2_20const__2c_20b2Color_20const__29, b2DrawWrapper__DrawTransform_28b2Transform_20const__29, b2DrawWrapper__DrawPoint_28b2Vec2_20const__2c_20float_2c_20b2Color_20const__29, emscripten__wrapper_b2Draw____wrapper_28_29, emscripten__wrapper_b2Draw____wrapper_28_29_1, b2CircleShape___b2CircleShape_28_29, b2CircleShape___b2CircleShape_28_29_1, b2CircleShape__Clone_28b2BlockAllocator__29_20const, b2CircleShape__GetChildCount_28_29_20const, b2CircleShape__TestPoint_28b2Transform_20const__2c_20b2Vec2_20const__29_20const, b2CircleShape__RayCast_28b2RayCastOutput__2c_20b2RayCastInput_20const__2c_20b2Transform_20const__2c_20int_29_20const, b2CircleShape__ComputeAABB_28b2AABB__2c_20b2Transform_20const__2c_20int_29_20const, b2CircleShape__ComputeMass_28b2MassData__2c_20float_29_20const, b2PolygonShape___b2PolygonShape_28_29, b2PolygonShape___b2PolygonShape_28_29_1, b2PolygonShape__Clone_28b2BlockAllocator__29_20const, b2PolygonShape__GetChildCount_28_29_20const, b2PolygonShape__TestPoint_28b2Transform_20const__2c_20b2Vec2_20const__29_20const, b2PolygonShape__RayCast_28b2RayCastOutput__2c_20b2RayCastInput_20const__2c_20b2Transform_20const__2c_20int_29_20const, b2PolygonShape__ComputeAABB_28b2AABB__2c_20b2Transform_20const__2c_20int_29_20const, b2PolygonShape__ComputeMass_28b2MassData__2c_20float_29_20const, b2Draw___b2Draw_28_29, b2Draw___b2Draw_28_29_1, b2CircleContact__b2CircleContact_28b2Fixture__2c_20b2Fixture__29, b2CircleContact__Evaluate_28b2Manifold__2c_20b2Transform_20const__2c_20b2Transform_20const__29, b2CircleContact___b2CircleContact_28_29, b2CircleContact___b2CircleContact_28_29_1, b2EdgeShape___b2EdgeShape_28_29_1, b2EdgeShape___b2EdgeShape_28_29, b2EdgeShape__Clone_28b2BlockAllocator__29_20const, b2EdgeShape__GetChildCount_28_29_20const, b2EdgeShape__TestPoint_28b2Transform_20const__2c_20b2Vec2_20const__29_20const, b2EdgeShape__RayCast_28b2RayCastOutput__2c_20b2RayCastInput_20const__2c_20b2Transform_20const__2c_20int_29_20const, b2EdgeShape__ComputeAABB_28b2AABB__2c_20b2Transform_20const__2c_20int_29_20const, b2EdgeShape__ComputeMass_28b2MassData__2c_20float_29_20const, b2ChainAndCircleContact__b2ChainAndCircleContact_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_29, b2ChainAndCircleContact__Evaluate_28b2Manifold__2c_20b2Transform_20const__2c_20b2Transform_20const__29, b2ChainAndCircleContact___b2ChainAndCircleContact_28_29, b2ChainAndCircleContact___b2ChainAndCircleContact_28_29_1, b2ChainAndPolygonContact__b2ChainAndPolygonContact_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_29, b2ChainAndPolygonContact__Evaluate_28b2Manifold__2c_20b2Transform_20const__2c_20b2Transform_20const__29, b2ChainAndPolygonContact___b2ChainAndPolygonContact_28_29, b2ChainAndPolygonContact___b2ChainAndPolygonContact_28_29_1, b2CircleContact__Create_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29, b2CircleContact__Destroy_28b2Contact__2c_20b2BlockAllocator__29, b2PolygonAndCircleContact__Create_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29, b2PolygonAndCircleContact__Destroy_28b2Contact__2c_20b2BlockAllocator__29, b2PolygonContact__Create_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29, b2PolygonContact__Destroy_28b2Contact__2c_20b2BlockAllocator__29, b2EdgeAndCircleContact__Create_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29, b2EdgeAndCircleContact__Destroy_28b2Contact__2c_20b2BlockAllocator__29, b2EdgeAndPolygonContact__Create_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29, b2EdgeAndPolygonContact__Destroy_28b2Contact__2c_20b2BlockAllocator__29, b2ChainAndCircleContact__Create_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29, b2ChainAndCircleContact__Destroy_28b2Contact__2c_20b2BlockAllocator__29, b2ChainAndPolygonContact__Create_28b2Fixture__2c_20int_2c_20b2Fixture__2c_20int_2c_20b2BlockAllocator__29, b2ChainAndPolygonContact__Destroy_28b2Contact__2c_20b2BlockAllocator__29, b2Contact___b2Contact_28_29, b2Contact___b2Contact_28_29_1, __cxx_global_array_dtor, __cxx_global_array_dtor_2, b2DistanceJoint__GetAnchorA_28_29_20const, b2DistanceJoint__GetAnchorB_28_29_20const, b2DistanceJoint__GetReactionForce_28float_29_20const, b2DistanceJoint__GetReactionTorque_28float_29_20const, b2DistanceJoint__Dump_28_29, b2Joint__ShiftOrigin_28b2Vec2_20const__29, b2DistanceJoint___b2DistanceJoint_28_29, b2DistanceJoint___b2DistanceJoint_28_29_1, b2DistanceJoint__InitVelocityConstraints_28b2SolverData_20const__29, b2DistanceJoint__SolveVelocityConstraints_28b2SolverData_20const__29, b2DistanceJoint__SolvePositionConstraints_28b2SolverData_20const__29, b2EdgeAndCircleContact__b2EdgeAndCircleContact_28b2Fixture__2c_20b2Fixture__29, b2EdgeAndCircleContact__Evaluate_28b2Manifold__2c_20b2Transform_20const__2c_20b2Transform_20const__29, b2EdgeAndCircleContact___b2EdgeAndCircleContact_28_29, b2EdgeAndCircleContact___b2EdgeAndCircleContact_28_29_1, b2EdgeAndPolygonContact__b2EdgeAndPolygonContact_28b2Fixture__2c_20b2Fixture__29, b2EdgeAndPolygonContact__Evaluate_28b2Manifold__2c_20b2Transform_20const__2c_20b2Transform_20const__29, b2EdgeAndPolygonContact___b2EdgeAndPolygonContact_28_29, b2EdgeAndPolygonContact___b2EdgeAndPolygonContact_28_29_1, b2GearJoint__GetAnchorA_28_29_20const, b2GearJoint__GetAnchorB_28_29_20const, b2GearJoint__GetReactionForce_28float_29_20const, b2GearJoint__GetReactionTorque_28float_29_20const, b2GearJoint__Dump_28_29, b2GearJoint___b2GearJoint_28_29, b2GearJoint___b2GearJoint_28_29_1, b2GearJoint__InitVelocityConstraints_28b2SolverData_20const__29, b2GearJoint__SolveVelocityConstraints_28b2SolverData_20const__29, b2GearJoint__SolvePositionConstraints_28b2SolverData_20const__29, b2FrictionJoint__GetAnchorA_28_29_20const, b2FrictionJoint__GetAnchorB_28_29_20const, b2FrictionJoint__GetReactionForce_28float_29_20const, b2FrictionJoint__GetReactionTorque_28float_29_20const, b2FrictionJoint__Dump_28_29, b2FrictionJoint___b2FrictionJoint_28_29, b2FrictionJoint___b2FrictionJoint_28_29_1, b2FrictionJoint__InitVelocityConstraints_28b2SolverData_20const__29, b2FrictionJoint__SolveVelocityConstraints_28b2SolverData_20const__29, b2FrictionJoint__SolvePositionConstraints_28b2SolverData_20const__29, b2Joint__Dump_28_29, b2Joint___b2Joint_28_29, b2Joint___b2Joint_28_29_1, b2MotorJoint__GetAnchorA_28_29_20const, b2MotorJoint__GetAnchorB_28_29_20const, b2MotorJoint__GetReactionForce_28float_29_20const, b2MotorJoint__GetReactionTorque_28float_29_20const, b2MotorJoint__Dump_28_29, b2MotorJoint___b2MotorJoint_28_29, b2MotorJoint___b2MotorJoint_28_29_1, b2MotorJoint__InitVelocityConstraints_28b2SolverData_20const__29, b2MotorJoint__SolveVelocityConstraints_28b2SolverData_20const__29, b2MotorJoint__SolvePositionConstraints_28b2SolverData_20const__29, b2MouseJoint__GetAnchorA_28_29_20const, b2MouseJoint__GetAnchorB_28_29_20const, b2MouseJoint__GetReactionForce_28float_29_20const, b2MouseJoint__GetReactionTorque_28float_29_20const, b2MouseJoint__Dump_28_29, b2MouseJoint__ShiftOrigin_28b2Vec2_20const__29, b2MouseJoint___b2MouseJoint_28_29, b2MouseJoint___b2MouseJoint_28_29_1, b2MouseJoint__InitVelocityConstraints_28b2SolverData_20const__29, b2MouseJoint__SolveVelocityConstraints_28b2SolverData_20const__29, b2MouseJoint__SolvePositionConstraints_28b2SolverData_20const__29, b2PolygonAndCircleContact__b2PolygonAndCircleContact_28b2Fixture__2c_20b2Fixture__29, b2PolygonAndCircleContact__Evaluate_28b2Manifold__2c_20b2Transform_20const__2c_20b2Transform_20const__29, b2PolygonAndCircleContact___b2PolygonAndCircleContact_28_29, b2PolygonAndCircleContact___b2PolygonAndCircleContact_28_29_1, b2PolygonContact__b2PolygonContact_28b2Fixture__2c_20b2Fixture__29, b2PolygonContact__Evaluate_28b2Manifold__2c_20b2Transform_20const__2c_20b2Transform_20const__29, b2PolygonContact___b2PolygonContact_28_29, b2PolygonContact___b2PolygonContact_28_29_1, b2PrismaticJoint__GetAnchorA_28_29_20const, b2PrismaticJoint__GetAnchorB_28_29_20const, b2PrismaticJoint__GetReactionForce_28float_29_20const, b2PrismaticJoint__GetReactionTorque_28float_29_20const, b2PrismaticJoint__Dump_28_29, b2PrismaticJoint___b2PrismaticJoint_28_29, b2PrismaticJoint___b2PrismaticJoint_28_29_1, b2PrismaticJoint__InitVelocityConstraints_28b2SolverData_20const__29, b2PrismaticJoint__SolveVelocityConstraints_28b2SolverData_20const__29, b2PrismaticJoint__SolvePositionConstraints_28b2SolverData_20const__29, b2PulleyJoint__GetAnchorA_28_29_20const, b2PulleyJoint__GetAnchorB_28_29_20const, b2PulleyJoint__GetReactionForce_28float_29_20const, b2PulleyJoint__GetReactionTorque_28float_29_20const, b2PulleyJoint__Dump_28_29, b2PulleyJoint__ShiftOrigin_28b2Vec2_20const__29, b2PulleyJoint___b2PulleyJoint_28_29, b2PulleyJoint___b2PulleyJoint_28_29_1, b2PulleyJoint__InitVelocityConstraints_28b2SolverData_20const__29, b2PulleyJoint__SolveVelocityConstraints_28b2SolverData_20const__29, b2PulleyJoint__SolvePositionConstraints_28b2SolverData_20const__29, b2RevoluteJoint__GetAnchorA_28_29_20const, b2RevoluteJoint__GetAnchorB_28_29_20const, b2RevoluteJoint__GetReactionForce_28float_29_20const, b2RevoluteJoint__GetReactionTorque_28float_29_20const, b2RevoluteJoint__Dump_28_29, b2RevoluteJoint___b2RevoluteJoint_28_29, b2RevoluteJoint___b2RevoluteJoint_28_29_1, b2RevoluteJoint__InitVelocityConstraints_28b2SolverData_20const__29, b2RevoluteJoint__SolveVelocityConstraints_28b2SolverData_20const__29, b2RevoluteJoint__SolvePositionConstraints_28b2SolverData_20const__29, b2RopeJoint__GetAnchorA_28_29_20const, b2RopeJoint__GetAnchorB_28_29_20const, b2RopeJoint__GetReactionForce_28float_29_20const, b2RopeJoint__GetReactionTorque_28float_29_20const, b2RopeJoint__Dump_28_29, b2RopeJoint___b2RopeJoint_28_29, b2RopeJoint___b2RopeJoint_28_29_1, b2RopeJoint__InitVelocityConstraints_28b2SolverData_20const__29, b2RopeJoint__SolveVelocityConstraints_28b2SolverData_20const__29, b2RopeJoint__SolvePositionConstraints_28b2SolverData_20const__29, b2WeldJoint__GetAnchorA_28_29_20const, b2WeldJoint__GetAnchorB_28_29_20const, b2WeldJoint__GetReactionForce_28float_29_20const, b2WeldJoint__GetReactionTorque_28float_29_20const, b2WeldJoint__Dump_28_29, b2WeldJoint___b2WeldJoint_28_29, b2WeldJoint___b2WeldJoint_28_29_1, b2WeldJoint__InitVelocityConstraints_28b2SolverData_20const__29, b2WeldJoint__SolveVelocityConstraints_28b2SolverData_20const__29, b2WeldJoint__SolvePositionConstraints_28b2SolverData_20const__29, b2WheelJoint__GetAnchorA_28_29_20const, b2WheelJoint__GetAnchorB_28_29_20const, b2WheelJoint__GetReactionForce_28float_29_20const, b2WheelJoint__GetReactionTorque_28float_29_20const, b2WheelJoint__Dump_28_29, b2WheelJoint___b2WheelJoint_28_29, b2WheelJoint___b2WheelJoint_28_29_1, b2WheelJoint__InitVelocityConstraints_28b2SolverData_20const__29, b2WheelJoint__SolveVelocityConstraints_28b2SolverData_20const__29, b2WheelJoint__SolvePositionConstraints_28b2SolverData_20const__29, b2ContactFilter___b2ContactFilter_28_29, b2ContactFilter___b2ContactFilter_28_29_1, b2ContactFilter__ShouldCollide_28b2Fixture__2c_20b2Fixture__29, embind_init_builtin_28_29, __emscripten_stdout_close, __stdio_write, __emscripten_stdout_seek, fmt_fp, pop_arg_long_double, __cxxabiv1____shim_type_info_____shim_type_info_28_29, __cxxabiv1____fundamental_type_info_____fundamental_type_info_28_29, __cxxabiv1____shim_type_info__noop1_28_29_20const, __cxxabiv1____shim_type_info__noop2_28_29_20const, __cxxabiv1____fundamental_type_info__can_catch_28__cxxabiv1____shim_type_info_20const__2c_20void___29_20const, __cxxabiv1____enum_type_info_____enum_type_info_28_29, __cxxabiv1____enum_type_info__can_catch_28__cxxabiv1____shim_type_info_20const__2c_20void___29_20const, __cxxabiv1____class_type_info_____class_type_info_28_29, __cxxabiv1____class_type_info__can_catch_28__cxxabiv1____shim_type_info_20const__2c_20void___29_20const, __cxxabiv1____class_type_info__search_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_2c_20bool_29_20const, __cxxabiv1____class_type_info__search_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_2c_20bool_29_20const, __cxxabiv1____class_type_info__has_unambiguous_public_base_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const, __cxxabiv1____si_class_type_info_____si_class_type_info_28_29, __cxxabiv1____si_class_type_info__search_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_2c_20bool_29_20const, __cxxabiv1____si_class_type_info__search_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_2c_20bool_29_20const, __cxxabiv1____si_class_type_info__has_unambiguous_public_base_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const, __cxxabiv1____vmi_class_type_info_____vmi_class_type_info_28_29, __cxxabiv1____vmi_class_type_info__search_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_2c_20bool_29_20const, __cxxabiv1____vmi_class_type_info__search_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_2c_20bool_29_20const, __cxxabiv1____vmi_class_type_info__has_unambiguous_public_base_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const, __cxxabiv1____pointer_type_info_____pointer_type_info_28_29, __cxxabiv1____pointer_type_info__can_catch_28__cxxabiv1____shim_type_info_20const__2c_20void___29_20const]); - function __wasm_memory_size() { - return buffer.byteLength / 65536 | 0; -} - - function __wasm_memory_grow(pagesToAdd) { - pagesToAdd = pagesToAdd | 0; - var oldPages = __wasm_memory_size() | 0; - var newPages = oldPages + pagesToAdd | 0; - if ((oldPages < newPages) && (newPages < 65536)) { - var newBuffer = new ArrayBuffer(Math_imul(newPages, 65536)); - var newHEAP8 = new Int8Array(newBuffer); - newHEAP8.set(HEAP8); - HEAP8 = new Int8Array(newBuffer); - HEAP16 = new Int16Array(newBuffer); - HEAP32 = new Int32Array(newBuffer); - HEAPU8 = new Uint8Array(newBuffer); - HEAPU16 = new Uint16Array(newBuffer); - HEAPU32 = new Uint32Array(newBuffer); - HEAPF32 = new Float32Array(newBuffer); - HEAPF64 = new Float64Array(newBuffer); - buffer = newBuffer; - memory.buffer = buffer; - bufferView = HEAPU8; - } - return oldPages; -} - - return { - "__wasm_call_ctors": __wasm_call_ctors, - "__indirect_function_table": FUNCTION_TABLE, - "malloc": dlmalloc, - "free": dlfree, - "__getTypeName": __getTypeName, - "_embind_initialize_bindings": _embind_initialize_bindings, - "__errno_location": __errno_location, - "stackSave": stackSave, - "stackRestore": stackRestore, - "stackAlloc": stackAlloc, - "dynCall_jiji": legalstub$dynCall_jiji -}; -} - - return asmFunc(info); -} -// EMSCRIPTEN_END_ASM - - -)(info); - }, - - instantiate: /** @suppress{checkTypes} */ function(binary, info) { - return { - then: function(ok) { - var module = new WebAssembly.Module(binary); - ok({ - 'instance': new WebAssembly.Instance(module, info) - }); - } - }; - }, - - RuntimeError: Error -}; - -// We don't need to actually download a wasm binary, mark it as present but empty. -wasmBinary = []; - -// end include: wasm2js.js -if (typeof WebAssembly != 'object') { - abort('no native wasm support detected'); -} - -// Wasm globals - -var wasmMemory; - -//======================================== -// Runtime essentials -//======================================== - -// whether we are quitting the application. no code should run after this. -// set in exit() and abort() -var ABORT = false; - -// set by exit() and abort(). Passed to 'onExit' handler. -// NOTE: This is also used as the process return code code in shell environments -// but only when noExitRuntime is false. -var EXITSTATUS; - -/** @type {function(*, string=)} */ -function assert(condition, text) { - if (!condition) { - // This build was created without ASSERTIONS defined. `assert()` should not - // ever be called in this configuration but in case there are callers in - // the wild leave this simple abort() implemenation here for now. - abort(text); - } -} - -// Memory management - -var HEAP, -/** @type {!Int8Array} */ - HEAP8, -/** @type {!Uint8Array} */ - HEAPU8, -/** @type {!Int16Array} */ - HEAP16, -/** @type {!Uint16Array} */ - HEAPU16, -/** @type {!Int32Array} */ - HEAP32, -/** @type {!Uint32Array} */ - HEAPU32, -/** @type {!Float32Array} */ - HEAPF32, -/** @type {!Float64Array} */ - HEAPF64; - -function updateMemoryViews() { - var b = wasmMemory.buffer; - Module['HEAP8'] = HEAP8 = new Int8Array(b); - Module['HEAP16'] = HEAP16 = new Int16Array(b); - Module['HEAP32'] = HEAP32 = new Int32Array(b); - Module['HEAPU8'] = HEAPU8 = new Uint8Array(b); - Module['HEAPU16'] = HEAPU16 = new Uint16Array(b); - Module['HEAPU32'] = HEAPU32 = new Uint32Array(b); - Module['HEAPF32'] = HEAPF32 = new Float32Array(b); - Module['HEAPF64'] = HEAPF64 = new Float64Array(b); -} - -// In non-standalone/normal mode, we create the memory here. -// include: runtime_init_memory.js -// Create the wasm memory. (Note: this only applies if IMPORTED_MEMORY is defined) - -var INITIAL_MEMORY = Module['INITIAL_MEMORY'] || 16777216; - -assert(INITIAL_MEMORY >= 65536, 'INITIAL_MEMORY should be larger than STACK_SIZE, was ' + INITIAL_MEMORY + '! (STACK_SIZE=' + 65536 + ')'); - -// check for full engine support (use string 'subarray' to avoid closure compiler confusion) - - if (Module['wasmMemory']) { - wasmMemory = Module['wasmMemory']; - } else - { - wasmMemory = new WebAssembly.Memory({ - 'initial': INITIAL_MEMORY / 65536, - // In theory we should not need to emit the maximum if we want "unlimited" - // or 4GB of memory, but VMs error on that atm, see - // https://github.com/emscripten-core/emscripten/issues/14130 - // And in the pthreads case we definitely need to emit a maximum. So - // always emit one. - 'maximum': 2147483648 / 65536 - }); - } - -updateMemoryViews(); - -// If the user provides an incorrect length, just use that length instead rather than providing the user to -// specifically provide the memory length with Module['INITIAL_MEMORY']. -INITIAL_MEMORY = wasmMemory.buffer.byteLength; - -// end include: runtime_init_memory.js - -// include: runtime_init_table.js -// In regular non-RELOCATABLE mode the table is exported -// from the wasm module and this will be assigned once -// the exports are available. -var wasmTable; - -// end include: runtime_init_table.js -// include: runtime_stack_check.js -// end include: runtime_stack_check.js -// include: runtime_assertions.js -// end include: runtime_assertions.js -var __ATPRERUN__ = []; // functions called before the runtime is initialized -var __ATINIT__ = []; // functions called during startup -var __ATEXIT__ = []; // functions called during shutdown -var __ATPOSTRUN__ = []; // functions called after the main() is called - -var runtimeInitialized = false; - -var runtimeKeepaliveCounter = 0; - -function keepRuntimeAlive() { - return noExitRuntime || runtimeKeepaliveCounter > 0; -} - -function preRun() { - if (Module['preRun']) { - if (typeof Module['preRun'] == 'function') Module['preRun'] = [Module['preRun']]; - while (Module['preRun'].length) { - addOnPreRun(Module['preRun'].shift()); - } - } - callRuntimeCallbacks(__ATPRERUN__); -} - -function initRuntime() { - runtimeInitialized = true; - - - callRuntimeCallbacks(__ATINIT__); -} - -function postRun() { - - 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); -} - -function addOnInit(cb) { - __ATINIT__.unshift(cb); -} - -function addOnExit(cb) { -} - -function addOnPostRun(cb) { - __ATPOSTRUN__.unshift(cb); -} - -// include: runtime_math.js -// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/imul - -// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/fround - -// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/clz32 - -// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc - -// end include: runtime_math.js -// 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 -// Module.preRun (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 runDependencyWatcher = null; -var dependenciesFulfilled = null; // overridden to take different actions when all run dependencies are fulfilled - -function getUniqueRunDependency(id) { - return id; -} - -function addRunDependency(id) { - runDependencies++; - - if (Module['monitorRunDependencies']) { - Module['monitorRunDependencies'](runDependencies); - } - -} - -function removeRunDependency(id) { - runDependencies--; - - if (Module['monitorRunDependencies']) { - Module['monitorRunDependencies'](runDependencies); - } - - if (runDependencies == 0) { - if (runDependencyWatcher !== null) { - clearInterval(runDependencyWatcher); - runDependencyWatcher = null; - } - if (dependenciesFulfilled) { - var callback = dependenciesFulfilled; - dependenciesFulfilled = null; - callback(); // can add another dependenciesFulfilled - } - } -} - -/** @param {string|number=} what */ -function abort(what) { - if (Module['onAbort']) { - Module['onAbort'](what); - } - - what = 'Aborted(' + what + ')'; - // TODO(sbc): Should we remove printing and leave it up to whoever - // catches the exception? - err(what); - - ABORT = true; - EXITSTATUS = 1; - - what += '. Build with -sASSERTIONS for more info.'; - - // Use a wasm runtime error, because a JS error might be seen as a foreign - // exception, which means we'd run destructors on it. We need the error to - // simply make the program stop. - // FIXME This approach does not work in Wasm EH because it currently does not assume - // all RuntimeErrors are from traps; it decides whether a RuntimeError is from - // a trap or not based on a hidden field within the object. So at the moment - // we don't have a way of throwing a wasm trap from JS. TODO Make a JS API that - // allows this in the wasm spec. - - // Suppress closure compiler warning here. Closure compiler's builtin extern - // defintion for WebAssembly.RuntimeError claims it takes no arguments even - // though it can. - // TODO(https://github.com/google/closure-compiler/pull/3913): Remove if/when upstream closure gets fixed. - /** @suppress {checkTypes} */ - var e = new WebAssembly.RuntimeError(what); - - readyPromiseReject(e); - // Throw the error whether or not MODULARIZE is set because abort is used - // in code paths apart from instantiation where an exception is expected - // to be thrown when abort is called. - throw e; -} - -// include: memoryprofiler.js -// end include: memoryprofiler.js -// include: URIUtils.js -// Prefix of data URIs emitted by SINGLE_FILE and related options. -var dataURIPrefix = 'data:application/octet-stream;base64,'; - -// Indicates whether filename is a base64 data URI. -function isDataURI(filename) { - // Prefix of data URIs emitted by SINGLE_FILE and related options. - return filename.startsWith(dataURIPrefix); -} - -// Indicates whether filename is delivered via file protocol (as opposed to http/https) -function isFileURI(filename) { - return filename.startsWith('file://'); -} - -// end include: URIUtils.js -// include: runtime_exceptions.js -// end include: runtime_exceptions.js -var wasmBinaryFile; - wasmBinaryFile = '<<< WASM_BINARY_FILE >>>'; - if (!isDataURI(wasmBinaryFile)) { - wasmBinaryFile = locateFile(wasmBinaryFile); - } - -function getBinary(file) { - try { - if (file == wasmBinaryFile && wasmBinary) { - return new Uint8Array(wasmBinary); - } - var binary = tryParseAsDataURI(file); - if (binary) { - return binary; - } - if (readBinary) { - return readBinary(file); - } - throw "both async and sync fetching of the wasm failed"; - } - catch (err) { - abort(err); - } -} - -function getBinaryPromise(binaryFile) { - // If we don't have the binary yet, try to load it asynchronously. - // Fetch has some additional restrictions over XHR, like it can't be used on a file:// url. - // See https://github.com/github/fetch/pull/92#issuecomment-140665932 - // Cordova or Electron apps are typically loaded from a file:// url. - // So use fetch if it is available and the url is not a file, otherwise fall back to XHR. - if (!wasmBinary && (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER)) { - if (typeof fetch == 'function' - ) { - return fetch(binaryFile, { credentials: 'same-origin' }).then((response) => { - if (!response['ok']) { - throw "failed to load wasm binary file at '" + binaryFile + "'"; - } - return response['arrayBuffer'](); - }).catch(() => getBinary(binaryFile)); - } - } - - // Otherwise, getBinary should be able to get it synchronously - return Promise.resolve().then(() => getBinary(binaryFile)); -} - -function instantiateArrayBuffer(binaryFile, imports, receiver) { - return getBinaryPromise(binaryFile).then((binary) => { - return WebAssembly.instantiate(binary, imports); - }).then((instance) => { - return instance; - }).then(receiver, (reason) => { - err('failed to asynchronously prepare wasm: ' + reason); - - abort(reason); - }); -} - -function instantiateAsync(binary, binaryFile, imports, callback) { - if (!binary && - typeof WebAssembly.instantiateStreaming == 'function' && - !isDataURI(binaryFile) && - typeof fetch == 'function') { - return fetch(binaryFile, { credentials: 'same-origin' }).then((response) => { - // Suppress closure warning here since the upstream definition for - // instantiateStreaming only allows Promise rather than - // an actual Response. - // TODO(https://github.com/google/closure-compiler/pull/3913): Remove if/when upstream closure is fixed. - /** @suppress {checkTypes} */ - var result = WebAssembly.instantiateStreaming(response, imports); - - return result.then( - callback, - function(reason) { - // We expect the most common failure cause to be a bad MIME type for the binary, - // in which case falling back to ArrayBuffer instantiation should work. - err('wasm streaming compile failed: ' + reason); - err('falling back to ArrayBuffer instantiation'); - return instantiateArrayBuffer(binaryFile, imports, callback); - }); - }); - } else { - return instantiateArrayBuffer(binaryFile, imports, callback); - } -} - -// Create the wasm instance. -// Receives the wasm imports, returns the exports. -function createWasm() { - // prepare imports - var info = { - 'env': wasmImports, - 'wasi_snapshot_preview1': wasmImports, - }; - // Load the wasm module and create an instance of using native support in the JS engine. - // handle a generated wasm instance, receiving its exports and - // performing other necessary setup - /** @param {WebAssembly.Module=} module*/ - function receiveInstance(instance, module) { - var exports = instance.exports; - - Module['asm'] = exports; - - wasmTable = Module['asm']['__indirect_function_table']; - - addOnInit(Module['asm']['__wasm_call_ctors']); - - removeRunDependency('wasm-instantiate'); - return exports; - } - // wait for the pthread pool (if any) - addRunDependency('wasm-instantiate'); - - // Prefer streaming instantiation if available. - function receiveInstantiationResult(result) { - // 'result' is a ResultObject object which has both the module and instance. - // receiveInstance() will swap in the exports (to Module.asm) so they can be called - // TODO: Due to Closure regression https://github.com/google/closure-compiler/issues/3193, the above line no longer optimizes out down to the following line. - // When the regression is fixed, can restore the above PTHREADS-enabled path. - receiveInstance(result['instance']); - } - - // User shell pages can write their own Module.instantiateWasm = function(imports, successCallback) callback - // to manually instantiate the Wasm module themselves. This allows pages to - // run the instantiation parallel to any other async startup actions they are - // performing. - // Also pthreads and wasm workers initialize the wasm instance through this - // path. - if (Module['instantiateWasm']) { - - try { - return Module['instantiateWasm'](info, receiveInstance); - } catch(e) { - err('Module.instantiateWasm callback failed with error: ' + e); - // If instantiation fails, reject the module ready promise. - readyPromiseReject(e); - } - } - - // If instantiation fails, reject the module ready promise. - instantiateAsync(wasmBinary, wasmBinaryFile, info, receiveInstantiationResult).catch(readyPromiseReject); - return {}; // no exports yet; we'll fill them in later -} - -// Globals used by JS i64 conversions (see makeSetValue) -var tempDouble; -var tempI64; - -// include: runtime_debug.js -// end include: runtime_debug.js -// === Body === - - -// end include: preamble.js - - /** @constructor */ - function ExitStatus(status) { - this.name = 'ExitStatus'; - this.message = `Program terminated with exit(${status})`; - this.status = status; - } - - function callRuntimeCallbacks(callbacks) { - while (callbacks.length > 0) { - // Pass the module as the first argument. - callbacks.shift()(Module); - } - } - - - /** - * @param {number} ptr - * @param {string} type - */ - function getValue(ptr, type = 'i8') { - if (type.endsWith('*')) type = '*'; - switch (type) { - case 'i1': return HEAP8[((ptr)>>0)]; - case 'i8': return HEAP8[((ptr)>>0)]; - case 'i16': return HEAP16[((ptr)>>1)]; - case 'i32': return HEAP32[((ptr)>>2)]; - case 'i64': abort('to do getValue(i64) use WASM_BIGINT'); - case 'float': return HEAPF32[((ptr)>>2)]; - case 'double': return HEAPF64[((ptr)>>3)]; - case '*': return HEAPU32[((ptr)>>2)]; - default: abort(`invalid type for getValue: ${type}`); - } - } - - 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(''); - } - - - /** - * @param {number} ptr - * @param {number} value - * @param {string} type - */ - function setValue(ptr, value, type = 'i8') { - if (type.endsWith('*')) type = '*'; - switch (type) { - case 'i1': HEAP8[((ptr)>>0)] = value; break; - case 'i8': HEAP8[((ptr)>>0)] = value; break; - case 'i16': HEAP16[((ptr)>>1)] = value; break; - case 'i32': HEAP32[((ptr)>>2)] = value; break; - case 'i64': abort('to do setValue(i64) use WASM_BIGINT'); - case 'float': HEAPF32[((ptr)>>2)] = value; break; - case 'double': HEAPF64[((ptr)>>3)] = value; break; - case '*': HEAPU32[((ptr)>>2)] = value; break; - default: abort(`invalid type for setValue: ${type}`); - } - } - - var UTF8Decoder = typeof TextDecoder != 'undefined' ? new TextDecoder('utf8') : undefined; - - /** - * Given a pointer 'idx' to a null-terminated UTF8-encoded string in the given - * array that contains uint8 values, returns a copy of that string as a - * Javascript String object. - * heapOrArray is either a regular array, or a JavaScript typed array view. - * @param {number} idx - * @param {number=} maxBytesToRead - * @return {string} - */ - function UTF8ArrayToString(heapOrArray, idx, maxBytesToRead) { - var endIdx = idx + maxBytesToRead; - var endPtr = idx; - // TextDecoder needs to know the byte length in advance, it doesn't stop on - // null terminator by itself. Also, use the length info to avoid running tiny - // strings through TextDecoder, since .subarray() allocates garbage. - // (As a tiny code save trick, compare endPtr against endIdx using a negation, - // so that undefined means Infinity) - while (heapOrArray[endPtr] && !(endPtr >= endIdx)) ++endPtr; - - if (endPtr - idx > 16 && heapOrArray.buffer && UTF8Decoder) { - return UTF8Decoder.decode(heapOrArray.subarray(idx, endPtr)); - } - var str = ''; - // If building with TextDecoder, we have already computed the string length - // above, so test loop end condition against that - while (idx < endPtr) { - // For UTF8 byte structure, see: - // http://en.wikipedia.org/wiki/UTF-8#Description - // https://www.ietf.org/rfc/rfc2279.txt - // https://tools.ietf.org/html/rfc3629 - var u0 = heapOrArray[idx++]; - if (!(u0 & 0x80)) { str += String.fromCharCode(u0); continue; } - var u1 = heapOrArray[idx++] & 63; - if ((u0 & 0xE0) == 0xC0) { str += String.fromCharCode(((u0 & 31) << 6) | u1); continue; } - var u2 = heapOrArray[idx++] & 63; - if ((u0 & 0xF0) == 0xE0) { - u0 = ((u0 & 15) << 12) | (u1 << 6) | u2; - } else { - u0 = ((u0 & 7) << 18) | (u1 << 12) | (u2 << 6) | (heapOrArray[idx++] & 63); - } - - if (u0 < 0x10000) { - str += String.fromCharCode(u0); - } else { - var ch = u0 - 0x10000; - str += String.fromCharCode(0xD800 | (ch >> 10), 0xDC00 | (ch & 0x3FF)); - } - } - return str; - } - - - /** - * Given a pointer 'ptr' to a null-terminated UTF8-encoded string in the - * emscripten HEAP, returns a copy of that string as a Javascript String object. - * - * @param {number} ptr - * @param {number=} maxBytesToRead - An optional length that specifies the - * maximum number of bytes to read. You can omit this parameter to scan the - * string until the first 0 byte. If maxBytesToRead is passed, and the string - * at [ptr, ptr+maxBytesToReadr[ contains a null byte in the middle, then the - * string will cut short at that byte index (i.e. maxBytesToRead will not - * produce a string of exact length [ptr, ptr+maxBytesToRead[) N.B. mixing - * frequent uses of UTF8ToString() with and without maxBytesToRead may throw - * JS JIT optimizations off, so it is worth to consider consistently using one - * @return {string} - */ - function UTF8ToString(ptr, maxBytesToRead) { - return ptr ? UTF8ArrayToString(HEAPU8, ptr, maxBytesToRead) : ''; - } - function ___assert_fail(condition, filename, line, func) { - abort(`Assertion failed: ${UTF8ToString(condition)}, at: ` + [filename ? UTF8ToString(filename) : 'unknown filename', line, func ? UTF8ToString(func) : 'unknown function']); - } - - var char_0 = 48; - - var char_9 = 57; - function makeLegalFunctionName(name) { - if (undefined === name) { - return '_unknown'; - } - name = name.replace(/[^a-zA-Z0-9_]/g, '$'); - var f = name.charCodeAt(0); - if (f >= char_0 && f <= char_9) { - return `_${name}`; - } - return name; - } - function createNamedFunction(name, body) { - name = makeLegalFunctionName(name); - // Use an abject with a computed property name to create a new function with - // a name specified at runtime, but without using `new Function` or `eval`. - return { - [name]: function() { - return body.apply(this, arguments); - } - }[name]; - } - - /** @constructor */ - function HandleAllocator() { - // Reserve slot 0 so that 0 is always an invalid handle - this.allocated = [undefined]; - this.freelist = []; - this.get = function(id) { - return this.allocated[id]; - }; - this.has = function(id) { - return this.allocated[id] !== undefined; - }; - this.allocate = function(handle) { - var id = this.freelist.pop() || this.allocated.length; - this.allocated[id] = handle; - return id; - }; - this.free = function(id) { - // Set the slot to `undefined` rather than using `delete` here since - // apparently arrays with holes in them can be less efficient. - this.allocated[id] = undefined; - this.freelist.push(id); - }; - } - var emval_handles = new HandleAllocator();; - - function extendError(baseErrorType, errorName) { - var errorClass = createNamedFunction(errorName, function(message) { - this.name = errorName; - this.message = message; - - var stack = (new Error(message)).stack; - if (stack !== undefined) { - this.stack = this.toString() + '\n' + - stack.replace(/^Error(:[^\n]*)?\n/, ''); - } - }); - errorClass.prototype = Object.create(baseErrorType.prototype); - errorClass.prototype.constructor = errorClass; - errorClass.prototype.toString = function() { - if (this.message === undefined) { - return this.name; - } else { - return `${this.name}: ${this.message}`; - } - }; - - return errorClass; - } - var BindingError = undefined; - function throwBindingError(message) { - throw new BindingError(message); - } - - function count_emval_handles() { - var count = 0; - for (var i = emval_handles.reserved; i < emval_handles.allocated.length; ++i) { - if (emval_handles.allocated[i] !== undefined) { - ++count; - } - } - return count; - } - - function init_emval() { - // reserve some special values. These never get de-allocated. - // The HandleAllocator takes care of reserving zero. - emval_handles.allocated.push( - {value: undefined}, - {value: null}, - {value: true}, - {value: false}, - ); - emval_handles.reserved = emval_handles.allocated.length - Module['count_emval_handles'] = count_emval_handles; - } - var Emval = {toValue:(handle) => { - if (!handle) { - throwBindingError('Cannot use deleted val. handle = ' + handle); - } - return emval_handles.get(handle).value; - },toHandle:(value) => { - switch (value) { - case undefined: return 1; - case null: return 2; - case true: return 3; - case false: return 4; - default:{ - return emval_handles.allocate({refcount: 1, value: value}); - } - } - }}; - - var PureVirtualError = undefined; - - function embind_init_charCodes() { - var codes = new Array(256); - for (var i = 0; i < 256; ++i) { - codes[i] = String.fromCharCode(i); - } - embind_charCodes = codes; - } - var embind_charCodes = undefined; - function readLatin1String(ptr) { - var ret = ""; - var c = ptr; - while (HEAPU8[c]) { - ret += embind_charCodes[HEAPU8[c++]]; - } - return ret; - } - - function getInheritedInstanceCount() { - return Object.keys(registeredInstances).length; - } - - function getLiveInheritedInstances() { - var rv = []; - for (var k in registeredInstances) { - if (registeredInstances.hasOwnProperty(k)) { - rv.push(registeredInstances[k]); - } - } - return rv; - } - - var deletionQueue = []; - function flushPendingDeletes() { - while (deletionQueue.length) { - var obj = deletionQueue.pop(); - obj.$$.deleteScheduled = false; - obj['delete'](); - } - } - - var delayFunction = undefined; - - - function setDelayFunction(fn) { - delayFunction = fn; - if (deletionQueue.length && delayFunction) { - delayFunction(flushPendingDeletes); - } - } - function init_embind() { - Module['getInheritedInstanceCount'] = getInheritedInstanceCount; - Module['getLiveInheritedInstances'] = getLiveInheritedInstances; - Module['flushPendingDeletes'] = flushPendingDeletes; - Module['setDelayFunction'] = setDelayFunction; - } - var registeredInstances = {}; - - function getBasestPointer(class_, ptr) { - if (ptr === undefined) { - throwBindingError('ptr should not be undefined'); - } - while (class_.baseClass) { - ptr = class_.upcast(ptr); - class_ = class_.baseClass; - } - return ptr; - } - - function registerInheritedInstance(class_, ptr, instance) { - ptr = getBasestPointer(class_, ptr); - if (registeredInstances.hasOwnProperty(ptr)) { - throwBindingError(`Tried to register registered instance: ${ptr}`); - } else { - registeredInstances[ptr] = instance; - } - } - - var registeredTypes = {}; - - - - function getTypeName(type) { - var ptr = ___getTypeName(type); - var rv = readLatin1String(ptr); - _free(ptr); - return rv; - } - - function requireRegisteredType(rawType, humanName) { - var impl = registeredTypes[rawType]; - if (undefined === impl) { - throwBindingError(humanName + " has unknown type " + getTypeName(rawType)); - } - return impl; - } - - - - - function unregisterInheritedInstance(class_, ptr) { - ptr = getBasestPointer(class_, ptr); - if (registeredInstances.hasOwnProperty(ptr)) { - delete registeredInstances[ptr]; - } else { - throwBindingError(`Tried to unregister unregistered instance: ${ptr}`); - } - } - - function detachFinalizer(handle) {} - - var finalizationRegistry = false; - - - function runDestructor($$) { - if ($$.smartPtr) { - $$.smartPtrType.rawDestructor($$.smartPtr); - } else { - $$.ptrType.registeredClass.rawDestructor($$.ptr); - } - } - function releaseClassHandle($$) { - $$.count.value -= 1; - var toDelete = 0 === $$.count.value; - if (toDelete) { - runDestructor($$); - } - } - - function downcastPointer(ptr, ptrClass, desiredClass) { - if (ptrClass === desiredClass) { - return ptr; - } - if (undefined === desiredClass.baseClass) { - return null; // no conversion - } - - var rv = downcastPointer(ptr, ptrClass, desiredClass.baseClass); - if (rv === null) { - return null; - } - return desiredClass.downcast(rv); - } - - var registeredPointers = {}; - - - function getInheritedInstance(class_, ptr) { - ptr = getBasestPointer(class_, ptr); - return registeredInstances[ptr]; - } - - var InternalError = undefined; - function throwInternalError(message) { - throw new InternalError(message); - } - - function makeClassHandle(prototype, record) { - if (!record.ptrType || !record.ptr) { - throwInternalError('makeClassHandle requires ptr and ptrType'); - } - var hasSmartPtrType = !!record.smartPtrType; - var hasSmartPtr = !!record.smartPtr; - if (hasSmartPtrType !== hasSmartPtr) { - throwInternalError('Both smartPtrType and smartPtr must be specified'); - } - record.count = { value: 1 }; - return attachFinalizer(Object.create(prototype, { - $$: { - value: record, - }, - })); - } - function RegisteredPointer_fromWireType(ptr) { - // ptr is a raw pointer (or a raw smartpointer) - - // rawPointer is a maybe-null raw pointer - var rawPointer = this.getPointee(ptr); - if (!rawPointer) { - this.destructor(ptr); - return null; - } - - var registeredInstance = getInheritedInstance(this.registeredClass, rawPointer); - if (undefined !== registeredInstance) { - // JS object has been neutered, time to repopulate it - if (0 === registeredInstance.$$.count.value) { - registeredInstance.$$.ptr = rawPointer; - registeredInstance.$$.smartPtr = ptr; - return registeredInstance['clone'](); - } else { - // else, just increment reference count on existing object - // it already has a reference to the smart pointer - var rv = registeredInstance['clone'](); - this.destructor(ptr); - return rv; - } - } - - function makeDefaultHandle() { - if (this.isSmartPointer) { - return makeClassHandle(this.registeredClass.instancePrototype, { - ptrType: this.pointeeType, - ptr: rawPointer, - smartPtrType: this, - smartPtr: ptr, - }); - } else { - return makeClassHandle(this.registeredClass.instancePrototype, { - ptrType: this, - ptr: ptr, - }); - } - } - - var actualType = this.registeredClass.getActualType(rawPointer); - var registeredPointerRecord = registeredPointers[actualType]; - if (!registeredPointerRecord) { - return makeDefaultHandle.call(this); - } - - var toType; - if (this.isConst) { - toType = registeredPointerRecord.constPointerType; - } else { - toType = registeredPointerRecord.pointerType; - } - var dp = downcastPointer( - rawPointer, - this.registeredClass, - toType.registeredClass); - if (dp === null) { - return makeDefaultHandle.call(this); - } - if (this.isSmartPointer) { - return makeClassHandle(toType.registeredClass.instancePrototype, { - ptrType: toType, - ptr: dp, - smartPtrType: this, - smartPtr: ptr, - }); - } else { - return makeClassHandle(toType.registeredClass.instancePrototype, { - ptrType: toType, - ptr: dp, - }); - } - } - function attachFinalizer(handle) { - if ('undefined' === typeof FinalizationRegistry) { - attachFinalizer = (handle) => handle; - return handle; - } - // If the running environment has a FinalizationRegistry (see - // https://github.com/tc39/proposal-weakrefs), then attach finalizers - // for class handles. We check for the presence of FinalizationRegistry - // at run-time, not build-time. - finalizationRegistry = new FinalizationRegistry((info) => { - releaseClassHandle(info.$$); - }); - attachFinalizer = (handle) => { - var $$ = handle.$$; - var hasSmartPtr = !!$$.smartPtr; - if (hasSmartPtr) { - // We should not call the destructor on raw pointers in case other code expects the pointee to live - var info = { $$: $$ }; - finalizationRegistry.register(handle, info, handle); - } - return handle; - }; - detachFinalizer = (handle) => finalizationRegistry.unregister(handle); - return attachFinalizer(handle); - } - function __embind_create_inheriting_constructor(constructorName, wrapperType, properties) { - constructorName = readLatin1String(constructorName); - wrapperType = requireRegisteredType(wrapperType, 'wrapper'); - properties = Emval.toValue(properties); - - var arraySlice = [].slice; - - var registeredClass = wrapperType.registeredClass; - var wrapperPrototype = registeredClass.instancePrototype; - var baseClass = registeredClass.baseClass; - var baseClassPrototype = baseClass.instancePrototype; - var baseConstructor = registeredClass.baseClass.constructor; - var ctor = createNamedFunction(constructorName, function() { - registeredClass.baseClass.pureVirtualFunctions.forEach(function(name) { - if (this[name] === baseClassPrototype[name]) { - throw new PureVirtualError(`Pure virtual function ${name} must be implemented in JavaScript`); - } - }.bind(this)); - - Object.defineProperty(this, '__parent', { - value: wrapperPrototype - }); - this["__construct"].apply(this, arraySlice.call(arguments)); - }); - - // It's a little nasty that we're modifying the wrapper prototype here. - - wrapperPrototype["__construct"] = function __construct() { - if (this === wrapperPrototype) { - throwBindingError("Pass correct 'this' to __construct"); - } - - var inner = baseConstructor["implement"].apply( - undefined, - [this].concat(arraySlice.call(arguments))); - detachFinalizer(inner); - var $$ = inner.$$; - inner["notifyOnDestruction"](); - $$.preservePointerOnDelete = true; - Object.defineProperties(this, { $$: { - value: $$ - }}); - attachFinalizer(this); - registerInheritedInstance(registeredClass, $$.ptr, this); - }; - - wrapperPrototype["__destruct"] = function __destruct() { - if (this === wrapperPrototype) { - throwBindingError("Pass correct 'this' to __destruct"); - } - - detachFinalizer(this); - unregisterInheritedInstance(registeredClass, this.$$.ptr); - }; - - ctor.prototype = Object.create(wrapperPrototype); - for (var p in properties) { - ctor.prototype[p] = properties[p]; - } - return Emval.toHandle(ctor); - } - - var structRegistrations = {}; - - function runDestructors(destructors) { - while (destructors.length) { - var ptr = destructors.pop(); - var del = destructors.pop(); - del(ptr); - } - } - - function simpleReadValueFromPointer(pointer) { - return this['fromWireType'](HEAP32[((pointer)>>2)]); - } - - var awaitingDependencies = {}; - - - var typeDependencies = {}; - - function whenDependentTypesAreResolved(myTypes, dependentTypes, getTypeConverters) { - myTypes.forEach(function(type) { - typeDependencies[type] = dependentTypes; - }); - - function onComplete(typeConverters) { - var myTypeConverters = getTypeConverters(typeConverters); - if (myTypeConverters.length !== myTypes.length) { - throwInternalError('Mismatched type converter count'); - } - for (var i = 0; i < myTypes.length; ++i) { - registerType(myTypes[i], myTypeConverters[i]); - } - } - - var typeConverters = new Array(dependentTypes.length); - var unregisteredTypes = []; - var registered = 0; - dependentTypes.forEach((dt, i) => { - if (registeredTypes.hasOwnProperty(dt)) { - typeConverters[i] = registeredTypes[dt]; - } else { - unregisteredTypes.push(dt); - if (!awaitingDependencies.hasOwnProperty(dt)) { - awaitingDependencies[dt] = []; - } - awaitingDependencies[dt].push(() => { - typeConverters[i] = registeredTypes[dt]; - ++registered; - if (registered === unregisteredTypes.length) { - onComplete(typeConverters); - } - }); - } - }); - if (0 === unregisteredTypes.length) { - onComplete(typeConverters); - } - } - function __embind_finalize_value_object(structType) { - var reg = structRegistrations[structType]; - delete structRegistrations[structType]; - - var rawConstructor = reg.rawConstructor; - var rawDestructor = reg.rawDestructor; - var fieldRecords = reg.fields; - var fieldTypes = fieldRecords.map((field) => field.getterReturnType). - concat(fieldRecords.map((field) => field.setterArgumentType)); - whenDependentTypesAreResolved([structType], fieldTypes, (fieldTypes) => { - var fields = {}; - fieldRecords.forEach((field, i) => { - var fieldName = field.fieldName; - var getterReturnType = fieldTypes[i]; - var getter = field.getter; - var getterContext = field.getterContext; - var setterArgumentType = fieldTypes[i + fieldRecords.length]; - var setter = field.setter; - var setterContext = field.setterContext; - fields[fieldName] = { - read: (ptr) => { - return getterReturnType['fromWireType']( - getter(getterContext, ptr)); - }, - write: (ptr, o) => { - var destructors = []; - setter(setterContext, ptr, setterArgumentType['toWireType'](destructors, o)); - runDestructors(destructors); - } - }; - }); - - return [{ - name: reg.name, - 'fromWireType': function(ptr) { - var rv = {}; - for (var i in fields) { - rv[i] = fields[i].read(ptr); - } - rawDestructor(ptr); - return rv; - }, - 'toWireType': function(destructors, o) { - // todo: Here we have an opportunity for -O3 level "unsafe" optimizations: - // assume all fields are present without checking. - for (var fieldName in fields) { - if (!(fieldName in o)) { - throw new TypeError(`Missing field: "${fieldName}"`); - } - } - var ptr = rawConstructor(); - for (fieldName in fields) { - fields[fieldName].write(ptr, o[fieldName]); - } - if (destructors !== null) { - destructors.push(rawDestructor, ptr); - } - return ptr; - }, - 'argPackAdvance': 8, - 'readValueFromPointer': simpleReadValueFromPointer, - destructorFunction: rawDestructor, - }]; - }); - } - - function __embind_register_bigint(primitiveType, name, size, minRange, maxRange) {} - - function getShiftFromSize(size) { - switch (size) { - case 1: return 0; - case 2: return 1; - case 4: return 2; - case 8: return 3; - default: - throw new TypeError(`Unknown type size: ${size}`); - } - } - - - - - - - /** @param {Object=} options */ - function registerType(rawType, registeredInstance, options = {}) { - if (!('argPackAdvance' in registeredInstance)) { - throw new TypeError('registerType registeredInstance requires argPackAdvance'); - } - - var name = registeredInstance.name; - if (!rawType) { - throwBindingError(`type "${name}" must have a positive integer typeid pointer`); - } - if (registeredTypes.hasOwnProperty(rawType)) { - if (options.ignoreDuplicateRegistrations) { - return; - } else { - throwBindingError(`Cannot register type '${name}' twice`); - } - } - - registeredTypes[rawType] = registeredInstance; - delete typeDependencies[rawType]; - - if (awaitingDependencies.hasOwnProperty(rawType)) { - var callbacks = awaitingDependencies[rawType]; - delete awaitingDependencies[rawType]; - callbacks.forEach((cb) => cb()); - } - } - function __embind_register_bool(rawType, name, size, trueValue, falseValue) { - var shift = getShiftFromSize(size); - - name = readLatin1String(name); - registerType(rawType, { - name: name, - 'fromWireType': function(wt) { - // ambiguous emscripten ABI: sometimes return values are - // true or false, and sometimes integers (0 or 1) - return !!wt; - }, - 'toWireType': function(destructors, o) { - return o ? trueValue : falseValue; - }, - 'argPackAdvance': 8, - 'readValueFromPointer': function(pointer) { - // TODO: if heap is fixed (like in asm.js) this could be executed outside - var heap; - if (size === 1) { - heap = HEAP8; - } else if (size === 2) { - heap = HEAP16; - } else if (size === 4) { - heap = HEAP32; - } else { - throw new TypeError("Unknown boolean type size: " + name); - } - return this['fromWireType'](heap[pointer >> shift]); - }, - destructorFunction: null, // This type does not need a destructor - }); - } - - - function ClassHandle_isAliasOf(other) { - if (!(this instanceof ClassHandle)) { - return false; - } - if (!(other instanceof ClassHandle)) { - return false; - } - - var leftClass = this.$$.ptrType.registeredClass; - var left = this.$$.ptr; - var rightClass = other.$$.ptrType.registeredClass; - var right = other.$$.ptr; - - while (leftClass.baseClass) { - left = leftClass.upcast(left); - leftClass = leftClass.baseClass; - } - - while (rightClass.baseClass) { - right = rightClass.upcast(right); - rightClass = rightClass.baseClass; - } - - return leftClass === rightClass && left === right; - } - - function shallowCopyInternalPointer(o) { - return { - count: o.count, - deleteScheduled: o.deleteScheduled, - preservePointerOnDelete: o.preservePointerOnDelete, - ptr: o.ptr, - ptrType: o.ptrType, - smartPtr: o.smartPtr, - smartPtrType: o.smartPtrType, - }; - } - - function throwInstanceAlreadyDeleted(obj) { - function getInstanceTypeName(handle) { - return handle.$$.ptrType.registeredClass.name; - } - throwBindingError(getInstanceTypeName(obj) + ' instance already deleted'); - } - - function ClassHandle_clone() { - if (!this.$$.ptr) { - throwInstanceAlreadyDeleted(this); - } - - if (this.$$.preservePointerOnDelete) { - this.$$.count.value += 1; - return this; - } else { - var clone = attachFinalizer(Object.create(Object.getPrototypeOf(this), { - $$: { - value: shallowCopyInternalPointer(this.$$), - } - })); - - clone.$$.count.value += 1; - clone.$$.deleteScheduled = false; - return clone; - } - } - - - - - function ClassHandle_delete() { - if (!this.$$.ptr) { - throwInstanceAlreadyDeleted(this); - } - - if (this.$$.deleteScheduled && !this.$$.preservePointerOnDelete) { - throwBindingError('Object already scheduled for deletion'); - } - - detachFinalizer(this); - releaseClassHandle(this.$$); - - if (!this.$$.preservePointerOnDelete) { - this.$$.smartPtr = undefined; - this.$$.ptr = undefined; - } - } - - function ClassHandle_isDeleted() { - return !this.$$.ptr; - } - - - - function ClassHandle_deleteLater() { - if (!this.$$.ptr) { - throwInstanceAlreadyDeleted(this); - } - if (this.$$.deleteScheduled && !this.$$.preservePointerOnDelete) { - throwBindingError('Object already scheduled for deletion'); - } - deletionQueue.push(this); - if (deletionQueue.length === 1 && delayFunction) { - delayFunction(flushPendingDeletes); - } - this.$$.deleteScheduled = true; - return this; - } - function init_ClassHandle() { - ClassHandle.prototype['isAliasOf'] = ClassHandle_isAliasOf; - ClassHandle.prototype['clone'] = ClassHandle_clone; - ClassHandle.prototype['delete'] = ClassHandle_delete; - ClassHandle.prototype['isDeleted'] = ClassHandle_isDeleted; - ClassHandle.prototype['deleteLater'] = ClassHandle_deleteLater; - } - function ClassHandle() { - } - - - - function ensureOverloadTable(proto, methodName, humanName) { - if (undefined === proto[methodName].overloadTable) { - var prevFunc = proto[methodName]; - // Inject an overload resolver function that routes to the appropriate overload based on the number of arguments. - proto[methodName] = function() { - // TODO This check can be removed in -O3 level "unsafe" optimizations. - if (!proto[methodName].overloadTable.hasOwnProperty(arguments.length)) { - throwBindingError(`Function '${humanName}' called with an invalid number of arguments (${arguments.length}) - expects one of (${proto[methodName].overloadTable})!`); - } - return proto[methodName].overloadTable[arguments.length].apply(this, arguments); - }; - // Move the previous function into the overload table. - proto[methodName].overloadTable = []; - proto[methodName].overloadTable[prevFunc.argCount] = prevFunc; - } - } - - /** @param {number=} numArguments */ - function exposePublicSymbol(name, value, numArguments) { - if (Module.hasOwnProperty(name)) { - if (undefined === numArguments || (undefined !== Module[name].overloadTable && undefined !== Module[name].overloadTable[numArguments])) { - throwBindingError(`Cannot register public name '${name}' twice`); - } - - // We are exposing a function with the same name as an existing function. Create an overload table and a function selector - // that routes between the two. - ensureOverloadTable(Module, name, name); - if (Module.hasOwnProperty(numArguments)) { - throwBindingError(`Cannot register multiple overloads of a function with the same number of arguments (${numArguments})!`); - } - // Add the new function into the overload table. - Module[name].overloadTable[numArguments] = value; - } - else { - Module[name] = value; - if (undefined !== numArguments) { - Module[name].numArguments = numArguments; - } - } - } - - - - /** @constructor */ - function RegisteredClass(name, - constructor, - instancePrototype, - rawDestructor, - baseClass, - getActualType, - upcast, - downcast) { - this.name = name; - this.constructor = constructor; - this.instancePrototype = instancePrototype; - this.rawDestructor = rawDestructor; - this.baseClass = baseClass; - this.getActualType = getActualType; - this.upcast = upcast; - this.downcast = downcast; - this.pureVirtualFunctions = []; - } - - - function upcastPointer(ptr, ptrClass, desiredClass) { - while (ptrClass !== desiredClass) { - if (!ptrClass.upcast) { - throwBindingError(`Expected null or instance of ${desiredClass.name}, got an instance of ${ptrClass.name}`); - } - ptr = ptrClass.upcast(ptr); - ptrClass = ptrClass.baseClass; - } - return ptr; - } - function constNoSmartPtrRawPointerToWireType(destructors, handle) { - if (handle === null) { - if (this.isReference) { - throwBindingError(`null is not a valid ${this.name}`); - } - return 0; - } - - if (!handle.$$) { - throwBindingError(`Cannot pass "${embindRepr(handle)}" as a ${this.name}`); - } - if (!handle.$$.ptr) { - throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`); - } - var handleClass = handle.$$.ptrType.registeredClass; - var ptr = upcastPointer(handle.$$.ptr, handleClass, this.registeredClass); - return ptr; - } - - - function genericPointerToWireType(destructors, handle) { - var ptr; - if (handle === null) { - if (this.isReference) { - throwBindingError(`null is not a valid ${this.name}`); - } - - if (this.isSmartPointer) { - ptr = this.rawConstructor(); - if (destructors !== null) { - destructors.push(this.rawDestructor, ptr); - } - return ptr; - } else { - return 0; - } - } - - if (!handle.$$) { - throwBindingError(`Cannot pass "${embindRepr(handle)}" as a ${this.name}`); - } - if (!handle.$$.ptr) { - throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`); - } - if (!this.isConst && handle.$$.ptrType.isConst) { - throwBindingError(`Cannot convert argument of type ${(handle.$$.smartPtrType ? handle.$$.smartPtrType.name : handle.$$.ptrType.name)} to parameter type ${this.name}`); - } - var handleClass = handle.$$.ptrType.registeredClass; - ptr = upcastPointer(handle.$$.ptr, handleClass, this.registeredClass); - - if (this.isSmartPointer) { - // TODO: this is not strictly true - // We could support BY_EMVAL conversions from raw pointers to smart pointers - // because the smart pointer can hold a reference to the handle - if (undefined === handle.$$.smartPtr) { - throwBindingError('Passing raw pointer to smart pointer is illegal'); - } - - switch (this.sharingPolicy) { - case 0: // NONE - // no upcasting - if (handle.$$.smartPtrType === this) { - ptr = handle.$$.smartPtr; - } else { - throwBindingError(`Cannot convert argument of type ${(handle.$$.smartPtrType ? handle.$$.smartPtrType.name : handle.$$.ptrType.name)} to parameter type ${this.name}`); - } - break; - - case 1: // INTRUSIVE - ptr = handle.$$.smartPtr; - break; - - case 2: // BY_EMVAL - if (handle.$$.smartPtrType === this) { - ptr = handle.$$.smartPtr; - } else { - var clonedHandle = handle['clone'](); - ptr = this.rawShare( - ptr, - Emval.toHandle(function() { - clonedHandle['delete'](); - }) - ); - if (destructors !== null) { - destructors.push(this.rawDestructor, ptr); - } - } - break; - - default: - throwBindingError('Unsupporting sharing policy'); - } - } - return ptr; - } - - - function nonConstNoSmartPtrRawPointerToWireType(destructors, handle) { - if (handle === null) { - if (this.isReference) { - throwBindingError(`null is not a valid ${this.name}`); - } - return 0; - } - - if (!handle.$$) { - throwBindingError(`Cannot pass "${embindRepr(handle)}" as a ${this.name}`); - } - if (!handle.$$.ptr) { - throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`); - } - if (handle.$$.ptrType.isConst) { - throwBindingError(`Cannot convert argument of type ${handle.$$.ptrType.name} to parameter type ${this.name}`); - } - var handleClass = handle.$$.ptrType.registeredClass; - var ptr = upcastPointer(handle.$$.ptr, handleClass, this.registeredClass); - return ptr; - } - - - function RegisteredPointer_getPointee(ptr) { - if (this.rawGetPointee) { - ptr = this.rawGetPointee(ptr); - } - return ptr; - } - - function RegisteredPointer_destructor(ptr) { - if (this.rawDestructor) { - this.rawDestructor(ptr); - } - } - - function RegisteredPointer_deleteObject(handle) { - if (handle !== null) { - handle['delete'](); - } - } - - function init_RegisteredPointer() { - RegisteredPointer.prototype.getPointee = RegisteredPointer_getPointee; - RegisteredPointer.prototype.destructor = RegisteredPointer_destructor; - RegisteredPointer.prototype['argPackAdvance'] = 8; - RegisteredPointer.prototype['readValueFromPointer'] = simpleReadValueFromPointer; - RegisteredPointer.prototype['deleteObject'] = RegisteredPointer_deleteObject; - RegisteredPointer.prototype['fromWireType'] = RegisteredPointer_fromWireType; - } - /** @constructor - @param {*=} pointeeType, - @param {*=} sharingPolicy, - @param {*=} rawGetPointee, - @param {*=} rawConstructor, - @param {*=} rawShare, - @param {*=} rawDestructor, - */ - function RegisteredPointer( - name, - registeredClass, - isReference, - isConst, - - // smart pointer properties - isSmartPointer, - pointeeType, - sharingPolicy, - rawGetPointee, - rawConstructor, - rawShare, - rawDestructor - ) { - this.name = name; - this.registeredClass = registeredClass; - this.isReference = isReference; - this.isConst = isConst; - - // smart pointer properties - this.isSmartPointer = isSmartPointer; - this.pointeeType = pointeeType; - this.sharingPolicy = sharingPolicy; - this.rawGetPointee = rawGetPointee; - this.rawConstructor = rawConstructor; - this.rawShare = rawShare; - this.rawDestructor = rawDestructor; - - if (!isSmartPointer && registeredClass.baseClass === undefined) { - if (isConst) { - this['toWireType'] = constNoSmartPtrRawPointerToWireType; - this.destructorFunction = null; - } else { - this['toWireType'] = nonConstNoSmartPtrRawPointerToWireType; - this.destructorFunction = null; - } - } else { - this['toWireType'] = genericPointerToWireType; - // Here we must leave this.destructorFunction undefined, since whether genericPointerToWireType returns - // a pointer that needs to be freed up is runtime-dependent, and cannot be evaluated at registration time. - // TODO: Create an alternative mechanism that allows removing the use of var destructors = []; array in - // craftInvokerFunction altogether. - } - } - - /** @param {number=} numArguments */ - function replacePublicSymbol(name, value, numArguments) { - if (!Module.hasOwnProperty(name)) { - throwInternalError('Replacing nonexistant public symbol'); - } - // If there's an overload table for this symbol, replace the symbol in the overload table instead. - if (undefined !== Module[name].overloadTable && undefined !== numArguments) { - Module[name].overloadTable[numArguments] = value; - } - else { - Module[name] = value; - Module[name].argCount = numArguments; - } - } - - - - function dynCallLegacy(sig, ptr, args) { - var f = Module['dynCall_' + sig]; - return args && args.length ? f.apply(null, [ptr].concat(args)) : f.call(null, ptr); - } - - var wasmTableMirror = []; - - function getWasmTableEntry(funcPtr) { - var func = wasmTableMirror[funcPtr]; - if (!func) { - if (funcPtr >= wasmTableMirror.length) wasmTableMirror.length = funcPtr + 1; - wasmTableMirror[funcPtr] = func = wasmTable.get(funcPtr); - } - return func; - } - - /** @param {Object=} args */ - function dynCall(sig, ptr, args) { - // Without WASM_BIGINT support we cannot directly call function with i64 as - // part of thier signature, so we rely the dynCall functions generated by - // wasm-emscripten-finalize - if (sig.includes('j')) { - return dynCallLegacy(sig, ptr, args); - } - var rtn = getWasmTableEntry(ptr).apply(null, args); - return rtn; - - } - - function getDynCaller(sig, ptr) { - var argCache = []; - return function() { - argCache.length = 0; - Object.assign(argCache, arguments); - return dynCall(sig, ptr, argCache); - }; - } - - - function embind__requireFunction(signature, rawFunction) { - signature = readLatin1String(signature); - - function makeDynCaller() { - if (signature.includes('j')) { - return getDynCaller(signature, rawFunction); - } - return getWasmTableEntry(rawFunction); - } - - var fp = makeDynCaller(); - if (typeof fp != "function") { - throwBindingError(`unknown function pointer with signature ${signature}: ${rawFunction}`); - } - return fp; - } - - - - var UnboundTypeError = undefined; - - function throwUnboundTypeError(message, types) { - var unboundTypes = []; - var seen = {}; - function visit(type) { - if (seen[type]) { - return; - } - if (registeredTypes[type]) { - return; - } - if (typeDependencies[type]) { - typeDependencies[type].forEach(visit); - return; - } - unboundTypes.push(type); - seen[type] = true; - } - types.forEach(visit); - - throw new UnboundTypeError(`${message}: ` + unboundTypes.map(getTypeName).join([', '])); - } - - function __embind_register_class(rawType, - rawPointerType, - rawConstPointerType, - baseClassRawType, - getActualTypeSignature, - getActualType, - upcastSignature, - upcast, - downcastSignature, - downcast, - name, - destructorSignature, - rawDestructor) { - name = readLatin1String(name); - getActualType = embind__requireFunction(getActualTypeSignature, getActualType); - if (upcast) { - upcast = embind__requireFunction(upcastSignature, upcast); - } - if (downcast) { - downcast = embind__requireFunction(downcastSignature, downcast); - } - rawDestructor = embind__requireFunction(destructorSignature, rawDestructor); - var legalFunctionName = makeLegalFunctionName(name); - - exposePublicSymbol(legalFunctionName, function() { - // this code cannot run if baseClassRawType is zero - throwUnboundTypeError(`Cannot construct ${name} due to unbound types`, [baseClassRawType]); - }); - - whenDependentTypesAreResolved( - [rawType, rawPointerType, rawConstPointerType], - baseClassRawType ? [baseClassRawType] : [], - function(base) { - base = base[0]; - - var baseClass; - var basePrototype; - if (baseClassRawType) { - baseClass = base.registeredClass; - basePrototype = baseClass.instancePrototype; - } else { - basePrototype = ClassHandle.prototype; - } - - var constructor = createNamedFunction(legalFunctionName, function() { - if (Object.getPrototypeOf(this) !== instancePrototype) { - throw new BindingError("Use 'new' to construct " + name); - } - if (undefined === registeredClass.constructor_body) { - throw new BindingError(name + " has no accessible constructor"); - } - var body = registeredClass.constructor_body[arguments.length]; - if (undefined === body) { - throw new BindingError(`Tried to invoke ctor of ${name} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(registeredClass.constructor_body).toString()}) parameters instead!`); - } - return body.apply(this, arguments); - }); - - var instancePrototype = Object.create(basePrototype, { - constructor: { value: constructor }, - }); - - constructor.prototype = instancePrototype; - - var registeredClass = new RegisteredClass(name, - constructor, - instancePrototype, - rawDestructor, - baseClass, - getActualType, - upcast, - downcast); - - if (registeredClass.baseClass) { - // Keep track of class hierarchy. Used to allow sub-classes to inherit class functions. - if (registeredClass.baseClass.__derivedClasses === undefined) { - registeredClass.baseClass.__derivedClasses = []; - } - - registeredClass.baseClass.__derivedClasses.push(registeredClass); - } - - var referenceConverter = new RegisteredPointer(name, - registeredClass, - true, - false, - false); - - var pointerConverter = new RegisteredPointer(name + '*', - registeredClass, - false, - false, - false); - - var constPointerConverter = new RegisteredPointer(name + ' const*', - registeredClass, - false, - true, - false); - - registeredPointers[rawType] = { - pointerType: pointerConverter, - constPointerType: constPointerConverter - }; - - replacePublicSymbol(legalFunctionName, constructor); - - return [referenceConverter, pointerConverter, constPointerConverter]; - } - ); - } - - - - function craftInvokerFunction(humanName, argTypes, classType, cppInvokerFunc, cppTargetFunc, /** boolean= */ isAsync) { - // humanName: a human-readable string name for the function to be generated. - // argTypes: An array that contains the embind type objects for all types in the function signature. - // argTypes[0] is the type object for the function return value. - // argTypes[1] is the type object for function this object/class type, or null if not crafting an invoker for a class method. - // argTypes[2...] are the actual function parameters. - // classType: The embind type object for the class to be bound, or null if this is not a method of a class. - // cppInvokerFunc: JS Function object to the C++-side function that interops into C++ code. - // cppTargetFunc: Function pointer (an integer to FUNCTION_TABLE) to the target C++ function the cppInvokerFunc will end up calling. - // isAsync: Optional. If true, returns an async function. Async bindings are only supported with JSPI. - var argCount = argTypes.length; - - if (argCount < 2) { - throwBindingError("argTypes array size mismatch! Must at least get return value and 'this' types!"); - } - - var isClassMethodFunc = (argTypes[1] !== null && classType !== null); - - // Free functions with signature "void function()" do not need an invoker that marshalls between wire types. - // TODO: This omits argument count check - enable only at -O3 or similar. - // if (ENABLE_UNSAFE_OPTS && argCount == 2 && argTypes[0].name == "void" && !isClassMethodFunc) { - // return FUNCTION_TABLE[fn]; - // } - - // Determine if we need to use a dynamic stack to store the destructors for the function parameters. - // TODO: Remove this completely once all function invokers are being dynamically generated. - var needsDestructorStack = false; - - for (var i = 1; i < argTypes.length; ++i) { // Skip return value at index 0 - it's not deleted here. - if (argTypes[i] !== null && argTypes[i].destructorFunction === undefined) { // The type does not define a destructor function - must use dynamic stack - needsDestructorStack = true; - break; - } - } - - var returns = (argTypes[0].name !== "void"); - - var expectedArgCount = argCount - 2; - var argsWired = new Array(expectedArgCount); - var invokerFuncArgs = []; - var destructors = []; - return function() { - if (arguments.length !== expectedArgCount) { - throwBindingError(`function ${humanName} called with ${arguments.length} arguments, expected ${expectedArgCount} args!`); - } - destructors.length = 0; - var thisWired; - invokerFuncArgs.length = isClassMethodFunc ? 2 : 1; - invokerFuncArgs[0] = cppTargetFunc; - if (isClassMethodFunc) { - thisWired = argTypes[1]['toWireType'](destructors, this); - invokerFuncArgs[1] = thisWired; - } - for (var i = 0; i < expectedArgCount; ++i) { - argsWired[i] = argTypes[i + 2]['toWireType'](destructors, arguments[i]); - invokerFuncArgs.push(argsWired[i]); - } - - var rv = cppInvokerFunc.apply(null, invokerFuncArgs); - - function onDone(rv) { - if (needsDestructorStack) { - runDestructors(destructors); - } else { - for (var i = isClassMethodFunc ? 1 : 2; i < argTypes.length; i++) { - var param = i === 1 ? thisWired : argsWired[i - 2]; - if (argTypes[i].destructorFunction !== null) { - argTypes[i].destructorFunction(param); - } - } - } - - if (returns) { - return argTypes[0]['fromWireType'](rv); - } - } - - return onDone(rv); - }; - } - - - function heap32VectorToArray(count, firstElement) { - var array = []; - for (var i = 0; i < count; i++) { - // TODO(https://github.com/emscripten-core/emscripten/issues/17310): - // Find a way to hoist the `>> 2` or `>> 3` out of this loop. - array.push(HEAPU32[(((firstElement)+(i * 4))>>2)]); - } - return array; - } - - - - - function __embind_register_class_class_function(rawClassType, - methodName, - argCount, - rawArgTypesAddr, - invokerSignature, - rawInvoker, - fn, - isAsync) { - var rawArgTypes = heap32VectorToArray(argCount, rawArgTypesAddr); - methodName = readLatin1String(methodName); - rawInvoker = embind__requireFunction(invokerSignature, rawInvoker); - whenDependentTypesAreResolved([], [rawClassType], function(classType) { - classType = classType[0]; - var humanName = `${classType.name}.${methodName}`; - - function unboundTypesHandler() { - throwUnboundTypeError(`Cannot call ${humanName} due to unbound types`, rawArgTypes); - } - - if (methodName.startsWith("@@")) { - methodName = Symbol[methodName.substring(2)]; - } - - var proto = classType.registeredClass.constructor; - if (undefined === proto[methodName]) { - // This is the first function to be registered with this name. - unboundTypesHandler.argCount = argCount-1; - proto[methodName] = unboundTypesHandler; - } else { - // There was an existing function with the same name registered. Set up - // a function overload routing table. - ensureOverloadTable(proto, methodName, humanName); - proto[methodName].overloadTable[argCount-1] = unboundTypesHandler; - } - - whenDependentTypesAreResolved([], rawArgTypes, function(argTypes) { - // Replace the initial unbound-types-handler stub with the proper - // function. If multiple overloads are registered, the function handlers - // go into an overload table. - var invokerArgsArray = [argTypes[0] /* return value */, null /* no class 'this'*/].concat(argTypes.slice(1) /* actual params */); - var func = craftInvokerFunction(humanName, invokerArgsArray, null /* no class 'this'*/, rawInvoker, fn, isAsync); - if (undefined === proto[methodName].overloadTable) { - func.argCount = argCount-1; - proto[methodName] = func; - } else { - proto[methodName].overloadTable[argCount-1] = func; - } - - if (classType.registeredClass.__derivedClasses) { - for (const derivedClass of classType.registeredClass.__derivedClasses) { - if (!derivedClass.constructor.hasOwnProperty(methodName)) { - // TODO: Add support for overloads - derivedClass.constructor[methodName] = func; - } - } - } - - return []; - }); - return []; - }); - } - - - - - - - - function __embind_register_class_constructor( - rawClassType, - argCount, - rawArgTypesAddr, - invokerSignature, - invoker, - rawConstructor - ) { - assert(argCount > 0); - var rawArgTypes = heap32VectorToArray(argCount, rawArgTypesAddr); - invoker = embind__requireFunction(invokerSignature, invoker); - var args = [rawConstructor]; - var destructors = []; - - whenDependentTypesAreResolved([], [rawClassType], function(classType) { - classType = classType[0]; - var humanName = `constructor ${classType.name}`; - - if (undefined === classType.registeredClass.constructor_body) { - classType.registeredClass.constructor_body = []; - } - if (undefined !== classType.registeredClass.constructor_body[argCount - 1]) { - throw new BindingError(`Cannot register multiple constructors with identical number of parameters (${argCount-1}) for class '${classType.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`); - } - classType.registeredClass.constructor_body[argCount - 1] = () => { - throwUnboundTypeError(`Cannot construct ${classType.name} due to unbound types`, rawArgTypes); - }; - - whenDependentTypesAreResolved([], rawArgTypes, function(argTypes) { - // Insert empty slot for context type (argTypes[1]). - argTypes.splice(1, 0, null); - classType.registeredClass.constructor_body[argCount - 1] = craftInvokerFunction(humanName, argTypes, null, invoker, rawConstructor); - return []; - }); - return []; - }); - } - - - - - - - function __embind_register_class_function(rawClassType, - methodName, - argCount, - rawArgTypesAddr, // [ReturnType, ThisType, Args...] - invokerSignature, - rawInvoker, - context, - isPureVirtual, - isAsync) { - var rawArgTypes = heap32VectorToArray(argCount, rawArgTypesAddr); - methodName = readLatin1String(methodName); - rawInvoker = embind__requireFunction(invokerSignature, rawInvoker); - - whenDependentTypesAreResolved([], [rawClassType], function(classType) { - classType = classType[0]; - var humanName = `${classType.name}.${methodName}`; - - if (methodName.startsWith("@@")) { - methodName = Symbol[methodName.substring(2)]; - } - - if (isPureVirtual) { - classType.registeredClass.pureVirtualFunctions.push(methodName); - } - - function unboundTypesHandler() { - throwUnboundTypeError(`Cannot call ${humanName} due to unbound types`, rawArgTypes); - } - - var proto = classType.registeredClass.instancePrototype; - var method = proto[methodName]; - if (undefined === method || (undefined === method.overloadTable && method.className !== classType.name && method.argCount === argCount - 2)) { - // This is the first overload to be registered, OR we are replacing a - // function in the base class with a function in the derived class. - unboundTypesHandler.argCount = argCount - 2; - unboundTypesHandler.className = classType.name; - proto[methodName] = unboundTypesHandler; - } else { - // There was an existing function with the same name registered. Set up - // a function overload routing table. - ensureOverloadTable(proto, methodName, humanName); - proto[methodName].overloadTable[argCount - 2] = unboundTypesHandler; - } - - whenDependentTypesAreResolved([], rawArgTypes, function(argTypes) { - var memberFunction = craftInvokerFunction(humanName, argTypes, classType, rawInvoker, context, isAsync); - - // Replace the initial unbound-handler-stub function with the appropriate member function, now that all types - // are resolved. If multiple overloads are registered for this function, the function goes into an overload table. - if (undefined === proto[methodName].overloadTable) { - // Set argCount in case an overload is registered later - memberFunction.argCount = argCount - 2; - proto[methodName] = memberFunction; - } else { - proto[methodName].overloadTable[argCount - 2] = memberFunction; - } - - return []; - }); - return []; - }); - } - - - - - - - - - function validateThis(this_, classType, humanName) { - if (!(this_ instanceof Object)) { - throwBindingError(`${humanName} with invalid "this": ${this_}`); - } - if (!(this_ instanceof classType.registeredClass.constructor)) { - throwBindingError(`${humanName} incompatible with "this" of type ${this_.constructor.name}`); - } - if (!this_.$$.ptr) { - throwBindingError(`cannot call emscripten binding method ${humanName} on deleted object`); - } - - // todo: kill this - return upcastPointer(this_.$$.ptr, - this_.$$.ptrType.registeredClass, - classType.registeredClass); - } - function __embind_register_class_property(classType, - fieldName, - getterReturnType, - getterSignature, - getter, - getterContext, - setterArgumentType, - setterSignature, - setter, - setterContext) { - fieldName = readLatin1String(fieldName); - getter = embind__requireFunction(getterSignature, getter); - - whenDependentTypesAreResolved([], [classType], function(classType) { - classType = classType[0]; - var humanName = `${classType.name}.${fieldName}`; - var desc = { - get: function() { - throwUnboundTypeError(`Cannot access ${humanName} due to unbound types`, [getterReturnType, setterArgumentType]); - }, - enumerable: true, - configurable: true - }; - if (setter) { - desc.set = () => { - throwUnboundTypeError(`Cannot access ${humanName} due to unbound types`, [getterReturnType, setterArgumentType]); - }; - } else { - desc.set = (v) => { - throwBindingError(humanName + ' is a read-only property'); - }; - } - - Object.defineProperty(classType.registeredClass.instancePrototype, fieldName, desc); - - whenDependentTypesAreResolved( - [], - (setter ? [getterReturnType, setterArgumentType] : [getterReturnType]), - function(types) { - var getterReturnType = types[0]; - var desc = { - get: function() { - var ptr = validateThis(this, classType, humanName + ' getter'); - return getterReturnType['fromWireType'](getter(getterContext, ptr)); - }, - enumerable: true - }; - - if (setter) { - setter = embind__requireFunction(setterSignature, setter); - var setterArgumentType = types[1]; - desc.set = function(v) { - var ptr = validateThis(this, classType, humanName + ' setter'); - var destructors = []; - setter(setterContext, ptr, setterArgumentType['toWireType'](destructors, v)); - runDestructors(destructors); - }; - } - - Object.defineProperty(classType.registeredClass.instancePrototype, fieldName, desc); - return []; - }); - - return []; - }); - } - - - function __embind_register_constant(name, type, value) { - name = readLatin1String(name); - whenDependentTypesAreResolved([], [type], function(type) { - type = type[0]; - Module[name] = type['fromWireType'](value); - return []; - }); - } - - function __emval_decref(handle) { - if (handle >= emval_handles.reserved && 0 === --emval_handles.get(handle).refcount) { - emval_handles.free(handle); - } - } - - - - - function __embind_register_emval(rawType, name) { - name = readLatin1String(name); - registerType(rawType, { - name: name, - 'fromWireType': function(handle) { - var rv = Emval.toValue(handle); - __emval_decref(handle); - return rv; - }, - 'toWireType': function(destructors, value) { - return Emval.toHandle(value); - }, - 'argPackAdvance': 8, - 'readValueFromPointer': simpleReadValueFromPointer, - destructorFunction: null, // This type does not need a destructor - - // TODO: do we need a deleteObject here? write a test where - // emval is passed into JS via an interface - }); - } - - - - function enumReadValueFromPointer(name, shift, signed) { - switch (shift) { - case 0: return function(pointer) { - var heap = signed ? HEAP8 : HEAPU8; - return this['fromWireType'](heap[pointer]); - }; - case 1: return function(pointer) { - var heap = signed ? HEAP16 : HEAPU16; - return this['fromWireType'](heap[pointer >> 1]); - }; - case 2: return function(pointer) { - var heap = signed ? HEAP32 : HEAPU32; - return this['fromWireType'](heap[pointer >> 2]); - }; - default: - throw new TypeError("Unknown integer type: " + name); - } - } - - - function __embind_register_enum(rawType, name, size, isSigned) { - var shift = getShiftFromSize(size); - name = readLatin1String(name); - - function ctor() {} - ctor.values = {}; - - registerType(rawType, { - name: name, - constructor: ctor, - 'fromWireType': function(c) { - return this.constructor.values[c]; - }, - 'toWireType': function(destructors, c) { - return c.value; - }, - 'argPackAdvance': 8, - 'readValueFromPointer': enumReadValueFromPointer(name, shift, isSigned), - destructorFunction: null, - }); - exposePublicSymbol(name, ctor); - } - - - - function __embind_register_enum_value(rawEnumType, name, enumValue) { - var enumType = requireRegisteredType(rawEnumType, 'enum'); - name = readLatin1String(name); - - var Enum = enumType.constructor; - - var Value = Object.create(enumType.constructor.prototype, { - value: {value: enumValue}, - constructor: {value: createNamedFunction(`${enumType.name}_${name}`, function() {})}, - }); - Enum.values[enumValue] = Value; - Enum[name] = Value; - } - - function embindRepr(v) { - if (v === null) { - return 'null'; - } - var t = typeof v; - if (t === 'object' || t === 'array' || t === 'function') { - return v.toString(); - } else { - return '' + v; - } - } - - function floatReadValueFromPointer(name, shift) { - switch (shift) { - case 2: return function(pointer) { - return this['fromWireType'](HEAPF32[pointer >> 2]); - }; - case 3: return function(pointer) { - return this['fromWireType'](HEAPF64[pointer >> 3]); - }; - default: - throw new TypeError("Unknown float type: " + name); - } - } - - - - function __embind_register_float(rawType, name, size) { - var shift = getShiftFromSize(size); - name = readLatin1String(name); - registerType(rawType, { - name: name, - 'fromWireType': function(value) { - return value; - }, - 'toWireType': function(destructors, value) { - // The VM will perform JS to Wasm value conversion, according to the spec: - // https://www.w3.org/TR/wasm-js-api-1/#towebassemblyvalue - return value; - }, - 'argPackAdvance': 8, - 'readValueFromPointer': floatReadValueFromPointer(name, shift), - destructorFunction: null, // This type does not need a destructor - }); - } - - - - - - - - - function __embind_register_function(name, argCount, rawArgTypesAddr, signature, rawInvoker, fn, isAsync) { - var argTypes = heap32VectorToArray(argCount, rawArgTypesAddr); - name = readLatin1String(name); - - rawInvoker = embind__requireFunction(signature, rawInvoker); - - exposePublicSymbol(name, function() { - throwUnboundTypeError(`Cannot call ${name} due to unbound types`, argTypes); - }, argCount - 1); - - whenDependentTypesAreResolved([], argTypes, function(argTypes) { - var invokerArgsArray = [argTypes[0] /* return value */, null /* no class 'this'*/].concat(argTypes.slice(1) /* actual params */); - replacePublicSymbol(name, craftInvokerFunction(name, invokerArgsArray, null /* no class 'this'*/, rawInvoker, fn, isAsync), argCount - 1); - return []; - }); - } - - - - function integerReadValueFromPointer(name, shift, signed) { - // integers are quite common, so generate very specialized functions - switch (shift) { - case 0: return signed ? - function readS8FromPointer(pointer) { return HEAP8[pointer]; } : - function readU8FromPointer(pointer) { return HEAPU8[pointer]; }; - case 1: return signed ? - function readS16FromPointer(pointer) { return HEAP16[pointer >> 1]; } : - function readU16FromPointer(pointer) { return HEAPU16[pointer >> 1]; }; - case 2: return signed ? - function readS32FromPointer(pointer) { return HEAP32[pointer >> 2]; } : - function readU32FromPointer(pointer) { return HEAPU32[pointer >> 2]; }; - default: - throw new TypeError("Unknown integer type: " + name); - } - } - - - function __embind_register_integer(primitiveType, name, size, minRange, maxRange) { - name = readLatin1String(name); - // LLVM doesn't have signed and unsigned 32-bit types, so u32 literals come - // out as 'i32 -1'. Always treat those as max u32. - if (maxRange === -1) { - maxRange = 4294967295; - } - - var shift = getShiftFromSize(size); - - var fromWireType = (value) => value; - - if (minRange === 0) { - var bitshift = 32 - 8*size; - fromWireType = (value) => (value << bitshift) >>> bitshift; - } - - var isUnsignedType = (name.includes('unsigned')); - var checkAssertions = (value, toTypeName) => { - } - var toWireType; - if (isUnsignedType) { - toWireType = function(destructors, value) { - checkAssertions(value, this.name); - return value >>> 0; - } - } else { - toWireType = function(destructors, value) { - checkAssertions(value, this.name); - // The VM will perform JS to Wasm value conversion, according to the spec: - // https://www.w3.org/TR/wasm-js-api-1/#towebassemblyvalue - return value; - } - } - registerType(primitiveType, { - name: name, - 'fromWireType': fromWireType, - 'toWireType': toWireType, - 'argPackAdvance': 8, - 'readValueFromPointer': integerReadValueFromPointer(name, shift, minRange !== 0), - destructorFunction: null, // This type does not need a destructor - }); - } - - - function __embind_register_memory_view(rawType, dataTypeIndex, name) { - var typeMapping = [ - Int8Array, - Uint8Array, - Int16Array, - Uint16Array, - Int32Array, - Uint32Array, - Float32Array, - Float64Array, - ]; - - var TA = typeMapping[dataTypeIndex]; - - function decodeMemoryView(handle) { - handle = handle >> 2; - var heap = HEAPU32; - var size = heap[handle]; // in elements - var data = heap[handle + 1]; // byte offset into emscripten heap - return new TA(heap.buffer, data, size); - } - - name = readLatin1String(name); - registerType(rawType, { - name: name, - 'fromWireType': decodeMemoryView, - 'argPackAdvance': 8, - 'readValueFromPointer': decodeMemoryView, - }, { - ignoreDuplicateRegistrations: true, - }); - } - - - - - - function stringToUTF8Array(str, heap, outIdx, maxBytesToWrite) { - // Parameter maxBytesToWrite is not optional. Negative values, 0, null, - // undefined and false each don't write out any bytes. - if (!(maxBytesToWrite > 0)) - return 0; - - var startIdx = outIdx; - var endIdx = outIdx + maxBytesToWrite - 1; // -1 for string null terminator. - for (var i = 0; i < str.length; ++i) { - // Gotcha: charCodeAt returns a 16-bit word that is a UTF-16 encoded code - // unit, not a Unicode code point of the character! So decode - // UTF16->UTF32->UTF8. - // See http://unicode.org/faq/utf_bom.html#utf16-3 - // For UTF8 byte structure, see http://en.wikipedia.org/wiki/UTF-8#Description - // and https://www.ietf.org/rfc/rfc2279.txt - // and https://tools.ietf.org/html/rfc3629 - var u = str.charCodeAt(i); // possibly a lead surrogate - if (u >= 0xD800 && u <= 0xDFFF) { - var u1 = str.charCodeAt(++i); - u = 0x10000 + ((u & 0x3FF) << 10) | (u1 & 0x3FF); - } - if (u <= 0x7F) { - if (outIdx >= endIdx) break; - heap[outIdx++] = u; - } else if (u <= 0x7FF) { - if (outIdx + 1 >= endIdx) break; - heap[outIdx++] = 0xC0 | (u >> 6); - heap[outIdx++] = 0x80 | (u & 63); - } else if (u <= 0xFFFF) { - if (outIdx + 2 >= endIdx) break; - heap[outIdx++] = 0xE0 | (u >> 12); - heap[outIdx++] = 0x80 | ((u >> 6) & 63); - heap[outIdx++] = 0x80 | (u & 63); - } else { - if (outIdx + 3 >= endIdx) break; - heap[outIdx++] = 0xF0 | (u >> 18); - heap[outIdx++] = 0x80 | ((u >> 12) & 63); - heap[outIdx++] = 0x80 | ((u >> 6) & 63); - heap[outIdx++] = 0x80 | (u & 63); - } - } - // Null-terminate the pointer to the buffer. - heap[outIdx] = 0; - return outIdx - startIdx; - } - function stringToUTF8(str, outPtr, maxBytesToWrite) { - return stringToUTF8Array(str, HEAPU8,outPtr, maxBytesToWrite); - } - - function lengthBytesUTF8(str) { - var len = 0; - for (var i = 0; i < str.length; ++i) { - // Gotcha: charCodeAt returns a 16-bit word that is a UTF-16 encoded code - // unit, not a Unicode code point of the character! So decode - // UTF16->UTF32->UTF8. - // See http://unicode.org/faq/utf_bom.html#utf16-3 - var c = str.charCodeAt(i); // possibly a lead surrogate - if (c <= 0x7F) { - len++; - } else if (c <= 0x7FF) { - len += 2; - } else if (c >= 0xD800 && c <= 0xDFFF) { - len += 4; ++i; - } else { - len += 3; - } - } - return len; - } - - - - function __embind_register_std_string(rawType, name) { - name = readLatin1String(name); - var stdStringIsUTF8 - //process only std::string bindings with UTF8 support, in contrast to e.g. std::basic_string - = (name === "std::string"); - - registerType(rawType, { - name: name, - 'fromWireType': function(value) { - var length = HEAPU32[((value)>>2)]; - var payload = value + 4; - - var str; - if (stdStringIsUTF8) { - var decodeStartPtr = payload; - // Looping here to support possible embedded '0' bytes - for (var i = 0; i <= length; ++i) { - var currentBytePtr = payload + i; - if (i == length || HEAPU8[currentBytePtr] == 0) { - var maxRead = currentBytePtr - decodeStartPtr; - var stringSegment = UTF8ToString(decodeStartPtr, maxRead); - if (str === undefined) { - str = stringSegment; - } else { - str += String.fromCharCode(0); - str += stringSegment; - } - decodeStartPtr = currentBytePtr + 1; - } - } - } else { - var a = new Array(length); - for (var i = 0; i < length; ++i) { - a[i] = String.fromCharCode(HEAPU8[payload + i]); - } - str = a.join(''); - } - - _free(value); - - return str; - }, - 'toWireType': function(destructors, value) { - if (value instanceof ArrayBuffer) { - value = new Uint8Array(value); - } - - var length; - var valueIsOfTypeString = (typeof value == 'string'); - - if (!(valueIsOfTypeString || value instanceof Uint8Array || value instanceof Uint8ClampedArray || value instanceof Int8Array)) { - throwBindingError('Cannot pass non-string to std::string'); - } - if (stdStringIsUTF8 && valueIsOfTypeString) { - length = lengthBytesUTF8(value); - } else { - length = value.length; - } - - // assumes 4-byte alignment - var base = _malloc(4 + length + 1); - var ptr = base + 4; - HEAPU32[((base)>>2)] = length; - if (stdStringIsUTF8 && valueIsOfTypeString) { - stringToUTF8(value, ptr, length + 1); - } else { - if (valueIsOfTypeString) { - for (var i = 0; i < length; ++i) { - var charCode = value.charCodeAt(i); - if (charCode > 255) { - _free(ptr); - throwBindingError('String has UTF-16 code units that do not fit in 8 bits'); - } - HEAPU8[ptr + i] = charCode; - } - } else { - for (var i = 0; i < length; ++i) { - HEAPU8[ptr + i] = value[i]; - } - } - } - - if (destructors !== null) { - destructors.push(_free, base); - } - return base; - }, - 'argPackAdvance': 8, - 'readValueFromPointer': simpleReadValueFromPointer, - destructorFunction: function(ptr) { _free(ptr); }, - }); - } - - - - - var UTF16Decoder = typeof TextDecoder != 'undefined' ? new TextDecoder('utf-16le') : undefined;; - function UTF16ToString(ptr, maxBytesToRead) { - var endPtr = ptr; - // TextDecoder needs to know the byte length in advance, it doesn't stop on - // null terminator by itself. - // Also, use the length info to avoid running tiny strings through - // TextDecoder, since .subarray() allocates garbage. - var idx = endPtr >> 1; - var maxIdx = idx + maxBytesToRead / 2; - // If maxBytesToRead is not passed explicitly, it will be undefined, and this - // will always evaluate to true. This saves on code size. - while (!(idx >= maxIdx) && HEAPU16[idx]) ++idx; - endPtr = idx << 1; - - if (endPtr - ptr > 32 && UTF16Decoder) - return UTF16Decoder.decode(HEAPU8.subarray(ptr, endPtr)); - - // Fallback: decode without UTF16Decoder - var str = ''; - - // If maxBytesToRead is not passed explicitly, it will be undefined, and the - // for-loop's condition will always evaluate to true. The loop is then - // terminated on the first null char. - for (var i = 0; !(i >= maxBytesToRead / 2); ++i) { - var codeUnit = HEAP16[(((ptr)+(i*2))>>1)]; - if (codeUnit == 0) break; - // fromCharCode constructs a character from a UTF-16 code unit, so we can - // pass the UTF16 string right through. - str += String.fromCharCode(codeUnit); - } - - return str; - } - - function stringToUTF16(str, outPtr, maxBytesToWrite) { - // Backwards compatibility: if max bytes is not specified, assume unsafe unbounded write is allowed. - if (maxBytesToWrite === undefined) { - maxBytesToWrite = 0x7FFFFFFF; - } - if (maxBytesToWrite < 2) return 0; - maxBytesToWrite -= 2; // Null terminator. - var startPtr = outPtr; - var numCharsToWrite = (maxBytesToWrite < str.length*2) ? (maxBytesToWrite / 2) : str.length; - for (var i = 0; i < numCharsToWrite; ++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)>>1)] = codeUnit; - outPtr += 2; - } - // Null-terminate the pointer to the HEAP. - HEAP16[((outPtr)>>1)] = 0; - return outPtr - startPtr; - } - - function lengthBytesUTF16(str) { - return str.length*2; - } - - function UTF32ToString(ptr, maxBytesToRead) { - var i = 0; - - var str = ''; - // If maxBytesToRead is not passed explicitly, it will be undefined, and this - // will always evaluate to true. This saves on code size. - while (!(i >= maxBytesToRead / 4)) { - var utf32 = HEAP32[(((ptr)+(i*4))>>2)]; - if (utf32 == 0) break; - ++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. - // See http://unicode.org/faq/utf_bom.html#utf16-3 - if (utf32 >= 0x10000) { - var ch = utf32 - 0x10000; - str += String.fromCharCode(0xD800 | (ch >> 10), 0xDC00 | (ch & 0x3FF)); - } else { - str += String.fromCharCode(utf32); - } - } - return str; - } - - function stringToUTF32(str, outPtr, maxBytesToWrite) { - // Backwards compatibility: if max bytes is not specified, assume unsafe unbounded write is allowed. - if (maxBytesToWrite === undefined) { - maxBytesToWrite = 0x7FFFFFFF; - } - if (maxBytesToWrite < 4) return 0; - var startPtr = outPtr; - var endPtr = startPtr + maxBytesToWrite - 4; - for (var i = 0; i < str.length; ++i) { - // 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. - // See http://unicode.org/faq/utf_bom.html#utf16-3 - var codeUnit = str.charCodeAt(i); // possibly a lead surrogate - if (codeUnit >= 0xD800 && codeUnit <= 0xDFFF) { - var trailSurrogate = str.charCodeAt(++i); - codeUnit = 0x10000 + ((codeUnit & 0x3FF) << 10) | (trailSurrogate & 0x3FF); - } - HEAP32[((outPtr)>>2)] = codeUnit; - outPtr += 4; - if (outPtr + 4 > endPtr) break; - } - // Null-terminate the pointer to the HEAP. - HEAP32[((outPtr)>>2)] = 0; - return outPtr - startPtr; - } - - function lengthBytesUTF32(str) { - var len = 0; - for (var i = 0; i < str.length; ++i) { - // 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. - // See http://unicode.org/faq/utf_bom.html#utf16-3 - var codeUnit = str.charCodeAt(i); - if (codeUnit >= 0xD800 && codeUnit <= 0xDFFF) ++i; // possibly a lead surrogate, so skip over the tail surrogate. - len += 4; - } - - return len; - } - function __embind_register_std_wstring(rawType, charSize, name) { - name = readLatin1String(name); - var decodeString, encodeString, getHeap, lengthBytesUTF, shift; - if (charSize === 2) { - decodeString = UTF16ToString; - encodeString = stringToUTF16; - lengthBytesUTF = lengthBytesUTF16; - getHeap = () => HEAPU16; - shift = 1; - } else if (charSize === 4) { - decodeString = UTF32ToString; - encodeString = stringToUTF32; - lengthBytesUTF = lengthBytesUTF32; - getHeap = () => HEAPU32; - shift = 2; - } - registerType(rawType, { - name: name, - 'fromWireType': function(value) { - // Code mostly taken from _embind_register_std_string fromWireType - var length = HEAPU32[value >> 2]; - var HEAP = getHeap(); - var str; - - var decodeStartPtr = value + 4; - // Looping here to support possible embedded '0' bytes - for (var i = 0; i <= length; ++i) { - var currentBytePtr = value + 4 + i * charSize; - if (i == length || HEAP[currentBytePtr >> shift] == 0) { - var maxReadBytes = currentBytePtr - decodeStartPtr; - var stringSegment = decodeString(decodeStartPtr, maxReadBytes); - if (str === undefined) { - str = stringSegment; - } else { - str += String.fromCharCode(0); - str += stringSegment; - } - decodeStartPtr = currentBytePtr + charSize; - } - } - - _free(value); - - return str; - }, - 'toWireType': function(destructors, value) { - if (!(typeof value == 'string')) { - throwBindingError(`Cannot pass non-string to C++ string type ${name}`); - } - - // assumes 4-byte alignment - var length = lengthBytesUTF(value); - var ptr = _malloc(4 + length + charSize); - HEAPU32[ptr >> 2] = length >> shift; - - encodeString(value, ptr + 4, length + charSize); - - if (destructors !== null) { - destructors.push(_free, ptr); - } - return ptr; - }, - 'argPackAdvance': 8, - 'readValueFromPointer': simpleReadValueFromPointer, - destructorFunction: function(ptr) { _free(ptr); }, - }); - } - - - - function __embind_register_value_object( - rawType, - name, - constructorSignature, - rawConstructor, - destructorSignature, - rawDestructor - ) { - structRegistrations[rawType] = { - name: readLatin1String(name), - rawConstructor: embind__requireFunction(constructorSignature, rawConstructor), - rawDestructor: embind__requireFunction(destructorSignature, rawDestructor), - fields: [], - }; - } - - - - function __embind_register_value_object_field( - structType, - fieldName, - getterReturnType, - getterSignature, - getter, - getterContext, - setterArgumentType, - setterSignature, - setter, - setterContext - ) { - structRegistrations[structType].fields.push({ - fieldName: readLatin1String(fieldName), - getterReturnType: getterReturnType, - getter: embind__requireFunction(getterSignature, getter), - getterContext: getterContext, - setterArgumentType: setterArgumentType, - setter: embind__requireFunction(setterSignature, setter), - setterContext: setterContext, - }); - } - - - function __embind_register_void(rawType, name) { - name = readLatin1String(name); - registerType(rawType, { - isVoid: true, // void return values can be optimized out sometimes - name: name, - 'argPackAdvance': 0, - 'fromWireType': function() { - return undefined; - }, - 'toWireType': function(destructors, o) { - // TODO: assert if anything else is given? - return undefined; - }, - }); - } - - function emval_allocateDestructors(destructorsRef) { - var destructors = []; - HEAPU32[((destructorsRef)>>2)] = Emval.toHandle(destructors); - return destructors; - } - - var emval_symbols = {}; - - function getStringOrSymbol(address) { - var symbol = emval_symbols[address]; - if (symbol === undefined) { - return readLatin1String(address); - } - return symbol; - } - - var emval_methodCallers = []; - - function __emval_call_method(caller, handle, methodName, destructorsRef, args) { - caller = emval_methodCallers[caller]; - handle = Emval.toValue(handle); - methodName = getStringOrSymbol(methodName); - return caller(handle, methodName, emval_allocateDestructors(destructorsRef), args); - } - - - - - function __emval_call_void_method(caller, handle, methodName, args) { - caller = emval_methodCallers[caller]; - handle = Emval.toValue(handle); - methodName = getStringOrSymbol(methodName); - caller(handle, methodName, null, args); - } - - - function emval_addMethodCaller(caller) { - var id = emval_methodCallers.length; - emval_methodCallers.push(caller); - return id; - } - - function emval_lookupTypes(argCount, argTypes) { - var a = new Array(argCount); - for (var i = 0; i < argCount; ++i) { - a[i] = requireRegisteredType(HEAPU32[(((argTypes)+(i * 4))>>2)], - "parameter " + i); - } - return a; - } - - - var emval_registeredMethods = []; - function __emval_get_method_caller(argCount, argTypes) { - var types = emval_lookupTypes(argCount, argTypes); - var retType = types[0]; - var signatureName = retType.name + "_$" + types.slice(1).map(function (t) { return t.name; }).join("_") + "$"; - var returnId = emval_registeredMethods[signatureName]; - if (returnId !== undefined) { - return returnId; - } - - var argN = new Array(argCount - 1); - var invokerFunction = (handle, name, destructors, args) => { - var offset = 0; - for (var i = 0; i < argCount - 1; ++i) { - argN[i] = types[i + 1]['readValueFromPointer'](args + offset); - offset += types[i + 1]['argPackAdvance']; - } - var rv = handle[name].apply(handle, argN); - for (var i = 0; i < argCount - 1; ++i) { - if (types[i + 1].deleteObject) { - types[i + 1].deleteObject(argN[i]); - } - } - if (!retType.isVoid) { - return retType['toWireType'](destructors, rv); - } - }; - returnId = emval_addMethodCaller(invokerFunction); - emval_registeredMethods[signatureName] = returnId; - return returnId; - } - - function __emval_incref(handle) { - if (handle > 4) { - emval_handles.get(handle).refcount += 1; - } - } - - - - function __emval_run_destructors(handle) { - var destructors = Emval.toValue(handle); - runDestructors(destructors); - __emval_decref(handle); - } - - - function __emval_take_value(type, arg) { - type = requireRegisteredType(type, '_emval_take_value'); - var v = type['readValueFromPointer'](arg); - return Emval.toHandle(v); - } - - function _abort() { - abort(''); - } - - function _emscripten_memcpy_big(dest, src, num) { - HEAPU8.copyWithin(dest, src, src + num); - } - - function getHeapMax() { - // Stay one Wasm page short of 4GB: while e.g. Chrome is able to allocate - // full 4GB Wasm memories, the size will wrap back to 0 bytes in Wasm side - // for any code that deals with heap sizes, which would require special - // casing all heap size related code to treat 0 specially. - return 2147483648; - } - - function emscripten_realloc_buffer(size) { - var b = wasmMemory.buffer; - var pages = (size - b.byteLength + 65535) >>> 16; - try { - // round size grow request up to wasm page size (fixed 64KB per spec) - wasmMemory.grow(pages); // .grow() takes a delta compared to the previous size - updateMemoryViews(); - return 1 /*success*/; - } catch(e) { - } - // implicit 0 return to save code size (caller will cast "undefined" into 0 - // anyhow) - } - function _emscripten_resize_heap(requestedSize) { - var oldSize = HEAPU8.length; - requestedSize = requestedSize >>> 0; - // With multithreaded builds, races can happen (another thread might increase the size - // in between), so return a failure, and let the caller retry. - - // Memory resize rules: - // 1. Always increase heap size to at least the requested size, rounded up - // to next page multiple. - // 2a. If MEMORY_GROWTH_LINEAR_STEP == -1, excessively resize the heap - // geometrically: increase the heap size according to - // MEMORY_GROWTH_GEOMETRIC_STEP factor (default +20%), At most - // overreserve by MEMORY_GROWTH_GEOMETRIC_CAP bytes (default 96MB). - // 2b. If MEMORY_GROWTH_LINEAR_STEP != -1, excessively resize the heap - // linearly: increase the heap size by at least - // MEMORY_GROWTH_LINEAR_STEP bytes. - // 3. Max size for the heap is capped at 2048MB-WASM_PAGE_SIZE, or by - // MAXIMUM_MEMORY, or by ASAN limit, depending on which is smallest - // 4. If we were unable to allocate as much memory, it may be due to - // over-eager decision to excessively reserve due to (3) above. - // Hence if an allocation fails, cut down on the amount of excess - // growth, in an attempt to succeed to perform a smaller allocation. - - // A limit is set for how much we can grow. We should not exceed that - // (the wasm binary specifies it, so if we tried, we'd fail anyhow). - var maxHeapSize = getHeapMax(); - if (requestedSize > maxHeapSize) { - return false; - } - - var alignUp = (x, multiple) => x + (multiple - x % multiple) % multiple; - - // Loop through potential heap size increases. If we attempt a too eager - // reservation that fails, cut down on the attempted size and reserve a - // smaller bump instead. (max 3 times, chosen somewhat arbitrarily) - for (var cutDown = 1; cutDown <= 4; cutDown *= 2) { - var overGrownHeapSize = oldSize * (1 + 0.2 / cutDown); // ensure geometric growth - // but limit overreserving (default to capping at +96MB overgrowth at most) - overGrownHeapSize = Math.min(overGrownHeapSize, requestedSize + 100663296 ); - - var newSize = Math.min(maxHeapSize, alignUp(Math.max(requestedSize, overGrownHeapSize), 65536)); - - var replacement = emscripten_realloc_buffer(newSize); - if (replacement) { - - return true; - } - } - return false; - } - - var printCharBuffers = [null,[],[]]; - - function printChar(stream, curr) { - var buffer = printCharBuffers[stream]; - if (curr === 0 || curr === 10) { - (stream === 1 ? out : err)(UTF8ArrayToString(buffer, 0)); - buffer.length = 0; - } else { - buffer.push(curr); - } - } - - function flush_NO_FILESYSTEM() { - // flush anything remaining in the buffers during shutdown - if (printCharBuffers[1].length) printChar(1, 10); - if (printCharBuffers[2].length) printChar(2, 10); - } - - - var SYSCALLS = {varargs:undefined,get:function() { - SYSCALLS.varargs += 4; - var ret = HEAP32[(((SYSCALLS.varargs)-(4))>>2)]; - return ret; - },getStr:function(ptr) { - var ret = UTF8ToString(ptr); - return ret; - }}; - function _fd_write(fd, iov, iovcnt, pnum) { - // hack to support printf in SYSCALLS_REQUIRE_FILESYSTEM=0 - var num = 0; - for (var i = 0; i < iovcnt; i++) { - var ptr = HEAPU32[((iov)>>2)]; - var len = HEAPU32[(((iov)+(4))>>2)]; - iov += 8; - for (var j = 0; j < len; j++) { - printChar(fd, HEAPU8[ptr+j]); - } - num += len; - } - HEAPU32[((pnum)>>2)] = num; - return 0; - } -BindingError = Module['BindingError'] = extendError(Error, 'BindingError');; -init_emval();; -PureVirtualError = Module['PureVirtualError'] = extendError(Error, 'PureVirtualError');; -embind_init_charCodes(); -init_embind();; -InternalError = Module['InternalError'] = extendError(Error, 'InternalError');; -init_ClassHandle(); -init_RegisteredPointer(); -UnboundTypeError = Module['UnboundTypeError'] = extendError(Error, 'UnboundTypeError');; -// include: base64Utils.js -// Copied from https://github.com/strophe/strophejs/blob/e06d027/src/polyfills.js#L149 - -// This code was written by Tyler Akins and has been placed in the -// public domain. It would be nice if you left this header intact. -// Base64 code from Tyler Akins -- http://rumkin.com - -/** - * Decodes a base64 string. - * @param {string} input The string to decode. - */ -var decodeBase64 = typeof atob == 'function' ? atob : function (input) { - var keyStr = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; - - var output = ''; - var chr1, chr2, chr3; - var enc1, enc2, enc3, enc4; - var i = 0; - // remove all characters that are not A-Z, a-z, 0-9, +, /, or = - input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ''); - do { - enc1 = keyStr.indexOf(input.charAt(i++)); - enc2 = keyStr.indexOf(input.charAt(i++)); - enc3 = keyStr.indexOf(input.charAt(i++)); - enc4 = keyStr.indexOf(input.charAt(i++)); - - chr1 = (enc1 << 2) | (enc2 >> 4); - chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); - chr3 = ((enc3 & 3) << 6) | enc4; - - output = output + String.fromCharCode(chr1); - - if (enc3 !== 64) { - output = output + String.fromCharCode(chr2); - } - if (enc4 !== 64) { - output = output + String.fromCharCode(chr3); - } - } while (i < input.length); - return output; -}; - -// Converts a string of base64 into a byte array. -// Throws error on invalid input. -function intArrayFromBase64(s) { - - try { - var decoded = decodeBase64(s); - var bytes = new Uint8Array(decoded.length); - for (var i = 0 ; i < decoded.length ; ++i) { - bytes[i] = decoded.charCodeAt(i); - } - return bytes; - } catch (_) { - throw new Error('Converting base64 string to bytes failed.'); - } -} - -// If filename is a base64 data URI, parses and returns data (Buffer on node, -// Uint8Array otherwise). If filename is not a base64 data URI, returns undefined. -function tryParseAsDataURI(filename) { - if (!isDataURI(filename)) { - return; - } - - return intArrayFromBase64(filename.slice(dataURIPrefix.length)); -} - - -// end include: base64Utils.js -var wasmImports = { - "__assert_fail": ___assert_fail, - "_embind_create_inheriting_constructor": __embind_create_inheriting_constructor, - "_embind_finalize_value_object": __embind_finalize_value_object, - "_embind_register_bigint": __embind_register_bigint, - "_embind_register_bool": __embind_register_bool, - "_embind_register_class": __embind_register_class, - "_embind_register_class_class_function": __embind_register_class_class_function, - "_embind_register_class_constructor": __embind_register_class_constructor, - "_embind_register_class_function": __embind_register_class_function, - "_embind_register_class_property": __embind_register_class_property, - "_embind_register_constant": __embind_register_constant, - "_embind_register_emval": __embind_register_emval, - "_embind_register_enum": __embind_register_enum, - "_embind_register_enum_value": __embind_register_enum_value, - "_embind_register_float": __embind_register_float, - "_embind_register_function": __embind_register_function, - "_embind_register_integer": __embind_register_integer, - "_embind_register_memory_view": __embind_register_memory_view, - "_embind_register_std_string": __embind_register_std_string, - "_embind_register_std_wstring": __embind_register_std_wstring, - "_embind_register_value_object": __embind_register_value_object, - "_embind_register_value_object_field": __embind_register_value_object_field, - "_embind_register_void": __embind_register_void, - "_emval_call_method": __emval_call_method, - "_emval_call_void_method": __emval_call_void_method, - "_emval_decref": __emval_decref, - "_emval_get_method_caller": __emval_get_method_caller, - "_emval_incref": __emval_incref, - "_emval_run_destructors": __emval_run_destructors, - "_emval_take_value": __emval_take_value, - "abort": _abort, - "emscripten_memcpy_big": _emscripten_memcpy_big, - "emscripten_resize_heap": _emscripten_resize_heap, - "fd_write": _fd_write, - "memory": wasmMemory -}; -var asm = createWasm(); -/** @type {function(...*):?} */ -var ___wasm_call_ctors = function() { - return (___wasm_call_ctors = Module["asm"]["__wasm_call_ctors"]).apply(null, arguments); -}; - -/** @type {function(...*):?} */ -var _malloc = function() { - return (_malloc = Module["asm"]["malloc"]).apply(null, arguments); -}; - -/** @type {function(...*):?} */ -var _free = function() { - return (_free = Module["asm"]["free"]).apply(null, arguments); -}; - -/** @type {function(...*):?} */ -var ___getTypeName = function() { - return (___getTypeName = Module["asm"]["__getTypeName"]).apply(null, arguments); -}; - -/** @type {function(...*):?} */ -var __embind_initialize_bindings = Module["__embind_initialize_bindings"] = function() { - return (__embind_initialize_bindings = Module["__embind_initialize_bindings"] = Module["asm"]["_embind_initialize_bindings"]).apply(null, arguments); -}; - -/** @type {function(...*):?} */ -var ___errno_location = function() { - return (___errno_location = Module["asm"]["__errno_location"]).apply(null, arguments); -}; - -/** @type {function(...*):?} */ -var stackSave = function() { - return (stackSave = Module["asm"]["stackSave"]).apply(null, arguments); -}; - -/** @type {function(...*):?} */ -var stackRestore = function() { - return (stackRestore = Module["asm"]["stackRestore"]).apply(null, arguments); -}; - -/** @type {function(...*):?} */ -var stackAlloc = function() { - return (stackAlloc = Module["asm"]["stackAlloc"]).apply(null, arguments); -}; - -/** @type {function(...*):?} */ -var dynCall_jiji = Module["dynCall_jiji"] = function() { - return (dynCall_jiji = Module["dynCall_jiji"] = Module["asm"]["dynCall_jiji"]).apply(null, arguments); -}; - - - -// include: postamble.js -// === Auto-generated postamble setup entry stuff === - - - - -var calledRun; - -dependenciesFulfilled = function runCaller() { - // If run has never been called, and we should call run (INVOKE_RUN is true, and Module.noInitialRun is not false) - if (!calledRun) run(); - if (!calledRun) dependenciesFulfilled = runCaller; // try this again later, after new deps are fulfilled -}; - -function run() { - - if (runDependencies > 0) { - return; - } - - preRun(); - - // a preRun added a dependency, run will be called later - if (runDependencies > 0) { - return; - } - - function doRun() { - // run may have just been called through dependencies being fulfilled just in this very frame, - // or while the async setStatus time below was happening - if (calledRun) return; - calledRun = true; - Module['calledRun'] = true; - - if (ABORT) return; - - initRuntime(); - - readyPromiseResolve(Module); - if (Module['onRuntimeInitialized']) Module['onRuntimeInitialized'](); - - postRun(); - } - - if (Module['setStatus']) { - Module['setStatus']('Running...'); - setTimeout(function() { - setTimeout(function() { - Module['setStatus'](''); - }, 1); - doRun(); - }, 1); - } else - { - doRun(); - } -} - -if (Module['preInit']) { - if (typeof Module['preInit'] == 'function') Module['preInit'] = [Module['preInit']]; - while (Module['preInit'].length > 0) { - Module['preInit'].pop()(); - } -} - -run(); - - -// end include: postamble.js - - - return BOX2D.ready -} - -); -})(); -if (typeof exports === 'object' && typeof module === 'object') - module.exports = BOX2D; -else if (typeof define === 'function' && define['amd']) - define([], function() { return BOX2D; }); -else if (typeof exports === 'object') - exports["BOX2D"] = BOX2D; diff --git a/emscripten/box2d/box2d.debug.wasm.js b/emscripten/box2d/box2d.debug.wasm.js deleted file mode 100644 index 8f941f657..000000000 --- a/emscripten/box2d/box2d.debug.wasm.js +++ /dev/null @@ -1,4266 +0,0 @@ - -var BOX2D = (() => { - var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined; - - return ( -function(BOX2D = {}) { - -// include: shell.js -// The Module object: Our interface to the outside world. We import -// and export values on it. 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 check if Module already exists (e.g. case 3 above). -// Substitution will be replaced with actual code on later stage of the build, -// this way Closure Compiler will not mangle it (e.g. case 4. 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 = typeof BOX2D != 'undefined' ? BOX2D : {}; - -// Set up the promise that indicates the Module is initialized -var readyPromiseResolve, readyPromiseReject; -Module['ready'] = new Promise((resolve, reject) => { - readyPromiseResolve = resolve; - readyPromiseReject = reject; -}); -["_main","__embind_initialize_bindings","_fflush","onRuntimeInitialized"].forEach((prop) => { - if (!Object.getOwnPropertyDescriptor(Module['ready'], prop)) { - Object.defineProperty(Module['ready'], prop, { - get: () => abort('You are getting ' + prop + ' on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js'), - set: () => abort('You are setting ' + prop + ' on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js'), - }); - } -}); - -// --pre-jses are emitted after the Module integration code, so that they can -// refer to Module (if they choose; they can also define Module) - - -// 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 = Object.assign({}, Module); - -var arguments_ = []; -var thisProgram = './this.program'; -var quit_ = (status, toThrow) => { - throw toThrow; -}; - -// Determine the runtime environment we are in. You can customize this by -// setting the ENVIRONMENT setting at compile time (see settings.js). - -var ENVIRONMENT_IS_WEB = true; -var ENVIRONMENT_IS_WORKER = false; -var ENVIRONMENT_IS_NODE = false; -var ENVIRONMENT_IS_SHELL = false; - -if (Module['ENVIRONMENT']) { - throw new Error('Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)'); -} - -// `/` should be present at the end if `scriptDirectory` is not empty -var scriptDirectory = ''; -function locateFile(path) { - if (Module['locateFile']) { - return Module['locateFile'](path, scriptDirectory); - } - return scriptDirectory + path; -} - -// Hooks that are implemented differently in different runtime environments. -var read_, - readAsync, - readBinary, - setWindowTitle; - -if (ENVIRONMENT_IS_SHELL) { - - if ((typeof process == 'object' && typeof require === 'function') || typeof window == 'object' || typeof importScripts == 'function') throw new Error('not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)'); - - if (typeof read != 'undefined') { - read_ = (f) => { - return read(f); - }; - } - - readBinary = (f) => { - let data; - if (typeof readbuffer == 'function') { - return new Uint8Array(readbuffer(f)); - } - data = read(f, 'binary'); - assert(typeof data == 'object'); - return data; - }; - - readAsync = (f, onload, onerror) => { - setTimeout(() => onload(readBinary(f)), 0); - }; - - if (typeof clearTimeout == 'undefined') { - globalThis.clearTimeout = (id) => {}; - } - - if (typeof scriptArgs != 'undefined') { - arguments_ = scriptArgs; - } else if (typeof arguments != 'undefined') { - arguments_ = arguments; - } - - if (typeof quit == 'function') { - quit_ = (status, toThrow) => { - // Unlike node which has process.exitCode, d8 has no such mechanism. So we - // have no way to set the exit code and then let the program exit with - // that code when it naturally stops running (say, when all setTimeouts - // have completed). For that reason, we must call `quit` - the only way to - // set the exit code - but quit also halts immediately. To increase - // consistency with node (and the web) we schedule the actual quit call - // using a setTimeout to give the current stack and any exception handlers - // a chance to run. This enables features such as addOnPostRun (which - // expected to be able to run code after main returns). - setTimeout(() => { - if (!(toThrow instanceof ExitStatus)) { - let toLog = toThrow; - if (toThrow && typeof toThrow == 'object' && toThrow.stack) { - toLog = [toThrow, toThrow.stack]; - } - err(`exiting due to exception: ${toLog}`); - } - quit(status); - }); - throw toThrow; - }; - } - - if (typeof print != 'undefined') { - // Prefer to use print/printErr where they exist, as they usually work better. - if (typeof console == 'undefined') console = /** @type{!Console} */({}); - console.log = /** @type{!function(this:Console, ...*): undefined} */ (print); - console.warn = console.error = /** @type{!function(this:Console, ...*): undefined} */ (typeof printErr != 'undefined' ? printErr : print); - } - -} else - -// Note that this includes Node.js workers when relevant (pthreads is enabled). -// Node.js workers are detected as a combination of ENVIRONMENT_IS_WORKER and -// ENVIRONMENT_IS_NODE. -if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) { - if (ENVIRONMENT_IS_WORKER) { // Check worker, not web, since window could be polyfilled - scriptDirectory = self.location.href; - } else if (typeof document != 'undefined' && document.currentScript) { // web - scriptDirectory = document.currentScript.src; - } - // When MODULARIZE, this JS may be executed later, after document.currentScript - // is gone, so we saved it, and we use it here instead of any other info. - if (_scriptDir) { - scriptDirectory = _scriptDir; - } - // blob urls look like blob:http://site.com/etc/etc and we cannot infer anything from them. - // otherwise, slice off the final part of the url to find the script directory. - // if scriptDirectory does not contain a slash, lastIndexOf will return -1, - // and scriptDirectory will correctly be replaced with an empty string. - // If scriptDirectory contains a query (starting with ?) or a fragment (starting with #), - // they are removed because they could contain a slash. - if (scriptDirectory.indexOf('blob:') !== 0) { - scriptDirectory = scriptDirectory.substr(0, scriptDirectory.replace(/[?#].*/, "").lastIndexOf('/')+1); - } else { - scriptDirectory = ''; - } - - if (!(typeof window == 'object' || typeof importScripts == 'function')) throw new Error('not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)'); - - // Differentiate the Web Worker from the Node Worker case, as reading must - // be done differently. - { -// include: web_or_worker_shell_read.js -read_ = (url) => { - var xhr = new XMLHttpRequest(); - xhr.open('GET', url, false); - xhr.send(null); - return xhr.responseText; - } - - if (ENVIRONMENT_IS_WORKER) { - readBinary = (url) => { - var xhr = new XMLHttpRequest(); - xhr.open('GET', url, false); - xhr.responseType = 'arraybuffer'; - xhr.send(null); - return new Uint8Array(/** @type{!ArrayBuffer} */(xhr.response)); - }; - } - - readAsync = (url, onload, onerror) => { - var xhr = new XMLHttpRequest(); - xhr.open('GET', url, true); - xhr.responseType = 'arraybuffer'; - xhr.onload = () => { - if (xhr.status == 200 || (xhr.status == 0 && xhr.response)) { // file URLs can return 0 - onload(xhr.response); - return; - } - onerror(); - }; - xhr.onerror = onerror; - xhr.send(null); - } - -// end include: web_or_worker_shell_read.js - } - - setWindowTitle = (title) => document.title = title; -} else -{ - throw new Error('environment detection error'); -} - -var out = Module['print'] || console.log.bind(console); -var err = Module['printErr'] || console.error.bind(console); - -// Merge back in the overrides -Object.assign(Module, moduleOverrides); -// Free the object hierarchy contained in the overrides, this lets the GC -// reclaim data used e.g. in memoryInitializerRequest, which is a large typed array. -moduleOverrides = null; -checkIncomingModuleAPI(); - -// Emit code to handle expected values on the Module object. This applies Module.x -// to the proper local x. This has two benefits: first, we only emit it if it is -// expected to arrive, and second, by using a local everywhere else that can be -// minified. - -if (Module['arguments']) arguments_ = Module['arguments'];legacyModuleProp('arguments', 'arguments_'); - -if (Module['thisProgram']) thisProgram = Module['thisProgram'];legacyModuleProp('thisProgram', 'thisProgram'); - -if (Module['quit']) quit_ = Module['quit'];legacyModuleProp('quit', 'quit_'); - -// perform assertions in shell.js after we set up out() and err(), as otherwise if an assertion fails it cannot print the message -// Assertions on removed incoming Module JS APIs. -assert(typeof Module['memoryInitializerPrefixURL'] == 'undefined', 'Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead'); -assert(typeof Module['pthreadMainPrefixURL'] == 'undefined', 'Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead'); -assert(typeof Module['cdInitializerPrefixURL'] == 'undefined', 'Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead'); -assert(typeof Module['filePackagePrefixURL'] == 'undefined', 'Module.filePackagePrefixURL option was removed, use Module.locateFile instead'); -assert(typeof Module['read'] == 'undefined', 'Module.read option was removed (modify read_ in JS)'); -assert(typeof Module['readAsync'] == 'undefined', 'Module.readAsync option was removed (modify readAsync in JS)'); -assert(typeof Module['readBinary'] == 'undefined', 'Module.readBinary option was removed (modify readBinary in JS)'); -assert(typeof Module['setWindowTitle'] == 'undefined', 'Module.setWindowTitle option was removed (modify setWindowTitle in JS)'); -assert(typeof Module['TOTAL_MEMORY'] == 'undefined', 'Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY'); -legacyModuleProp('read', 'read_'); -legacyModuleProp('readAsync', 'readAsync'); -legacyModuleProp('readBinary', 'readBinary'); -legacyModuleProp('setWindowTitle', 'setWindowTitle'); -var IDBFS = 'IDBFS is no longer included by default; build with -lidbfs.js'; -var PROXYFS = 'PROXYFS is no longer included by default; build with -lproxyfs.js'; -var WORKERFS = 'WORKERFS is no longer included by default; build with -lworkerfs.js'; -var NODEFS = 'NODEFS is no longer included by default; build with -lnodefs.js'; - -assert(!ENVIRONMENT_IS_WORKER, "worker environment detected but not enabled at build time. Add 'worker' to `-sENVIRONMENT` to enable."); - -assert(!ENVIRONMENT_IS_NODE, "node environment detected but not enabled at build time. Add 'node' to `-sENVIRONMENT` to enable."); - -assert(!ENVIRONMENT_IS_SHELL, "shell environment detected but not enabled at build time. Add 'shell' to `-sENVIRONMENT` to enable."); - - -// end include: shell.js -// include: preamble.js -// === Preamble library stuff === - -// Documentation for the public APIs defined in this file must be updated in: -// site/source/docs/api_reference/preamble.js.rst -// A prebuilt local version of the documentation is available at: -// site/build/text/docs/api_reference/preamble.js.txt -// You can also build docs locally as HTML or other formats in site/ -// An online HTML version (which may be of a different version of Emscripten) -// is up at http://kripken.github.io/emscripten-site/docs/api_reference/preamble.js.html - -var wasmBinary; -if (Module['wasmBinary']) wasmBinary = Module['wasmBinary'];legacyModuleProp('wasmBinary', 'wasmBinary'); -var noExitRuntime = Module['noExitRuntime'] || true;legacyModuleProp('noExitRuntime', 'noExitRuntime'); - -if (typeof WebAssembly != 'object') { - abort('no native wasm support detected'); -} - -// Wasm globals - -var wasmMemory; - -//======================================== -// Runtime essentials -//======================================== - -// whether we are quitting the application. no code should run after this. -// set in exit() and abort() -var ABORT = false; - -// set by exit() and abort(). Passed to 'onExit' handler. -// NOTE: This is also used as the process return code code in shell environments -// but only when noExitRuntime is false. -var EXITSTATUS; - -/** @type {function(*, string=)} */ -function assert(condition, text) { - if (!condition) { - abort('Assertion failed' + (text ? ': ' + text : '')); - } -} - -// We used to include malloc/free by default in the past. Show a helpful error in -// builds with assertions. - -// Memory management - -var HEAP, -/** @type {!Int8Array} */ - HEAP8, -/** @type {!Uint8Array} */ - HEAPU8, -/** @type {!Int16Array} */ - HEAP16, -/** @type {!Uint16Array} */ - HEAPU16, -/** @type {!Int32Array} */ - HEAP32, -/** @type {!Uint32Array} */ - HEAPU32, -/** @type {!Float32Array} */ - HEAPF32, -/** @type {!Float64Array} */ - HEAPF64; - -function updateMemoryViews() { - var b = wasmMemory.buffer; - Module['HEAP8'] = HEAP8 = new Int8Array(b); - Module['HEAP16'] = HEAP16 = new Int16Array(b); - Module['HEAP32'] = HEAP32 = new Int32Array(b); - Module['HEAPU8'] = HEAPU8 = new Uint8Array(b); - Module['HEAPU16'] = HEAPU16 = new Uint16Array(b); - Module['HEAPU32'] = HEAPU32 = new Uint32Array(b); - Module['HEAPF32'] = HEAPF32 = new Float32Array(b); - Module['HEAPF64'] = HEAPF64 = new Float64Array(b); -} - -assert(!Module['STACK_SIZE'], 'STACK_SIZE can no longer be set at runtime. Use -sSTACK_SIZE at link time') - -assert(typeof Int32Array != 'undefined' && typeof Float64Array !== 'undefined' && Int32Array.prototype.subarray != undefined && Int32Array.prototype.set != undefined, - 'JS engine does not provide full typed array support'); - -// If memory is defined in wasm, the user can't provide it, or set INITIAL_MEMORY -assert(!Module['wasmMemory'], 'Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally'); -assert(!Module['INITIAL_MEMORY'], 'Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically'); - -// include: runtime_init_table.js -// In regular non-RELOCATABLE mode the table is exported -// from the wasm module and this will be assigned once -// the exports are available. -var wasmTable; - -// end include: runtime_init_table.js -// include: runtime_stack_check.js -// Initializes the stack cookie. Called at the startup of main and at the startup of each thread in pthreads mode. -function writeStackCookie() { - var max = _emscripten_stack_get_end(); - assert((max & 3) == 0); - // If the stack ends at address zero we write our cookies 4 bytes into the - // stack. This prevents interference with SAFE_HEAP and ASAN which also - // monitor writes to address zero. - if (max == 0) { - max += 4; - } - // The stack grow downwards towards _emscripten_stack_get_end. - // We write cookies to the final two words in the stack and detect if they are - // ever overwritten. - HEAPU32[((max)>>2)] = 0x02135467; - HEAPU32[(((max)+(4))>>2)] = 0x89BACDFE; - // Also test the global address 0 for integrity. - HEAPU32[((0)>>2)] = 1668509029; -} - -function checkStackCookie() { - if (ABORT) return; - var max = _emscripten_stack_get_end(); - // See writeStackCookie(). - if (max == 0) { - max += 4; - } - var cookie1 = HEAPU32[((max)>>2)]; - var cookie2 = HEAPU32[(((max)+(4))>>2)]; - if (cookie1 != 0x02135467 || cookie2 != 0x89BACDFE) { - abort(`Stack overflow! Stack cookie has been overwritten at ${ptrToString(max)}, expected hex dwords 0x89BACDFE and 0x2135467, but received ${ptrToString(cookie2)} ${ptrToString(cookie1)}`); - } - // Also test the global address 0 for integrity. - if (HEAPU32[((0)>>2)] != 0x63736d65 /* 'emsc' */) { - abort('Runtime error: The application has corrupted its heap memory area (address zero)!'); - } -} - -// end include: runtime_stack_check.js -// include: runtime_assertions.js -// Endianness check -(function() { - var h16 = new Int16Array(1); - var h8 = new Int8Array(h16.buffer); - h16[0] = 0x6373; - if (h8[0] !== 0x73 || h8[1] !== 0x63) throw 'Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)'; -})(); - -// end include: runtime_assertions.js -var __ATPRERUN__ = []; // functions called before the runtime is initialized -var __ATINIT__ = []; // functions called during startup -var __ATEXIT__ = []; // functions called during shutdown -var __ATPOSTRUN__ = []; // functions called after the main() is called - -var runtimeInitialized = false; - -var runtimeKeepaliveCounter = 0; - -function keepRuntimeAlive() { - return noExitRuntime || runtimeKeepaliveCounter > 0; -} - -function preRun() { - if (Module['preRun']) { - if (typeof Module['preRun'] == 'function') Module['preRun'] = [Module['preRun']]; - while (Module['preRun'].length) { - addOnPreRun(Module['preRun'].shift()); - } - } - callRuntimeCallbacks(__ATPRERUN__); -} - -function initRuntime() { - assert(!runtimeInitialized); - runtimeInitialized = true; - - checkStackCookie(); - - - callRuntimeCallbacks(__ATINIT__); -} - -function postRun() { - checkStackCookie(); - - 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); -} - -function addOnInit(cb) { - __ATINIT__.unshift(cb); -} - -function addOnExit(cb) { -} - -function addOnPostRun(cb) { - __ATPOSTRUN__.unshift(cb); -} - -// include: runtime_math.js -// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/imul - -// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/fround - -// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/clz32 - -// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc - -assert(Math.imul, 'This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill'); -assert(Math.fround, 'This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill'); -assert(Math.clz32, 'This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill'); -assert(Math.trunc, 'This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill'); - -// end include: runtime_math.js -// 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 -// Module.preRun (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 runDependencyWatcher = null; -var dependenciesFulfilled = null; // overridden to take different actions when all run dependencies are fulfilled -var runDependencyTracking = {}; - -function getUniqueRunDependency(id) { - var orig = id; - while (1) { - if (!runDependencyTracking[id]) return id; - id = orig + Math.random(); - } -} - -function addRunDependency(id) { - runDependencies++; - - if (Module['monitorRunDependencies']) { - Module['monitorRunDependencies'](runDependencies); - } - - if (id) { - assert(!runDependencyTracking[id]); - runDependencyTracking[id] = 1; - if (runDependencyWatcher === null && typeof setInterval != 'undefined') { - // Check for missing dependencies every few seconds - runDependencyWatcher = setInterval(() => { - if (ABORT) { - clearInterval(runDependencyWatcher); - runDependencyWatcher = null; - return; - } - var shown = false; - for (var dep in runDependencyTracking) { - if (!shown) { - shown = true; - err('still waiting on run dependencies:'); - } - err('dependency: ' + dep); - } - if (shown) { - err('(end of list)'); - } - }, 10000); - } - } else { - err('warning: run dependency added without ID'); - } -} - -function removeRunDependency(id) { - runDependencies--; - - if (Module['monitorRunDependencies']) { - Module['monitorRunDependencies'](runDependencies); - } - - if (id) { - assert(runDependencyTracking[id]); - delete runDependencyTracking[id]; - } else { - err('warning: run dependency removed without ID'); - } - if (runDependencies == 0) { - if (runDependencyWatcher !== null) { - clearInterval(runDependencyWatcher); - runDependencyWatcher = null; - } - if (dependenciesFulfilled) { - var callback = dependenciesFulfilled; - dependenciesFulfilled = null; - callback(); // can add another dependenciesFulfilled - } - } -} - -/** @param {string|number=} what */ -function abort(what) { - if (Module['onAbort']) { - Module['onAbort'](what); - } - - what = 'Aborted(' + what + ')'; - // TODO(sbc): Should we remove printing and leave it up to whoever - // catches the exception? - err(what); - - ABORT = true; - EXITSTATUS = 1; - - // Use a wasm runtime error, because a JS error might be seen as a foreign - // exception, which means we'd run destructors on it. We need the error to - // simply make the program stop. - // FIXME This approach does not work in Wasm EH because it currently does not assume - // all RuntimeErrors are from traps; it decides whether a RuntimeError is from - // a trap or not based on a hidden field within the object. So at the moment - // we don't have a way of throwing a wasm trap from JS. TODO Make a JS API that - // allows this in the wasm spec. - - // Suppress closure compiler warning here. Closure compiler's builtin extern - // defintion for WebAssembly.RuntimeError claims it takes no arguments even - // though it can. - // TODO(https://github.com/google/closure-compiler/pull/3913): Remove if/when upstream closure gets fixed. - /** @suppress {checkTypes} */ - var e = new WebAssembly.RuntimeError(what); - - readyPromiseReject(e); - // Throw the error whether or not MODULARIZE is set because abort is used - // in code paths apart from instantiation where an exception is expected - // to be thrown when abort is called. - throw e; -} - -// include: memoryprofiler.js -// end include: memoryprofiler.js -// show errors on likely calls to FS when it was not included -var FS = { - error: function() { - abort('Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -sFORCE_FILESYSTEM'); - }, - init: function() { FS.error() }, - createDataFile: function() { FS.error() }, - createPreloadedFile: function() { FS.error() }, - createLazyFile: function() { FS.error() }, - open: function() { FS.error() }, - mkdev: function() { FS.error() }, - registerDevice: function() { FS.error() }, - analyzePath: function() { FS.error() }, - - ErrnoError: function ErrnoError() { FS.error() }, -}; -Module['FS_createDataFile'] = FS.createDataFile; -Module['FS_createPreloadedFile'] = FS.createPreloadedFile; - -// include: URIUtils.js -// Prefix of data URIs emitted by SINGLE_FILE and related options. -var dataURIPrefix = 'data:application/octet-stream;base64,'; - -// Indicates whether filename is a base64 data URI. -function isDataURI(filename) { - // Prefix of data URIs emitted by SINGLE_FILE and related options. - return filename.startsWith(dataURIPrefix); -} - -// Indicates whether filename is delivered via file protocol (as opposed to http/https) -function isFileURI(filename) { - return filename.startsWith('file://'); -} - -// end include: URIUtils.js -/** @param {boolean=} fixedasm */ -function createExportWrapper(name, fixedasm) { - return function() { - var displayName = name; - var asm = fixedasm; - if (!fixedasm) { - asm = Module['asm']; - } - assert(runtimeInitialized, 'native function `' + displayName + '` called before runtime initialization'); - if (!asm[name]) { - assert(asm[name], 'exported native function `' + displayName + '` not found'); - } - return asm[name].apply(null, arguments); - }; -} - -// include: runtime_exceptions.js -// end include: runtime_exceptions.js -var wasmBinaryFile; - wasmBinaryFile = 'box2d.debug.wasm.wasm'; - if (!isDataURI(wasmBinaryFile)) { - wasmBinaryFile = locateFile(wasmBinaryFile); - } - -function getBinary(file) { - try { - if (file == wasmBinaryFile && wasmBinary) { - return new Uint8Array(wasmBinary); - } - if (readBinary) { - return readBinary(file); - } - throw "both async and sync fetching of the wasm failed"; - } - catch (err) { - abort(err); - } -} - -function getBinaryPromise(binaryFile) { - // If we don't have the binary yet, try to load it asynchronously. - // Fetch has some additional restrictions over XHR, like it can't be used on a file:// url. - // See https://github.com/github/fetch/pull/92#issuecomment-140665932 - // Cordova or Electron apps are typically loaded from a file:// url. - // So use fetch if it is available and the url is not a file, otherwise fall back to XHR. - if (!wasmBinary && (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER)) { - if (typeof fetch == 'function' - ) { - return fetch(binaryFile, { credentials: 'same-origin' }).then((response) => { - if (!response['ok']) { - throw "failed to load wasm binary file at '" + binaryFile + "'"; - } - return response['arrayBuffer'](); - }).catch(() => getBinary(binaryFile)); - } - } - - // Otherwise, getBinary should be able to get it synchronously - return Promise.resolve().then(() => getBinary(binaryFile)); -} - -function instantiateArrayBuffer(binaryFile, imports, receiver) { - return getBinaryPromise(binaryFile).then((binary) => { - return WebAssembly.instantiate(binary, imports); - }).then((instance) => { - return instance; - }).then(receiver, (reason) => { - err('failed to asynchronously prepare wasm: ' + reason); - - // Warn on some common problems. - if (isFileURI(wasmBinaryFile)) { - err('warning: Loading from a file URI (' + wasmBinaryFile + ') is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing'); - } - abort(reason); - }); -} - -function instantiateAsync(binary, binaryFile, imports, callback) { - if (!binary && - typeof WebAssembly.instantiateStreaming == 'function' && - !isDataURI(binaryFile) && - typeof fetch == 'function') { - return fetch(binaryFile, { credentials: 'same-origin' }).then((response) => { - // Suppress closure warning here since the upstream definition for - // instantiateStreaming only allows Promise rather than - // an actual Response. - // TODO(https://github.com/google/closure-compiler/pull/3913): Remove if/when upstream closure is fixed. - /** @suppress {checkTypes} */ - var result = WebAssembly.instantiateStreaming(response, imports); - - return result.then( - callback, - function(reason) { - // We expect the most common failure cause to be a bad MIME type for the binary, - // in which case falling back to ArrayBuffer instantiation should work. - err('wasm streaming compile failed: ' + reason); - err('falling back to ArrayBuffer instantiation'); - return instantiateArrayBuffer(binaryFile, imports, callback); - }); - }); - } else { - return instantiateArrayBuffer(binaryFile, imports, callback); - } -} - -// Create the wasm instance. -// Receives the wasm imports, returns the exports. -function createWasm() { - // prepare imports - var info = { - 'env': wasmImports, - 'wasi_snapshot_preview1': wasmImports, - }; - // Load the wasm module and create an instance of using native support in the JS engine. - // handle a generated wasm instance, receiving its exports and - // performing other necessary setup - /** @param {WebAssembly.Module=} module*/ - function receiveInstance(instance, module) { - var exports = instance.exports; - - Module['asm'] = exports; - - wasmMemory = Module['asm']['memory']; - assert(wasmMemory, "memory not found in wasm exports"); - // This assertion doesn't hold when emscripten is run in --post-link - // mode. - // TODO(sbc): Read INITIAL_MEMORY out of the wasm file in post-link mode. - //assert(wasmMemory.buffer.byteLength === 16777216); - updateMemoryViews(); - - wasmTable = Module['asm']['__indirect_function_table']; - assert(wasmTable, "table not found in wasm exports"); - - addOnInit(Module['asm']['__wasm_call_ctors']); - - removeRunDependency('wasm-instantiate'); - return exports; - } - // wait for the pthread pool (if any) - addRunDependency('wasm-instantiate'); - - // Prefer streaming instantiation if available. - // Async compilation can be confusing when an error on the page overwrites Module - // (for example, if the order of elements is wrong, and the one defining Module is - // later), so we save Module and check it later. - var trueModule = Module; - function receiveInstantiationResult(result) { - // 'result' is a ResultObject object which has both the module and instance. - // receiveInstance() will swap in the exports (to Module.asm) so they can be called - assert(Module === trueModule, 'the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?'); - trueModule = null; - // TODO: Due to Closure regression https://github.com/google/closure-compiler/issues/3193, the above line no longer optimizes out down to the following line. - // When the regression is fixed, can restore the above PTHREADS-enabled path. - receiveInstance(result['instance']); - } - - // User shell pages can write their own Module.instantiateWasm = function(imports, successCallback) callback - // to manually instantiate the Wasm module themselves. This allows pages to - // run the instantiation parallel to any other async startup actions they are - // performing. - // Also pthreads and wasm workers initialize the wasm instance through this - // path. - if (Module['instantiateWasm']) { - - try { - return Module['instantiateWasm'](info, receiveInstance); - } catch(e) { - err('Module.instantiateWasm callback failed with error: ' + e); - // If instantiation fails, reject the module ready promise. - readyPromiseReject(e); - } - } - - // If instantiation fails, reject the module ready promise. - instantiateAsync(wasmBinary, wasmBinaryFile, info, receiveInstantiationResult).catch(readyPromiseReject); - return {}; // no exports yet; we'll fill them in later -} - -// Globals used by JS i64 conversions (see makeSetValue) -var tempDouble; -var tempI64; - -// include: runtime_debug.js -function legacyModuleProp(prop, newName) { - if (!Object.getOwnPropertyDescriptor(Module, prop)) { - Object.defineProperty(Module, prop, { - configurable: true, - get: function() { - abort('Module.' + prop + ' has been replaced with plain ' + newName + ' (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)'); - } - }); - } -} - -function ignoredModuleProp(prop) { - if (Object.getOwnPropertyDescriptor(Module, prop)) { - abort('`Module.' + prop + '` was supplied but `' + prop + '` not included in INCOMING_MODULE_JS_API'); - } -} - -// forcing the filesystem exports a few things by default -function isExportedByForceFilesystem(name) { - return name === 'FS_createPath' || - name === 'FS_createDataFile' || - name === 'FS_createPreloadedFile' || - name === 'FS_unlink' || - name === 'addRunDependency' || - // The old FS has some functionality that WasmFS lacks. - name === 'FS_createLazyFile' || - name === 'FS_createDevice' || - name === 'removeRunDependency'; -} - -function missingGlobal(sym, msg) { - if (typeof globalThis !== 'undefined') { - Object.defineProperty(globalThis, sym, { - configurable: true, - get: function() { - warnOnce('`' + sym + '` is not longer defined by emscripten. ' + msg); - return undefined; - } - }); - } -} - -missingGlobal('buffer', 'Please use HEAP8.buffer or wasmMemory.buffer'); - -function missingLibrarySymbol(sym) { - if (typeof globalThis !== 'undefined' && !Object.getOwnPropertyDescriptor(globalThis, sym)) { - Object.defineProperty(globalThis, sym, { - configurable: true, - get: function() { - // Can't `abort()` here because it would break code that does runtime - // checks. e.g. `if (typeof SDL === 'undefined')`. - var msg = '`' + sym + '` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line'; - // DEFAULT_LIBRARY_FUNCS_TO_INCLUDE requires the name as it appears in - // library.js, which means $name for a JS name with no prefix, or name - // for a JS name like _name. - var librarySymbol = sym; - if (!librarySymbol.startsWith('_')) { - librarySymbol = '$' + sym; - } - msg += " (e.g. -sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE=" + librarySymbol + ")"; - if (isExportedByForceFilesystem(sym)) { - msg += '. Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you'; - } - warnOnce(msg); - return undefined; - } - }); - } - // Any symbol that is not included from the JS libary is also (by definition) - // not exported on the Module object. - unexportedRuntimeSymbol(sym); -} - -function unexportedRuntimeSymbol(sym) { - if (!Object.getOwnPropertyDescriptor(Module, sym)) { - Object.defineProperty(Module, sym, { - configurable: true, - get: function() { - var msg = "'" + sym + "' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)"; - if (isExportedByForceFilesystem(sym)) { - msg += '. Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you'; - } - abort(msg); - } - }); - } -} - -// Used by XXXXX_DEBUG settings to output debug messages. -function dbg(text) { - // TODO(sbc): Make this configurable somehow. Its not always convenient for - // logging to show up as warnings. - console.warn.apply(console, arguments); -} - -// end include: runtime_debug.js -// === Body === - - -// end include: preamble.js - - /** @constructor */ - function ExitStatus(status) { - this.name = 'ExitStatus'; - this.message = `Program terminated with exit(${status})`; - this.status = status; - } - - function callRuntimeCallbacks(callbacks) { - while (callbacks.length > 0) { - // Pass the module as the first argument. - callbacks.shift()(Module); - } - } - - - /** - * @param {number} ptr - * @param {string} type - */ - function getValue(ptr, type = 'i8') { - if (type.endsWith('*')) type = '*'; - switch (type) { - case 'i1': return HEAP8[((ptr)>>0)]; - case 'i8': return HEAP8[((ptr)>>0)]; - case 'i16': return HEAP16[((ptr)>>1)]; - case 'i32': return HEAP32[((ptr)>>2)]; - case 'i64': abort('to do getValue(i64) use WASM_BIGINT'); - case 'float': return HEAPF32[((ptr)>>2)]; - case 'double': return HEAPF64[((ptr)>>3)]; - case '*': return HEAPU32[((ptr)>>2)]; - default: abort(`invalid type for getValue: ${type}`); - } - } - - function ptrToString(ptr) { - assert(typeof ptr === 'number'); - return '0x' + ptr.toString(16).padStart(8, '0'); - } - - - /** - * @param {number} ptr - * @param {number} value - * @param {string} type - */ - function setValue(ptr, value, type = 'i8') { - if (type.endsWith('*')) type = '*'; - switch (type) { - case 'i1': HEAP8[((ptr)>>0)] = value; break; - case 'i8': HEAP8[((ptr)>>0)] = value; break; - case 'i16': HEAP16[((ptr)>>1)] = value; break; - case 'i32': HEAP32[((ptr)>>2)] = value; break; - case 'i64': abort('to do setValue(i64) use WASM_BIGINT'); - case 'float': HEAPF32[((ptr)>>2)] = value; break; - case 'double': HEAPF64[((ptr)>>3)] = value; break; - case '*': HEAPU32[((ptr)>>2)] = value; break; - default: abort(`invalid type for setValue: ${type}`); - } - } - - function warnOnce(text) { - if (!warnOnce.shown) warnOnce.shown = {}; - if (!warnOnce.shown[text]) { - warnOnce.shown[text] = 1; - err(text); - } - } - - var UTF8Decoder = typeof TextDecoder != 'undefined' ? new TextDecoder('utf8') : undefined; - - /** - * Given a pointer 'idx' to a null-terminated UTF8-encoded string in the given - * array that contains uint8 values, returns a copy of that string as a - * Javascript String object. - * heapOrArray is either a regular array, or a JavaScript typed array view. - * @param {number} idx - * @param {number=} maxBytesToRead - * @return {string} - */ - function UTF8ArrayToString(heapOrArray, idx, maxBytesToRead) { - var endIdx = idx + maxBytesToRead; - var endPtr = idx; - // TextDecoder needs to know the byte length in advance, it doesn't stop on - // null terminator by itself. Also, use the length info to avoid running tiny - // strings through TextDecoder, since .subarray() allocates garbage. - // (As a tiny code save trick, compare endPtr against endIdx using a negation, - // so that undefined means Infinity) - while (heapOrArray[endPtr] && !(endPtr >= endIdx)) ++endPtr; - - if (endPtr - idx > 16 && heapOrArray.buffer && UTF8Decoder) { - return UTF8Decoder.decode(heapOrArray.subarray(idx, endPtr)); - } - var str = ''; - // If building with TextDecoder, we have already computed the string length - // above, so test loop end condition against that - while (idx < endPtr) { - // For UTF8 byte structure, see: - // http://en.wikipedia.org/wiki/UTF-8#Description - // https://www.ietf.org/rfc/rfc2279.txt - // https://tools.ietf.org/html/rfc3629 - var u0 = heapOrArray[idx++]; - if (!(u0 & 0x80)) { str += String.fromCharCode(u0); continue; } - var u1 = heapOrArray[idx++] & 63; - if ((u0 & 0xE0) == 0xC0) { str += String.fromCharCode(((u0 & 31) << 6) | u1); continue; } - var u2 = heapOrArray[idx++] & 63; - if ((u0 & 0xF0) == 0xE0) { - u0 = ((u0 & 15) << 12) | (u1 << 6) | u2; - } else { - if ((u0 & 0xF8) != 0xF0) warnOnce('Invalid UTF-8 leading byte ' + ptrToString(u0) + ' encountered when deserializing a UTF-8 string in wasm memory to a JS string!'); - u0 = ((u0 & 7) << 18) | (u1 << 12) | (u2 << 6) | (heapOrArray[idx++] & 63); - } - - if (u0 < 0x10000) { - str += String.fromCharCode(u0); - } else { - var ch = u0 - 0x10000; - str += String.fromCharCode(0xD800 | (ch >> 10), 0xDC00 | (ch & 0x3FF)); - } - } - return str; - } - - - /** - * Given a pointer 'ptr' to a null-terminated UTF8-encoded string in the - * emscripten HEAP, returns a copy of that string as a Javascript String object. - * - * @param {number} ptr - * @param {number=} maxBytesToRead - An optional length that specifies the - * maximum number of bytes to read. You can omit this parameter to scan the - * string until the first 0 byte. If maxBytesToRead is passed, and the string - * at [ptr, ptr+maxBytesToReadr[ contains a null byte in the middle, then the - * string will cut short at that byte index (i.e. maxBytesToRead will not - * produce a string of exact length [ptr, ptr+maxBytesToRead[) N.B. mixing - * frequent uses of UTF8ToString() with and without maxBytesToRead may throw - * JS JIT optimizations off, so it is worth to consider consistently using one - * @return {string} - */ - function UTF8ToString(ptr, maxBytesToRead) { - assert(typeof ptr == 'number'); - return ptr ? UTF8ArrayToString(HEAPU8, ptr, maxBytesToRead) : ''; - } - function ___assert_fail(condition, filename, line, func) { - abort(`Assertion failed: ${UTF8ToString(condition)}, at: ` + [filename ? UTF8ToString(filename) : 'unknown filename', line, func ? UTF8ToString(func) : 'unknown function']); - } - - var char_0 = 48; - - var char_9 = 57; - function makeLegalFunctionName(name) { - if (undefined === name) { - return '_unknown'; - } - name = name.replace(/[^a-zA-Z0-9_]/g, '$'); - var f = name.charCodeAt(0); - if (f >= char_0 && f <= char_9) { - return `_${name}`; - } - return name; - } - function createNamedFunction(name, body) { - name = makeLegalFunctionName(name); - // Use an abject with a computed property name to create a new function with - // a name specified at runtime, but without using `new Function` or `eval`. - return { - [name]: function() { - return body.apply(this, arguments); - } - }[name]; - } - - /** @constructor */ - function HandleAllocator() { - // Reserve slot 0 so that 0 is always an invalid handle - this.allocated = [undefined]; - this.freelist = []; - this.get = function(id) { - assert(this.allocated[id] !== undefined, `invalid handle: ${id}`); - return this.allocated[id]; - }; - this.has = function(id) { - return this.allocated[id] !== undefined; - }; - this.allocate = function(handle) { - var id = this.freelist.pop() || this.allocated.length; - this.allocated[id] = handle; - return id; - }; - this.free = function(id) { - assert(this.allocated[id] !== undefined); - // Set the slot to `undefined` rather than using `delete` here since - // apparently arrays with holes in them can be less efficient. - this.allocated[id] = undefined; - this.freelist.push(id); - }; - } - var emval_handles = new HandleAllocator();; - - function extendError(baseErrorType, errorName) { - var errorClass = createNamedFunction(errorName, function(message) { - this.name = errorName; - this.message = message; - - var stack = (new Error(message)).stack; - if (stack !== undefined) { - this.stack = this.toString() + '\n' + - stack.replace(/^Error(:[^\n]*)?\n/, ''); - } - }); - errorClass.prototype = Object.create(baseErrorType.prototype); - errorClass.prototype.constructor = errorClass; - errorClass.prototype.toString = function() { - if (this.message === undefined) { - return this.name; - } else { - return `${this.name}: ${this.message}`; - } - }; - - return errorClass; - } - var BindingError = undefined; - function throwBindingError(message) { - throw new BindingError(message); - } - - function count_emval_handles() { - var count = 0; - for (var i = emval_handles.reserved; i < emval_handles.allocated.length; ++i) { - if (emval_handles.allocated[i] !== undefined) { - ++count; - } - } - return count; - } - - function init_emval() { - // reserve some special values. These never get de-allocated. - // The HandleAllocator takes care of reserving zero. - emval_handles.allocated.push( - {value: undefined}, - {value: null}, - {value: true}, - {value: false}, - ); - emval_handles.reserved = emval_handles.allocated.length - Module['count_emval_handles'] = count_emval_handles; - } - var Emval = {toValue:(handle) => { - if (!handle) { - throwBindingError('Cannot use deleted val. handle = ' + handle); - } - return emval_handles.get(handle).value; - },toHandle:(value) => { - switch (value) { - case undefined: return 1; - case null: return 2; - case true: return 3; - case false: return 4; - default:{ - return emval_handles.allocate({refcount: 1, value: value}); - } - } - }}; - - var PureVirtualError = undefined; - - function embind_init_charCodes() { - var codes = new Array(256); - for (var i = 0; i < 256; ++i) { - codes[i] = String.fromCharCode(i); - } - embind_charCodes = codes; - } - var embind_charCodes = undefined; - function readLatin1String(ptr) { - var ret = ""; - var c = ptr; - while (HEAPU8[c]) { - ret += embind_charCodes[HEAPU8[c++]]; - } - return ret; - } - - function getInheritedInstanceCount() { - return Object.keys(registeredInstances).length; - } - - function getLiveInheritedInstances() { - var rv = []; - for (var k in registeredInstances) { - if (registeredInstances.hasOwnProperty(k)) { - rv.push(registeredInstances[k]); - } - } - return rv; - } - - var deletionQueue = []; - function flushPendingDeletes() { - while (deletionQueue.length) { - var obj = deletionQueue.pop(); - obj.$$.deleteScheduled = false; - obj['delete'](); - } - } - - var delayFunction = undefined; - - - function setDelayFunction(fn) { - delayFunction = fn; - if (deletionQueue.length && delayFunction) { - delayFunction(flushPendingDeletes); - } - } - function init_embind() { - Module['getInheritedInstanceCount'] = getInheritedInstanceCount; - Module['getLiveInheritedInstances'] = getLiveInheritedInstances; - Module['flushPendingDeletes'] = flushPendingDeletes; - Module['setDelayFunction'] = setDelayFunction; - } - var registeredInstances = {}; - - function getBasestPointer(class_, ptr) { - if (ptr === undefined) { - throwBindingError('ptr should not be undefined'); - } - while (class_.baseClass) { - ptr = class_.upcast(ptr); - class_ = class_.baseClass; - } - return ptr; - } - - function registerInheritedInstance(class_, ptr, instance) { - ptr = getBasestPointer(class_, ptr); - if (registeredInstances.hasOwnProperty(ptr)) { - throwBindingError(`Tried to register registered instance: ${ptr}`); - } else { - registeredInstances[ptr] = instance; - } - } - - var registeredTypes = {}; - - - - function getTypeName(type) { - var ptr = ___getTypeName(type); - var rv = readLatin1String(ptr); - _free(ptr); - return rv; - } - - function requireRegisteredType(rawType, humanName) { - var impl = registeredTypes[rawType]; - if (undefined === impl) { - throwBindingError(humanName + " has unknown type " + getTypeName(rawType)); - } - return impl; - } - - - - - function unregisterInheritedInstance(class_, ptr) { - ptr = getBasestPointer(class_, ptr); - if (registeredInstances.hasOwnProperty(ptr)) { - delete registeredInstances[ptr]; - } else { - throwBindingError(`Tried to unregister unregistered instance: ${ptr}`); - } - } - - function detachFinalizer(handle) {} - - var finalizationRegistry = false; - - - function runDestructor($$) { - if ($$.smartPtr) { - $$.smartPtrType.rawDestructor($$.smartPtr); - } else { - $$.ptrType.registeredClass.rawDestructor($$.ptr); - } - } - function releaseClassHandle($$) { - $$.count.value -= 1; - var toDelete = 0 === $$.count.value; - if (toDelete) { - runDestructor($$); - } - } - - function downcastPointer(ptr, ptrClass, desiredClass) { - if (ptrClass === desiredClass) { - return ptr; - } - if (undefined === desiredClass.baseClass) { - return null; // no conversion - } - - var rv = downcastPointer(ptr, ptrClass, desiredClass.baseClass); - if (rv === null) { - return null; - } - return desiredClass.downcast(rv); - } - - var registeredPointers = {}; - - - function getInheritedInstance(class_, ptr) { - ptr = getBasestPointer(class_, ptr); - return registeredInstances[ptr]; - } - - var InternalError = undefined; - function throwInternalError(message) { - throw new InternalError(message); - } - - function makeClassHandle(prototype, record) { - if (!record.ptrType || !record.ptr) { - throwInternalError('makeClassHandle requires ptr and ptrType'); - } - var hasSmartPtrType = !!record.smartPtrType; - var hasSmartPtr = !!record.smartPtr; - if (hasSmartPtrType !== hasSmartPtr) { - throwInternalError('Both smartPtrType and smartPtr must be specified'); - } - record.count = { value: 1 }; - return attachFinalizer(Object.create(prototype, { - $$: { - value: record, - }, - })); - } - function RegisteredPointer_fromWireType(ptr) { - // ptr is a raw pointer (or a raw smartpointer) - - // rawPointer is a maybe-null raw pointer - var rawPointer = this.getPointee(ptr); - if (!rawPointer) { - this.destructor(ptr); - return null; - } - - var registeredInstance = getInheritedInstance(this.registeredClass, rawPointer); - if (undefined !== registeredInstance) { - // JS object has been neutered, time to repopulate it - if (0 === registeredInstance.$$.count.value) { - registeredInstance.$$.ptr = rawPointer; - registeredInstance.$$.smartPtr = ptr; - return registeredInstance['clone'](); - } else { - // else, just increment reference count on existing object - // it already has a reference to the smart pointer - var rv = registeredInstance['clone'](); - this.destructor(ptr); - return rv; - } - } - - function makeDefaultHandle() { - if (this.isSmartPointer) { - return makeClassHandle(this.registeredClass.instancePrototype, { - ptrType: this.pointeeType, - ptr: rawPointer, - smartPtrType: this, - smartPtr: ptr, - }); - } else { - return makeClassHandle(this.registeredClass.instancePrototype, { - ptrType: this, - ptr: ptr, - }); - } - } - - var actualType = this.registeredClass.getActualType(rawPointer); - var registeredPointerRecord = registeredPointers[actualType]; - if (!registeredPointerRecord) { - return makeDefaultHandle.call(this); - } - - var toType; - if (this.isConst) { - toType = registeredPointerRecord.constPointerType; - } else { - toType = registeredPointerRecord.pointerType; - } - var dp = downcastPointer( - rawPointer, - this.registeredClass, - toType.registeredClass); - if (dp === null) { - return makeDefaultHandle.call(this); - } - if (this.isSmartPointer) { - return makeClassHandle(toType.registeredClass.instancePrototype, { - ptrType: toType, - ptr: dp, - smartPtrType: this, - smartPtr: ptr, - }); - } else { - return makeClassHandle(toType.registeredClass.instancePrototype, { - ptrType: toType, - ptr: dp, - }); - } - } - function attachFinalizer(handle) { - if ('undefined' === typeof FinalizationRegistry) { - attachFinalizer = (handle) => handle; - return handle; - } - // If the running environment has a FinalizationRegistry (see - // https://github.com/tc39/proposal-weakrefs), then attach finalizers - // for class handles. We check for the presence of FinalizationRegistry - // at run-time, not build-time. - finalizationRegistry = new FinalizationRegistry((info) => { - console.warn(info.leakWarning.stack.replace(/^Error: /, '')); - releaseClassHandle(info.$$); - }); - attachFinalizer = (handle) => { - var $$ = handle.$$; - var hasSmartPtr = !!$$.smartPtr; - if (hasSmartPtr) { - // We should not call the destructor on raw pointers in case other code expects the pointee to live - var info = { $$: $$ }; - // Create a warning as an Error instance in advance so that we can store - // the current stacktrace and point to it when / if a leak is detected. - // This is more useful than the empty stacktrace of `FinalizationRegistry` - // callback. - var cls = $$.ptrType.registeredClass; - info.leakWarning = new Error(`Embind found a leaked C++ instance ${cls.name} <${ptrToString($$.ptr)}>.\n` + - "We'll free it automatically in this case, but this functionality is not reliable across various environments.\n" + - "Make sure to invoke .delete() manually once you're done with the instance instead.\n" + - "Originally allocated"); // `.stack` will add "at ..." after this sentence - if ('captureStackTrace' in Error) { - Error.captureStackTrace(info.leakWarning, RegisteredPointer_fromWireType); - } - finalizationRegistry.register(handle, info, handle); - } - return handle; - }; - detachFinalizer = (handle) => finalizationRegistry.unregister(handle); - return attachFinalizer(handle); - } - function __embind_create_inheriting_constructor(constructorName, wrapperType, properties) { - constructorName = readLatin1String(constructorName); - wrapperType = requireRegisteredType(wrapperType, 'wrapper'); - properties = Emval.toValue(properties); - - var arraySlice = [].slice; - - var registeredClass = wrapperType.registeredClass; - var wrapperPrototype = registeredClass.instancePrototype; - var baseClass = registeredClass.baseClass; - var baseClassPrototype = baseClass.instancePrototype; - var baseConstructor = registeredClass.baseClass.constructor; - var ctor = createNamedFunction(constructorName, function() { - registeredClass.baseClass.pureVirtualFunctions.forEach(function(name) { - if (this[name] === baseClassPrototype[name]) { - throw new PureVirtualError(`Pure virtual function ${name} must be implemented in JavaScript`); - } - }.bind(this)); - - Object.defineProperty(this, '__parent', { - value: wrapperPrototype - }); - this["__construct"].apply(this, arraySlice.call(arguments)); - }); - - // It's a little nasty that we're modifying the wrapper prototype here. - - wrapperPrototype["__construct"] = function __construct() { - if (this === wrapperPrototype) { - throwBindingError("Pass correct 'this' to __construct"); - } - - var inner = baseConstructor["implement"].apply( - undefined, - [this].concat(arraySlice.call(arguments))); - detachFinalizer(inner); - var $$ = inner.$$; - inner["notifyOnDestruction"](); - $$.preservePointerOnDelete = true; - Object.defineProperties(this, { $$: { - value: $$ - }}); - attachFinalizer(this); - registerInheritedInstance(registeredClass, $$.ptr, this); - }; - - wrapperPrototype["__destruct"] = function __destruct() { - if (this === wrapperPrototype) { - throwBindingError("Pass correct 'this' to __destruct"); - } - - detachFinalizer(this); - unregisterInheritedInstance(registeredClass, this.$$.ptr); - }; - - ctor.prototype = Object.create(wrapperPrototype); - for (var p in properties) { - ctor.prototype[p] = properties[p]; - } - return Emval.toHandle(ctor); - } - - var structRegistrations = {}; - - function runDestructors(destructors) { - while (destructors.length) { - var ptr = destructors.pop(); - var del = destructors.pop(); - del(ptr); - } - } - - function simpleReadValueFromPointer(pointer) { - return this['fromWireType'](HEAP32[((pointer)>>2)]); - } - - var awaitingDependencies = {}; - - - var typeDependencies = {}; - - function whenDependentTypesAreResolved(myTypes, dependentTypes, getTypeConverters) { - myTypes.forEach(function(type) { - typeDependencies[type] = dependentTypes; - }); - - function onComplete(typeConverters) { - var myTypeConverters = getTypeConverters(typeConverters); - if (myTypeConverters.length !== myTypes.length) { - throwInternalError('Mismatched type converter count'); - } - for (var i = 0; i < myTypes.length; ++i) { - registerType(myTypes[i], myTypeConverters[i]); - } - } - - var typeConverters = new Array(dependentTypes.length); - var unregisteredTypes = []; - var registered = 0; - dependentTypes.forEach((dt, i) => { - if (registeredTypes.hasOwnProperty(dt)) { - typeConverters[i] = registeredTypes[dt]; - } else { - unregisteredTypes.push(dt); - if (!awaitingDependencies.hasOwnProperty(dt)) { - awaitingDependencies[dt] = []; - } - awaitingDependencies[dt].push(() => { - typeConverters[i] = registeredTypes[dt]; - ++registered; - if (registered === unregisteredTypes.length) { - onComplete(typeConverters); - } - }); - } - }); - if (0 === unregisteredTypes.length) { - onComplete(typeConverters); - } - } - function __embind_finalize_value_object(structType) { - var reg = structRegistrations[structType]; - delete structRegistrations[structType]; - - var rawConstructor = reg.rawConstructor; - var rawDestructor = reg.rawDestructor; - var fieldRecords = reg.fields; - var fieldTypes = fieldRecords.map((field) => field.getterReturnType). - concat(fieldRecords.map((field) => field.setterArgumentType)); - whenDependentTypesAreResolved([structType], fieldTypes, (fieldTypes) => { - var fields = {}; - fieldRecords.forEach((field, i) => { - var fieldName = field.fieldName; - var getterReturnType = fieldTypes[i]; - var getter = field.getter; - var getterContext = field.getterContext; - var setterArgumentType = fieldTypes[i + fieldRecords.length]; - var setter = field.setter; - var setterContext = field.setterContext; - fields[fieldName] = { - read: (ptr) => { - return getterReturnType['fromWireType']( - getter(getterContext, ptr)); - }, - write: (ptr, o) => { - var destructors = []; - setter(setterContext, ptr, setterArgumentType['toWireType'](destructors, o)); - runDestructors(destructors); - } - }; - }); - - return [{ - name: reg.name, - 'fromWireType': function(ptr) { - var rv = {}; - for (var i in fields) { - rv[i] = fields[i].read(ptr); - } - rawDestructor(ptr); - return rv; - }, - 'toWireType': function(destructors, o) { - // todo: Here we have an opportunity for -O3 level "unsafe" optimizations: - // assume all fields are present without checking. - for (var fieldName in fields) { - if (!(fieldName in o)) { - throw new TypeError(`Missing field: "${fieldName}"`); - } - } - var ptr = rawConstructor(); - for (fieldName in fields) { - fields[fieldName].write(ptr, o[fieldName]); - } - if (destructors !== null) { - destructors.push(rawDestructor, ptr); - } - return ptr; - }, - 'argPackAdvance': 8, - 'readValueFromPointer': simpleReadValueFromPointer, - destructorFunction: rawDestructor, - }]; - }); - } - - function __embind_register_bigint(primitiveType, name, size, minRange, maxRange) {} - - function getShiftFromSize(size) { - switch (size) { - case 1: return 0; - case 2: return 1; - case 4: return 2; - case 8: return 3; - default: - throw new TypeError(`Unknown type size: ${size}`); - } - } - - - - - - - /** @param {Object=} options */ - function registerType(rawType, registeredInstance, options = {}) { - if (!('argPackAdvance' in registeredInstance)) { - throw new TypeError('registerType registeredInstance requires argPackAdvance'); - } - - var name = registeredInstance.name; - if (!rawType) { - throwBindingError(`type "${name}" must have a positive integer typeid pointer`); - } - if (registeredTypes.hasOwnProperty(rawType)) { - if (options.ignoreDuplicateRegistrations) { - return; - } else { - throwBindingError(`Cannot register type '${name}' twice`); - } - } - - registeredTypes[rawType] = registeredInstance; - delete typeDependencies[rawType]; - - if (awaitingDependencies.hasOwnProperty(rawType)) { - var callbacks = awaitingDependencies[rawType]; - delete awaitingDependencies[rawType]; - callbacks.forEach((cb) => cb()); - } - } - function __embind_register_bool(rawType, name, size, trueValue, falseValue) { - var shift = getShiftFromSize(size); - - name = readLatin1String(name); - registerType(rawType, { - name: name, - 'fromWireType': function(wt) { - // ambiguous emscripten ABI: sometimes return values are - // true or false, and sometimes integers (0 or 1) - return !!wt; - }, - 'toWireType': function(destructors, o) { - return o ? trueValue : falseValue; - }, - 'argPackAdvance': 8, - 'readValueFromPointer': function(pointer) { - // TODO: if heap is fixed (like in asm.js) this could be executed outside - var heap; - if (size === 1) { - heap = HEAP8; - } else if (size === 2) { - heap = HEAP16; - } else if (size === 4) { - heap = HEAP32; - } else { - throw new TypeError("Unknown boolean type size: " + name); - } - return this['fromWireType'](heap[pointer >> shift]); - }, - destructorFunction: null, // This type does not need a destructor - }); - } - - - function ClassHandle_isAliasOf(other) { - if (!(this instanceof ClassHandle)) { - return false; - } - if (!(other instanceof ClassHandle)) { - return false; - } - - var leftClass = this.$$.ptrType.registeredClass; - var left = this.$$.ptr; - var rightClass = other.$$.ptrType.registeredClass; - var right = other.$$.ptr; - - while (leftClass.baseClass) { - left = leftClass.upcast(left); - leftClass = leftClass.baseClass; - } - - while (rightClass.baseClass) { - right = rightClass.upcast(right); - rightClass = rightClass.baseClass; - } - - return leftClass === rightClass && left === right; - } - - function shallowCopyInternalPointer(o) { - return { - count: o.count, - deleteScheduled: o.deleteScheduled, - preservePointerOnDelete: o.preservePointerOnDelete, - ptr: o.ptr, - ptrType: o.ptrType, - smartPtr: o.smartPtr, - smartPtrType: o.smartPtrType, - }; - } - - function throwInstanceAlreadyDeleted(obj) { - function getInstanceTypeName(handle) { - return handle.$$.ptrType.registeredClass.name; - } - throwBindingError(getInstanceTypeName(obj) + ' instance already deleted'); - } - - function ClassHandle_clone() { - if (!this.$$.ptr) { - throwInstanceAlreadyDeleted(this); - } - - if (this.$$.preservePointerOnDelete) { - this.$$.count.value += 1; - return this; - } else { - var clone = attachFinalizer(Object.create(Object.getPrototypeOf(this), { - $$: { - value: shallowCopyInternalPointer(this.$$), - } - })); - - clone.$$.count.value += 1; - clone.$$.deleteScheduled = false; - return clone; - } - } - - - - - function ClassHandle_delete() { - if (!this.$$.ptr) { - throwInstanceAlreadyDeleted(this); - } - - if (this.$$.deleteScheduled && !this.$$.preservePointerOnDelete) { - throwBindingError('Object already scheduled for deletion'); - } - - detachFinalizer(this); - releaseClassHandle(this.$$); - - if (!this.$$.preservePointerOnDelete) { - this.$$.smartPtr = undefined; - this.$$.ptr = undefined; - } - } - - function ClassHandle_isDeleted() { - return !this.$$.ptr; - } - - - - function ClassHandle_deleteLater() { - if (!this.$$.ptr) { - throwInstanceAlreadyDeleted(this); - } - if (this.$$.deleteScheduled && !this.$$.preservePointerOnDelete) { - throwBindingError('Object already scheduled for deletion'); - } - deletionQueue.push(this); - if (deletionQueue.length === 1 && delayFunction) { - delayFunction(flushPendingDeletes); - } - this.$$.deleteScheduled = true; - return this; - } - function init_ClassHandle() { - ClassHandle.prototype['isAliasOf'] = ClassHandle_isAliasOf; - ClassHandle.prototype['clone'] = ClassHandle_clone; - ClassHandle.prototype['delete'] = ClassHandle_delete; - ClassHandle.prototype['isDeleted'] = ClassHandle_isDeleted; - ClassHandle.prototype['deleteLater'] = ClassHandle_deleteLater; - } - function ClassHandle() { - } - - - - function ensureOverloadTable(proto, methodName, humanName) { - if (undefined === proto[methodName].overloadTable) { - var prevFunc = proto[methodName]; - // Inject an overload resolver function that routes to the appropriate overload based on the number of arguments. - proto[methodName] = function() { - // TODO This check can be removed in -O3 level "unsafe" optimizations. - if (!proto[methodName].overloadTable.hasOwnProperty(arguments.length)) { - throwBindingError(`Function '${humanName}' called with an invalid number of arguments (${arguments.length}) - expects one of (${proto[methodName].overloadTable})!`); - } - return proto[methodName].overloadTable[arguments.length].apply(this, arguments); - }; - // Move the previous function into the overload table. - proto[methodName].overloadTable = []; - proto[methodName].overloadTable[prevFunc.argCount] = prevFunc; - } - } - - /** @param {number=} numArguments */ - function exposePublicSymbol(name, value, numArguments) { - if (Module.hasOwnProperty(name)) { - if (undefined === numArguments || (undefined !== Module[name].overloadTable && undefined !== Module[name].overloadTable[numArguments])) { - throwBindingError(`Cannot register public name '${name}' twice`); - } - - // We are exposing a function with the same name as an existing function. Create an overload table and a function selector - // that routes between the two. - ensureOverloadTable(Module, name, name); - if (Module.hasOwnProperty(numArguments)) { - throwBindingError(`Cannot register multiple overloads of a function with the same number of arguments (${numArguments})!`); - } - // Add the new function into the overload table. - Module[name].overloadTable[numArguments] = value; - } - else { - Module[name] = value; - if (undefined !== numArguments) { - Module[name].numArguments = numArguments; - } - } - } - - - - /** @constructor */ - function RegisteredClass(name, - constructor, - instancePrototype, - rawDestructor, - baseClass, - getActualType, - upcast, - downcast) { - this.name = name; - this.constructor = constructor; - this.instancePrototype = instancePrototype; - this.rawDestructor = rawDestructor; - this.baseClass = baseClass; - this.getActualType = getActualType; - this.upcast = upcast; - this.downcast = downcast; - this.pureVirtualFunctions = []; - } - - - function upcastPointer(ptr, ptrClass, desiredClass) { - while (ptrClass !== desiredClass) { - if (!ptrClass.upcast) { - throwBindingError(`Expected null or instance of ${desiredClass.name}, got an instance of ${ptrClass.name}`); - } - ptr = ptrClass.upcast(ptr); - ptrClass = ptrClass.baseClass; - } - return ptr; - } - function constNoSmartPtrRawPointerToWireType(destructors, handle) { - if (handle === null) { - if (this.isReference) { - throwBindingError(`null is not a valid ${this.name}`); - } - return 0; - } - - if (!handle.$$) { - throwBindingError(`Cannot pass "${embindRepr(handle)}" as a ${this.name}`); - } - if (!handle.$$.ptr) { - throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`); - } - var handleClass = handle.$$.ptrType.registeredClass; - var ptr = upcastPointer(handle.$$.ptr, handleClass, this.registeredClass); - return ptr; - } - - - function genericPointerToWireType(destructors, handle) { - var ptr; - if (handle === null) { - if (this.isReference) { - throwBindingError(`null is not a valid ${this.name}`); - } - - if (this.isSmartPointer) { - ptr = this.rawConstructor(); - if (destructors !== null) { - destructors.push(this.rawDestructor, ptr); - } - return ptr; - } else { - return 0; - } - } - - if (!handle.$$) { - throwBindingError(`Cannot pass "${embindRepr(handle)}" as a ${this.name}`); - } - if (!handle.$$.ptr) { - throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`); - } - if (!this.isConst && handle.$$.ptrType.isConst) { - throwBindingError(`Cannot convert argument of type ${(handle.$$.smartPtrType ? handle.$$.smartPtrType.name : handle.$$.ptrType.name)} to parameter type ${this.name}`); - } - var handleClass = handle.$$.ptrType.registeredClass; - ptr = upcastPointer(handle.$$.ptr, handleClass, this.registeredClass); - - if (this.isSmartPointer) { - // TODO: this is not strictly true - // We could support BY_EMVAL conversions from raw pointers to smart pointers - // because the smart pointer can hold a reference to the handle - if (undefined === handle.$$.smartPtr) { - throwBindingError('Passing raw pointer to smart pointer is illegal'); - } - - switch (this.sharingPolicy) { - case 0: // NONE - // no upcasting - if (handle.$$.smartPtrType === this) { - ptr = handle.$$.smartPtr; - } else { - throwBindingError(`Cannot convert argument of type ${(handle.$$.smartPtrType ? handle.$$.smartPtrType.name : handle.$$.ptrType.name)} to parameter type ${this.name}`); - } - break; - - case 1: // INTRUSIVE - ptr = handle.$$.smartPtr; - break; - - case 2: // BY_EMVAL - if (handle.$$.smartPtrType === this) { - ptr = handle.$$.smartPtr; - } else { - var clonedHandle = handle['clone'](); - ptr = this.rawShare( - ptr, - Emval.toHandle(function() { - clonedHandle['delete'](); - }) - ); - if (destructors !== null) { - destructors.push(this.rawDestructor, ptr); - } - } - break; - - default: - throwBindingError('Unsupporting sharing policy'); - } - } - return ptr; - } - - - function nonConstNoSmartPtrRawPointerToWireType(destructors, handle) { - if (handle === null) { - if (this.isReference) { - throwBindingError(`null is not a valid ${this.name}`); - } - return 0; - } - - if (!handle.$$) { - throwBindingError(`Cannot pass "${embindRepr(handle)}" as a ${this.name}`); - } - if (!handle.$$.ptr) { - throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`); - } - if (handle.$$.ptrType.isConst) { - throwBindingError(`Cannot convert argument of type ${handle.$$.ptrType.name} to parameter type ${this.name}`); - } - var handleClass = handle.$$.ptrType.registeredClass; - var ptr = upcastPointer(handle.$$.ptr, handleClass, this.registeredClass); - return ptr; - } - - - function RegisteredPointer_getPointee(ptr) { - if (this.rawGetPointee) { - ptr = this.rawGetPointee(ptr); - } - return ptr; - } - - function RegisteredPointer_destructor(ptr) { - if (this.rawDestructor) { - this.rawDestructor(ptr); - } - } - - function RegisteredPointer_deleteObject(handle) { - if (handle !== null) { - handle['delete'](); - } - } - - function init_RegisteredPointer() { - RegisteredPointer.prototype.getPointee = RegisteredPointer_getPointee; - RegisteredPointer.prototype.destructor = RegisteredPointer_destructor; - RegisteredPointer.prototype['argPackAdvance'] = 8; - RegisteredPointer.prototype['readValueFromPointer'] = simpleReadValueFromPointer; - RegisteredPointer.prototype['deleteObject'] = RegisteredPointer_deleteObject; - RegisteredPointer.prototype['fromWireType'] = RegisteredPointer_fromWireType; - } - /** @constructor - @param {*=} pointeeType, - @param {*=} sharingPolicy, - @param {*=} rawGetPointee, - @param {*=} rawConstructor, - @param {*=} rawShare, - @param {*=} rawDestructor, - */ - function RegisteredPointer( - name, - registeredClass, - isReference, - isConst, - - // smart pointer properties - isSmartPointer, - pointeeType, - sharingPolicy, - rawGetPointee, - rawConstructor, - rawShare, - rawDestructor - ) { - this.name = name; - this.registeredClass = registeredClass; - this.isReference = isReference; - this.isConst = isConst; - - // smart pointer properties - this.isSmartPointer = isSmartPointer; - this.pointeeType = pointeeType; - this.sharingPolicy = sharingPolicy; - this.rawGetPointee = rawGetPointee; - this.rawConstructor = rawConstructor; - this.rawShare = rawShare; - this.rawDestructor = rawDestructor; - - if (!isSmartPointer && registeredClass.baseClass === undefined) { - if (isConst) { - this['toWireType'] = constNoSmartPtrRawPointerToWireType; - this.destructorFunction = null; - } else { - this['toWireType'] = nonConstNoSmartPtrRawPointerToWireType; - this.destructorFunction = null; - } - } else { - this['toWireType'] = genericPointerToWireType; - // Here we must leave this.destructorFunction undefined, since whether genericPointerToWireType returns - // a pointer that needs to be freed up is runtime-dependent, and cannot be evaluated at registration time. - // TODO: Create an alternative mechanism that allows removing the use of var destructors = []; array in - // craftInvokerFunction altogether. - } - } - - /** @param {number=} numArguments */ - function replacePublicSymbol(name, value, numArguments) { - if (!Module.hasOwnProperty(name)) { - throwInternalError('Replacing nonexistant public symbol'); - } - // If there's an overload table for this symbol, replace the symbol in the overload table instead. - if (undefined !== Module[name].overloadTable && undefined !== numArguments) { - Module[name].overloadTable[numArguments] = value; - } - else { - Module[name] = value; - Module[name].argCount = numArguments; - } - } - - - - function dynCallLegacy(sig, ptr, args) { - assert(('dynCall_' + sig) in Module, `bad function pointer type - dynCall function not found for sig '${sig}'`); - if (args && args.length) { - // j (64-bit integer) must be passed in as two numbers [low 32, high 32]. - assert(args.length === sig.substring(1).replace(/j/g, '--').length); - } else { - assert(sig.length == 1); - } - var f = Module['dynCall_' + sig]; - return args && args.length ? f.apply(null, [ptr].concat(args)) : f.call(null, ptr); - } - - var wasmTableMirror = []; - - function getWasmTableEntry(funcPtr) { - var func = wasmTableMirror[funcPtr]; - if (!func) { - if (funcPtr >= wasmTableMirror.length) wasmTableMirror.length = funcPtr + 1; - wasmTableMirror[funcPtr] = func = wasmTable.get(funcPtr); - } - assert(wasmTable.get(funcPtr) == func, "JavaScript-side Wasm function table mirror is out of date!"); - return func; - } - - /** @param {Object=} args */ - function dynCall(sig, ptr, args) { - // Without WASM_BIGINT support we cannot directly call function with i64 as - // part of thier signature, so we rely the dynCall functions generated by - // wasm-emscripten-finalize - if (sig.includes('j')) { - return dynCallLegacy(sig, ptr, args); - } - assert(getWasmTableEntry(ptr), `missing table entry in dynCall: ${ptr}`); - var rtn = getWasmTableEntry(ptr).apply(null, args); - return rtn; - - } - - function getDynCaller(sig, ptr) { - assert(sig.includes('j') || sig.includes('p'), 'getDynCaller should only be called with i64 sigs') - var argCache = []; - return function() { - argCache.length = 0; - Object.assign(argCache, arguments); - return dynCall(sig, ptr, argCache); - }; - } - - - function embind__requireFunction(signature, rawFunction) { - signature = readLatin1String(signature); - - function makeDynCaller() { - if (signature.includes('j')) { - return getDynCaller(signature, rawFunction); - } - return getWasmTableEntry(rawFunction); - } - - var fp = makeDynCaller(); - if (typeof fp != "function") { - throwBindingError(`unknown function pointer with signature ${signature}: ${rawFunction}`); - } - return fp; - } - - - - var UnboundTypeError = undefined; - - function throwUnboundTypeError(message, types) { - var unboundTypes = []; - var seen = {}; - function visit(type) { - if (seen[type]) { - return; - } - if (registeredTypes[type]) { - return; - } - if (typeDependencies[type]) { - typeDependencies[type].forEach(visit); - return; - } - unboundTypes.push(type); - seen[type] = true; - } - types.forEach(visit); - - throw new UnboundTypeError(`${message}: ` + unboundTypes.map(getTypeName).join([', '])); - } - - function __embind_register_class(rawType, - rawPointerType, - rawConstPointerType, - baseClassRawType, - getActualTypeSignature, - getActualType, - upcastSignature, - upcast, - downcastSignature, - downcast, - name, - destructorSignature, - rawDestructor) { - name = readLatin1String(name); - getActualType = embind__requireFunction(getActualTypeSignature, getActualType); - if (upcast) { - upcast = embind__requireFunction(upcastSignature, upcast); - } - if (downcast) { - downcast = embind__requireFunction(downcastSignature, downcast); - } - rawDestructor = embind__requireFunction(destructorSignature, rawDestructor); - var legalFunctionName = makeLegalFunctionName(name); - - exposePublicSymbol(legalFunctionName, function() { - // this code cannot run if baseClassRawType is zero - throwUnboundTypeError(`Cannot construct ${name} due to unbound types`, [baseClassRawType]); - }); - - whenDependentTypesAreResolved( - [rawType, rawPointerType, rawConstPointerType], - baseClassRawType ? [baseClassRawType] : [], - function(base) { - base = base[0]; - - var baseClass; - var basePrototype; - if (baseClassRawType) { - baseClass = base.registeredClass; - basePrototype = baseClass.instancePrototype; - } else { - basePrototype = ClassHandle.prototype; - } - - var constructor = createNamedFunction(legalFunctionName, function() { - if (Object.getPrototypeOf(this) !== instancePrototype) { - throw new BindingError("Use 'new' to construct " + name); - } - if (undefined === registeredClass.constructor_body) { - throw new BindingError(name + " has no accessible constructor"); - } - var body = registeredClass.constructor_body[arguments.length]; - if (undefined === body) { - throw new BindingError(`Tried to invoke ctor of ${name} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(registeredClass.constructor_body).toString()}) parameters instead!`); - } - return body.apply(this, arguments); - }); - - var instancePrototype = Object.create(basePrototype, { - constructor: { value: constructor }, - }); - - constructor.prototype = instancePrototype; - - var registeredClass = new RegisteredClass(name, - constructor, - instancePrototype, - rawDestructor, - baseClass, - getActualType, - upcast, - downcast); - - if (registeredClass.baseClass) { - // Keep track of class hierarchy. Used to allow sub-classes to inherit class functions. - if (registeredClass.baseClass.__derivedClasses === undefined) { - registeredClass.baseClass.__derivedClasses = []; - } - - registeredClass.baseClass.__derivedClasses.push(registeredClass); - } - - var referenceConverter = new RegisteredPointer(name, - registeredClass, - true, - false, - false); - - var pointerConverter = new RegisteredPointer(name + '*', - registeredClass, - false, - false, - false); - - var constPointerConverter = new RegisteredPointer(name + ' const*', - registeredClass, - false, - true, - false); - - registeredPointers[rawType] = { - pointerType: pointerConverter, - constPointerType: constPointerConverter - }; - - replacePublicSymbol(legalFunctionName, constructor); - - return [referenceConverter, pointerConverter, constPointerConverter]; - } - ); - } - - - - function craftInvokerFunction(humanName, argTypes, classType, cppInvokerFunc, cppTargetFunc, /** boolean= */ isAsync) { - // humanName: a human-readable string name for the function to be generated. - // argTypes: An array that contains the embind type objects for all types in the function signature. - // argTypes[0] is the type object for the function return value. - // argTypes[1] is the type object for function this object/class type, or null if not crafting an invoker for a class method. - // argTypes[2...] are the actual function parameters. - // classType: The embind type object for the class to be bound, or null if this is not a method of a class. - // cppInvokerFunc: JS Function object to the C++-side function that interops into C++ code. - // cppTargetFunc: Function pointer (an integer to FUNCTION_TABLE) to the target C++ function the cppInvokerFunc will end up calling. - // isAsync: Optional. If true, returns an async function. Async bindings are only supported with JSPI. - var argCount = argTypes.length; - - if (argCount < 2) { - throwBindingError("argTypes array size mismatch! Must at least get return value and 'this' types!"); - } - - assert(!isAsync, 'Async bindings are only supported with JSPI.'); - - var isClassMethodFunc = (argTypes[1] !== null && classType !== null); - - // Free functions with signature "void function()" do not need an invoker that marshalls between wire types. - // TODO: This omits argument count check - enable only at -O3 or similar. - // if (ENABLE_UNSAFE_OPTS && argCount == 2 && argTypes[0].name == "void" && !isClassMethodFunc) { - // return FUNCTION_TABLE[fn]; - // } - - // Determine if we need to use a dynamic stack to store the destructors for the function parameters. - // TODO: Remove this completely once all function invokers are being dynamically generated. - var needsDestructorStack = false; - - for (var i = 1; i < argTypes.length; ++i) { // Skip return value at index 0 - it's not deleted here. - if (argTypes[i] !== null && argTypes[i].destructorFunction === undefined) { // The type does not define a destructor function - must use dynamic stack - needsDestructorStack = true; - break; - } - } - - var returns = (argTypes[0].name !== "void"); - - var expectedArgCount = argCount - 2; - var argsWired = new Array(expectedArgCount); - var invokerFuncArgs = []; - var destructors = []; - return function() { - if (arguments.length !== expectedArgCount) { - throwBindingError(`function ${humanName} called with ${arguments.length} arguments, expected ${expectedArgCount} args!`); - } - destructors.length = 0; - var thisWired; - invokerFuncArgs.length = isClassMethodFunc ? 2 : 1; - invokerFuncArgs[0] = cppTargetFunc; - if (isClassMethodFunc) { - thisWired = argTypes[1]['toWireType'](destructors, this); - invokerFuncArgs[1] = thisWired; - } - for (var i = 0; i < expectedArgCount; ++i) { - argsWired[i] = argTypes[i + 2]['toWireType'](destructors, arguments[i]); - invokerFuncArgs.push(argsWired[i]); - } - - var rv = cppInvokerFunc.apply(null, invokerFuncArgs); - - function onDone(rv) { - if (needsDestructorStack) { - runDestructors(destructors); - } else { - for (var i = isClassMethodFunc ? 1 : 2; i < argTypes.length; i++) { - var param = i === 1 ? thisWired : argsWired[i - 2]; - if (argTypes[i].destructorFunction !== null) { - argTypes[i].destructorFunction(param); - } - } - } - - if (returns) { - return argTypes[0]['fromWireType'](rv); - } - } - - return onDone(rv); - }; - } - - - function heap32VectorToArray(count, firstElement) { - var array = []; - for (var i = 0; i < count; i++) { - // TODO(https://github.com/emscripten-core/emscripten/issues/17310): - // Find a way to hoist the `>> 2` or `>> 3` out of this loop. - array.push(HEAPU32[(((firstElement)+(i * 4))>>2)]); - } - return array; - } - - - - - function __embind_register_class_class_function(rawClassType, - methodName, - argCount, - rawArgTypesAddr, - invokerSignature, - rawInvoker, - fn, - isAsync) { - var rawArgTypes = heap32VectorToArray(argCount, rawArgTypesAddr); - methodName = readLatin1String(methodName); - rawInvoker = embind__requireFunction(invokerSignature, rawInvoker); - whenDependentTypesAreResolved([], [rawClassType], function(classType) { - classType = classType[0]; - var humanName = `${classType.name}.${methodName}`; - - function unboundTypesHandler() { - throwUnboundTypeError(`Cannot call ${humanName} due to unbound types`, rawArgTypes); - } - - if (methodName.startsWith("@@")) { - methodName = Symbol[methodName.substring(2)]; - } - - var proto = classType.registeredClass.constructor; - if (undefined === proto[methodName]) { - // This is the first function to be registered with this name. - unboundTypesHandler.argCount = argCount-1; - proto[methodName] = unboundTypesHandler; - } else { - // There was an existing function with the same name registered. Set up - // a function overload routing table. - ensureOverloadTable(proto, methodName, humanName); - proto[methodName].overloadTable[argCount-1] = unboundTypesHandler; - } - - whenDependentTypesAreResolved([], rawArgTypes, function(argTypes) { - // Replace the initial unbound-types-handler stub with the proper - // function. If multiple overloads are registered, the function handlers - // go into an overload table. - var invokerArgsArray = [argTypes[0] /* return value */, null /* no class 'this'*/].concat(argTypes.slice(1) /* actual params */); - var func = craftInvokerFunction(humanName, invokerArgsArray, null /* no class 'this'*/, rawInvoker, fn, isAsync); - if (undefined === proto[methodName].overloadTable) { - func.argCount = argCount-1; - proto[methodName] = func; - } else { - proto[methodName].overloadTable[argCount-1] = func; - } - - if (classType.registeredClass.__derivedClasses) { - for (const derivedClass of classType.registeredClass.__derivedClasses) { - if (!derivedClass.constructor.hasOwnProperty(methodName)) { - // TODO: Add support for overloads - derivedClass.constructor[methodName] = func; - } - } - } - - return []; - }); - return []; - }); - } - - - - - - - - function __embind_register_class_constructor( - rawClassType, - argCount, - rawArgTypesAddr, - invokerSignature, - invoker, - rawConstructor - ) { - assert(argCount > 0); - var rawArgTypes = heap32VectorToArray(argCount, rawArgTypesAddr); - invoker = embind__requireFunction(invokerSignature, invoker); - var args = [rawConstructor]; - var destructors = []; - - whenDependentTypesAreResolved([], [rawClassType], function(classType) { - classType = classType[0]; - var humanName = `constructor ${classType.name}`; - - if (undefined === classType.registeredClass.constructor_body) { - classType.registeredClass.constructor_body = []; - } - if (undefined !== classType.registeredClass.constructor_body[argCount - 1]) { - throw new BindingError(`Cannot register multiple constructors with identical number of parameters (${argCount-1}) for class '${classType.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`); - } - classType.registeredClass.constructor_body[argCount - 1] = () => { - throwUnboundTypeError(`Cannot construct ${classType.name} due to unbound types`, rawArgTypes); - }; - - whenDependentTypesAreResolved([], rawArgTypes, function(argTypes) { - // Insert empty slot for context type (argTypes[1]). - argTypes.splice(1, 0, null); - classType.registeredClass.constructor_body[argCount - 1] = craftInvokerFunction(humanName, argTypes, null, invoker, rawConstructor); - return []; - }); - return []; - }); - } - - - - - - - function __embind_register_class_function(rawClassType, - methodName, - argCount, - rawArgTypesAddr, // [ReturnType, ThisType, Args...] - invokerSignature, - rawInvoker, - context, - isPureVirtual, - isAsync) { - var rawArgTypes = heap32VectorToArray(argCount, rawArgTypesAddr); - methodName = readLatin1String(methodName); - rawInvoker = embind__requireFunction(invokerSignature, rawInvoker); - - whenDependentTypesAreResolved([], [rawClassType], function(classType) { - classType = classType[0]; - var humanName = `${classType.name}.${methodName}`; - - if (methodName.startsWith("@@")) { - methodName = Symbol[methodName.substring(2)]; - } - - if (isPureVirtual) { - classType.registeredClass.pureVirtualFunctions.push(methodName); - } - - function unboundTypesHandler() { - throwUnboundTypeError(`Cannot call ${humanName} due to unbound types`, rawArgTypes); - } - - var proto = classType.registeredClass.instancePrototype; - var method = proto[methodName]; - if (undefined === method || (undefined === method.overloadTable && method.className !== classType.name && method.argCount === argCount - 2)) { - // This is the first overload to be registered, OR we are replacing a - // function in the base class with a function in the derived class. - unboundTypesHandler.argCount = argCount - 2; - unboundTypesHandler.className = classType.name; - proto[methodName] = unboundTypesHandler; - } else { - // There was an existing function with the same name registered. Set up - // a function overload routing table. - ensureOverloadTable(proto, methodName, humanName); - proto[methodName].overloadTable[argCount - 2] = unboundTypesHandler; - } - - whenDependentTypesAreResolved([], rawArgTypes, function(argTypes) { - var memberFunction = craftInvokerFunction(humanName, argTypes, classType, rawInvoker, context, isAsync); - - // Replace the initial unbound-handler-stub function with the appropriate member function, now that all types - // are resolved. If multiple overloads are registered for this function, the function goes into an overload table. - if (undefined === proto[methodName].overloadTable) { - // Set argCount in case an overload is registered later - memberFunction.argCount = argCount - 2; - proto[methodName] = memberFunction; - } else { - proto[methodName].overloadTable[argCount - 2] = memberFunction; - } - - return []; - }); - return []; - }); - } - - - - - - - - - function validateThis(this_, classType, humanName) { - if (!(this_ instanceof Object)) { - throwBindingError(`${humanName} with invalid "this": ${this_}`); - } - if (!(this_ instanceof classType.registeredClass.constructor)) { - throwBindingError(`${humanName} incompatible with "this" of type ${this_.constructor.name}`); - } - if (!this_.$$.ptr) { - throwBindingError(`cannot call emscripten binding method ${humanName} on deleted object`); - } - - // todo: kill this - return upcastPointer(this_.$$.ptr, - this_.$$.ptrType.registeredClass, - classType.registeredClass); - } - function __embind_register_class_property(classType, - fieldName, - getterReturnType, - getterSignature, - getter, - getterContext, - setterArgumentType, - setterSignature, - setter, - setterContext) { - fieldName = readLatin1String(fieldName); - getter = embind__requireFunction(getterSignature, getter); - - whenDependentTypesAreResolved([], [classType], function(classType) { - classType = classType[0]; - var humanName = `${classType.name}.${fieldName}`; - var desc = { - get: function() { - throwUnboundTypeError(`Cannot access ${humanName} due to unbound types`, [getterReturnType, setterArgumentType]); - }, - enumerable: true, - configurable: true - }; - if (setter) { - desc.set = () => { - throwUnboundTypeError(`Cannot access ${humanName} due to unbound types`, [getterReturnType, setterArgumentType]); - }; - } else { - desc.set = (v) => { - throwBindingError(humanName + ' is a read-only property'); - }; - } - - Object.defineProperty(classType.registeredClass.instancePrototype, fieldName, desc); - - whenDependentTypesAreResolved( - [], - (setter ? [getterReturnType, setterArgumentType] : [getterReturnType]), - function(types) { - var getterReturnType = types[0]; - var desc = { - get: function() { - var ptr = validateThis(this, classType, humanName + ' getter'); - return getterReturnType['fromWireType'](getter(getterContext, ptr)); - }, - enumerable: true - }; - - if (setter) { - setter = embind__requireFunction(setterSignature, setter); - var setterArgumentType = types[1]; - desc.set = function(v) { - var ptr = validateThis(this, classType, humanName + ' setter'); - var destructors = []; - setter(setterContext, ptr, setterArgumentType['toWireType'](destructors, v)); - runDestructors(destructors); - }; - } - - Object.defineProperty(classType.registeredClass.instancePrototype, fieldName, desc); - return []; - }); - - return []; - }); - } - - - function __embind_register_constant(name, type, value) { - name = readLatin1String(name); - whenDependentTypesAreResolved([], [type], function(type) { - type = type[0]; - Module[name] = type['fromWireType'](value); - return []; - }); - } - - function __emval_decref(handle) { - if (handle >= emval_handles.reserved && 0 === --emval_handles.get(handle).refcount) { - emval_handles.free(handle); - } - } - - - - - function __embind_register_emval(rawType, name) { - name = readLatin1String(name); - registerType(rawType, { - name: name, - 'fromWireType': function(handle) { - var rv = Emval.toValue(handle); - __emval_decref(handle); - return rv; - }, - 'toWireType': function(destructors, value) { - return Emval.toHandle(value); - }, - 'argPackAdvance': 8, - 'readValueFromPointer': simpleReadValueFromPointer, - destructorFunction: null, // This type does not need a destructor - - // TODO: do we need a deleteObject here? write a test where - // emval is passed into JS via an interface - }); - } - - - - function enumReadValueFromPointer(name, shift, signed) { - switch (shift) { - case 0: return function(pointer) { - var heap = signed ? HEAP8 : HEAPU8; - return this['fromWireType'](heap[pointer]); - }; - case 1: return function(pointer) { - var heap = signed ? HEAP16 : HEAPU16; - return this['fromWireType'](heap[pointer >> 1]); - }; - case 2: return function(pointer) { - var heap = signed ? HEAP32 : HEAPU32; - return this['fromWireType'](heap[pointer >> 2]); - }; - default: - throw new TypeError("Unknown integer type: " + name); - } - } - - - function __embind_register_enum(rawType, name, size, isSigned) { - var shift = getShiftFromSize(size); - name = readLatin1String(name); - - function ctor() {} - ctor.values = {}; - - registerType(rawType, { - name: name, - constructor: ctor, - 'fromWireType': function(c) { - return this.constructor.values[c]; - }, - 'toWireType': function(destructors, c) { - return c.value; - }, - 'argPackAdvance': 8, - 'readValueFromPointer': enumReadValueFromPointer(name, shift, isSigned), - destructorFunction: null, - }); - exposePublicSymbol(name, ctor); - } - - - - function __embind_register_enum_value(rawEnumType, name, enumValue) { - var enumType = requireRegisteredType(rawEnumType, 'enum'); - name = readLatin1String(name); - - var Enum = enumType.constructor; - - var Value = Object.create(enumType.constructor.prototype, { - value: {value: enumValue}, - constructor: {value: createNamedFunction(`${enumType.name}_${name}`, function() {})}, - }); - Enum.values[enumValue] = Value; - Enum[name] = Value; - } - - function embindRepr(v) { - if (v === null) { - return 'null'; - } - var t = typeof v; - if (t === 'object' || t === 'array' || t === 'function') { - return v.toString(); - } else { - return '' + v; - } - } - - function floatReadValueFromPointer(name, shift) { - switch (shift) { - case 2: return function(pointer) { - return this['fromWireType'](HEAPF32[pointer >> 2]); - }; - case 3: return function(pointer) { - return this['fromWireType'](HEAPF64[pointer >> 3]); - }; - default: - throw new TypeError("Unknown float type: " + name); - } - } - - - - function __embind_register_float(rawType, name, size) { - var shift = getShiftFromSize(size); - name = readLatin1String(name); - registerType(rawType, { - name: name, - 'fromWireType': function(value) { - return value; - }, - 'toWireType': function(destructors, value) { - if (typeof value != "number" && typeof value != "boolean") { - throw new TypeError(`Cannot convert ${embindRepr(value)} to ${this.name}`); - } - // The VM will perform JS to Wasm value conversion, according to the spec: - // https://www.w3.org/TR/wasm-js-api-1/#towebassemblyvalue - return value; - }, - 'argPackAdvance': 8, - 'readValueFromPointer': floatReadValueFromPointer(name, shift), - destructorFunction: null, // This type does not need a destructor - }); - } - - - - - - - - - function __embind_register_function(name, argCount, rawArgTypesAddr, signature, rawInvoker, fn, isAsync) { - var argTypes = heap32VectorToArray(argCount, rawArgTypesAddr); - name = readLatin1String(name); - - rawInvoker = embind__requireFunction(signature, rawInvoker); - - exposePublicSymbol(name, function() { - throwUnboundTypeError(`Cannot call ${name} due to unbound types`, argTypes); - }, argCount - 1); - - whenDependentTypesAreResolved([], argTypes, function(argTypes) { - var invokerArgsArray = [argTypes[0] /* return value */, null /* no class 'this'*/].concat(argTypes.slice(1) /* actual params */); - replacePublicSymbol(name, craftInvokerFunction(name, invokerArgsArray, null /* no class 'this'*/, rawInvoker, fn, isAsync), argCount - 1); - return []; - }); - } - - - - function integerReadValueFromPointer(name, shift, signed) { - // integers are quite common, so generate very specialized functions - switch (shift) { - case 0: return signed ? - function readS8FromPointer(pointer) { return HEAP8[pointer]; } : - function readU8FromPointer(pointer) { return HEAPU8[pointer]; }; - case 1: return signed ? - function readS16FromPointer(pointer) { return HEAP16[pointer >> 1]; } : - function readU16FromPointer(pointer) { return HEAPU16[pointer >> 1]; }; - case 2: return signed ? - function readS32FromPointer(pointer) { return HEAP32[pointer >> 2]; } : - function readU32FromPointer(pointer) { return HEAPU32[pointer >> 2]; }; - default: - throw new TypeError("Unknown integer type: " + name); - } - } - - - function __embind_register_integer(primitiveType, name, size, minRange, maxRange) { - name = readLatin1String(name); - // LLVM doesn't have signed and unsigned 32-bit types, so u32 literals come - // out as 'i32 -1'. Always treat those as max u32. - if (maxRange === -1) { - maxRange = 4294967295; - } - - var shift = getShiftFromSize(size); - - var fromWireType = (value) => value; - - if (minRange === 0) { - var bitshift = 32 - 8*size; - fromWireType = (value) => (value << bitshift) >>> bitshift; - } - - var isUnsignedType = (name.includes('unsigned')); - var checkAssertions = (value, toTypeName) => { - if (typeof value != "number" && typeof value != "boolean") { - throw new TypeError(`Cannot convert "${embindRepr(value)}" to ${toTypeName}`); - } - if (value < minRange || value > maxRange) { - throw new TypeError(`Passing a number "${embindRepr(value)}" from JS side to C/C++ side to an argument of type "${name}", which is outside the valid range [${minRange}, ${maxRange}]!`); - } - } - var toWireType; - if (isUnsignedType) { - toWireType = function(destructors, value) { - checkAssertions(value, this.name); - return value >>> 0; - } - } else { - toWireType = function(destructors, value) { - checkAssertions(value, this.name); - // The VM will perform JS to Wasm value conversion, according to the spec: - // https://www.w3.org/TR/wasm-js-api-1/#towebassemblyvalue - return value; - } - } - registerType(primitiveType, { - name: name, - 'fromWireType': fromWireType, - 'toWireType': toWireType, - 'argPackAdvance': 8, - 'readValueFromPointer': integerReadValueFromPointer(name, shift, minRange !== 0), - destructorFunction: null, // This type does not need a destructor - }); - } - - - function __embind_register_memory_view(rawType, dataTypeIndex, name) { - var typeMapping = [ - Int8Array, - Uint8Array, - Int16Array, - Uint16Array, - Int32Array, - Uint32Array, - Float32Array, - Float64Array, - ]; - - var TA = typeMapping[dataTypeIndex]; - - function decodeMemoryView(handle) { - handle = handle >> 2; - var heap = HEAPU32; - var size = heap[handle]; // in elements - var data = heap[handle + 1]; // byte offset into emscripten heap - return new TA(heap.buffer, data, size); - } - - name = readLatin1String(name); - registerType(rawType, { - name: name, - 'fromWireType': decodeMemoryView, - 'argPackAdvance': 8, - 'readValueFromPointer': decodeMemoryView, - }, { - ignoreDuplicateRegistrations: true, - }); - } - - - - - - function stringToUTF8Array(str, heap, outIdx, maxBytesToWrite) { - assert(typeof str === 'string'); - // Parameter maxBytesToWrite is not optional. Negative values, 0, null, - // undefined and false each don't write out any bytes. - if (!(maxBytesToWrite > 0)) - return 0; - - var startIdx = outIdx; - var endIdx = outIdx + maxBytesToWrite - 1; // -1 for string null terminator. - for (var i = 0; i < str.length; ++i) { - // Gotcha: charCodeAt returns a 16-bit word that is a UTF-16 encoded code - // unit, not a Unicode code point of the character! So decode - // UTF16->UTF32->UTF8. - // See http://unicode.org/faq/utf_bom.html#utf16-3 - // For UTF8 byte structure, see http://en.wikipedia.org/wiki/UTF-8#Description - // and https://www.ietf.org/rfc/rfc2279.txt - // and https://tools.ietf.org/html/rfc3629 - var u = str.charCodeAt(i); // possibly a lead surrogate - if (u >= 0xD800 && u <= 0xDFFF) { - var u1 = str.charCodeAt(++i); - u = 0x10000 + ((u & 0x3FF) << 10) | (u1 & 0x3FF); - } - if (u <= 0x7F) { - if (outIdx >= endIdx) break; - heap[outIdx++] = u; - } else if (u <= 0x7FF) { - if (outIdx + 1 >= endIdx) break; - heap[outIdx++] = 0xC0 | (u >> 6); - heap[outIdx++] = 0x80 | (u & 63); - } else if (u <= 0xFFFF) { - if (outIdx + 2 >= endIdx) break; - heap[outIdx++] = 0xE0 | (u >> 12); - heap[outIdx++] = 0x80 | ((u >> 6) & 63); - heap[outIdx++] = 0x80 | (u & 63); - } else { - if (outIdx + 3 >= endIdx) break; - if (u > 0x10FFFF) warnOnce('Invalid Unicode code point ' + ptrToString(u) + ' encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x10FFFF).'); - heap[outIdx++] = 0xF0 | (u >> 18); - heap[outIdx++] = 0x80 | ((u >> 12) & 63); - heap[outIdx++] = 0x80 | ((u >> 6) & 63); - heap[outIdx++] = 0x80 | (u & 63); - } - } - // Null-terminate the pointer to the buffer. - heap[outIdx] = 0; - return outIdx - startIdx; - } - function stringToUTF8(str, outPtr, maxBytesToWrite) { - assert(typeof maxBytesToWrite == 'number', 'stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!'); - return stringToUTF8Array(str, HEAPU8,outPtr, maxBytesToWrite); - } - - function lengthBytesUTF8(str) { - var len = 0; - for (var i = 0; i < str.length; ++i) { - // Gotcha: charCodeAt returns a 16-bit word that is a UTF-16 encoded code - // unit, not a Unicode code point of the character! So decode - // UTF16->UTF32->UTF8. - // See http://unicode.org/faq/utf_bom.html#utf16-3 - var c = str.charCodeAt(i); // possibly a lead surrogate - if (c <= 0x7F) { - len++; - } else if (c <= 0x7FF) { - len += 2; - } else if (c >= 0xD800 && c <= 0xDFFF) { - len += 4; ++i; - } else { - len += 3; - } - } - return len; - } - - - - function __embind_register_std_string(rawType, name) { - name = readLatin1String(name); - var stdStringIsUTF8 - //process only std::string bindings with UTF8 support, in contrast to e.g. std::basic_string - = (name === "std::string"); - - registerType(rawType, { - name: name, - 'fromWireType': function(value) { - var length = HEAPU32[((value)>>2)]; - var payload = value + 4; - - var str; - if (stdStringIsUTF8) { - var decodeStartPtr = payload; - // Looping here to support possible embedded '0' bytes - for (var i = 0; i <= length; ++i) { - var currentBytePtr = payload + i; - if (i == length || HEAPU8[currentBytePtr] == 0) { - var maxRead = currentBytePtr - decodeStartPtr; - var stringSegment = UTF8ToString(decodeStartPtr, maxRead); - if (str === undefined) { - str = stringSegment; - } else { - str += String.fromCharCode(0); - str += stringSegment; - } - decodeStartPtr = currentBytePtr + 1; - } - } - } else { - var a = new Array(length); - for (var i = 0; i < length; ++i) { - a[i] = String.fromCharCode(HEAPU8[payload + i]); - } - str = a.join(''); - } - - _free(value); - - return str; - }, - 'toWireType': function(destructors, value) { - if (value instanceof ArrayBuffer) { - value = new Uint8Array(value); - } - - var length; - var valueIsOfTypeString = (typeof value == 'string'); - - if (!(valueIsOfTypeString || value instanceof Uint8Array || value instanceof Uint8ClampedArray || value instanceof Int8Array)) { - throwBindingError('Cannot pass non-string to std::string'); - } - if (stdStringIsUTF8 && valueIsOfTypeString) { - length = lengthBytesUTF8(value); - } else { - length = value.length; - } - - // assumes 4-byte alignment - var base = _malloc(4 + length + 1); - var ptr = base + 4; - HEAPU32[((base)>>2)] = length; - if (stdStringIsUTF8 && valueIsOfTypeString) { - stringToUTF8(value, ptr, length + 1); - } else { - if (valueIsOfTypeString) { - for (var i = 0; i < length; ++i) { - var charCode = value.charCodeAt(i); - if (charCode > 255) { - _free(ptr); - throwBindingError('String has UTF-16 code units that do not fit in 8 bits'); - } - HEAPU8[ptr + i] = charCode; - } - } else { - for (var i = 0; i < length; ++i) { - HEAPU8[ptr + i] = value[i]; - } - } - } - - if (destructors !== null) { - destructors.push(_free, base); - } - return base; - }, - 'argPackAdvance': 8, - 'readValueFromPointer': simpleReadValueFromPointer, - destructorFunction: function(ptr) { _free(ptr); }, - }); - } - - - - - var UTF16Decoder = typeof TextDecoder != 'undefined' ? new TextDecoder('utf-16le') : undefined;; - function UTF16ToString(ptr, maxBytesToRead) { - assert(ptr % 2 == 0, 'Pointer passed to UTF16ToString must be aligned to two bytes!'); - var endPtr = ptr; - // TextDecoder needs to know the byte length in advance, it doesn't stop on - // null terminator by itself. - // Also, use the length info to avoid running tiny strings through - // TextDecoder, since .subarray() allocates garbage. - var idx = endPtr >> 1; - var maxIdx = idx + maxBytesToRead / 2; - // If maxBytesToRead is not passed explicitly, it will be undefined, and this - // will always evaluate to true. This saves on code size. - while (!(idx >= maxIdx) && HEAPU16[idx]) ++idx; - endPtr = idx << 1; - - if (endPtr - ptr > 32 && UTF16Decoder) - return UTF16Decoder.decode(HEAPU8.subarray(ptr, endPtr)); - - // Fallback: decode without UTF16Decoder - var str = ''; - - // If maxBytesToRead is not passed explicitly, it will be undefined, and the - // for-loop's condition will always evaluate to true. The loop is then - // terminated on the first null char. - for (var i = 0; !(i >= maxBytesToRead / 2); ++i) { - var codeUnit = HEAP16[(((ptr)+(i*2))>>1)]; - if (codeUnit == 0) break; - // fromCharCode constructs a character from a UTF-16 code unit, so we can - // pass the UTF16 string right through. - str += String.fromCharCode(codeUnit); - } - - return str; - } - - function stringToUTF16(str, outPtr, maxBytesToWrite) { - assert(outPtr % 2 == 0, 'Pointer passed to stringToUTF16 must be aligned to two bytes!'); - assert(typeof maxBytesToWrite == 'number', 'stringToUTF16(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!'); - // Backwards compatibility: if max bytes is not specified, assume unsafe unbounded write is allowed. - if (maxBytesToWrite === undefined) { - maxBytesToWrite = 0x7FFFFFFF; - } - if (maxBytesToWrite < 2) return 0; - maxBytesToWrite -= 2; // Null terminator. - var startPtr = outPtr; - var numCharsToWrite = (maxBytesToWrite < str.length*2) ? (maxBytesToWrite / 2) : str.length; - for (var i = 0; i < numCharsToWrite; ++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)>>1)] = codeUnit; - outPtr += 2; - } - // Null-terminate the pointer to the HEAP. - HEAP16[((outPtr)>>1)] = 0; - return outPtr - startPtr; - } - - function lengthBytesUTF16(str) { - return str.length*2; - } - - function UTF32ToString(ptr, maxBytesToRead) { - assert(ptr % 4 == 0, 'Pointer passed to UTF32ToString must be aligned to four bytes!'); - var i = 0; - - var str = ''; - // If maxBytesToRead is not passed explicitly, it will be undefined, and this - // will always evaluate to true. This saves on code size. - while (!(i >= maxBytesToRead / 4)) { - var utf32 = HEAP32[(((ptr)+(i*4))>>2)]; - if (utf32 == 0) break; - ++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. - // See http://unicode.org/faq/utf_bom.html#utf16-3 - if (utf32 >= 0x10000) { - var ch = utf32 - 0x10000; - str += String.fromCharCode(0xD800 | (ch >> 10), 0xDC00 | (ch & 0x3FF)); - } else { - str += String.fromCharCode(utf32); - } - } - return str; - } - - function stringToUTF32(str, outPtr, maxBytesToWrite) { - assert(outPtr % 4 == 0, 'Pointer passed to stringToUTF32 must be aligned to four bytes!'); - assert(typeof maxBytesToWrite == 'number', 'stringToUTF32(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!'); - // Backwards compatibility: if max bytes is not specified, assume unsafe unbounded write is allowed. - if (maxBytesToWrite === undefined) { - maxBytesToWrite = 0x7FFFFFFF; - } - if (maxBytesToWrite < 4) return 0; - var startPtr = outPtr; - var endPtr = startPtr + maxBytesToWrite - 4; - for (var i = 0; i < str.length; ++i) { - // 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. - // See http://unicode.org/faq/utf_bom.html#utf16-3 - var codeUnit = str.charCodeAt(i); // possibly a lead surrogate - if (codeUnit >= 0xD800 && codeUnit <= 0xDFFF) { - var trailSurrogate = str.charCodeAt(++i); - codeUnit = 0x10000 + ((codeUnit & 0x3FF) << 10) | (trailSurrogate & 0x3FF); - } - HEAP32[((outPtr)>>2)] = codeUnit; - outPtr += 4; - if (outPtr + 4 > endPtr) break; - } - // Null-terminate the pointer to the HEAP. - HEAP32[((outPtr)>>2)] = 0; - return outPtr - startPtr; - } - - function lengthBytesUTF32(str) { - var len = 0; - for (var i = 0; i < str.length; ++i) { - // 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. - // See http://unicode.org/faq/utf_bom.html#utf16-3 - var codeUnit = str.charCodeAt(i); - if (codeUnit >= 0xD800 && codeUnit <= 0xDFFF) ++i; // possibly a lead surrogate, so skip over the tail surrogate. - len += 4; - } - - return len; - } - function __embind_register_std_wstring(rawType, charSize, name) { - name = readLatin1String(name); - var decodeString, encodeString, getHeap, lengthBytesUTF, shift; - if (charSize === 2) { - decodeString = UTF16ToString; - encodeString = stringToUTF16; - lengthBytesUTF = lengthBytesUTF16; - getHeap = () => HEAPU16; - shift = 1; - } else if (charSize === 4) { - decodeString = UTF32ToString; - encodeString = stringToUTF32; - lengthBytesUTF = lengthBytesUTF32; - getHeap = () => HEAPU32; - shift = 2; - } - registerType(rawType, { - name: name, - 'fromWireType': function(value) { - // Code mostly taken from _embind_register_std_string fromWireType - var length = HEAPU32[value >> 2]; - var HEAP = getHeap(); - var str; - - var decodeStartPtr = value + 4; - // Looping here to support possible embedded '0' bytes - for (var i = 0; i <= length; ++i) { - var currentBytePtr = value + 4 + i * charSize; - if (i == length || HEAP[currentBytePtr >> shift] == 0) { - var maxReadBytes = currentBytePtr - decodeStartPtr; - var stringSegment = decodeString(decodeStartPtr, maxReadBytes); - if (str === undefined) { - str = stringSegment; - } else { - str += String.fromCharCode(0); - str += stringSegment; - } - decodeStartPtr = currentBytePtr + charSize; - } - } - - _free(value); - - return str; - }, - 'toWireType': function(destructors, value) { - if (!(typeof value == 'string')) { - throwBindingError(`Cannot pass non-string to C++ string type ${name}`); - } - - // assumes 4-byte alignment - var length = lengthBytesUTF(value); - var ptr = _malloc(4 + length + charSize); - HEAPU32[ptr >> 2] = length >> shift; - - encodeString(value, ptr + 4, length + charSize); - - if (destructors !== null) { - destructors.push(_free, ptr); - } - return ptr; - }, - 'argPackAdvance': 8, - 'readValueFromPointer': simpleReadValueFromPointer, - destructorFunction: function(ptr) { _free(ptr); }, - }); - } - - - - function __embind_register_value_object( - rawType, - name, - constructorSignature, - rawConstructor, - destructorSignature, - rawDestructor - ) { - structRegistrations[rawType] = { - name: readLatin1String(name), - rawConstructor: embind__requireFunction(constructorSignature, rawConstructor), - rawDestructor: embind__requireFunction(destructorSignature, rawDestructor), - fields: [], - }; - } - - - - function __embind_register_value_object_field( - structType, - fieldName, - getterReturnType, - getterSignature, - getter, - getterContext, - setterArgumentType, - setterSignature, - setter, - setterContext - ) { - structRegistrations[structType].fields.push({ - fieldName: readLatin1String(fieldName), - getterReturnType: getterReturnType, - getter: embind__requireFunction(getterSignature, getter), - getterContext: getterContext, - setterArgumentType: setterArgumentType, - setter: embind__requireFunction(setterSignature, setter), - setterContext: setterContext, - }); - } - - - function __embind_register_void(rawType, name) { - name = readLatin1String(name); - registerType(rawType, { - isVoid: true, // void return values can be optimized out sometimes - name: name, - 'argPackAdvance': 0, - 'fromWireType': function() { - return undefined; - }, - 'toWireType': function(destructors, o) { - // TODO: assert if anything else is given? - return undefined; - }, - }); - } - - function emval_allocateDestructors(destructorsRef) { - var destructors = []; - HEAPU32[((destructorsRef)>>2)] = Emval.toHandle(destructors); - return destructors; - } - - var emval_symbols = {}; - - function getStringOrSymbol(address) { - var symbol = emval_symbols[address]; - if (symbol === undefined) { - return readLatin1String(address); - } - return symbol; - } - - var emval_methodCallers = []; - - function __emval_call_method(caller, handle, methodName, destructorsRef, args) { - caller = emval_methodCallers[caller]; - handle = Emval.toValue(handle); - methodName = getStringOrSymbol(methodName); - return caller(handle, methodName, emval_allocateDestructors(destructorsRef), args); - } - - - - - function __emval_call_void_method(caller, handle, methodName, args) { - caller = emval_methodCallers[caller]; - handle = Emval.toValue(handle); - methodName = getStringOrSymbol(methodName); - caller(handle, methodName, null, args); - } - - - function emval_addMethodCaller(caller) { - var id = emval_methodCallers.length; - emval_methodCallers.push(caller); - return id; - } - - function emval_lookupTypes(argCount, argTypes) { - var a = new Array(argCount); - for (var i = 0; i < argCount; ++i) { - a[i] = requireRegisteredType(HEAPU32[(((argTypes)+(i * 4))>>2)], - "parameter " + i); - } - return a; - } - - - var emval_registeredMethods = []; - function __emval_get_method_caller(argCount, argTypes) { - var types = emval_lookupTypes(argCount, argTypes); - var retType = types[0]; - var signatureName = retType.name + "_$" + types.slice(1).map(function (t) { return t.name; }).join("_") + "$"; - var returnId = emval_registeredMethods[signatureName]; - if (returnId !== undefined) { - return returnId; - } - - var argN = new Array(argCount - 1); - var invokerFunction = (handle, name, destructors, args) => { - var offset = 0; - for (var i = 0; i < argCount - 1; ++i) { - argN[i] = types[i + 1]['readValueFromPointer'](args + offset); - offset += types[i + 1]['argPackAdvance']; - } - var rv = handle[name].apply(handle, argN); - for (var i = 0; i < argCount - 1; ++i) { - if (types[i + 1].deleteObject) { - types[i + 1].deleteObject(argN[i]); - } - } - if (!retType.isVoid) { - return retType['toWireType'](destructors, rv); - } - }; - returnId = emval_addMethodCaller(invokerFunction); - emval_registeredMethods[signatureName] = returnId; - return returnId; - } - - function __emval_incref(handle) { - if (handle > 4) { - emval_handles.get(handle).refcount += 1; - } - } - - - - function __emval_run_destructors(handle) { - var destructors = Emval.toValue(handle); - runDestructors(destructors); - __emval_decref(handle); - } - - - function __emval_take_value(type, arg) { - type = requireRegisteredType(type, '_emval_take_value'); - var v = type['readValueFromPointer'](arg); - return Emval.toHandle(v); - } - - function _abort() { - abort('native code called abort()'); - } - - function _emscripten_memcpy_big(dest, src, num) { - HEAPU8.copyWithin(dest, src, src + num); - } - - function getHeapMax() { - // Stay one Wasm page short of 4GB: while e.g. Chrome is able to allocate - // full 4GB Wasm memories, the size will wrap back to 0 bytes in Wasm side - // for any code that deals with heap sizes, which would require special - // casing all heap size related code to treat 0 specially. - return 2147483648; - } - - function emscripten_realloc_buffer(size) { - var b = wasmMemory.buffer; - var pages = (size - b.byteLength + 65535) >>> 16; - try { - // round size grow request up to wasm page size (fixed 64KB per spec) - wasmMemory.grow(pages); // .grow() takes a delta compared to the previous size - updateMemoryViews(); - return 1 /*success*/; - } catch(e) { - err(`emscripten_realloc_buffer: Attempted to grow heap from ${b.byteLength} bytes to ${size} bytes, but got error: ${e}`); - } - // implicit 0 return to save code size (caller will cast "undefined" into 0 - // anyhow) - } - function _emscripten_resize_heap(requestedSize) { - var oldSize = HEAPU8.length; - requestedSize = requestedSize >>> 0; - // With multithreaded builds, races can happen (another thread might increase the size - // in between), so return a failure, and let the caller retry. - assert(requestedSize > oldSize); - - // Memory resize rules: - // 1. Always increase heap size to at least the requested size, rounded up - // to next page multiple. - // 2a. If MEMORY_GROWTH_LINEAR_STEP == -1, excessively resize the heap - // geometrically: increase the heap size according to - // MEMORY_GROWTH_GEOMETRIC_STEP factor (default +20%), At most - // overreserve by MEMORY_GROWTH_GEOMETRIC_CAP bytes (default 96MB). - // 2b. If MEMORY_GROWTH_LINEAR_STEP != -1, excessively resize the heap - // linearly: increase the heap size by at least - // MEMORY_GROWTH_LINEAR_STEP bytes. - // 3. Max size for the heap is capped at 2048MB-WASM_PAGE_SIZE, or by - // MAXIMUM_MEMORY, or by ASAN limit, depending on which is smallest - // 4. If we were unable to allocate as much memory, it may be due to - // over-eager decision to excessively reserve due to (3) above. - // Hence if an allocation fails, cut down on the amount of excess - // growth, in an attempt to succeed to perform a smaller allocation. - - // A limit is set for how much we can grow. We should not exceed that - // (the wasm binary specifies it, so if we tried, we'd fail anyhow). - var maxHeapSize = getHeapMax(); - if (requestedSize > maxHeapSize) { - err(`Cannot enlarge memory, asked to go up to ${requestedSize} bytes, but the limit is ${maxHeapSize} bytes!`); - return false; - } - - var alignUp = (x, multiple) => x + (multiple - x % multiple) % multiple; - - // Loop through potential heap size increases. If we attempt a too eager - // reservation that fails, cut down on the attempted size and reserve a - // smaller bump instead. (max 3 times, chosen somewhat arbitrarily) - for (var cutDown = 1; cutDown <= 4; cutDown *= 2) { - var overGrownHeapSize = oldSize * (1 + 0.2 / cutDown); // ensure geometric growth - // but limit overreserving (default to capping at +96MB overgrowth at most) - overGrownHeapSize = Math.min(overGrownHeapSize, requestedSize + 100663296 ); - - var newSize = Math.min(maxHeapSize, alignUp(Math.max(requestedSize, overGrownHeapSize), 65536)); - - var replacement = emscripten_realloc_buffer(newSize); - if (replacement) { - - return true; - } - } - err(`Failed to grow the heap from ${oldSize} bytes to ${newSize} bytes, not enough memory!`); - return false; - } - - var SYSCALLS = {varargs:undefined,get:function() { - assert(SYSCALLS.varargs != undefined); - SYSCALLS.varargs += 4; - var ret = HEAP32[(((SYSCALLS.varargs)-(4))>>2)]; - return ret; - },getStr:function(ptr) { - var ret = UTF8ToString(ptr); - return ret; - }}; - function _fd_close(fd) { - abort('fd_close called without SYSCALLS_REQUIRE_FILESYSTEM'); - } - - function convertI32PairToI53Checked(lo, hi) { - assert(lo == (lo >>> 0) || lo == (lo|0)); // lo should either be a i32 or a u32 - assert(hi === (hi|0)); // hi should be a i32 - return ((hi + 0x200000) >>> 0 < 0x400001 - !!lo) ? (lo >>> 0) + hi * 4294967296 : NaN; - } - - - - - function _fd_seek(fd, offset_low, offset_high, whence, newOffset) { - return 70; - } - - var printCharBuffers = [null,[],[]]; - - function printChar(stream, curr) { - var buffer = printCharBuffers[stream]; - assert(buffer); - if (curr === 0 || curr === 10) { - (stream === 1 ? out : err)(UTF8ArrayToString(buffer, 0)); - buffer.length = 0; - } else { - buffer.push(curr); - } - } - - function flush_NO_FILESYSTEM() { - // flush anything remaining in the buffers during shutdown - _fflush(0); - if (printCharBuffers[1].length) printChar(1, 10); - if (printCharBuffers[2].length) printChar(2, 10); - } - - - function _fd_write(fd, iov, iovcnt, pnum) { - // hack to support printf in SYSCALLS_REQUIRE_FILESYSTEM=0 - var num = 0; - for (var i = 0; i < iovcnt; i++) { - var ptr = HEAPU32[((iov)>>2)]; - var len = HEAPU32[(((iov)+(4))>>2)]; - iov += 8; - for (var j = 0; j < len; j++) { - printChar(fd, HEAPU8[ptr+j]); - } - num += len; - } - HEAPU32[((pnum)>>2)] = num; - return 0; - } -BindingError = Module['BindingError'] = extendError(Error, 'BindingError');; -init_emval();; -PureVirtualError = Module['PureVirtualError'] = extendError(Error, 'PureVirtualError');; -embind_init_charCodes(); -init_embind();; -InternalError = Module['InternalError'] = extendError(Error, 'InternalError');; -init_ClassHandle(); -init_RegisteredPointer(); -UnboundTypeError = Module['UnboundTypeError'] = extendError(Error, 'UnboundTypeError');; -function checkIncomingModuleAPI() { - ignoredModuleProp('fetchSettings'); -} -var wasmImports = { - "__assert_fail": ___assert_fail, - "_embind_create_inheriting_constructor": __embind_create_inheriting_constructor, - "_embind_finalize_value_object": __embind_finalize_value_object, - "_embind_register_bigint": __embind_register_bigint, - "_embind_register_bool": __embind_register_bool, - "_embind_register_class": __embind_register_class, - "_embind_register_class_class_function": __embind_register_class_class_function, - "_embind_register_class_constructor": __embind_register_class_constructor, - "_embind_register_class_function": __embind_register_class_function, - "_embind_register_class_property": __embind_register_class_property, - "_embind_register_constant": __embind_register_constant, - "_embind_register_emval": __embind_register_emval, - "_embind_register_enum": __embind_register_enum, - "_embind_register_enum_value": __embind_register_enum_value, - "_embind_register_float": __embind_register_float, - "_embind_register_function": __embind_register_function, - "_embind_register_integer": __embind_register_integer, - "_embind_register_memory_view": __embind_register_memory_view, - "_embind_register_std_string": __embind_register_std_string, - "_embind_register_std_wstring": __embind_register_std_wstring, - "_embind_register_value_object": __embind_register_value_object, - "_embind_register_value_object_field": __embind_register_value_object_field, - "_embind_register_void": __embind_register_void, - "_emval_call_method": __emval_call_method, - "_emval_call_void_method": __emval_call_void_method, - "_emval_decref": __emval_decref, - "_emval_get_method_caller": __emval_get_method_caller, - "_emval_incref": __emval_incref, - "_emval_run_destructors": __emval_run_destructors, - "_emval_take_value": __emval_take_value, - "abort": _abort, - "emscripten_memcpy_big": _emscripten_memcpy_big, - "emscripten_resize_heap": _emscripten_resize_heap, - "fd_close": _fd_close, - "fd_seek": _fd_seek, - "fd_write": _fd_write -}; -var asm = createWasm(); -/** @type {function(...*):?} */ -var ___wasm_call_ctors = createExportWrapper("__wasm_call_ctors"); -/** @type {function(...*):?} */ -var _malloc = createExportWrapper("malloc"); -/** @type {function(...*):?} */ -var _free = createExportWrapper("free"); -/** @type {function(...*):?} */ -var ___getTypeName = createExportWrapper("__getTypeName"); -/** @type {function(...*):?} */ -var __embind_initialize_bindings = Module["__embind_initialize_bindings"] = createExportWrapper("_embind_initialize_bindings"); -/** @type {function(...*):?} */ -var ___errno_location = createExportWrapper("__errno_location"); -/** @type {function(...*):?} */ -var _fflush = Module["_fflush"] = createExportWrapper("fflush"); -/** @type {function(...*):?} */ -var _emscripten_stack_init = function() { - return (_emscripten_stack_init = Module["asm"]["emscripten_stack_init"]).apply(null, arguments); -}; - -/** @type {function(...*):?} */ -var _emscripten_stack_get_free = function() { - return (_emscripten_stack_get_free = Module["asm"]["emscripten_stack_get_free"]).apply(null, arguments); -}; - -/** @type {function(...*):?} */ -var _emscripten_stack_get_base = function() { - return (_emscripten_stack_get_base = Module["asm"]["emscripten_stack_get_base"]).apply(null, arguments); -}; - -/** @type {function(...*):?} */ -var _emscripten_stack_get_end = function() { - return (_emscripten_stack_get_end = Module["asm"]["emscripten_stack_get_end"]).apply(null, arguments); -}; - -/** @type {function(...*):?} */ -var stackSave = createExportWrapper("stackSave"); -/** @type {function(...*):?} */ -var stackRestore = createExportWrapper("stackRestore"); -/** @type {function(...*):?} */ -var stackAlloc = createExportWrapper("stackAlloc"); -/** @type {function(...*):?} */ -var _emscripten_stack_get_current = function() { - return (_emscripten_stack_get_current = Module["asm"]["emscripten_stack_get_current"]).apply(null, arguments); -}; - -/** @type {function(...*):?} */ -var dynCall_jiji = Module["dynCall_jiji"] = createExportWrapper("dynCall_jiji"); - - -// include: postamble.js -// === Auto-generated postamble setup entry stuff === - -var missingLibrarySymbols = [ - 'zeroMemory', - 'exitJS', - 'isLeapYear', - 'ydayFromDate', - 'arraySum', - 'addDays', - 'setErrNo', - 'inetPton4', - 'inetNtop4', - 'inetPton6', - 'inetNtop6', - 'readSockaddr', - 'writeSockaddr', - 'getHostByName', - 'initRandomFill', - 'randomFill', - 'traverseStack', - 'getCallstack', - 'emscriptenLog', - 'convertPCtoSourceLocation', - 'readEmAsmArgs', - 'jstoi_q', - 'jstoi_s', - 'getExecutableName', - 'listenOnce', - 'autoResumeAudioContext', - 'handleException', - 'runtimeKeepalivePush', - 'runtimeKeepalivePop', - 'callUserCallback', - 'maybeExit', - 'safeSetTimeout', - 'asmjsMangle', - 'asyncLoad', - 'alignMemory', - 'mmapAlloc', - 'getNativeTypeSize', - 'STACK_SIZE', - 'STACK_ALIGN', - 'POINTER_SIZE', - 'ASSERTIONS', - 'writeI53ToI64', - 'writeI53ToI64Clamped', - 'writeI53ToI64Signaling', - 'writeI53ToU64Clamped', - 'writeI53ToU64Signaling', - 'readI53FromI64', - 'readI53FromU64', - 'convertI32PairToI53', - 'convertU32PairToI53', - 'getCFunc', - 'ccall', - 'cwrap', - 'uleb128Encode', - 'sigToWasmTypes', - 'generateFuncType', - 'convertJsFunctionToWasm', - 'getEmptyTableSlot', - 'updateTableMap', - 'getFunctionAddress', - 'addFunction', - 'removeFunction', - 'reallyNegative', - 'unSign', - 'strLen', - 'reSign', - 'formatString', - 'intArrayFromString', - 'intArrayToString', - 'AsciiToString', - 'stringToAscii', - 'stringToNewUTF8', - 'stringToUTF8OnStack', - 'writeArrayToMemory', - 'registerKeyEventCallback', - 'maybeCStringToJsString', - 'findEventTarget', - 'findCanvasEventTarget', - 'getBoundingClientRect', - 'fillMouseEventData', - 'registerMouseEventCallback', - 'registerWheelEventCallback', - 'registerUiEventCallback', - 'registerFocusEventCallback', - 'fillDeviceOrientationEventData', - 'registerDeviceOrientationEventCallback', - 'fillDeviceMotionEventData', - 'registerDeviceMotionEventCallback', - 'screenOrientation', - 'fillOrientationChangeEventData', - 'registerOrientationChangeEventCallback', - 'fillFullscreenChangeEventData', - 'registerFullscreenChangeEventCallback', - 'JSEvents_requestFullscreen', - 'JSEvents_resizeCanvasForFullscreen', - 'registerRestoreOldStyle', - 'hideEverythingExceptGivenElement', - 'restoreHiddenElements', - 'setLetterbox', - 'softFullscreenResizeWebGLRenderTarget', - 'doRequestFullscreen', - 'fillPointerlockChangeEventData', - 'registerPointerlockChangeEventCallback', - 'registerPointerlockErrorEventCallback', - 'requestPointerLock', - 'fillVisibilityChangeEventData', - 'registerVisibilityChangeEventCallback', - 'registerTouchEventCallback', - 'fillGamepadEventData', - 'registerGamepadEventCallback', - 'registerBeforeUnloadEventCallback', - 'fillBatteryEventData', - 'battery', - 'registerBatteryEventCallback', - 'setCanvasElementSize', - 'getCanvasElementSize', - 'demangle', - 'demangleAll', - 'jsStackTrace', - 'stackTrace', - 'getEnvStrings', - 'checkWasiClock', - 'wasiRightsToMuslOFlags', - 'wasiOFlagsToMuslOFlags', - 'createDyncallWrapper', - 'setImmediateWrapped', - 'clearImmediateWrapped', - 'polyfillSetImmediate', - 'getPromise', - 'makePromise', - 'idsToPromises', - 'makePromiseCallback', - 'setMainLoop', - 'getSocketFromFD', - 'getSocketAddress', - 'heapObjectForWebGLType', - 'heapAccessShiftForWebGLHeap', - 'webgl_enable_ANGLE_instanced_arrays', - 'webgl_enable_OES_vertex_array_object', - 'webgl_enable_WEBGL_draw_buffers', - 'webgl_enable_WEBGL_multi_draw', - 'emscriptenWebGLGet', - 'computeUnpackAlignedImageSize', - 'colorChannelsInGlTextureFormat', - 'emscriptenWebGLGetTexPixelData', - '__glGenObject', - 'emscriptenWebGLGetUniform', - 'webglGetUniformLocation', - 'webglPrepareUniformLocationsBeforeFirstUse', - 'webglGetLeftBracePos', - 'emscriptenWebGLGetVertexAttrib', - '__glGetActiveAttribOrUniform', - 'writeGLArray', - 'registerWebGlEventCallback', - 'runAndAbortIfError', - 'SDL_unicode', - 'SDL_ttfContext', - 'SDL_audio', - 'GLFW_Window', - 'ALLOC_NORMAL', - 'ALLOC_STACK', - 'allocate', - 'writeStringToMemory', - 'writeAsciiToMemory', - 'craftEmvalAllocator', - 'emval_get_global', -]; -missingLibrarySymbols.forEach(missingLibrarySymbol) - -var unexportedSymbols = [ - 'run', - 'addOnPreRun', - 'addOnInit', - 'addOnPreMain', - 'addOnExit', - 'addOnPostRun', - 'addRunDependency', - 'removeRunDependency', - 'FS_createFolder', - 'FS_createPath', - 'FS_createDataFile', - 'FS_createLazyFile', - 'FS_createLink', - 'FS_createDevice', - 'FS_unlink', - 'out', - 'err', - 'callMain', - 'abort', - 'keepRuntimeAlive', - 'wasmMemory', - 'stackAlloc', - 'stackSave', - 'stackRestore', - 'getTempRet0', - 'setTempRet0', - 'writeStackCookie', - 'checkStackCookie', - 'ptrToString', - 'getHeapMax', - 'emscripten_realloc_buffer', - 'ENV', - 'MONTH_DAYS_REGULAR', - 'MONTH_DAYS_LEAP', - 'MONTH_DAYS_REGULAR_CUMULATIVE', - 'MONTH_DAYS_LEAP_CUMULATIVE', - 'ERRNO_CODES', - 'ERRNO_MESSAGES', - 'DNS', - 'Protocols', - 'Sockets', - 'timers', - 'warnOnce', - 'UNWIND_CACHE', - 'readEmAsmArgsArray', - 'dynCallLegacy', - 'getDynCaller', - 'dynCall', - 'HandleAllocator', - 'convertI32PairToI53Checked', - 'freeTableIndexes', - 'functionsInTableMap', - 'setValue', - 'getValue', - 'PATH', - 'PATH_FS', - 'UTF8Decoder', - 'UTF8ArrayToString', - 'UTF8ToString', - 'stringToUTF8Array', - 'stringToUTF8', - 'lengthBytesUTF8', - 'UTF16Decoder', - 'UTF16ToString', - 'stringToUTF16', - 'lengthBytesUTF16', - 'UTF32ToString', - 'stringToUTF32', - 'lengthBytesUTF32', - 'JSEvents', - 'specialHTMLTargets', - 'currentFullscreenStrategy', - 'restoreOldWindowedStyle', - 'ExitStatus', - 'flush_NO_FILESYSTEM', - 'dlopenMissingError', - 'promiseMap', - 'Browser', - 'wget', - 'SYSCALLS', - 'tempFixedLengthArray', - 'miniTempWebGLFloatBuffers', - 'miniTempWebGLIntBuffers', - 'GL', - 'emscripten_webgl_power_preferences', - 'AL', - 'GLUT', - 'EGL', - 'GLEW', - 'IDBStore', - 'SDL', - 'SDL_gfx', - 'GLFW', - 'allocateUTF8', - 'allocateUTF8OnStack', - 'InternalError', - 'BindingError', - 'UnboundTypeError', - 'PureVirtualError', - 'init_embind', - 'throwInternalError', - 'throwBindingError', - 'throwUnboundTypeError', - 'ensureOverloadTable', - 'exposePublicSymbol', - 'replacePublicSymbol', - 'extendError', - 'createNamedFunction', - 'embindRepr', - 'registeredInstances', - 'getBasestPointer', - 'registerInheritedInstance', - 'unregisterInheritedInstance', - 'getInheritedInstance', - 'getInheritedInstanceCount', - 'getLiveInheritedInstances', - 'registeredTypes', - 'awaitingDependencies', - 'typeDependencies', - 'registeredPointers', - 'registerType', - 'whenDependentTypesAreResolved', - 'embind_charCodes', - 'embind_init_charCodes', - 'readLatin1String', - 'getTypeName', - 'heap32VectorToArray', - 'requireRegisteredType', - 'getShiftFromSize', - 'integerReadValueFromPointer', - 'enumReadValueFromPointer', - 'floatReadValueFromPointer', - 'simpleReadValueFromPointer', - 'runDestructors', - 'craftInvokerFunction', - 'embind__requireFunction', - 'tupleRegistrations', - 'structRegistrations', - 'genericPointerToWireType', - 'constNoSmartPtrRawPointerToWireType', - 'nonConstNoSmartPtrRawPointerToWireType', - 'init_RegisteredPointer', - 'RegisteredPointer', - 'RegisteredPointer_getPointee', - 'RegisteredPointer_destructor', - 'RegisteredPointer_deleteObject', - 'RegisteredPointer_fromWireType', - 'runDestructor', - 'releaseClassHandle', - 'finalizationRegistry', - 'detachFinalizer_deps', - 'detachFinalizer', - 'attachFinalizer', - 'makeClassHandle', - 'init_ClassHandle', - 'ClassHandle', - 'ClassHandle_isAliasOf', - 'throwInstanceAlreadyDeleted', - 'ClassHandle_clone', - 'ClassHandle_delete', - 'deletionQueue', - 'ClassHandle_isDeleted', - 'ClassHandle_deleteLater', - 'flushPendingDeletes', - 'delayFunction', - 'setDelayFunction', - 'RegisteredClass', - 'shallowCopyInternalPointer', - 'downcastPointer', - 'upcastPointer', - 'validateThis', - 'char_0', - 'char_9', - 'makeLegalFunctionName', - 'emval_handles', - 'emval_symbols', - 'init_emval', - 'count_emval_handles', - 'getStringOrSymbol', - 'Emval', - 'emval_newers', - 'emval_lookupTypes', - 'emval_allocateDestructors', - 'emval_methodCallers', - 'emval_addMethodCaller', - 'emval_registeredMethods', -]; -unexportedSymbols.forEach(unexportedRuntimeSymbol); - - - -var calledRun; - -dependenciesFulfilled = function runCaller() { - // If run has never been called, and we should call run (INVOKE_RUN is true, and Module.noInitialRun is not false) - if (!calledRun) run(); - if (!calledRun) dependenciesFulfilled = runCaller; // try this again later, after new deps are fulfilled -}; - -function stackCheckInit() { - // This is normally called automatically during __wasm_call_ctors but need to - // get these values before even running any of the ctors so we call it redundantly - // here. - _emscripten_stack_init(); - // TODO(sbc): Move writeStackCookie to native to to avoid this. - writeStackCookie(); -} - -function run() { - - if (runDependencies > 0) { - return; - } - - stackCheckInit(); - - preRun(); - - // a preRun added a dependency, run will be called later - if (runDependencies > 0) { - return; - } - - function doRun() { - // run may have just been called through dependencies being fulfilled just in this very frame, - // or while the async setStatus time below was happening - if (calledRun) return; - calledRun = true; - Module['calledRun'] = true; - - if (ABORT) return; - - initRuntime(); - - readyPromiseResolve(Module); - if (Module['onRuntimeInitialized']) Module['onRuntimeInitialized'](); - - assert(!Module['_main'], 'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'); - - postRun(); - } - - if (Module['setStatus']) { - Module['setStatus']('Running...'); - setTimeout(function() { - setTimeout(function() { - Module['setStatus'](''); - }, 1); - doRun(); - }, 1); - } else - { - doRun(); - } - checkStackCookie(); -} - -function checkUnflushedContent() { - // Compiler settings do not allow exiting the runtime, so flushing - // the streams is not possible. but in ASSERTIONS mode we check - // if there was something to flush, and if so tell the user they - // should request that the runtime be exitable. - // Normally we would not even include flush() at all, but in ASSERTIONS - // builds we do so just for this check, and here we see if there is any - // content to flush, that is, we check if there would have been - // something a non-ASSERTIONS build would have not seen. - // How we flush the streams depends on whether we are in SYSCALLS_REQUIRE_FILESYSTEM=0 - // mode (which has its own special function for this; otherwise, all - // the code is inside libc) - var oldOut = out; - var oldErr = err; - var has = false; - out = err = (x) => { - has = true; - } - try { // it doesn't matter if it fails - flush_NO_FILESYSTEM(); - } catch(e) {} - out = oldOut; - err = oldErr; - if (has) { - warnOnce('stdio streams had content in them that was not flushed. you should set EXIT_RUNTIME to 1 (see the FAQ), or make sure to emit a newline when you printf etc.'); - warnOnce('(this may also be due to not including full filesystem support - try building with -sFORCE_FILESYSTEM)'); - } -} - -if (Module['preInit']) { - if (typeof Module['preInit'] == 'function') Module['preInit'] = [Module['preInit']]; - while (Module['preInit'].length > 0) { - Module['preInit'].pop()(); - } -} - -run(); - - -// end include: postamble.js - - - return BOX2D.ready -} - -); -})(); -if (typeof exports === 'object' && typeof module === 'object') - module.exports = BOX2D; -else if (typeof define === 'function' && define['amd']) - define([], function() { return BOX2D; }); -else if (typeof exports === 'object') - exports["BOX2D"] = BOX2D; diff --git a/emscripten/box2d/box2d.debug.wasm.wasm b/emscripten/box2d/box2d.debug.wasm.wasm deleted file mode 100644 index 87354e199..000000000 Binary files a/emscripten/box2d/box2d.debug.wasm.wasm and /dev/null differ diff --git a/emscripten/box2d/box2d.release.asm.js b/emscripten/box2d/box2d.release.asm.js index d242da7e3..2004a5717 100644 --- a/emscripten/box2d/box2d.release.asm.js +++ b/emscripten/box2d/box2d.release.asm.js @@ -1,33 +1,33 @@ - -var BOX2D = (() => { - var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined; - - return ( -function(BOX2D = {}) { - -var Module=typeof BOX2D!="undefined"?BOX2D:{};var readyPromiseResolve,readyPromiseReject;Module["ready"]=new Promise((resolve,reject)=>{readyPromiseResolve=resolve;readyPromiseReject=reject});var moduleOverrides=Object.assign({},Module);var arguments_=[];var thisProgram="./this.program";var quit_=(status,toThrow)=>{throw toThrow};var ENVIRONMENT_IS_WEB=true;var ENVIRONMENT_IS_WORKER=false;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(typeof document!="undefined"&&document.currentScript){scriptDirectory=document.currentScript.src}if(_scriptDir){scriptDirectory=_scriptDir}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=url=>{try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText}catch(err){var data=tryParseAsDataURI(url);if(data){return intArrayToString(data)}throw err}};if(ENVIRONMENT_IS_WORKER){readBinary=url=>{try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}catch(err){var data=tryParseAsDataURI(url);if(data){return data}throw err}}}readAsync=(url,onload,onerror)=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=()=>{if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}var data=tryParseAsDataURI(url);if(data){onload(data.buffer);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=title=>document.title=title}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.error.bind(console);Object.assign(Module,moduleOverrides);moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime=Module["noExitRuntime"]||true;var WebAssembly={Memory:function(opts){this.buffer=new ArrayBuffer(opts["initial"]*65536)},Module:function(binary){},Instance:function(module,info){this.exports=( -// EMSCRIPTEN_START_ASM -function instantiate(Pa){function c(d){d.set=function(a,b){this[a]=b};d.get=function(a){return this[a]};return d}var e;var f=new Uint8Array(123);for(var a=25;a>=0;--a){f[48+a]=52+a;f[65+a]=a;f[97+a]=26+a}f[43]=62;f[47]=63;function l(m,n,o){var g,h,a=0,i=n,j=o.length,k=n+(j*3>>2)-(o[j-2]=="=")-(o[j-1]=="=");for(;a>4;if(i>2;if(i>2]=0;J[a>>2]=609;Z(19700,3644,3,19744,10048,610,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=611;Z(19700,4094,4,19760,10116,612,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=613;Z(19700,4113,2,19776,10053,614,a|0,0,0);a=Qa(4);J[a>>2]=615;Z(19700,2210,3,19784,10043,665,a|0,0,0);a=Qa(4);J[a>>2]=616;Z(19700,2157,4,19808,10104,666,a|0,0,0);ia(19288,6854,10302,120,10280,119);Be(Be(c+15|0,1410,0),1349,4);ha(19288);aa(19824,19832,19848,0,10070,620,10278,0,10278,0,2548,10280,619);ca(19824,1,19864,10070,622,621);a=Qa(8);J[a+4>>2]=0;J[a>>2]=623;Z(19824,3644,3,19868,10048,624,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=625;Z(19824,4094,4,19888,10116,626,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=627;Z(19824,4113,2,19904,10053,628,a|0,0,0);a=Qa(4);J[a>>2]=629;Z(19824,2210,3,19912,10043,667,a|0,0,0);a=Qa(4);J[a>>2]=630;Z(19824,2157,4,19936,10104,668,a|0,0,0);ia(19952,1628,10302,122,10280,121);Ae(Ae(c+14|0,2447,0),5453,4);ha(19952);ia(19296,3559,10302,124,10280,123);a=Qa(4);J[a>>2]=0;b=Qa(4);J[b>>2]=0;da(19296,2970,19288,10053,634,a|0,19288,10048,633,b|0);a=Qa(4);J[a>>2]=8;b=Qa(4);J[b>>2]=8;da(19296,2942,19952,10053,636,a|0,19952,10048,635,b|0);ha(19296);ia(19960,2661,10302,126,10280,125);dc(dc(dc(dc(c+12|0,2940,0),3950,4),5455,8),5584,12);ha(19960);ia(19968,1564,10302,128,10280,127);ye(ye(c+11|0,6870,0),6851,8);a=Qa(4);J[a>>2]=16;b=Qa(4);J[b>>2]=16;da(19968,3365,18892,10062,642,a|0,18892,10057,641,b|0);ha(19968);ia(19976,1550,10302,130,10280,129);a=Qa(4);J[a>>2]=0;b=Qa(4);J[b>>2]=0;da(19976,3607,19288,10053,644,a|0,19288,10048,643,b|0);a=Qa(4);J[a>>2]=8;b=Qa(4);J[b>>2]=8;da(19976,3356,18892,10062,646,a|0,18892,10057,645,b|0);ha(19976);ia(19984,5486,10302,132,10280,131);a=we(c+9|0,2367,0);b=Qa(4);J[b>>2]=4;d=Qa(4);J[d>>2]=4;da(19984,2667,19288,10053,650,b|0,19288,10048,649,d|0);we(a,5949,12);ha(19984);ia(19464,2776,10302,134,10280,133);ve(ve(c+8|0,2345,0),2358,2);a=Qa(4);J[a>>2]=4;b=Qa(4);J[b>>2]=4;da(19464,1372,18796,10053,654,a|0,18796,10048,653,b|0);ha(19464);aa(19992,2e4,20016,0,10070,136,10278,0,10278,0,3614,10280,135);a=Qa(8);J[a>>2]=8;J[a+4>>2]=1;Z(19992,4589,3,20032,10043,137,a|0,0,0);aa(20084,20096,20112,19992,10070,141,10070,140,10070,139,2831,10280,138);a=Qa(4);J[a>>2]=142;Z(20084,3239,2,20128,10066,655,a|0,0,0);ga(19992,2006,2,20136,10053,144,143,0);ga(19992,5150,3,20196,10043,146,145,0);aa(20216,20224,20240,0,10070,148,10278,0,10278,0,3628,10280,147);a=Qa(8);J[a>>2]=8;J[a+4>>2]=1;Z(20216,4589,6,20256,10843,149,a|0,1,0);aa(20312,20324,20340,20216,10070,153,10070,152,10070,151,2852,10280,150);a=Qa(4);J[a>>2]=154;Z(20312,3239,2,20356,10066,656,a|0,0,0);ga(20216,2006,2,20364,10053,156,155,0);ga(20216,5150,3,20196,10043,146,157,0);aa(20436,20444,20460,0,10070,159,10278,0,10278,0,2878,10280,158);a=Qa(8);J[a>>2]=8;J[a+4>>2]=1;Z(20436,2255,3,20476,10048,160,a|0,0,0);a=Qa(8);J[a>>2]=12;J[a+4>>2]=1;Z(20436,2268,3,20476,10048,160,a|0,0,0);a=Qa(8);J[a>>2]=16;J[a+4>>2]=1;Z(20436,4143,4,20496,10116,161,a|0,0,0);a=Qa(8);J[a>>2]=20;J[a+4>>2]=1;Z(20436,4133,4,20496,10116,161,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=162;Z(20544,4623,3,20556,10048,163,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=164;Z(20544,4621,3,20556,10048,163,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=165;Z(20544,4084,3,20584,10043,166,a|0,0,0);aa(20544,20568,20596,20436,10070,170,10070,169,10070,168,2808,10280,167);a=Qa(4);J[a>>2]=171;Z(20544,3239,2,20612,10066,657,a|0,0,0);ga(20436,2006,2,20620,10053,173,172,0);ga(20436,5150,3,20196,10043,146,174,0);aa(20712,20720,20736,0,10070,176,10278,0,10278,0,1496,10280,175);a=Qa(8);J[a+4>>2]=0;J[a>>2]=177;Z(20712,2389,3,20752,10048,178,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=179;Z(20712,2398,2,20764,10053,180,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=181;Z(20712,2418,3,20752,10048,178,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=182;Z(20712,2407,3,20752,10048,178,a|0,0,0);a=Qa(8);J[a>>2]=8;J[a+4>>2]=1;Z(20712,3488,5,20784,11197,183,a|0,0,0);a=Qa(8);J[a>>2]=12;J[a+4>>2]=1;Z(20712,3500,5,20784,11197,183,a|0,0,0);a=Qa(8);J[a>>2]=16;J[a+4>>2]=1;Z(20712,4896,5,20816,11204,184,a|0,0,0);a=Qa(8);J[a>>2]=20;J[a+4>>2]=1;Z(20712,4907,6,20848,11211,185,a|0,0,0);a=Qa(8);J[a>>2]=24;J[a+4>>2]=1;Z(20712,1994,5,20880,11197,186,a|0,0,0);a=Qa(8);J[a>>2]=28;J[a+4>>2]=1;Z(20712,3529,3,20900,10048,187,a|0,0,0);a=Qa(8);J[a>>2]=32;J[a+4>>2]=1;Z(20712,1708,5,20816,11204,184,a|0,0,0);aa(20944,20956,20972,20712,10070,191,10070,190,10070,189,2796,10280,188);a=Qa(4);J[a>>2]=192;Z(20944,3239,2,20988,10066,658,a|0,0,0);ga(20712,2006,2,20996,10053,194,193,0);ga(20712,5150,3,20196,10043,146,195,0);aa(19504,21192,21208,0,10070,197,10278,0,10278,0,6052,10280,196);ca(19504,1,21224,10070,199,198);a=Qa(8);J[a+4>>2]=0;J[a>>2]=200;Z(19504,5214,2,21228,10053,201,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=202;Z(19504,2674,2,21236,10053,203,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=204;Z(19504,2324,2,21236,10053,203,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=205;Z(19504,2783,2,21244,10062,206,a|0,0,0);a=Qa(4);J[a>>2]=207;Z(19504,4756,3,21252,10048,659,a|0,0,0);a=Qa(4);J[a>>2]=208;Z(19504,2972,4,21264,10116,660,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=209;Z(19504,2380,3,21280,10043,210,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=211;Z(19504,1605,4,21296,10104,212,a|0,0,0);a=Qa(4);J[a>>2]=0;b=Qa(4);J[b>>2]=0;$(19504,5128,19288,10053,214,a|0,19288,10048,213,b|0);a=Qa(4);J[a>>2]=8;b=Qa(4);J[b>>2]=8;$(19504,5139,19288,10053,214,a|0,19288,10048,213,b|0);aa(21328,21336,21352,0,10070,216,10278,0,10278,0,5160,10280,215);ca(21328,2,21368,10053,218,217);a=Qa(8);J[a+4>>2]=0;J[a>>2]=219;Z(21328,2875,3,21376,10048,220,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=221;Z(21328,1488,3,21388,10048,222,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=223;Z(21328,1491,2,21400,10066,224,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=225;Z(21328,1268,3,21408,10043,226,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=227;Z(21328,1241,3,21468,10048,228,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=229;Z(21328,1909,3,21480,10043,230,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=231;Z(21328,1842,3,21540,10048,232,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=233;Z(21328,2956,5,21552,11458,234,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=235;Z(21328,6032,4,21584,10116,236,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=237;Z(21328,1605,5,21600,11197,238,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=239;Z(21328,3900,3,21620,10048,240,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=241;Z(21328,3917,2,21632,10053,242,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=243;Z(21328,1078,3,21640,10048,244,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=245;Z(21328,1089,2,21652,10053,246,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=247;Z(21328,2951,2,21400,10066,224,a|0,0,0);aa(21444,21660,21452,0,10070,249,10278,0,10278,0,3956,10280,248);ca(21444,1,21676,10070,251,250);a=Qa(4);J[a>>2]=0;b=Qa(4);J[b>>2]=0;$(21444,4664,19692,10053,253,a|0,19692,10048,252,b|0);a=Qa(4);J[a>>2]=4;b=Qa(4);J[b>>2]=4;$(21444,3184,19288,10053,255,a|0,19288,10048,254,b|0);a=Qa(4);J[a>>2]=12;b=Qa(4);J[b>>2]=12;$(21444,4764,18892,10062,257,a|0,18892,10057,256,b|0);a=Qa(4);J[a>>2]=16;b=Qa(4);J[b>>2]=16;$(21444,1190,19288,10053,255,a|0,19288,10048,254,b|0);a=Qa(4);J[a>>2]=24;b=Qa(4);J[b>>2]=24;$(21444,1136,18892,10062,257,a|0,18892,10057,256,b|0);a=Qa(4);J[a>>2]=28;b=Qa(4);J[b>>2]=28;$(21444,3852,18892,10062,257,a|0,18892,10057,256,b|0);a=Qa(4);J[a>>2]=32;b=Qa(4);J[b>>2]=32;$(21444,3801,18892,10062,257,a|0,18892,10057,256,b|0);a=Qa(4);J[a>>2]=36;b=Qa(4);J[b>>2]=36;$(21444,2961,18748,10053,259,a|0,18748,10048,258,b|0);a=Qa(4);J[a>>2]=37;b=Qa(4);J[b>>2]=37;$(21444,4975,18748,10053,259,a|0,18748,10048,258,b|0);a=Qa(4);J[a>>2]=38;b=Qa(4);J[b>>2]=38;$(21444,3377,18748,10053,259,a|0,18748,10048,258,b|0);a=Qa(4);J[a>>2]=39;b=Qa(4);J[b>>2]=39;$(21444,2161,18748,10053,259,a|0,18748,10048,258,b|0);a=Qa(4);J[a>>2]=48;b=Qa(4);J[b>>2]=48;$(21444,4930,18892,10062,257,a|0,18892,10057,256,b|0);aa(21420,21428,21680,0,10070,261,10278,0,10278,0,1320,10280,260);a=Qa(8);J[a+4>>2]=0;J[a>>2]=262;Z(21420,3543,4,21696,11487,263,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=264;Z(21420,3556,2,21712,10053,265,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=266;Z(21420,3227,2,21720,10053,267,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=268;Z(21420,4784,2,21728,10062,269,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=270;Z(21420,2745,2,21720,10053,267,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=271;Z(21420,2730,2,21720,10053,267,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=272;Z(21420,1205,3,21736,10048,273,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=274;Z(21420,1223,2,21720,10053,267,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=275;Z(21420,1152,3,21748,10057,276,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=277;Z(21420,1171,2,21728,10062,269,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=278;Z(21420,5005,5,21760,11197,279,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=280;Z(21420,2711,4,21792,10116,281,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=282;Z(21420,4152,4,21808,11493,283,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=284;Z(21420,4490,5,21760,11197,279,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=285;Z(21420,2684,4,21792,10116,281,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=286;Z(21420,4470,4,21808,11493,283,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=287;Z(21420,2372,2,21728,10062,269,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=288;Z(21420,5575,2,21728,10062,269,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=289;Z(21420,5483,3,21824,10048,290,a|0,0,0);a=Qa(4);J[a>>2]=291;Z(21420,5471,3,21852,10048,661,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=292;Z(21420,5457,2,21864,10066,293,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=294;Z(21420,1796,3,21872,10043,295,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=296;Z(21420,2533,3,21872,10043,295,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=297;Z(21420,1750,3,21872,10043,295,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=298;Z(21420,2518,3,21872,10043,295,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=299;Z(21420,1810,3,21872,10043,295,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=300;Z(21420,1764,3,21872,10043,295,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=301;Z(21420,3883,2,21728,10062,269,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=302;Z(21420,3866,3,21748,10057,276,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=303;Z(21420,3834,2,21728,10062,269,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=304;Z(21420,3816,3,21748,10057,276,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=305;Z(21420,4959,2,21728,10062,269,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=306;Z(21420,4943,3,21748,10057,276,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=307;Z(21420,4678,3,21884,10048,308,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=309;Z(21420,4722,2,21896,10053,310,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=311;Z(21420,2168,3,21904,10048,312,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=313;Z(21420,2178,2,21916,10053,314,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=315;Z(21420,5222,3,21904,10048,312,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=316;Z(21420,5241,2,21916,10053,314,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=317;Z(21420,4981,3,21904,10048,312,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=318;Z(21420,4990,2,21916,10053,314,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=319;Z(21420,5318,3,21904,10048,312,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=320;Z(21420,5329,2,21916,10053,314,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=321;Z(21420,3391,3,21904,10048,312,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=322;Z(21420,3408,2,21916,10053,314,a|0,0,0);le(1590,323);le(1577,324);a=Qa(8);J[a+4>>2]=0;J[a>>2]=325;Z(21420,5157,2,21932,10053,326,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=327;Z(21420,2951,2,21864,10066,293,a|0,0,0);aa(21516,21940,21524,0,10070,329,10278,0,10278,0,4075,10280,328);ca(21516,1,21956,10070,331,330);a=Qa(4);J[a>>2]=0;b=Qa(4);J[b>>2]=0;$(21516,4664,21960,10053,333,a|0,21960,10048,332,b|0);ke(6057,334);je(6066,335);ke(5955,336);je(5964,337);a=Qa(4);J[a>>2]=16;b=Qa(4);J[b>>2]=16;$(21516,5259,18748,10053,339,a|0,18748,10048,338,b|0);aa(21492,21500,21988,0,10070,341,10278,0,10278,0,1975,10280,340);a=Qa(8);J[a+4>>2]=0;J[a>>2]=342;Z(21492,4722,2,22004,10053,343,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=344;Z(21492,6066,2,22012,10053,345,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=346;Z(21492,5964,2,22012,10053,345,a|0,0,0);a=Qa(8);J[a+4>>2]=1;J[a>>2]=0;Z(21492,6100,2,22020,10053,347,a|0,0,0);a=Qa(8);J[a+4>>2]=1;J[a>>2]=4;Z(21492,5973,2,22020,10053,347,a|0,0,0);a=Qa(8);J[a+4>>2]=1;J[a>>2]=8;Z(21492,5111,3,22028,11552,348,a|0,0,0);a=Qa(8);J[a+4>>2]=1;J[a>>2]=12;Z(21492,4266,3,22040,11557,349,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=350;Z(21492,5276,2,22052,10053,351,a|0,0,0);a=Qa(8);J[a+4>>2]=1;J[a>>2]=16;Z(21492,2951,2,22060,10066,352,a|0,0,0);aa(22068,22080,22096,21516,10070,356,10070,355,10070,354,4036,10280,353);ca(22068,1,22112,10070,358,357);a=Qa(4);J[a>>2]=20;b=Qa(4);J[b>>2]=20;$(22068,6111,19288,10053,360,a|0,19288,10048,359,b|0);a=Qa(4);J[a>>2]=28;b=Qa(4);J[b>>2]=28;$(22068,5984,19288,10053,360,a|0,19288,10048,359,b|0);a=Qa(4);J[a>>2]=36;b=Qa(4);J[b>>2]=36;$(22068,3654,18892,10062,362,a|0,18892,10057,361,b|0);a=Qa(4);J[a>>2]=40;b=Qa(4);J[b>>2]=40;$(22068,1024,18892,10062,362,a|0,18892,10057,361,b|0);a=Qa(4);J[a>>2]=44;b=Qa(4);J[b>>2]=44;$(22068,2983,18892,10062,362,a|0,18892,10057,361,b|0);aa(12988,22116,22132,21492,10070,366,10070,365,10070,364,1942,10280,363);a=Qa(8);J[a+4>>2]=0;J[a>>2]=367;Z(12988,6124,2,22148,10053,368,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=369;Z(12988,5997,2,22148,10053,368,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=370;Z(12988,3697,3,22156,10057,371,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=372;Z(12988,3707,2,22168,10062,373,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=374;Z(12988,1325,3,22156,10057,371,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=375;Z(12988,1338,2,22168,10062,373,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=376;Z(12988,2996,3,22156,10057,371,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=377;Z(12988,3012,2,22168,10062,373,a|0,0,0);a=Qa(8);J[a+4>>2]=1;J[a>>2]=16;Z(12988,2951,2,22176,10066,378,a|0,0,0);aa(22184,22196,22212,21516,10070,382,10070,381,10070,380,3964,10280,379);ca(22184,1,22228,10070,384,383);a=Qa(4);J[a>>2]=20;b=Qa(4);J[b>>2]=20;$(22184,2116,19288,10053,386,a|0,19288,10048,385,b|0);a=Qa(4);J[a>>2]=28;b=Qa(4);J[b>>2]=28;$(22184,2068,18892,10062,388,a|0,18892,10057,387,b|0);a=Qa(4);J[a>>2]=32;b=Qa(4);J[b>>2]=32;$(22184,5016,18892,10062,388,a|0,18892,10057,387,b|0);a=Qa(4);J[a>>2]=36;b=Qa(4);J[b>>2]=36;$(22184,4164,18892,10062,388,a|0,18892,10057,387,b|0);a=Qa(4);J[a>>2]=40;b=Qa(4);J[b>>2]=40;$(22184,2571,18892,10062,388,a|0,18892,10057,387,b|0);aa(13448,22232,22248,21492,10070,392,10070,391,10070,390,1873,10280,389);a=Qa(8);J[a+4>>2]=0;J[a>>2]=393;Z(13448,2129,3,22264,10048,394,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=395;Z(13448,2145,2,22276,10053,396,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=397;Z(13448,2082,3,22284,10057,398,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=399;Z(13448,2099,2,22296,10062,400,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=401;Z(13448,5025,3,22284,10057,398,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=402;Z(13448,5037,2,22296,10062,400,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=403;Z(13448,4174,3,22284,10057,398,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=404;Z(13448,4187,2,22296,10062,400,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=405;Z(13448,2588,3,22284,10057,398,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=406;Z(13448,2608,2,22296,10062,400,a|0,0,0);a=Qa(8);J[a+4>>2]=1;J[a>>2]=16;Z(13448,2951,2,22304,10066,407,a|0,0,0);aa(22312,22324,22340,21516,10070,411,10070,410,10070,409,4009,10280,408);ca(22312,1,22356,10070,413,412);a=Qa(4);J[a>>2]=20;b=Qa(4);J[b>>2]=20;$(22312,2187,19288,10053,415,a|0,19288,10048,414,b|0);a=Qa(4);J[a>>2]=28;b=Qa(4);J[b>>2]=28;$(22312,5016,18892,10062,417,a|0,18892,10057,416,b|0);a=Qa(4);J[a>>2]=32;b=Qa(4);J[b>>2]=32;$(22312,1024,18892,10062,417,a|0,18892,10057,416,b|0);a=Qa(4);J[a>>2]=36;b=Qa(4);J[b>>2]=36;$(22312,2983,18892,10062,417,a|0,18892,10057,416,b|0);aa(13528,22360,22376,21492,10070,421,10070,420,10070,419,1921,10280,418);a=Qa(8);J[a+4>>2]=0;J[a>>2]=422;Z(13528,2194,3,22392,10048,423,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=424;Z(13528,2204,2,22404,10053,425,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=426;Z(13528,5025,3,22412,10057,427,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=428;Z(13528,5037,2,22424,10062,429,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=430;Z(13528,1325,3,22412,10057,427,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=431;Z(13528,1338,2,22424,10062,429,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=432;Z(13528,2996,3,22412,10057,427,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=433;Z(13528,3012,2,22424,10062,429,a|0,0,0);a=Qa(8);J[a+4>>2]=1;J[a>>2]=16;Z(13528,2951,2,22432,10066,434,a|0,0,0);aa(22440,22452,22468,21516,10070,438,10070,437,10070,436,4066,10280,435);ca(22440,1,22484,10070,440,439);a=Qa(4);J[a>>2]=20;b=Qa(4);J[b>>2]=20;$(22440,6111,19288,10053,442,a|0,19288,10048,441,b|0);a=Qa(4);J[a>>2]=28;b=Qa(4);J[b>>2]=28;$(22440,5984,19288,10053,442,a|0,19288,10048,441,b|0);a=Qa(4);J[a>>2]=36;b=Qa(4);J[b>>2]=36;$(22440,6075,19288,10053,442,a|0,19288,10048,441,b|0);a=Qa(4);J[a>>2]=44;b=Qa(4);J[b>>2]=44;$(22440,4815,18892,10062,444,a|0,18892,10057,443,b|0);a=Qa(4);J[a>>2]=48;b=Qa(4);J[b>>2]=48;$(22440,2044,18748,10053,446,a|0,18748,10048,445,b|0);a=Qa(4);J[a>>2]=52;b=Qa(4);J[b>>2]=52;$(22440,3444,18892,10062,444,a|0,18892,10057,443,b|0);a=Qa(4);J[a>>2]=56;b=Qa(4);J[b>>2]=56;$(22440,3461,18892,10062,444,a|0,18892,10057,443,b|0);a=Qa(4);J[a>>2]=60;b=Qa(4);J[b>>2]=60;$(22440,2494,18748,10053,446,a|0,18748,10048,445,b|0);a=Qa(4);J[a>>2]=68;b=Qa(4);J[b>>2]=68;$(22440,5414,18892,10062,444,a|0,18892,10057,443,b|0);a=Qa(4);J[a>>2]=64;b=Qa(4);J[b>>2]=64;$(22440,5049,18892,10062,444,a|0,18892,10057,443,b|0);aa(13724,22488,22504,21492,10070,450,10070,449,10070,448,1966,10280,447);a=Qa(8);J[a+4>>2]=0;J[a>>2]=451;Z(13724,6124,2,22520,10053,452,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=453;Z(13724,5997,2,22520,10053,452,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=454;Z(13724,6086,2,22520,10053,452,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=455;Z(13724,4830,2,22528,10062,456,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=457;Z(13724,3424,2,22528,10062,456,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=458;Z(13724,5354,2,22528,10062,456,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=459;Z(13724,5296,2,22536,10053,460,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=461;Z(13724,2056,3,22544,10048,462,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=463;Z(13724,2016,2,22528,10062,456,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=464;Z(13724,2030,2,22528,10062,456,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=465;Z(13724,2335,4,22560,10110,466,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=467;Z(13724,5339,2,22536,10053,460,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=468;Z(13724,2506,3,22544,10048,462,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=469;Z(13724,5425,3,22576,10057,470,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=471;Z(13724,5439,2,22528,10062,456,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=472;Z(13724,5063,3,22576,10057,470,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=473;Z(13724,5080,2,22528,10062,456,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=474;Z(13724,5097,3,22588,11557,475,a|0,0,0);a=Qa(8);J[a+4>>2]=1;J[a>>2]=16;Z(13724,2951,2,22600,10066,476,a|0,0,0);aa(22608,22620,22636,21516,10070,480,10070,479,10070,478,3992,10280,477);ca(22608,1,22652,10070,482,481);a=Qa(4);J[a>>2]=20;b=Qa(4);J[b>>2]=20;$(22608,6111,19288,10053,484,a|0,19288,10048,483,b|0);a=Qa(4);J[a>>2]=28;b=Qa(4);J[b>>2]=28;$(22608,5984,19288,10053,484,a|0,19288,10048,483,b|0);a=Qa(4);J[a>>2]=36;b=Qa(4);J[b>>2]=36;$(22608,4815,18892,10062,486,a|0,18892,10057,485,b|0);a=Qa(4);J[a>>2]=40;b=Qa(4);J[b>>2]=40;$(22608,2044,18748,10053,488,a|0,18748,10048,487,b|0);a=Qa(4);J[a>>2]=44;b=Qa(4);J[b>>2]=44;$(22608,4793,18892,10062,486,a|0,18892,10057,485,b|0);a=Qa(4);J[a>>2]=48;b=Qa(4);J[b>>2]=48;$(22608,4804,18892,10062,486,a|0,18892,10057,485,b|0);a=Qa(4);J[a>>2]=52;b=Qa(4);J[b>>2]=52;$(22608,2494,18748,10053,488,a|0,18748,10048,487,b|0);a=Qa(4);J[a>>2]=56;b=Qa(4);J[b>>2]=56;$(22608,5414,18892,10062,486,a|0,18892,10057,485,b|0);a=Qa(4);J[a>>2]=60;b=Qa(4);J[b>>2]=60;$(22608,4200,18892,10062,486,a|0,18892,10057,485,b|0);aa(13888,22656,22672,21492,10070,492,10070,491,10070,490,1895,10280,489);a=Qa(8);J[a+4>>2]=0;J[a>>2]=493;Z(13888,6124,2,22688,10053,494,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=495;Z(13888,5997,2,22688,10053,494,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=496;Z(13888,4830,2,22696,10062,497,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=498;Z(13888,4770,2,22696,10062,497,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=499;Z(13888,5354,2,22696,10062,497,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=500;Z(13888,5296,2,22704,10053,501,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=502;Z(13888,2056,3,22712,10048,503,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=504;Z(13888,2016,2,22696,10062,497,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=505;Z(13888,2030,2,22696,10062,497,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=506;Z(13888,2335,4,22736,10110,507,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=508;Z(13888,5339,2,22704,10053,501,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=509;Z(13888,2506,3,22712,10048,503,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=510;Z(13888,5425,3,22752,10057,511,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=512;Z(13888,5439,2,22696,10062,497,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=513;Z(13888,4215,3,22752,10057,511,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=514;Z(13888,4233,2,22696,10062,497,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=515;Z(13888,4251,3,22764,11557,516,a|0,0,0);a=Qa(8);J[a+4>>2]=1;J[a>>2]=16;Z(13888,2951,2,22776,10066,517,a|0,0,0);aa(22784,22796,22812,21516,10070,521,10070,520,10070,519,4023,10280,518);ca(22784,1,22828,10070,523,522);a=Qa(4);J[a>>2]=20;b=Qa(4);J[b>>2]=20;$(22784,6111,19288,10053,525,a|0,19288,10048,524,b|0);a=Qa(4);J[a>>2]=28;b=Qa(4);J[b>>2]=28;$(22784,5984,19288,10053,525,a|0,19288,10048,524,b|0);a=Qa(4);J[a>>2]=36;b=Qa(4);J[b>>2]=36;$(22784,3661,18892,10062,527,a|0,18892,10057,526,b|0);aa(13968,22832,22848,21492,10070,531,10070,530,10070,529,1932,10280,528);a=Qa(8);J[a+4>>2]=0;J[a>>2]=532;Z(13968,6124,2,22864,10053,533,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=534;Z(13968,5997,2,22864,10053,533,a|0,0,0);a=Qa(8);J[a+4>>2]=1;J[a>>2]=8;Z(13968,5111,3,22872,11552,535,a|0,0,0);a=Qa(8);J[a+4>>2]=1;J[a>>2]=12;Z(13968,4266,3,22884,11557,536,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=537;Z(13968,3671,3,22896,10057,538,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=539;Z(13968,3684,2,22908,10062,540,a|0,0,0);a=Qa(8);J[a+4>>2]=1;J[a>>2]=16;Z(13968,2951,2,22916,10066,541,a|0,0,0);aa(22924,22936,22952,21516,10070,545,10070,544,10070,543,4053,10280,542);ca(22924,1,22968,10070,547,546);a=Qa(4);J[a>>2]=20;b=Qa(4);J[b>>2]=20;$(22924,6111,19288,10053,549,a|0,19288,10048,548,b|0);a=Qa(4);J[a>>2]=28;b=Qa(4);J[b>>2]=28;$(22924,5984,19288,10053,549,a|0,19288,10048,548,b|0);a=Qa(4);J[a>>2]=36;b=Qa(4);J[b>>2]=36;$(22924,4815,18892,10062,551,a|0,18892,10057,550,b|0);a=Qa(4);J[a>>2]=40;b=Qa(4);J[b>>2]=40;$(22924,1024,18892,10062,551,a|0,18892,10057,550,b|0);a=Qa(4);J[a>>2]=44;b=Qa(4);J[b>>2]=44;$(22924,2983,18892,10062,551,a|0,18892,10057,550,b|0);aa(14048,22972,22988,21492,10070,555,10070,554,10070,553,1956,10280,552);a=Qa(8);J[a+4>>2]=0;J[a>>2]=556;Z(14048,6124,2,23004,10053,557,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=558;Z(14048,5997,2,23004,10053,557,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=559;Z(14048,4830,2,23012,10062,560,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=561;Z(14048,1325,3,23020,10057,562,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=563;Z(14048,1338,2,23012,10062,560,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=564;Z(14048,2996,3,23020,10057,562,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=565;Z(14048,3012,2,23012,10062,560,a|0,0,0);a=Qa(8);J[a+4>>2]=1;J[a>>2]=16;Z(14048,2951,2,23032,10066,566,a|0,0,0);aa(23040,23052,23068,21516,10070,570,10070,569,10070,568,3978,10280,567);ca(23040,1,23084,10070,572,571);a=Qa(4);J[a>>2]=20;b=Qa(4);J[b>>2]=20;$(23040,6111,19288,10053,574,a|0,19288,10048,573,b|0);a=Qa(4);J[a>>2]=28;b=Qa(4);J[b>>2]=28;$(23040,5984,19288,10053,574,a|0,19288,10048,573,b|0);a=Qa(4);J[a>>2]=36;b=Qa(4);J[b>>2]=36;$(23040,6075,19288,10053,574,a|0,19288,10048,573,b|0);a=Qa(4);J[a>>2]=44;b=Qa(4);J[b>>2]=44;$(23040,2494,18748,10053,576,a|0,18748,10048,575,b|0);a=Qa(4);J[a>>2]=48;b=Qa(4);J[b>>2]=48;$(23040,4200,18892,10062,578,a|0,18892,10057,577,b|0);a=Qa(4);J[a>>2]=52;b=Qa(4);J[b>>2]=52;$(23040,5414,18892,10062,578,a|0,18892,10057,577,b|0);a=Qa(4);J[a>>2]=56;b=Qa(4);J[b>>2]=56;$(23040,1024,18892,10062,578,a|0,18892,10057,577,b|0);a=Qa(4);J[a>>2]=60;b=Qa(4);J[b>>2]=60;$(23040,2983,18892,10062,578,a|0,18892,10057,577,b|0);aa(14128,23088,23104,21492,10070,582,10070,581,10070,580,1884,10280,579);a=Qa(8);J[a+4>>2]=0;J[a>>2]=583;Z(14128,6124,2,23120,10053,584,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=585;Z(14128,5997,2,23120,10053,584,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=586;Z(14128,6086,2,23120,10053,584,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=587;Z(14128,3424,2,23128,10062,588,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=589;Z(14128,5339,2,23136,10053,590,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=591;Z(14128,2506,3,23144,10048,592,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=593;Z(14128,5425,3,23156,10057,594,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=595;Z(14128,5439,2,23128,10062,588,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=596;Z(14128,4215,3,23156,10057,594,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=597;Z(14128,4233,2,23128,10062,588,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=598;Z(14128,4251,3,23168,11557,599,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=600;Z(14128,1036,3,23156,10057,594,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=601;Z(14128,1057,2,23128,10062,588,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=602;Z(14128,3028,3,23156,10057,594,a|0,0,0);a=Qa(8);J[a+4>>2]=0;J[a>>2]=603;Z(14128,3050,2,23128,10062,588,a|0,0,0);a=Qa(8);J[a+4>>2]=1;J[a>>2]=16;Z(14128,2951,2,23180,10066,604,a|0,0,0);Ea=c+16|0}function Sf(a,b,c,d){a=a|0;b=Q(b);c=c|0;d=d|0;var e=0,f=Q(0),g=Q(0),h=0,i=0,j=0,k=0,l=0,m=0,n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=0,t=0,u=Q(0),v=Q(0),w=Q(0),x=0,y=0,z=Q(0),A=Q(0),B=Q(0),C=Q(0),D=Q(0),E=Q(0),F=Q(0),G=Q(0),M=0,O=Q(0),R=Q(0),S=Q(0),T=Q(0),U=0,W=Q(0),X=0,Z=0,_=0,$=Q(0),aa=Q(0),ba=0,ca=Q(0),da=Q(0),ea=0,fa=Q(0),ga=0;x=Ea-32|0;Ea=x;if(K[a+102988|0]){Sb(a+102868|0);H[a+102988|0]=0}H[a+102989|0]=1;J[x+20>>2]=d;J[x+16>>2]=c;N[x+4>>2]=b;l=b>Q(0);N[x+8>>2]=l?Q(Q(1)/b):Q(0);N[x+12>>2]=N[a+102984>>2]*b;H[x+24|0]=K[a+102991|0];e=a+102868|0;c=J[e+60>>2];if(c){while(1){d=c;h=J[c+60>>2];s=J[c+56>>2];k=J[c+52>>2];j=J[k+8>>2];i=J[c+48>>2];m=J[i+8>>2];a:{b:{if(K[c+4|0]&8){if(!Cd(j,m)){break b}c=J[e+68>>2];if(c){if(!(Ga[J[J[c>>2]+8>>2]](c,i,k)|0)){break b}}J[d+4>>2]=J[d+4>>2]&-9}c=0;if((K[m+4|0]&2?J[m>>2]:c)|(K[j+4|0]&2?J[j>>2]:0)){j=J[e+4>>2];c=j+P(J[(J[k+24>>2]+P(h,28)|0)+24>>2],40)|0;j=j+P(J[(J[i+24>>2]+P(s,28)|0)+24>>2],40)|0;if(Q(N[c>>2]-N[j+8>>2])>Q(0)|Q(N[c+4>>2]-N[j+12>>2])>Q(0)|(Q(N[j>>2]-N[c+8>>2])>Q(0)|Q(N[j+4>>2]-N[c+12>>2])>Q(0))){break b}uc(d,J[e+72>>2])}c=J[d+12>>2];break a}c=J[d+12>>2];Gb(e,d)}if(c){continue}break}}N[a+103e3>>2]=0;if(!(!K[a+102994|0]|!l)){s=Ea-96|0;Ea=s;J[a+103016>>2]=0;c=a+103008|0;J[c>>2]=0;J[c+4>>2]=0;Z=a+68|0;j=ed(s+44|0,J[a+102956>>2],J[a+102932>>2],J[a+102960>>2],Z,J[a+102940>>2]);d=J[a+102948>>2];if(d){while(1){I[d+4>>1]=L[d+4>>1]&65534;d=J[d+96>>2];if(d){continue}break}}d=J[a+102928>>2];if(d){while(1){J[d+4>>2]=J[d+4>>2]&-2;d=J[d+12>>2];if(d){continue}break}}d=J[a+102952>>2];if(d){while(1){H[d+60|0]=0;d=J[d+12>>2];if(d){continue}break}}y=xb(Z,J[a+102956>>2]<<2);i=J[a+102948>>2];if(i){X=a+102964|0;while(1){d=L[i+4>>1];c:{if(!J[i>>2]|(d&35)!=34){break c}J[y>>2]=i;c=1;I[i+4>>1]=d|1;e=0;l=0;k=0;while(1){c=c-1|0;m=J[y+(c<<2)>>2];J[m+8>>2]=e;J[J[j+8>>2]+(e<<2)>>2]=m;I[m+4>>1]=L[m+4>>1]|2;d:{if(!J[m>>2]){break d}d=J[m+112>>2];if(d){while(1){h=J[d+4>>2];t=J[h+4>>2];e:{if((t&7)!=6|K[J[h+48>>2]+38|0]|K[J[h+52>>2]+38|0]){break e}J[J[j+12>>2]+(l<<2)>>2]=h;J[h+4>>2]=t|1;l=l+1|0;h=J[d>>2];t=L[h+4>>1];if(t&1){break e}J[y+(c<<2)>>2]=h;I[h+4>>1]=t|1;c=c+1|0}d=J[d+12>>2];if(d){continue}break}}d=J[m+108>>2];if(!d){break d}while(1){t=J[d+4>>2];f:{if(K[t+60|0]){break f}m=J[d>>2];h=L[m+4>>1];if(!(h&32)){break f}J[J[j+16>>2]+(k<<2)>>2]=t;H[J[d+4>>2]+60|0]=1;k=k+1|0;if(h&1){break f}J[y+(c<<2)>>2]=m;I[m+4>>1]=h|1;c=c+1|0}d=J[d+12>>2];if(d){continue}break}}e=e+1|0;if((c|0)>0){continue}break}J[j+36>>2]=l;J[j+28>>2]=e;J[j+32>>2]=k;ea=K[a+102972|0];d=0;l=0;m=Ea-144|0;Ea=m;o=N[x+4>>2];if(J[j+28>>2]>0){while(1){e=J[J[j+8>>2]+(d<<2)>>2];q=N[e+56>>2];N[e+52>>2]=q;k=J[e+48>>2];c=J[e+44>>2];J[e+36>>2]=c;J[e+40>>2]=k;b=N[e+72>>2];g=N[e+64>>2];f=N[e+68>>2];if(J[e>>2]==2){n=Q(o*N[e+120>>2]);p=Q(N[e+140>>2]*N[e+116>>2]);A=Q(Q(1)/Q(Q(o*N[e+132>>2])+Q(1)));f=Q(Q(f+Q(n*Q(Q(p*N[X+4>>2])+N[e+80>>2])))*A);g=Q(Q(g+Q(n*Q(Q(N[X>>2]*p)+N[e+76>>2])))*A);b=Q(Q(Q(Q(o*N[e+128>>2])*N[e+84>>2])+b)*Q(Q(1)/Q(Q(o*N[e+136>>2])+Q(1))))}e=P(d,12);h=e+J[j+20>>2]|0;J[h>>2]=c;J[h+4>>2]=k;N[(e+J[j+20>>2]|0)+8>>2]=q;c=e+J[j+24>>2]|0;N[c+4>>2]=f;N[c>>2]=g;N[(e+J[j+24>>2]|0)+8>>2]=b;d=d+1|0;if((d|0)>2]){continue}break}}c=J[x+24>>2];J[m+120>>2]=J[x+20>>2];J[m+124>>2]=c;c=J[x+16>>2];J[m+112>>2]=J[x+12>>2];J[m+116>>2]=c;c=J[x+8>>2];J[m+104>>2]=J[x+4>>2];J[m+108>>2]=c;c=J[j+20>>2];J[m+128>>2]=c;d=J[j+24>>2];J[m+132>>2]=d;e=J[x+24>>2];J[m+72>>2]=J[x+20>>2];J[m+76>>2]=e;k=J[x+16>>2];e=m- -64|0;J[e>>2]=J[x+12>>2];J[e+4>>2]=k;e=J[x+8>>2];J[m+56>>2]=J[x+4>>2];J[m+60>>2]=e;J[m+80>>2]=J[j+12>>2];e=J[j+36>>2];J[m+92>>2]=d;J[m+88>>2]=c;J[m+84>>2]=e;J[m+96>>2]=J[j>>2];k=jd(m+4|0,m+56|0);hd(k);if(J[k+48>>2]>0?K[x+24|0]:0){d=J[k+28>>2];while(1){c=J[k+40>>2]+P(l,156)|0;t=P(J[c+116>>2],12);e=t+d|0;b=N[e+8>>2];g=N[e+4>>2];f=N[e>>2];M=P(J[c+112>>2],12);h=M+d|0;n=N[h+8>>2];p=N[h+4>>2];r=N[h>>2];U=J[c+148>>2];if((U|0)>0){u=N[c+72>>2];C=N[c+132>>2];w=N[c+124>>2];z=N[c+120>>2];D=N[c+76>>2];R=Q(-N[c+128>>2]);e=0;while(1){d=c+P(e,36)|0;A=N[d+16>>2];S=N[d+20>>2];q=Q(Q(D*A)-Q(u*S));A=Q(Q(u*A)+Q(D*S));b=Q(Q(C*Q(Q(N[d+8>>2]*q)-Q(A*N[d+12>>2])))+b);n=Q(Q(R*Q(Q(N[d>>2]*q)-Q(A*N[d+4>>2])))+n);g=Q(g+Q(w*q));f=Q(f+Q(w*A));p=Q(p-Q(z*q));r=Q(r-Q(z*A));e=e+1|0;if((U|0)!=(e|0)){continue}break}}N[h+4>>2]=p;N[h>>2]=r;c=J[k+28>>2];N[(c+M|0)+8>>2]=n;c=c+t|0;N[c+4>>2]=g;N[c>>2]=f;d=J[k+28>>2];N[(t+d|0)+8>>2]=b;l=l+1|0;if((l|0)>2]){continue}break}}if(J[j+32>>2]>0){e=0;while(1){c=J[J[j+16>>2]+(e<<2)>>2];Ga[J[J[c>>2]+32>>2]](c,m+104|0);e=e+1|0;if((e|0)>2]){continue}break}}N[s+24>>2]=0;if(J[x+16>>2]>0){c=0;while(1){e=0;if(J[j+32>>2]>0){while(1){d=J[J[j+16>>2]+(e<<2)>>2];Ga[J[J[d>>2]+36>>2]](d,m+104|0);e=e+1|0;if((e|0)>2]){continue}break}}gd(k);c=c+1|0;if((c|0)>2]){continue}break}}d=0;l=J[k+48>>2];if((l|0)>0){h=J[k+44>>2];t=J[k+40>>2];while(1){c=t+P(d,156)|0;M=J[c+148>>2];if((M|0)>0){U=J[h+(J[c+152>>2]<<2)>>2]- -64|0;e=0;while(1){_=U+P(e,20)|0;ba=c+P(e,36)|0;N[_+8>>2]=N[ba+16>>2];N[_+12>>2]=N[ba+20>>2];e=e+1|0;if((M|0)!=(e|0)){continue}break}}d=d+1|0;if((l|0)!=(d|0)){continue}break}}N[s+28>>2]=0;l=1;if(J[j+28>>2]>0){d=J[j+24>>2];c=0;while(1){e=P(c,12);h=e+d|0;b=N[h>>2];f=Q(o*b);q=Q(f*f);g=N[h+4>>2];f=Q(o*g);f=Q(q+Q(f*f));if(f>Q(4)){f=Q(Q(2)/Q(Y(f)));g=Q(g*f);b=Q(b*f)}d=e+J[j+20>>2]|0;n=N[d+8>>2];p=N[d+4>>2];A=N[d>>2];f=N[h+8>>2];q=Q(o*f);if(Q(q*q)>Q(2.4674012660980225)){f=Q(f*Q(Q(1.5707963705062866)/(q>Q(0)?q:Q(-q))))}N[d+4>>2]=p+Q(o*g);N[d>>2]=A+Q(o*b);N[(e+J[j+20>>2]|0)+8>>2]=Q(o*f)+n;d=e+J[j+24>>2]|0;N[d+4>>2]=g;N[d>>2]=b;d=J[j+24>>2];N[(e+d|0)+8>>2]=f;c=c+1|0;if((c|0)>2]){continue}break}}if(J[x+20>>2]>0){l=0;while(1){A=Q(0);e=0;d=Ea+-64|0;Ea=d;if(J[k+48>>2]>0){c=J[k+24>>2];while(1){h=J[k+36>>2]+P(e,88)|0;t=P(J[h+36>>2],12);M=t+c|0;b=N[M+8>>2];g=N[M+4>>2];f=N[M>>2];M=P(J[h+32>>2],12);U=M+c|0;n=N[U+8>>2];p=N[U+4>>2];r=N[U>>2];U=J[h+84>>2];if((U|0)>0){w=N[h+68>>2];z=N[h+56>>2];D=N[h+48>>2];C=N[h+60>>2];R=N[h+52>>2];S=N[h+40>>2];W=N[h+44>>2];$=Q(S+W);O=N[h+64>>2];E=Q(-O);c=0;while(1){q=Ta(n);N[d+60>>2]=q;u=Sa(n);N[d+56>>2]=u;B=Ta(b);N[d+44>>2]=B;F=Sa(b);N[d+40>>2]=F;N[d+52>>2]=p-Q(Q(u*D)+Q(R*q));N[d+48>>2]=r-Q(Q(q*D)-Q(R*u));N[d+36>>2]=g-Q(Q(F*z)+Q(C*B));N[d+32>>2]=f-Q(Q(B*z)-Q(C*F));fd(d+8|0,h,d+48|0,d+32|0,c);u=Q(0);q=N[d+24>>2];_=q>A;B=N[d+20>>2];v=Q(B-g);G=Q(-v);T=Q(B-p);ca=Q(-T);aa=N[d+16>>2];da=Q(aa-f);B=N[d+12>>2];F=N[d+8>>2];v=Q(Q(da*B)-Q(F*v));fa=Q(Q(w*v)*v);v=Q(aa-r);T=Q(Q(v*B)-Q(F*T));T=Q(fa+Q(Q(Q(O*T)*T)+$));if(T>Q(0)){u=Q(Q(q+Q(.004999999888241291))*Q(.20000000298023224));u=u>2]}c=c+M|0;N[c+4>>2]=p;N[c>>2]=r;c=J[k+24>>2];N[(c+M|0)+8>>2]=n;c=c+t|0;N[c+4>>2]=g;N[c>>2]=f;c=J[k+24>>2];N[(t+c|0)+8>>2]=b;e=e+1|0;if((e|0)>2]){continue}break}}Ea=d- -64|0;d=1;e=0;if(J[j+32>>2]>0){while(1){c=J[J[j+16>>2]+(e<<2)>>2];d=Ga[J[J[c>>2]+40>>2]](c,m+104|0)&d;e=e+1|0;if((e|0)>2]){continue}break}}c=A>=Q(-.014999999664723873)&d;if(!c){l=l+1|0;if((l|0)>2]){continue}}break}l=!c}if(J[j+28>>2]>0){d=0;while(1){t=P(d,12);e=t+J[j+20>>2]|0;c=e;n=N[c>>2];c=J[c>>2];p=N[e+4>>2];e=J[e+4>>2];h=J[J[j+8>>2]+(d<<2)>>2];J[h+44>>2]=c;J[h+48>>2]=e;b=N[(t+J[j+20>>2]|0)+8>>2];N[h+56>>2]=b;c=t+J[j+24>>2]|0;M=J[c+4>>2];J[h+64>>2]=J[c>>2];J[h+68>>2]=M;g=N[(t+J[j+24>>2]|0)+8>>2];f=Ta(b);N[h+24>>2]=f;b=Sa(b);N[h+20>>2]=b;N[h+72>>2]=g;g=N[h+28>>2];q=N[h+32>>2];N[h+16>>2]=p-Q(Q(b*g)+Q(f*q));N[h+12>>2]=n-Q(Q(f*g)-Q(q*b));d=d+1|0;if((d|0)>2]){continue}break}}N[s+32>>2]=0;cd(j,J[k+40>>2]);g:{if(!ea){break g}d=J[j+28>>2];if((d|0)<=0){break g}h=J[j+8>>2];b=Q(34028234663852886e22);e=0;while(1){c=J[h+(e<<2)>>2];h:{if(!J[c>>2]){break h}i:{j:{if(!(K[c+4|0]&4)){break j}f=N[c+72>>2];if(Q(f*f)>Q(.001218469929881394)){break j}f=N[c+64>>2];g=Q(f*f);f=N[c+68>>2];if(!(Q(g+Q(f*f))>Q(9999999747378752e-20))){break i}}J[c+144>>2]=0;b=Q(0);break h}f=Q(o+N[c+144>>2]);N[c+144>>2]=f;b=b=Q(.5))|l|J[j+28>>2]<=0){break g}d=0;while(1){c=J[J[j+8>>2]+(d<<2)>>2];J[c+64>>2]=0;J[c+68>>2]=0;J[c+144>>2]=0;J[c+72>>2]=0;J[c+76>>2]=0;J[c+80>>2]=0;J[c+84>>2]=0;I[c+4>>1]=L[c+4>>1]&65533;d=d+1|0;if((d|0)>2]){continue}break}}id(k);Ea=m+144|0;N[a+103008>>2]=N[s+24>>2]+N[a+103008>>2];N[a+103012>>2]=N[s+28>>2]+N[a+103012>>2];N[a+103016>>2]=N[s+32>>2]+N[a+103016>>2];e=J[j+28>>2];if((e|0)<=0){break c}m=J[j+8>>2];d=0;while(1){c=J[m+(d<<2)>>2];if(!J[c>>2]){I[c+4>>1]=L[c+4>>1]&65534}d=d+1|0;if((e|0)!=(d|0)){continue}break}}i=J[i+96>>2];if(i){continue}break}}wb(Z,y);d=J[a+102948>>2];if(d){while(1){if(!(!(H[d+4|0]&1)|!J[d>>2])){wc(d)}d=J[d+96>>2];if(d){continue}break}}Sb(a+102868|0);N[a+103020>>2]=0;dd(j);Ea=s+96|0;N[a+103004>>2]=0;b=N[x+4>>2]}if(!(!K[a+102992|0]|!(b>Q(0)))){j=Ea-272|0;Ea=j;m=ed(j+220|0,64,32,0,a+68|0,J[a+102940>>2]);k:{if(!K[a+102994|0]){break k}k=J[a+102948>>2];if(k){while(1){J[k+60>>2]=0;I[k+4>>1]=L[k+4>>1]&65534;k=J[k+96>>2];if(k){continue}break}}k=J[a+102928>>2];if(!k){break k}while(1){J[k+128>>2]=0;J[k+132>>2]=1065353216;J[k+4>>2]=J[k+4>>2]&-34;k=J[k+12>>2];if(k){continue}break}}ea=a+102868|0;_=j+180|0;ba=j+144|0;ga=j+116|0;while(1){l:{d=0;u=Q(1);m:{k=J[a+102928>>2];n:{if(!k){break n}while(1){c=J[k+4>>2];o:{if(!(c&4)|J[k+128>>2]>8){break o}p:{if(c&32){f=N[k+132>>2];break p}l=J[k+48>>2];if(K[l+38|0]){break o}h=J[k+52>>2];if(K[h+38|0]){break o}c=J[h+8>>2];i=J[c>>2];e=J[l+8>>2];s=L[e+4>>1];y=J[e>>2];t=L[c+4>>1];if(!(s>>>1&(y|0)!=0|t>>>1&(i|0)!=0)){break o}if(!(t&8|(s&8|(y|0)!=2))){if((i|0)==2){break o}}s=c+28|0;y=e+28|0;b=N[c+60>>2];f=N[e+60>>2];q:{if(b>f){N[e+60>>2]=b;g=N[e+40>>2];f=Q(Q(b-f)/Q(Q(1)-f));N[e+40>>2]=g+Q(f*Q(N[e+48>>2]-g));g=N[e+36>>2];N[e+36>>2]=g+Q(f*Q(N[e+44>>2]-g));g=f;f=N[e+52>>2];N[e+52>>2]=Q(g*Q(N[e+56>>2]-f))+f;break q}if(b>2]=f;g=N[c+40>>2];b=Q(Q(f-b)/Q(Q(1)-b));N[c+40>>2]=g+Q(b*Q(N[c+48>>2]-g));g=N[c+36>>2];N[c+36>>2]=g+Q(b*Q(N[c+44>>2]-g));g=b;b=N[c+52>>2];N[c+52>>2]=Q(g*Q(N[c+56>>2]-b))+b}b=f}c=J[k+60>>2];e=J[k+56>>2];J[j+140>>2]=0;J[j+132>>2]=0;J[j+136>>2]=0;J[j+112>>2]=0;J[j+104>>2]=0;J[j+108>>2]=0;i=j+88|0;Ub(i,J[l+12>>2],e);Ub(ga,J[h+12>>2],c);Xa(ba,y,36);Xa(_,s,36);J[j+216>>2]=1065353216;l=0;A=Q(0);c=Ea-320|0;Ea=c;J[6083]=J[6083]+1;J[j+52>>2]=0;q=N[i+128>>2];N[j+56>>2]=q;Xa(c+280|0,i+56|0,36);Xa(c+244|0,i+92|0,36);g=N[c+304>>2];f=Q(Q(V(Q(g/Q(6.2831854820251465))))*Q(6.2831854820251465));w=Q(g-f);N[c+304>>2]=w;p=Q(N[c+308>>2]-f);N[c+308>>2]=p;g=N[c+268>>2];f=Q(Q(V(Q(g/Q(6.2831854820251465))))*Q(6.2831854820251465));r=Q(g-f);N[c+268>>2]=r;n=Q(N[c+272>>2]-f);N[c+272>>2]=n;f=N[i+52>>2];g=N[i+24>>2];I[c+236>>1]=0;J[c+160>>2]=J[i+24>>2];e=J[i+20>>2];J[c+152>>2]=J[i+16>>2];J[c+156>>2]=e;e=J[i+12>>2];J[c+144>>2]=J[i+8>>2];J[c+148>>2]=e;e=J[i+4>>2];J[c+136>>2]=J[i>>2];J[c+140>>2]=e;e=J[i+40>>2];J[c+172>>2]=J[i+36>>2];J[c+176>>2]=e;e=J[i+48>>2];J[c+180>>2]=J[i+44>>2];J[c+184>>2]=e;J[c+188>>2]=J[i+52>>2];e=J[i+32>>2];J[c+164>>2]=J[i+28>>2];J[c+168>>2]=e;H[c+224|0]=0;f=Q(Q(g+f)+Q(-.014999999664723873));z=f>2]=o;n=Sa(n);N[c+216>>2]=n;r=Q(Q(f*w)+Q(g*p));p=Ta(r);N[c+204>>2]=p;r=Sa(r);N[c+200>>2]=r;w=N[c+244>>2];C=N[c+248>>2];N[c+212>>2]=Q(Q(f*N[c+256>>2])+Q(g*N[c+264>>2]))-Q(Q(n*w)+Q(o*C));N[c+208>>2]=Q(Q(f*N[c+252>>2])+Q(g*N[c+260>>2]))-Q(Q(o*w)-Q(C*n));o=N[c+280>>2];n=N[c+284>>2];N[c+196>>2]=Q(Q(f*N[c+292>>2])+Q(g*N[c+300>>2]))-Q(Q(r*o)+Q(p*n));N[c+192>>2]=Q(Q(f*N[c+288>>2])+Q(g*N[c+296>>2]))-Q(Q(p*o)-Q(n*r));Kd(c+112|0,c+232|0,c+136|0);f=N[c+128>>2];if(f<=Q(0)){e=2;break s}if(f>2]=t;J[e>>2]=i;h=L[c+236>>1];Xa(e+8|0,c+280|0,36);Xa(e+44|0,c+244|0,36);n=N[e+48>>2];f=Q(Q(1)-g);r=Q(Q(f*N[e+68>>2])+Q(N[e+72>>2]*g));o=Ta(r);p=N[e+44>>2];r=Sa(r);S=Q(Q(Q(f*N[e+56>>2])+Q(N[e- -64>>2]*g))-Q(Q(r*p)+Q(n*o)));W=Q(Q(Q(f*N[e+52>>2])+Q(N[e+60>>2]*g))-Q(Q(o*p)-Q(n*r)));n=N[e+12>>2];w=Q(Q(f*N[e+32>>2])+Q(N[e+36>>2]*g));p=Ta(w);C=N[e+8>>2];w=Sa(w);B=Q(Q(Q(f*N[e+20>>2])+Q(N[e+28>>2]*g))-Q(Q(w*C)+Q(n*p)));F=Q(Q(Q(f*N[e+16>>2])+Q(N[e+24>>2]*g))-Q(Q(p*C)-Q(n*w)));C=Q(-r);R=Q(-w);t:{if((h|0)==1){J[e+80>>2]=0;h=J[i+44>>2]+(K[c+241|0]<<3)|0;n=N[h>>2];f=Q(r*n);r=N[h+4>>2];G=Q(S+Q(f+Q(o*r)));f=w;h=J[i+16>>2]+(K[c+238|0]<<3)|0;w=N[h>>2];S=N[h+4>>2];f=Q(G-Q(B+Q(Q(f*w)+Q(p*S))));N[e+96>>2]=f;o=Q(Q(W+Q(Q(o*n)+Q(r*C)))-Q(F+Q(Q(p*w)+Q(S*R))));N[e+92>>2]=o;n=Q(Y(Q(Q(o*o)+Q(f*f))));if(n>2]=p*f;N[e+92>>2]=o*f;break t}u:{if(K[c+238|0]==K[c+239|0]){J[e+80>>2]=2;h=J[i+44>>2];s=h+(K[c+242|0]<<3)|0;O=N[s>>2];h=h+(K[c+241|0]<<3)|0;E=N[h>>2];G=N[s+4>>2];T=N[h+4>>2];f=Q(G-T);N[e+92>>2]=f;v=Q(O-E);n=Q(-v);N[e+96>>2]=n;v=Q(Y(Q(Q(f*f)+Q(v*v))));if(!(v>2]=n;f=Q(f*v);N[e+92>>2]=f}v=Q(Q(T+G)*Q(.5));N[e+88>>2]=v;O=Q(Q(E+O)*Q(.5));N[e+84>>2]=O;G=F;h=J[i+16>>2]+(K[c+238|0]<<3)|0;F=N[h>>2];E=N[h+4>>2];if(!(Q(Q(Q(Q(G+Q(Q(p*F)+Q(E*R)))-Q(W+Q(Q(o*O)+Q(v*C))))*Q(Q(o*f)+Q(n*C)))+Q(Q(Q(r*f)+Q(o*n))*Q(Q(B+Q(Q(w*F)+Q(p*E)))-Q(S+Q(Q(r*O)+Q(o*v))))))>2]=1;h=J[i+16>>2];s=h+(K[c+239|0]<<3)|0;O=N[s>>2];h=h+(K[c+238|0]<<3)|0;E=N[h>>2];G=N[s+4>>2];T=N[h+4>>2];f=Q(G-T);N[e+92>>2]=f;v=Q(O-E);n=Q(-v);N[e+96>>2]=n;v=Q(Y(Q(Q(f*f)+Q(v*v))));if(!(v>2]=n;f=Q(f*v);N[e+92>>2]=f}v=Q(Q(T+G)*Q(.5));N[e+88>>2]=v;O=Q(Q(E+O)*Q(.5));N[e+84>>2]=O;G=W;h=J[i+44>>2]+(K[c+241|0]<<3)|0;W=N[h>>2];E=N[h+4>>2];if(!(Q(Q(Q(Q(G+Q(Q(o*W)+Q(E*C)))-Q(F+Q(Q(p*O)+Q(v*R))))*Q(Q(p*f)+Q(n*R)))+Q(Q(Q(w*f)+Q(p*n))*Q(Q(S+Q(Q(r*W)+Q(o*E)))-Q(B+Q(Q(w*O)+Q(p*v))))))>2]=-n;N[e+92>>2]=-f}y=0;h=4;v:{f=q;r=bd(e,c+8|0,c+4|0,f);w:{if(!(D$)){w=ad(c+12|0,J[c+8>>2],J[c+4>>2],g);if($>w){h=1;break w}e=0;n=g;p=f;if(w<=D){h=3;break w}y:{while(1){o=e&1?Q(n+Q(Q(Q(z-w)*Q(p-n))/Q(r-w))):Q(Q(n+p)*Q(.5));J[6086]=J[6086]+1;e=e+1|0;C=ad(c+12|0,J[c+8>>2],J[c+4>>2],o);R=Q(C-z);if((R>Q(0)?R:Q(-R))>2]=f;J[j+52>>2]=1;l=20;break r}r=bd(c+12|0,c+8|0,c+4|0,f);if(!(D>2]=g;J[j+52>>2]=h;J[6084]=J[6084]+1;l=l+1|0;break r}n=N[c+272>>2];r=N[c+268>>2];p=N[c+308>>2];w=N[c+304>>2];g=f;continue}break}N[j+56>>2]=A;J[j+52>>2]=e}e=J[6085];J[6085]=(e|0)>(l|0)?e:l;N[6081]=N[6081]+Q(0);f=N[6082];N[6082]=f>Q(0)?f:Q(0);Ea=c+320|0;f=Q(1);if(J[j+52>>2]==3){b=Q(Q(Q(Q(1)-b)*N[j+56>>2])+b);f=b>2]=f;J[k+4>>2]=J[k+4>>2]|32}c=f>2];if(k){continue}break}if(!d){break n}if(!(u>Q(.9999988079071045))){break m}}H[a+102994|0]=1;break l}i=J[J[d+52>>2]+8>>2];l=J[J[d+48>>2]+8>>2];k=l+28|0;Xa(j+88|0,k,36);h=i+28|0;Xa(j+52|0,h,36);f=N[l+40>>2];b=N[l+60>>2];b=Q(Q(u-b)/Q(Q(1)-b));N[l+40>>2]=f+Q(b*Q(N[l+48>>2]-f));f=N[l+36>>2];N[l+36>>2]=f+Q(b*Q(N[l+44>>2]-f));N[l+60>>2]=u;g=b;b=N[l+52>>2];b=Q(Q(g*Q(N[l+56>>2]-b))+b);N[l+56>>2]=b;N[l+52>>2]=b;f=Ta(b);N[l+24>>2]=f;b=Sa(b);N[l+20>>2]=b;n=N[l+40>>2];e=J[l+40>>2];g=N[l+36>>2];J[l+44>>2]=J[l+36>>2];J[l+48>>2]=e;q=g;g=N[l+28>>2];o=N[l+32>>2];N[l+12>>2]=q-Q(Q(f*g)-Q(b*o));N[l+16>>2]=n-Q(Q(b*g)+Q(f*o));f=N[i+40>>2];b=N[i+60>>2];b=Q(Q(u-b)/Q(Q(1)-b));N[i+40>>2]=f+Q(b*Q(N[i+48>>2]-f));f=N[i+36>>2];N[i+36>>2]=f+Q(b*Q(N[i+44>>2]-f));N[i+60>>2]=u;g=b;b=N[i+52>>2];b=Q(Q(g*Q(N[i+56>>2]-b))+b);N[i+56>>2]=b;N[i+52>>2]=b;f=Ta(b);N[i+24>>2]=f;b=Sa(b);N[i+20>>2]=b;n=N[i+40>>2];e=J[i+40>>2];g=N[i+36>>2];J[i+44>>2]=J[i+36>>2];J[i+48>>2]=e;q=g;g=N[i+28>>2];o=N[i+32>>2];N[i+12>>2]=q-Q(Q(f*g)-Q(b*o));N[i+16>>2]=n-Q(Q(b*g)+Q(f*o));uc(d,J[a+102940>>2]);c=J[d+4>>2];J[d+4>>2]=c&-33;J[d+128>>2]=J[d+128>>2]+1;z:{if((c&6)!=6){J[d+4>>2]=c&-37;Xa(k,j+88|0,36);Xa(h,j+52|0,36);f=N[l+56>>2];b=Ta(f);N[l+24>>2]=b;f=Sa(f);N[l+20>>2]=f;g=N[l+28>>2];o=N[l+32>>2];N[l+16>>2]=N[l+48>>2]-Q(Q(f*g)+Q(b*o));N[l+12>>2]=N[l+44>>2]-Q(Q(b*g)-Q(o*f));f=N[i+56>>2];b=Sa(f);N[i+20>>2]=b;f=Ta(f);N[i+24>>2]=f;g=N[i+28>>2];o=N[i+32>>2];N[i+16>>2]=N[i+48>>2]-Q(Q(b*g)+Q(f*o));N[i+12>>2]=N[i+44>>2]-Q(Q(f*g)-Q(o*b));c=9;break z}k=0;J[l+144>>2]=0;I[l+4>>1]=L[l+4>>1]|2;J[i+144>>2]=0;I[i+4>>1]=L[i+4>>1]|2;J[m+32>>2]=0;J[l+8>>2]=0;J[J[m+8>>2]>>2]=l;c=1;J[i+8>>2]=1;J[J[m+8>>2]+4>>2]=i;J[m+28>>2]=2;J[m+36>>2]=1;J[J[m+12>>2]>>2]=d;I[l+4>>1]=L[l+4>>1]|1;I[i+4>>1]=L[i+4>>1]|1;J[d+4>>2]=J[d+4>>2]|1;J[j+48>>2]=i;J[j+44>>2]=l;while(1){s=J[(j+44|0)+(k<<2)>>2];A:{if(J[s>>2]!=2){break A}k=J[s+112>>2];if(!k){break A}while(1){if(J[m+28>>2]==J[m+40>>2]|J[m+36>>2]==J[m+44>>2]){break A}h=J[k+4>>2];B:{if(H[h+4|0]&1){break B}e=J[k>>2];if(!(K[s+4|0]&8|J[e>>2]!=2|K[e+4|0]&8)|(K[J[h+48>>2]+38|0]|K[J[h+52>>2]+38|0])){break B}y=e+28|0;Xa(j+8|0,y,36);if(!(H[e+4|0]&1)){f=N[e+40>>2];b=N[e+60>>2];b=Q(Q(u-b)/Q(Q(1)-b));N[e+40>>2]=f+Q(b*Q(N[e+48>>2]-f));f=N[e+36>>2];N[e+36>>2]=f+Q(b*Q(N[e+44>>2]-f));N[e+60>>2]=u;g=b;b=N[e+52>>2];b=Q(Q(g*Q(N[e+56>>2]-b))+b);N[e+56>>2]=b;N[e+52>>2]=b;f=Ta(b);N[e+24>>2]=f;b=Sa(b);N[e+20>>2]=b;n=N[e+40>>2];t=J[e+40>>2];g=N[e+36>>2];J[e+44>>2]=J[e+36>>2];J[e+48>>2]=t;q=g;g=N[e+28>>2];o=N[e+32>>2];N[e+12>>2]=q-Q(Q(f*g)-Q(b*o));N[e+16>>2]=n-Q(Q(b*g)+Q(f*o))}uc(h,J[a+102940>>2]);d=J[h+4>>2];if(!(d&4)){Xa(y,j+8|0,36);f=N[e+56>>2];b=Ta(f);N[e+24>>2]=b;f=Sa(f);N[e+20>>2]=f;g=N[e+28>>2];o=N[e+32>>2];N[e+16>>2]=N[e+48>>2]-Q(Q(f*g)+Q(b*o));N[e+12>>2]=N[e+44>>2]-Q(Q(b*g)-Q(o*f));break B}if(!(d&2)){Xa(y,j+8|0,36);f=N[e+56>>2];b=Ta(f);N[e+24>>2]=b;f=Sa(f);N[e+20>>2]=f;g=N[e+28>>2];o=N[e+32>>2];N[e+16>>2]=N[e+48>>2]-Q(Q(f*g)+Q(b*o));N[e+12>>2]=N[e+44>>2]-Q(Q(b*g)-Q(o*f));break B}J[h+4>>2]=d|1;d=J[m+36>>2];J[m+36>>2]=d+1;J[J[m+12>>2]+(d<<2)>>2]=h;d=L[e+4>>1];if(d&1){break B}I[e+4>>1]=d|1;if(J[e>>2]){J[e+144>>2]=0;I[e+4>>1]=d|3}d=J[m+28>>2];J[e+8>>2]=d;J[J[m+8>>2]+(d<<2)>>2]=e;J[m+28>>2]=d+1}k=J[k+12>>2];if(k){continue}break}}k=1;d=c;c=0;if(d){continue}break}b=N[x+4>>2];J[j+24>>2]=20;J[j+16>>2]=1065353216;b=Q(b*Q(Q(1)-u));N[j+8>>2]=b;N[j+12>>2]=Q(1)/b;c=J[x+16>>2];d=0;H[j+28|0]=0;J[j+20>>2]=c;t=J[l+8>>2];Z=J[i+8>>2];h=0;s=Ea-112|0;Ea=s;C:{if(J[m+28>>2]<=0){k=J[m+24>>2];break C}while(1){c=J[J[m+8>>2]+(h<<2)>>2];i=J[c+48>>2];e=P(h,12);k=e+J[m+20>>2]|0;J[k>>2]=J[c+44>>2];J[k+4>>2]=i;N[(e+J[m+20>>2]|0)+8>>2]=N[c+56>>2];i=J[c+68>>2];k=e+J[m+24>>2]|0;J[k>>2]=J[c+64>>2];J[k+4>>2]=i;k=J[m+24>>2];N[(e+k|0)+8>>2]=N[c+72>>2];h=h+1|0;if((h|0)>2]){continue}break}}J[s+88>>2]=J[m+12>>2];J[s+92>>2]=J[m+36>>2];J[s+104>>2]=J[m>>2];c=J[j+20>>2];J[s+72>>2]=J[j+16>>2];J[s+76>>2]=c;c=J[j+28>>2];J[s+80>>2]=J[j+24>>2];J[s+84>>2]=c;c=J[j+12>>2];J[s+64>>2]=J[j+8>>2];J[s+68>>2]=c;c=J[m+20>>2];J[s+100>>2]=k;J[s+96>>2]=c;k=jd(s+12|0,s- -64|0);h=0;D:{if(J[j+24>>2]<=0){break D}while(1){n=Q(0);l=0;e=Ea+-64|0;Ea=e;if(J[k+48>>2]>0){while(1){y=J[k+36>>2]+P(l,88)|0;i=J[y+36>>2];X=J[y+32>>2];E:{if((X|0)!=(t|0)){r=Q(0);o=Q(0);if((X|0)!=(Z|0)){break E}}r=N[y+64>>2];o=N[y+40>>2]}M=J[y+84>>2];F:{if((i|0)!=(t|0)){w=Q(0);q=Q(0);if((i|0)!=(Z|0)){break F}}w=N[y+68>>2];q=N[y+44>>2]}c=J[k+24>>2];U=P(i,12);i=c+U|0;b=N[i+8>>2];g=N[i+4>>2];f=N[i>>2];X=P(X,12);i=X+c|0;u=N[i+8>>2];A=N[i+4>>2];p=N[i>>2];if((M|0)>0){C=N[y+56>>2];R=N[y+48>>2];S=N[y+60>>2];W=N[y+52>>2];$=Q(o+q);O=Q(-r);i=0;while(1){z=Ta(u);N[e+60>>2]=z;D=Sa(u);N[e+56>>2]=D;B=Ta(b);N[e+44>>2]=B;F=Sa(b);N[e+40>>2]=F;N[e+52>>2]=A-Q(Q(D*R)+Q(W*z));N[e+48>>2]=p-Q(Q(z*R)-Q(W*D));N[e+36>>2]=g-Q(Q(F*C)+Q(S*B));N[e+32>>2]=f-Q(Q(B*C)-Q(S*F));fd(e+8|0,y,e+48|0,e+32|0,i);z=Q(0);D=N[e+24>>2];c=D>n;B=N[e+20>>2];E=Q(B-g);v=Q(-E);G=Q(B-A);T=Q(-G);ca=N[e+16>>2];aa=Q(ca-f);B=N[e+12>>2];F=N[e+8>>2];E=Q(Q(aa*B)-Q(F*E));da=Q(Q(w*E)*E);E=Q(ca-p);G=Q(Q(E*B)-Q(F*G));G=Q(da+Q(Q(Q(r*G)*G)+$));if(G>Q(0)){z=Q(Q(D+Q(.004999999888241291))*Q(.75));z=z>2]}c=c+X|0;N[c+4>>2]=A;N[c>>2]=p;c=J[k+24>>2];N[(c+X|0)+8>>2]=u;c=c+U|0;N[c+4>>2]=g;N[c>>2]=f;N[(U+J[k+24>>2]|0)+8>>2]=b;l=l+1|0;if((l|0)>2]){continue}break}}Ea=e- -64|0;if(n>=Q(-.007499999832361937)){break D}h=h+1|0;if((h|0)>2]){continue}break}}i=P(t,12);l=i+J[m+20>>2]|0;h=J[l+4>>2];c=t<<2;e=J[c+J[m+8>>2]>>2];J[e+36>>2]=J[l>>2];J[e+40>>2]=h;t=c;c=J[m+8>>2];e=J[m+20>>2];N[J[t+c>>2]+52>>2]=N[(e+i|0)+8>>2];t=e;e=P(Z,12);l=t+e|0;h=J[l+4>>2];t=c;c=Z<<2;i=J[t+c>>2];J[i+36>>2]=J[l>>2];J[i+40>>2]=h;N[J[c+J[m+8>>2]>>2]+52>>2]=N[(e+J[m+20>>2]|0)+8>>2];hd(k);h=0;if(J[j+20>>2]>0){while(1){gd(k);h=h+1|0;if((h|0)>2]){continue}break}}i=0;if(J[m+28>>2]>0){b=N[j+8>>2];while(1){c=P(i,12);l=c+J[m+24>>2]|0;n=N[l>>2];f=Q(b*n);g=Q(f*f);p=N[l+4>>2];f=Q(b*p);f=Q(g+Q(f*f));if(f>Q(4)){f=Q(Q(2)/Q(Y(f)));p=Q(p*f);n=Q(n*f)}e=c+J[m+20>>2]|0;q=N[e+8>>2];g=N[e+4>>2];o=N[e>>2];r=N[l+8>>2];f=Q(b*r);if(Q(f*f)>Q(2.4674012660980225)){r=Q(r*Q(Q(1.5707963705062866)/(f>Q(0)?f:Q(-f))))}g=Q(g+Q(b*p));N[e+4>>2]=g;o=Q(o+Q(b*n));N[e>>2]=o;f=Q(Q(b*r)+q);N[(c+J[m+20>>2]|0)+8>>2]=f;e=c+J[m+24>>2]|0;N[e+4>>2]=p;N[e>>2]=n;N[(c+J[m+24>>2]|0)+8>>2]=r;c=J[J[m+8>>2]+(i<<2)>>2];N[c+72>>2]=r;N[c+64>>2]=n;N[c+68>>2]=p;N[c+56>>2]=f;N[c+48>>2]=g;N[c+44>>2]=o;q=Ta(f);N[c+24>>2]=q;f=Sa(f);N[c+20>>2]=f;p=g;g=N[c+28>>2];n=N[c+32>>2];N[c+16>>2]=p-Q(Q(f*g)+Q(q*n));N[c+12>>2]=o-Q(Q(q*g)-Q(n*f));i=i+1|0;if((i|0)>2]){continue}break}}cd(m,J[k+40>>2]);id(k);Ea=s+112|0;if(J[m+28>>2]>0){while(1){c=J[J[m+8>>2]+(d<<2)>>2];I[c+4>>1]=L[c+4>>1]&65534;G:{if(J[c>>2]!=2){break G}wc(c);k=J[c+112>>2];if(!k){break G}while(1){c=J[k+4>>2];J[c+4>>2]=J[c+4>>2]&-34;k=J[k+12>>2];if(k){continue}break}}d=d+1|0;if((d|0)>2]){continue}break}}Sb(ea);c=0;if(!K[a+102993|0]){break z}H[a+102994|0]=0;c=8}if((c|0)!=8){continue}}break}dd(m);Ea=j+272|0;N[a+103024>>2]=0;b=N[x+4>>2]}if(b>Q(0)){N[a+102984>>2]=N[x+8>>2]}H:{if(!K[a+102990|0]){break H}d=J[a+102948>>2];if(!d){break H}while(1){J[d+84>>2]=0;J[d+76>>2]=0;J[d+80>>2]=0;d=J[d+96>>2];if(d){continue}break}}H[a+102989|0]=0;N[a+102996>>2]=0;Ea=x+32|0}function db(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=Ea-16|0;Ea=l;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{if(a>>>0<=244){g=J[6398];h=a>>>0<11?16:a+11&-8;c=h>>>3|0;b=g>>>c|0;if(b&3){c=c+((b^-1)&1)|0;a=c<<3;b=a+25632|0;d=J[a+25640>>2];a=J[d+8>>2];o:{if((b|0)==(a|0)){m=25592,n=Dl(c)&g,J[m>>2]=n;break o}J[a+12>>2]=b;J[b+8>>2]=a}a=d+8|0;b=c<<3;J[d+4>>2]=b|3;b=b+d|0;J[b+4>>2]=J[b+4>>2]|1;break a}k=J[6400];if(k>>>0>=h>>>0){break n}if(b){a=2<>2];a=J[e+8>>2];p:{if((b|0)==(a|0)){g=Dl(d)&g;J[6398]=g;break p}J[a+12>>2]=b;J[b+8>>2]=a}J[e+4>>2]=h|3;c=e+h|0;a=d<<3;d=a-h|0;J[c+4>>2]=d|1;J[a+e>>2]=d;if(k){b=(k&-8)+25632|0;f=J[6403];a=1<<(k>>>3);q:{if(!(a&g)){J[6398]=a|g;a=b;break q}a=J[b+8>>2]}J[b+8>>2]=f;J[a+12>>2]=f;J[f+12>>2]=b;J[f+8>>2]=a}a=e+8|0;J[6403]=c;J[6400]=d;break a}j=J[6399];if(!j){break n}c=J[(Al(0-j&j)<<2)+25896>>2];f=(J[c+4>>2]&-8)-h|0;b=c;while(1){r:{a=J[b+16>>2];if(!a){a=J[b+20>>2];if(!a){break r}}b=(J[a+4>>2]&-8)-h|0;d=b>>>0>>0;f=d?b:f;c=d?a:c;b=a;continue}break}i=J[c+24>>2];d=J[c+12>>2];if((d|0)!=(c|0)){a=J[c+8>>2];J[a+12>>2]=d;J[d+8>>2]=a;break b}b=c+20|0;a=J[b>>2];if(!a){a=J[c+16>>2];if(!a){break m}b=c+16|0}while(1){e=b;d=a;b=a+20|0;a=J[b>>2];if(a){continue}b=d+16|0;a=J[d+16>>2];if(a){continue}break}J[e>>2]=0;break b}h=-1;if(a>>>0>4294967231){break n}a=a+11|0;h=a&-8;j=J[6399];if(!j){break n}f=0-h|0;g=0;s:{if(h>>>0<256){break s}g=31;if(h>>>0>16777215){break s}a=S(a>>>8|0);g=((h>>>38-a&1)-(a<<1)|0)+62|0}b=J[(g<<2)+25896>>2];t:{u:{v:{if(!b){a=0;break v}a=0;c=h<<((g|0)!=31?25-(g>>>1|0)|0:0);while(1){w:{e=(J[b+4>>2]&-8)-h|0;if(e>>>0>=f>>>0){break w}d=b;f=e;if(e){break w}f=0;a=b;break u}e=J[b+20>>2];b=J[((c>>>29&4)+b|0)+16>>2];a=e?(e|0)==(b|0)?a:e:a;c=c<<1;if(b){continue}break}}if(!(a|d)){d=0;a=2<>2]}if(!a){break t}}while(1){b=(J[a+4>>2]&-8)-h|0;c=b>>>0>>0;f=c?b:f;d=c?a:d;b=J[a+16>>2];if(b){a=b}else{a=J[a+20>>2]}if(a){continue}break}}if(!d|J[6400]-h>>>0<=f>>>0){break n}g=J[d+24>>2];c=J[d+12>>2];if((d|0)!=(c|0)){a=J[d+8>>2];J[a+12>>2]=c;J[c+8>>2]=a;break c}b=d+20|0;a=J[b>>2];if(!a){a=J[d+16>>2];if(!a){break l}b=d+16|0}while(1){e=b;c=a;b=a+20|0;a=J[b>>2];if(a){continue}b=c+16|0;a=J[c+16>>2];if(a){continue}break}J[e>>2]=0;break c}a=J[6400];if(a>>>0>=h>>>0){d=J[6403];b=a-h|0;x:{if(b>>>0>=16){c=d+h|0;J[c+4>>2]=b|1;J[a+d>>2]=b;J[d+4>>2]=h|3;break x}J[d+4>>2]=a|3;a=a+d|0;J[a+4>>2]=J[a+4>>2]|1;c=0;b=0}J[6400]=b;J[6403]=c;a=d+8|0;break a}i=J[6401];if(i>>>0>h>>>0){b=i-h|0;J[6401]=b;c=J[6404];a=c+h|0;J[6404]=a;J[a+4>>2]=b|1;J[c+4>>2]=h|3;a=c+8|0;break a}a=0;j=h+47|0;if(J[6516]){c=J[6518]}else{J[6519]=-1;J[6520]=-1;J[6517]=4096;J[6518]=4096;J[6516]=l+12&-16^1431655768;J[6521]=0;J[6509]=0;c=4096}e=j+c|0;f=0-c|0;b=e&f;if(b>>>0<=h>>>0){break a}d=J[6508];if(d){c=J[6506];g=c+b|0;if(d>>>0>>0|c>>>0>=g>>>0){break a}}y:{if(!(K[26036]&4)){z:{A:{B:{C:{d=J[6404];if(d){a=26040;while(1){c=J[a>>2];if(c>>>0<=d>>>0&d>>>0>2]>>>0){break C}a=J[a+8>>2];if(a){continue}break}}c=Cb(0);if((c|0)==-1){break z}g=b;d=J[6517];a=d-1|0;if(a&c){g=(b-c|0)+(a+c&0-d)|0}if(g>>>0<=h>>>0){break z}d=J[6508];if(d){a=J[6506];f=a+g|0;if(d>>>0>>0|a>>>0>=f>>>0){break z}}a=Cb(g);if((c|0)!=(a|0)){break B}break y}g=f&e-i;c=Cb(g);if((c|0)==(J[a>>2]+J[a+4>>2]|0)){break A}a=c}if((a|0)==-1){break z}if(h+48>>>0<=g>>>0){c=a;break y}c=J[6518];c=c+(j-g|0)&0-c;if((Cb(c)|0)==-1){break z}g=c+g|0;c=a;break y}if((c|0)!=-1){break y}}J[6509]=J[6509]|4}c=Cb(b);a=Cb(0);if((c|0)==-1|(a|0)==-1|a>>>0<=c>>>0){break i}g=a-c|0;if(g>>>0<=h+40>>>0){break i}}a=J[6506]+g|0;J[6506]=a;if(a>>>0>M[6507]){J[6507]=a}D:{e=J[6404];if(e){a=26040;while(1){d=J[a>>2];b=J[a+4>>2];if((d+b|0)==(c|0)){break D}a=J[a+8>>2];if(a){continue}break}break k}a=J[6402];if(!(a>>>0<=c>>>0?a:0)){J[6402]=c}a=0;J[6511]=g;J[6510]=c;J[6406]=-1;J[6407]=J[6516];J[6513]=0;while(1){d=a<<3;b=d+25632|0;J[d+25640>>2]=b;J[d+25644>>2]=b;a=a+1|0;if((a|0)!=32){continue}break}d=g-40|0;a=c+8&7?-8-c&7:0;b=d-a|0;J[6401]=b;a=a+c|0;J[6404]=a;J[a+4>>2]=b|1;J[(c+d|0)+4>>2]=40;J[6405]=J[6520];break j}if(J[a+12>>2]&8|(c>>>0<=e>>>0|d>>>0>e>>>0)){break k}J[a+4>>2]=b+g;a=e+8&7?-8-e&7:0;c=a+e|0;J[6404]=c;b=J[6401]+g|0;a=b-a|0;J[6401]=a;J[c+4>>2]=a|1;J[(b+e|0)+4>>2]=40;J[6405]=J[6520];break j}d=0;break b}c=0;break c}if(M[6402]>c>>>0){J[6402]=c}b=c+g|0;a=26040;E:{F:{G:{while(1){if((b|0)!=J[a>>2]){a=J[a+8>>2];if(a){continue}break G}break}if(!(K[a+12|0]&8)){break F}}a=26040;while(1){b=J[a>>2];if(b>>>0<=e>>>0){f=b+J[a+4>>2]|0;if(f>>>0>e>>>0){break E}}a=J[a+8>>2];continue}}J[a>>2]=c;J[a+4>>2]=J[a+4>>2]+g;j=(c+8&7?-8-c&7:0)+c|0;J[j+4>>2]=h|3;g=b+(b+8&7?-8-b&7:0)|0;i=h+j|0;a=g-i|0;if((e|0)==(g|0)){J[6404]=i;a=J[6401]+a|0;J[6401]=a;J[i+4>>2]=a|1;break d}if(J[6403]==(g|0)){J[6403]=i;a=J[6400]+a|0;J[6400]=a;J[i+4>>2]=a|1;J[a+i>>2]=a;break d}f=J[g+4>>2];if((f&3)!=1){break e}e=f&-8;if(f>>>0<=255){c=J[g+12>>2];b=J[g+8>>2];if((c|0)==(b|0)){m=25592,n=J[6398]&Dl(f>>>3|0),J[m>>2]=n;break f}J[b+12>>2]=c;J[c+8>>2]=b;break f}h=J[g+24>>2];c=J[g+12>>2];if((g|0)!=(c|0)){b=J[g+8>>2];J[b+12>>2]=c;J[c+8>>2]=b;break g}b=g+20|0;f=J[b>>2];if(!f){f=J[g+16>>2];if(!f){break h}b=g+16|0}while(1){d=b;c=f;b=c+20|0;f=J[b>>2];if(f){continue}b=c+16|0;f=J[c+16>>2];if(f){continue}break}J[d>>2]=0;break g}d=g-40|0;a=c+8&7?-8-c&7:0;b=d-a|0;J[6401]=b;a=a+c|0;J[6404]=a;J[a+4>>2]=b|1;J[(c+d|0)+4>>2]=40;J[6405]=J[6520];a=(f+(f-39&7?39-f&7:0)|0)-47|0;d=a>>>0>>0?e:a;J[d+4>>2]=27;a=J[6513];J[d+16>>2]=J[6512];J[d+20>>2]=a;a=J[6511];J[d+8>>2]=J[6510];J[d+12>>2]=a;J[6512]=d+8;J[6511]=g;J[6510]=c;J[6513]=0;a=d+24|0;while(1){J[a+4>>2]=7;b=a+8|0;a=a+4|0;if(b>>>0>>0){continue}break}if((d|0)==(e|0)){break j}J[d+4>>2]=J[d+4>>2]&-2;f=d-e|0;J[e+4>>2]=f|1;J[d>>2]=f;if(f>>>0<=255){b=(f&-8)+25632|0;c=J[6398];a=1<<(f>>>3);H:{if(!(c&a)){J[6398]=a|c;a=b;break H}a=J[b+8>>2]}J[b+8>>2]=e;J[a+12>>2]=e;J[e+12>>2]=b;J[e+8>>2]=a;break j}a=31;if(f>>>0<=16777215){a=S(f>>>8|0);a=((f>>>38-a&1)-(a<<1)|0)+62|0}J[e+28>>2]=a;J[e+16>>2]=0;J[e+20>>2]=0;b=(a<<2)+25896|0;I:{d=J[6399];c=1<>2]=e;break J}a=f<<((a|0)!=31?25-(a>>>1|0)|0:0);d=J[b>>2];while(1){b=d;if((f|0)==(J[b+4>>2]&-8)){break I}c=a>>>29|0;a=a<<1;c=(c&4)+b|0;d=J[c+16>>2];if(d){continue}break}J[c+16>>2]=e}J[e+24>>2]=b;J[e+12>>2]=e;J[e+8>>2]=e;break j}a=J[b+8>>2];J[a+12>>2]=e;J[b+8>>2]=e;J[e+24>>2]=0;J[e+12>>2]=b;J[e+8>>2]=a}a=J[6401];if(a>>>0<=h>>>0){break i}b=a-h|0;J[6401]=b;c=J[6404];a=c+h|0;J[6404]=a;J[a+4>>2]=b|1;J[c+4>>2]=h|3;a=c+8|0;break a}J[6350]=48;a=0;break a}c=0}if(!h){break f}d=J[g+28>>2];b=(d<<2)+25896|0;K:{if(J[b>>2]==(g|0)){J[b>>2]=c;if(c){break K}m=25596,n=J[6399]&Dl(d),J[m>>2]=n;break f}J[h+(J[h+16>>2]==(g|0)?16:20)>>2]=c;if(!c){break f}}J[c+24>>2]=h;b=J[g+16>>2];if(b){J[c+16>>2]=b;J[b+24>>2]=c}b=J[g+20>>2];if(!b){break f}J[c+20>>2]=b;J[b+24>>2]=c}a=a+e|0;g=e+g|0;f=J[g+4>>2]}J[g+4>>2]=f&-2;J[i+4>>2]=a|1;J[a+i>>2]=a;if(a>>>0<=255){b=(a&-8)+25632|0;c=J[6398];a=1<<(a>>>3);L:{if(!(c&a)){J[6398]=a|c;a=b;break L}a=J[b+8>>2]}J[b+8>>2]=i;J[a+12>>2]=i;J[i+12>>2]=b;J[i+8>>2]=a;break d}f=31;if(a>>>0<=16777215){b=S(a>>>8|0);f=((a>>>38-b&1)-(b<<1)|0)+62|0}J[i+28>>2]=f;J[i+16>>2]=0;J[i+20>>2]=0;b=(f<<2)+25896|0;M:{d=J[6399];c=1<>2]=i;break N}f=a<<((f|0)!=31?25-(f>>>1|0)|0:0);c=J[b>>2];while(1){b=c;if((J[c+4>>2]&-8)==(a|0)){break M}c=f>>>29|0;f=f<<1;d=(c&4)+b|0;c=J[d+16>>2];if(c){continue}break}J[d+16>>2]=i}J[i+24>>2]=b;J[i+12>>2]=i;J[i+8>>2]=i;break d}a=J[b+8>>2];J[a+12>>2]=i;J[b+8>>2]=i;J[i+24>>2]=0;J[i+12>>2]=b;J[i+8>>2]=a}a=j+8|0;break a}O:{if(!g){break O}b=J[d+28>>2];a=(b<<2)+25896|0;P:{if(J[a>>2]==(d|0)){J[a>>2]=c;if(c){break P}j=Dl(b)&j;J[6399]=j;break O}J[g+(J[g+16>>2]==(d|0)?16:20)>>2]=c;if(!c){break O}}J[c+24>>2]=g;a=J[d+16>>2];if(a){J[c+16>>2]=a;J[a+24>>2]=c}a=J[d+20>>2];if(!a){break O}J[c+20>>2]=a;J[a+24>>2]=c}Q:{if(f>>>0<=15){a=f+h|0;J[d+4>>2]=a|3;a=a+d|0;J[a+4>>2]=J[a+4>>2]|1;break Q}J[d+4>>2]=h|3;e=d+h|0;J[e+4>>2]=f|1;J[e+f>>2]=f;if(f>>>0<=255){b=(f&-8)+25632|0;c=J[6398];a=1<<(f>>>3);R:{if(!(c&a)){J[6398]=a|c;a=b;break R}a=J[b+8>>2]}J[b+8>>2]=e;J[a+12>>2]=e;J[e+12>>2]=b;J[e+8>>2]=a;break Q}a=31;if(f>>>0<=16777215){a=S(f>>>8|0);a=((f>>>38-a&1)-(a<<1)|0)+62|0}J[e+28>>2]=a;J[e+16>>2]=0;J[e+20>>2]=0;b=(a<<2)+25896|0;S:{c=1<>2]=e;break T}a=f<<((a|0)!=31?25-(a>>>1|0)|0:0);h=J[b>>2];while(1){b=h;if((J[b+4>>2]&-8)==(f|0)){break S}c=a>>>29|0;a=a<<1;c=(c&4)+b|0;h=J[c+16>>2];if(h){continue}break}J[c+16>>2]=e}J[e+24>>2]=b;J[e+12>>2]=e;J[e+8>>2]=e;break Q}a=J[b+8>>2];J[a+12>>2]=e;J[b+8>>2]=e;J[e+24>>2]=0;J[e+12>>2]=b;J[e+8>>2]=a}a=d+8|0;break a}U:{if(!i){break U}b=J[c+28>>2];a=(b<<2)+25896|0;V:{if(J[a>>2]==(c|0)){J[a>>2]=d;if(d){break V}m=25596,n=Dl(b)&j,J[m>>2]=n;break U}J[i+(J[i+16>>2]==(c|0)?16:20)>>2]=d;if(!d){break U}}J[d+24>>2]=i;a=J[c+16>>2];if(a){J[d+16>>2]=a;J[a+24>>2]=d}a=J[c+20>>2];if(!a){break U}J[d+20>>2]=a;J[a+24>>2]=d}W:{if(f>>>0<=15){a=f+h|0;J[c+4>>2]=a|3;a=a+c|0;J[a+4>>2]=J[a+4>>2]|1;break W}J[c+4>>2]=h|3;d=c+h|0;J[d+4>>2]=f|1;J[d+f>>2]=f;if(k){b=(k&-8)+25632|0;e=J[6403];a=1<<(k>>>3);X:{if(!(a&g)){J[6398]=a|g;a=b;break X}a=J[b+8>>2]}J[b+8>>2]=e;J[a+12>>2]=e;J[e+12>>2]=b;J[e+8>>2]=a}J[6403]=d;J[6400]=f}a=c+8|0}Ea=l+16|0;return a|0}function yd(a,b,c,d,e){var f=0,g=0,h=Q(0),i=Q(0),j=Q(0),k=0,l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=0,q=Q(0),r=Q(0),s=0,t=0,u=Q(0),v=Q(0),w=Q(0),y=0,z=Q(0),A=Q(0),B=0,C=Q(0),E=Q(0),F=Q(0),G=Q(0),L=Q(0),M=Q(0);B=Ea-256|0;Ea=B;g=Ea-160|0;Ea=g;m=N[c>>2];n=N[e>>2];o=N[c+4>>2];q=N[e+4>>2];f=B+4|0;h=N[c+12>>2];i=N[e+12>>2];u=N[e+8>>2];j=N[c+8>>2];l=Q(Q(h*i)+Q(u*j));N[f+144>>2]=l;i=Q(Q(h*u)-Q(i*j));N[f+140>>2]=i;o=Q(q-o);m=Q(n-m);n=Q(Q(h*o)-Q(j*m));N[f+136>>2]=n;h=Q(Q(h*m)+Q(j*o));N[f+132>>2]=h;j=N[d+12>>2];m=N[d+16>>2];q=Q(n+Q(Q(i*j)+Q(l*m)));N[f+152>>2]=q;u=Q(h+Q(Q(l*j)-Q(m*i)));N[f+148>>2]=u;z=N[b+32>>2];e=J[b+32>>2];m=N[b+28>>2];J[f+156>>2]=J[b+28>>2];J[f+160>>2]=e;n=N[b+16>>2];k=J[b+16>>2];i=N[b+12>>2];J[f+164>>2]=J[b+12>>2];J[f+168>>2]=k;w=N[b+24>>2];p=J[b+24>>2];l=N[b+20>>2];J[f+172>>2]=J[b+20>>2];J[f+176>>2]=p;A=N[b+40>>2];t=J[b+40>>2];r=N[b+36>>2];J[f+180>>2]=J[b+36>>2];J[f+184>>2]=t;s=K[b+44|0];h=Q(l-i);j=Q(w-n);o=Q(Y(Q(Q(h*h)+Q(j*j))));if(!(o>2]=j;N[f+200>>2]=-h;o=Q(Q(j*Q(u-i))-Q(Q(q-n)*h));a:{b:{c:{d:{e:{f:{g:{if(s){i=Q(i-m);n=Q(n-z);v=Q(Y(Q(Q(i*i)+Q(n*n))));if(!(v>2]=n;N[f+192>>2]=-i;m=Q(Q(n*Q(u-m))-Q(Q(q-z)*i));i=Q(Q(i*j)-Q(h*n));if(!k){break f}c=i>=Q(0);break g}if(!k){break c}m=Q(0);c=0}i=Q(r-l);n=Q(A-w);r=Q(Y(Q(Q(i*i)+Q(n*n))));if(!(r>2]=n;N[f+208>>2]=-i;r=Q(Q(h*n)-Q(i*j));q=Q(Q(n*Q(u-l))-Q(Q(q-w)*i));l=Q(-j);if(!(!s|!k)){if(!(!(r>Q(0))|c^1)){c=o>=Q(0)|m>=Q(0)|q>=Q(0);H[f+248|0]=c;if(c){c=J[f+200>>2];J[f+212>>2]=J[f+196>>2];J[f+216>>2]=c;c=J[f+192>>2];J[f+228>>2]=J[f+188>>2];J[f+232>>2]=c;c=J[f+208>>2];J[f+236>>2]=J[f+204>>2];J[f+240>>2]=c;break a}N[f+236>>2]=l;N[f+228>>2]=l;N[f+212>>2]=l;N[f+240>>2]=h;N[f+232>>2]=h;N[f+216>>2]=h;break a}if(c){h:{if(!(m>=Q(0))){c=o>=Q(0)&q>=Q(0);H[f+248|0]=c;if(c){break h}N[f+236>>2]=l;N[f+212>>2]=l;N[f+240>>2]=h;N[f+232>>2]=i;N[f+228>>2]=-n;N[f+216>>2]=h;break a}H[f+248|0]=1}e=J[f+200>>2];c=J[f+196>>2];J[f+212>>2]=c;J[f+216>>2]=e;J[f+236>>2]=c;J[f+240>>2]=e;c=J[f+192>>2];J[f+228>>2]=J[f+188>>2];J[f+232>>2]=c;break a}if(r>Q(0)){i:{if(!(q>=Q(0))){c=o>=Q(0)&m>=Q(0);H[f+248|0]=c;if(c){break i}N[f+228>>2]=l;N[f+212>>2]=l;N[f+232>>2]=h;N[f+216>>2]=h;N[f+236>>2]=-N[f+188>>2];N[f+240>>2]=-N[f+192>>2];break a}H[f+248|0]=1}e=J[f+200>>2];c=J[f+196>>2];J[f+228>>2]=c;J[f+232>>2]=e;J[f+212>>2]=c;J[f+216>>2]=e;c=J[f+208>>2];J[f+236>>2]=J[f+204>>2];J[f+240>>2]=c;break a}c=o>=Q(0)&m>=Q(0)&q>=Q(0);H[f+248|0]=c;if(c){e=J[f+200>>2];c=J[f+196>>2];J[f+236>>2]=c;J[f+240>>2]=e;J[f+228>>2]=c;J[f+232>>2]=e;J[f+212>>2]=c;J[f+216>>2]=e;break a}N[f+212>>2]=l;N[f+232>>2]=i;N[f+228>>2]=-n;N[f+216>>2]=h;N[f+236>>2]=-N[f+188>>2];N[f+240>>2]=-N[f+192>>2];break a}if(!s){break d}if(!c){break e}break b}if(i>=Q(0)){break b}}c=o>=Q(0)&m>=Q(0);H[f+248|0]=c;if(c){e=J[f+200>>2];c=J[f+196>>2];J[f+228>>2]=c;J[f+232>>2]=e;J[f+212>>2]=c;J[f+216>>2]=e;J[f+236>>2]=c^-2147483648;J[f+240>>2]=e^-2147483648;break a}N[f+216>>2]=h;N[f+212>>2]=-j;c=J[f+200>>2];J[f+228>>2]=J[f+196>>2];J[f+232>>2]=c;N[f+236>>2]=-N[f+188>>2];N[f+240>>2]=-N[f+192>>2];break a}if(r>Q(0)){c=o>=Q(0)|q>=Q(0);H[f+248|0]=c;if(c){c=J[f+200>>2];e=J[f+196>>2];J[f+212>>2]=e;J[f+216>>2]=c;k=J[f+208>>2];J[f+236>>2]=J[f+204>>2];J[f+240>>2]=k;J[f+228>>2]=e^-2147483648;J[f+232>>2]=c^-2147483648;break a}N[f+228>>2]=l;N[f+212>>2]=l;N[f+232>>2]=h;N[f+216>>2]=h;c=J[f+200>>2];J[f+236>>2]=J[f+196>>2];J[f+240>>2]=c;break a}c=o>=Q(0)&q>=Q(0);H[f+248|0]=c;if(c){e=J[f+200>>2];c=J[f+196>>2];J[f+236>>2]=c;J[f+240>>2]=e;J[f+212>>2]=c;J[f+216>>2]=e;J[f+228>>2]=c^-2147483648;J[f+232>>2]=e^-2147483648;break a}N[f+212>>2]=l;N[f+232>>2]=i;N[f+228>>2]=-n;N[f+216>>2]=h;c=J[f+200>>2];J[f+236>>2]=J[f+196>>2];J[f+240>>2]=c;break a}c=o>=Q(0);H[f+248|0]=c;if(c){e=J[f+200>>2];c=J[f+196>>2];J[f+212>>2]=c;J[f+216>>2]=e;c=c^-2147483648;J[f+236>>2]=c;J[f+228>>2]=c;c=e^-2147483648;J[f+240>>2]=c;J[f+232>>2]=c;break a}N[f+216>>2]=h;N[f+212>>2]=-j;e=J[f+200>>2];c=J[f+196>>2];J[f+236>>2]=c;J[f+240>>2]=e;J[f+228>>2]=c;J[f+232>>2]=e;break a}c=o>=Q(0)|m>=Q(0);H[f+248|0]=c;if(c){c=J[f+200>>2];e=J[f+196>>2];J[f+212>>2]=e;J[f+216>>2]=c;k=J[f+192>>2];J[f+228>>2]=J[f+188>>2];J[f+232>>2]=k;J[f+236>>2]=e^-2147483648;J[f+240>>2]=c^-2147483648;break a}N[f+216>>2]=h;N[f+212>>2]=-j;N[f+240>>2]=h;e=J[f+200>>2];c=J[f+196>>2];J[f+228>>2]=c;J[f+232>>2]=e;J[f+236>>2]=c^-2147483648}c=J[d+148>>2];J[f+128>>2]=c;k=0;if((c|0)>0){while(1){h=N[f+132>>2];e=k<<3;c=e+f|0;j=N[f+140>>2];e=d+e|0;l=N[e+20>>2];i=N[f+144>>2];m=N[e+24>>2];N[c+4>>2]=Q(Q(j*l)+Q(i*m))+N[f+136>>2];N[c>>2]=h+Q(Q(i*l)-Q(m*j));h=N[f+140>>2];j=N[e+84>>2];l=N[f+144>>2];i=N[e+88>>2];N[c+68>>2]=Q(h*j)+Q(l*i);N[c- -64>>2]=Q(l*j)-Q(i*h);k=k+1|0;if((k|0)>2]){continue}break}}n=Q(N[d+8>>2]+N[b+8>>2]);N[f+244>>2]=n;J[a+60>>2]=0;J[g+148>>2]=1;b=K[f+248|0];J[g+156>>2]=2139095039;J[g+152>>2]=!b;b=J[f+128>>2];if((b|0)>0){l=N[f+216>>2];i=N[f+168>>2];m=N[f+212>>2];o=N[f+164>>2];h=Q(34028234663852886e22);e=0;while(1){c=(e<<3)+f|0;j=Q(Q(m*Q(N[c>>2]-o))+Q(Q(N[c+4>>2]-i)*l));if(j>2]=j;h=j}e=e+1|0;if((b|0)!=(e|0)){continue}break}}e=J[g+148>>2];j:{if(!e){break j}q=N[g+156>>2];if(q>n){break j}c=0;J[g+144>>2]=-8388609;J[g+136>>2]=0;J[g+140>>2]=-1;k:{l:{k=J[f+128>>2];if((k|0)>0){l=N[f+216>>2];i=N[f+212>>2];u=N[f+232>>2];r=N[f+240>>2];w=N[f+176>>2];z=N[f+168>>2];v=N[f+228>>2];F=N[f+236>>2];G=N[f+244>>2];L=N[f+172>>2];M=N[f+164>>2];j=Q(-34028234663852886e22);while(1){b=(c<<3)+f|0;A=N[b- -64>>2];m=Q(-A);h=N[b>>2];C=N[b+4>>2];o=N[b+68>>2];E=Q(Q(m*Q(h-M))-Q(Q(C-z)*o));h=Q(Q(m*Q(h-L))-Q(Q(C-w)*o));h=h>E?E:h;if(h>G){break l}o=Q(-o);m:{n:{if(Q(Q(A*l)+Q(i*o))>=Q(0)){if(Q(Q(Q(m-F)*i)+Q(Q(o-r)*l))j){break n}break m}if(!(h>j)|Q(Q(Q(m-v)*i)+Q(Q(o-u)*l))>2]=h;J[g+140>>2]=c;J[g+136>>2]=2;j=h}c=c+1|0;if((k|0)!=(c|0)){continue}break}}break k}N[g+144>>2]=h;J[g+140>>2]=c;J[g+136>>2]=2}b=J[g+136>>2];if(b){h=N[g+144>>2];if(h>n){break j}c=b;b=h>Q(Q(q*Q(.9800000190734863))+Q(.0010000000474974513));e=b?c:e;b=b?g+136|0:g+148|0}else{b=g+148|0}o:{if((e|0)==1){J[a+56>>2]=1;c=0;k=J[f+128>>2];if((k|0)>=2){h=N[f+212>>2];l=N[f+216>>2];j=Q(Q(h*N[f+64>>2])+Q(l*N[f+68>>2]));b=1;while(1){p=(b<<3)+f|0;i=Q(Q(h*N[p- -64>>2])+Q(l*N[p+68>>2]));p=i>2];t=J[b+4>>2];b=1;I[g+122>>1]=1;H[g+121|0]=c;H[g+120|0]=0;J[g+112>>2]=p;J[g+116>>2]=t;c=c+1|0;c=(c|0)<(k|0)?c:0;k=(c<<3)+f|0;p=J[k>>2];k=J[k+4>>2];H[g+132|0]=0;I[g+134>>1]=1;H[g+133|0]=c;J[g+124>>2]=p;J[g+128>>2]=k;if(K[f+248|0]){J[g+56>>2]=0;J[g+60>>2]=1;b=J[f+168>>2];p=b;c=J[f+164>>2];J[g+64>>2]=c;J[g+68>>2]=b;b=J[f+176>>2];t=b;k=J[f+172>>2];J[g+72>>2]=k;J[g+76>>2]=b;j=N[f+200>>2];s=J[f+200>>2];h=N[f+196>>2];J[g+80>>2]=J[f+196>>2];J[g+84>>2]=s;b=0;break o}J[g+56>>2]=1;J[g+60>>2]=0;k=J[f+176>>2];p=k;c=J[f+172>>2];J[g+64>>2]=c;J[g+68>>2]=k;t=J[f+168>>2];k=J[f+164>>2];J[g+72>>2]=k;J[g+76>>2]=t;h=N[f+196>>2];j=Q(-N[f+200>>2]);N[g+84>>2]=j;h=Q(-h);N[g+80>>2]=h;break o}b=J[b+4>>2];J[a+56>>2]=2;c=J[f+164>>2];k=J[f+168>>2];I[g+122>>1]=256;H[g+121|0]=b;H[g+120|0]=0;J[g+112>>2]=c;J[g+116>>2]=k;c=J[f+172>>2];k=J[f+176>>2];H[g+132|0]=0;I[g+134>>1]=256;H[g+133|0]=b;J[g+124>>2]=c;J[g+128>>2]=k;J[g+56>>2]=b;c=b+1|0;k=(c|0)>2]?c:0;J[g+60>>2]=k;s=(b<<3)+f|0;p=s;c=J[p>>2];p=J[p+4>>2];J[g+64>>2]=c;J[g+68>>2]=p;t=(k<<3)+f|0;k=J[t>>2];t=J[t+4>>2];J[g+72>>2]=k;J[g+76>>2]=t;y=s- -64|0;s=y;h=N[s>>2];s=J[s>>2];j=N[y+4>>2];y=J[y+4>>2];J[g+80>>2]=s;J[g+84>>2]=y}N[g+104>>2]=h;N[g+92>>2]=-h;N[g+88>>2]=j;N[g+100>>2]=-j;N[g+108>>2]=Q(h*(x(2,t),D()))-Q(j*(x(2,k),D()));h=Q(Q(j*(x(2,c),D()))-Q((x(2,p),D())*h));N[g+96>>2]=h;if((Vb(g+32|0,g+112|0,g+88|0,h,b)|0)<2){break j}if((Vb(g,g+32|0,g+100|0,N[g+108>>2],J[g+60>>2])|0)<2){break j}p:{if((e|0)==1){i=N[g+84>>2];c=J[g+84>>2];h=N[g+80>>2];J[a+40>>2]=J[g+80>>2];J[a+44>>2]=c;b=J[g+68>>2];p=b;n=N[g+68>>2];j=N[g+64>>2];b=J[g+64>>2];break p}b=(J[g+56>>2]<<3)+d|0;c=J[b+88>>2];J[a+40>>2]=J[b+84>>2];J[a+44>>2]=c;p=J[b+24>>2];i=N[g+84>>2];n=N[g+68>>2];j=N[g+64>>2];h=N[g+80>>2];b=J[b+20>>2]}J[a+48>>2]=b;J[a+52>>2]=p;b=0;k=1;d=0;while(1){c=P(b,12)+g|0;l=N[c>>2];m=N[c+4>>2];if(N[f+244>>2]>=Q(Q(h*Q(l-j))+Q(Q(m-n)*i))){b=P(d,20)+a|0;q:{if((e|0)==1){o=N[f+144>>2];m=Q(m-N[f+136>>2]);q=N[f+140>>2];l=Q(l-N[f+132>>2]);N[b+4>>2]=Q(o*m)-Q(q*l);N[b>>2]=Q(o*l)+Q(m*q);J[b+16>>2]=J[c+8>>2];break q}p=J[c+4>>2];J[b>>2]=J[c>>2];J[b+4>>2]=p;H[b+18|0]=K[c+11|0];H[b+19|0]=K[c+10|0];H[b+16|0]=K[c+9|0];H[b+17|0]=K[c+8|0]}d=d+1|0}b=1;c=k&1;k=0;if(c){continue}break}J[a+60>>2]=d}Ea=g+160|0;Ea=B+256|0}function Kd(a,b,c){var d=0,e=Q(0),f=0,g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=0,l=Q(0),m=0,n=Q(0),o=Q(0),p=0,q=Q(0),r=0,s=0,t=0,u=0,v=Q(0),w=0,x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=0,C=0,D=Q(0);f=Ea-176|0;Ea=f;J[5866]=J[5866]+1;d=c- -64|0;k=J[d+4>>2];J[f+168>>2]=J[d>>2];J[f+172>>2]=k;d=J[c+60>>2];J[f+160>>2]=J[c+56>>2];J[f+164>>2]=d;d=J[c+84>>2];J[f+152>>2]=J[c+80>>2];J[f+156>>2]=d;d=J[c+76>>2];J[f+144>>2]=J[c+72>>2];J[f+148>>2]=d;k=f+32|0;d=L[b+4>>1];J[k+108>>2]=d;a:{b:{if(!d){break b}while(1){d=k+P(r,36)|0;p=b+r|0;u=K[p+6|0];J[d+28>>2]=u;p=K[p+9|0];J[d+32>>2]=p;p=J[c+44>>2]+(p<<3)|0;e=N[p>>2];g=N[p+4>>2];h=N[f+160>>2];j=N[f+168>>2];p=J[c+16>>2]+(u<<3)|0;i=N[p>>2];n=N[p+4>>2];l=N[f+172>>2];o=Q(Q(Q(j*i)+Q(n*l))+N[f+164>>2]);N[d+4>>2]=o;i=Q(h+Q(Q(l*i)-Q(n*j)));N[d>>2]=i;n=N[f+144>>2];l=N[f+148>>2];h=N[f+152>>2];j=N[f+156>>2];J[d+24>>2]=0;l=Q(l+Q(Q(h*e)+Q(g*j)));N[d+12>>2]=l;e=Q(n+Q(Q(j*e)-Q(g*h)));N[d+8>>2]=e;N[d+20>>2]=l-o;N[d+16>>2]=e-i;r=r+1|0;d=J[k+108>>2];if((r|0)<(d|0)){continue}break}c:{if((d|0)>1){e=N[b>>2];g=Jd(k);if(Q(e*Q(.5))>g|g>Q(e+e)|g>2]}if(d){break a}break b}J[k+108>>2]=0}J[k+28>>2]=0;J[k+32>>2]=0;d=J[c+44>>2];e=N[d>>2];g=N[d+4>>2];h=N[f+160>>2];j=N[f+168>>2];d=J[c+16>>2];i=N[d>>2];n=N[d+4>>2];l=N[f+172>>2];o=Q(Q(Q(j*i)+Q(n*l))+N[f+164>>2]);N[k+4>>2]=o;i=Q(h+Q(Q(l*i)-Q(n*j)));N[k>>2]=i;h=N[f+156>>2];n=N[f+144>>2];l=N[f+148>>2];j=N[f+152>>2];J[k+108>>2]=1;J[k+24>>2]=1065353216;l=Q(l+Q(Q(j*e)+Q(g*h)));N[k+12>>2]=l;e=Q(n+Q(Q(h*e)-Q(g*j)));N[k+8>>2]=e;N[k+20>>2]=l-o;N[k+16>>2]=e-i}B=f+68|0;r=J[f+140>>2];d:{while(1){d=0;if((r|0)>0){while(1){k=d<<2;p=(f+32|0)+P(d,36)|0;J[k+(f+20|0)>>2]=J[p+28>>2];J[k+(f+8|0)>>2]=J[p+32>>2];d=d+1|0;if((r|0)!=(d|0)){continue}break}}e:{f:{g:{h:{switch(r-2|0){case 0:j=N[f+84>>2];h=N[f+48>>2];e=Q(j-h);i=N[f+88>>2];n=N[f+52>>2];g=Q(i-n);h=Q(Q(h*e)+Q(n*g));if(h>=Q(0)){J[f+140>>2]=1;J[f+56>>2]=1065353216;break f}e=Q(Q(j*e)+Q(i*g));if(!(e<=Q(0))){break g}J[f+140>>2]=1;J[f+92>>2]=1065353216;Xa(f+32|0,B,36);break f;case 1:break h;default:break f}}d=f+32|0;e=N[d+16>>2];g=N[d+92>>2];h=N[d+20>>2];o=Q(g-h);i=N[d+52>>2];v=Q(i-e);n=N[d+56>>2];x=Q(n-h);q=Q(Q(e*v)+Q(h*x));j=N[d+88>>2];y=Q(j-e);l=Q(Q(e*y)+Q(h*o));i:{if(!(!(q>=Q(0))|!(l>=Q(0)))){J[d+108>>2]=1;J[d+24>>2]=1065353216;break i}z=Q(Q(v*o)-Q(y*x));A=Q(Q(Q(e*n)-Q(i*h))*z);v=Q(Q(i*v)+Q(n*x));if(!(!(A<=Q(0))|(!(v>Q(0))|!(q>2]=2;e=Q(Q(1)/Q(v-q));N[d+60>>2]=e*Q(-q);N[d+24>>2]=v*e;break i}k=d+72|0;p=d+36|0;q=Q(z*Q(Q(j*h)-Q(e*g)));o=Q(Q(j*y)+Q(g*o));if(!(!(lQ(0))))){J[d+108>>2]=2;e=Q(Q(1)/Q(o-l));N[d+96>>2]=e*Q(-l);N[d+24>>2]=o*e;Xa(p,k,36);break i}h=Q(j-i);l=Q(g-n);e=Q(Q(i*h)+Q(n*l));if(!(!(v<=Q(0))|!(e>=Q(0)))){J[d+108>>2]=1;J[d+60>>2]=1065353216;Xa(d,p,36);break i}j:{h=Q(Q(j*h)+Q(g*l));if(!(!(o<=Q(0))|!(h<=Q(0)))){J[d+108>>2]=1;J[d+96>>2]=1065353216;break j}g=Q(Q(Q(i*g)-Q(j*n))*z);if(!(!(eQ(0))))){J[d+108>>2]=2;g=Q(Q(1)/Q(h-e));N[d+96>>2]=g*Q(-e);N[d+60>>2]=h*g;break j}J[d+108>>2]=3;e=Q(Q(1)/Q(A+Q(g+q)));N[d+96>>2]=A*e;N[d+60>>2]=q*e;N[d+24>>2]=g*e;break i}Xa(d,k,36)}if(J[f+140>>2]!=3){break f}break e}J[f+140>>2]=2;g=Q(Q(1)/Q(e-h));N[f+92>>2]=g*Q(-h);N[f+56>>2]=e*g}k:{l:{switch(J[f+140>>2]-1|0){case 0:e=N[f+52>>2];N[f>>2]=-N[f+48>>2];N[f+4>>2]=-e;break k;case 1:g=N[f+48>>2];e=Q(N[f+84>>2]-g);i=g;h=N[f+52>>2];g=Q(N[f+88>>2]-h);if(Q(Q(i*g)-Q(e*h))>Q(0)){N[f+4>>2]=e;N[f>>2]=-g;break k}N[f>>2]=g;N[f+4>>2]=-e;break k;default:break l}}d=J[3150];J[f>>2]=J[3149];J[f+4>>2]=d}g=N[f>>2];h=N[f+4>>2];if(Q(Q(g*g)+Q(h*h))>2];k=(f+32|0)+P(J[f+140>>2],36)|0;t=J[c+16>>2];i=N[f+168>>2];n=Q(-i);p=0;u=0;w=J[c+20>>2];if((w|0)>=2){l=Q(Q(j*Q(-g))-Q(i*h));o=Q(Q(i*g)-Q(j*h));e=Q(Q(N[t>>2]*l)+Q(o*N[t+4>>2]));d=1;while(1){s=t+(d<<3)|0;q=Q(Q(N[s>>2]*l)+Q(o*N[s+4>>2]));s=q>e;e=s?q:e;u=s?d:u;d=d+1|0;if((w|0)!=(d|0)){continue}break}}J[k+28>>2]=u;e=N[f+160>>2];o=i;d=t+(u<<3)|0;i=N[d>>2];l=N[d+4>>2];o=Q(Q(Q(o*i)+Q(j*l))+N[f+164>>2]);N[k+4>>2]=o;n=Q(e+Q(Q(j*i)+Q(l*n)));N[k>>2]=n;j=N[f+156>>2];t=J[c+44>>2];i=N[f+152>>2];l=Q(-i);w=J[c+48>>2];if((w|0)>=2){q=Q(Q(j*g)+Q(h*i));g=Q(Q(h*j)-Q(i*g));e=Q(Q(N[t>>2]*q)+Q(g*N[t+4>>2]));d=1;while(1){s=t+(d<<3)|0;h=Q(Q(N[s>>2]*q)+Q(g*N[s+4>>2]));s=h>e;e=s?h:e;p=s?d:p;d=d+1|0;if((w|0)!=(d|0)){continue}break}}J[k+32>>2]=p;e=N[f+144>>2];d=t+(p<<3)|0;g=N[d>>2];h=N[d+4>>2];i=Q(Q(Q(i*g)+Q(j*h))+N[f+148>>2]);N[k+12>>2]=i;e=Q(e+Q(Q(j*g)+Q(h*l)));N[k+8>>2]=e;N[k+20>>2]=i-o;N[k+16>>2]=e-n;d=0;J[5867]=J[5867]+1;m=m+1|0;if((r|0)>0){while(1){k=d<<2;if(J[k+(f+20|0)>>2]==(u|0)&J[k+(f+8|0)>>2]==(p|0)){break e}d=d+1|0;if((r|0)!=(d|0)){continue}break}}r=J[f+140>>2]+1|0;J[f+140>>2]=r;d=20;if((m|0)!=20){continue}break d}break}d=m}m=J[5868];J[5868]=(d|0)<(m|0)?m:d;m:{n:{o:{p:{m=f+32|0;switch(J[m+108>>2]-1|0){case 2:break n;case 1:break o;case 0:break p;default:break m}}k=J[m+4>>2];J[a>>2]=J[m>>2];J[a+4>>2]=k;k=J[m+12>>2];J[a+8>>2]=J[m+8>>2];J[a+12>>2]=k;break m}e=N[m+36>>2];g=N[m>>2];h=N[m+24>>2];j=N[m+60>>2];N[a+4>>2]=Q(h*N[m+4>>2])+Q(j*N[m+40>>2]);N[a>>2]=Q(h*g)+Q(j*e);e=N[m+44>>2];g=N[m+8>>2];h=N[m+24>>2];j=N[m+60>>2];N[a+12>>2]=Q(h*N[m+12>>2])+Q(j*N[m+48>>2]);N[a+8>>2]=Q(h*g)+Q(j*e);break m}e=N[m+72>>2];g=N[m+36>>2];h=N[m>>2];j=N[m+24>>2];i=N[m+60>>2];n=N[m+96>>2];l=Q(Q(Q(j*N[m+4>>2])+Q(i*N[m+40>>2]))+Q(n*N[m+76>>2]));N[a+4>>2]=l;e=Q(Q(Q(j*h)+Q(i*g))+Q(n*e));N[a>>2]=e;N[a+12>>2]=l;N[a+8>>2]=e}J[a+20>>2]=d;e=Q(N[a>>2]-N[a+8>>2]);g=Q(e*e);e=Q(N[a+4>>2]-N[a+12>>2]);N[a+16>>2]=Y(Q(g+Q(e*e)));r=0;C=b,D=Jd(m),N[C>>2]=D;d=J[m+108>>2];I[b+4>>1]=d;if((d|0)>0){while(1){d=b+r|0;k=m+P(r,36)|0;H[d+6|0]=J[k+28>>2];H[d+9|0]=J[k+32>>2];r=r+1|0;if((r|0)>2]){continue}break}}q:{if(!K[c+88|0]){break q}e=N[a+16>>2];h=N[c+24>>2];j=N[c+52>>2];g=Q(h+j);if(!(!(e>g)|!(e>Q(1.1920928955078125e-7)))){N[a+16>>2]=e-g;i=N[a+8>>2];n=N[a>>2];e=Q(i-n);l=N[a+12>>2];o=N[a+4>>2];g=Q(l-o);q=Q(Y(Q(Q(e*e)+Q(g*g))));if(!(q>2]=l-Q(j*g);N[a+8>>2]=i-Q(j*e);N[a+4>>2]=o+Q(h*g);N[a>>2]=n+Q(h*e);break q}J[a+16>>2]=0;e=Q(Q(N[a+4>>2]+N[a+12>>2])*Q(.5));N[a+12>>2]=e;g=Q(Q(N[a>>2]+N[a+8>>2])*Q(.5));N[a+8>>2]=g;N[a+4>>2]=e;N[a>>2]=g}Ea=f+176|0}function Vf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=0,l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=0,q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),w=Q(0),x=0,y=Q(0);a:{if(K[a+102989|0]){break a}b:{c:{switch(J[b>>2]-1|0){case 2:c=ob(Ya(a,176),b);J[c>>2]=12924;d=J[b+24>>2];J[c+80>>2]=J[b+20>>2];J[c+84>>2]=d;d=J[b+32>>2];J[c+88>>2]=J[b+28>>2];J[c+92>>2]=d;N[c+104>>2]=N[b+36>>2];N[c+68>>2]=N[b+40>>2];N[c+72>>2]=N[b+44>>2];J[c+96>>2]=0;J[c+100>>2]=0;J[c+76>>2]=0;break b;case 4:c=ob(Ya(a,168),b);J[c>>2]=13468;j=N[b+24>>2];f=J[b+24>>2];g=N[b+20>>2];J[c+76>>2]=J[b+20>>2];J[c+80>>2]=f;d=J[c+52>>2];h=N[d+24>>2];i=Q(j-N[d+16>>2]);l=N[d+20>>2];g=Q(g-N[d+12>>2]);N[c+72>>2]=Q(h*i)-Q(l*g);N[c+68>>2]=Q(h*g)+Q(i*l);N[c+104>>2]=N[b+28>>2];J[c+96>>2]=0;J[c+100>>2]=0;N[c+84>>2]=N[b+32>>2];N[c+88>>2]=N[b+36>>2];J[c+108>>2]=0;J[c+92>>2]=0;break b;case 1:c=ob(Ya(a,256),b);J[c>>2]=13660;d=J[b+24>>2];J[c+68>>2]=J[b+20>>2];J[c+72>>2]=d;d=J[b+32>>2];J[c+76>>2]=J[b+28>>2];J[c+80>>2]=d;h=N[b+40>>2];f=J[b+40>>2];g=N[b+36>>2];d=J[b+36>>2];J[c+84>>2]=d;J[c+88>>2]=f;i=Q(Y(Q(Q(g*g)+Q(h*h))));if(!(i>2]=h;g=Q(i*g);N[c+84>>2]=g;d=(C(g),v(2))}J[c+96>>2]=d;N[c+92>>2]=-h;g=N[b+44>>2];J[c+252>>2]=0;N[c+100>>2]=g;J[c+104>>2]=0;J[c+108>>2]=0;J[c+112>>2]=0;J[c+116>>2]=0;N[c+120>>2]=N[b+52>>2];N[c+124>>2]=N[b+56>>2];N[c+128>>2]=N[b+64>>2];N[c+132>>2]=N[b+68>>2];H[c+136|0]=K[b+48|0];d=K[b+60|0];J[c+184>>2]=0;J[c+188>>2]=0;J[c+140>>2]=0;H[c+137|0]=d;J[c+192>>2]=0;J[c+196>>2]=0;break b;case 0:c=ob(Ya(a,228),b);J[c>>2]=13824;d=J[b+24>>2];J[c+68>>2]=J[b+20>>2];J[c+72>>2]=d;d=J[b+32>>2];J[c+76>>2]=J[b+28>>2];J[c+80>>2]=d;g=N[b+36>>2];J[c+84>>2]=0;J[c+88>>2]=0;N[c+116>>2]=g;J[c+92>>2]=0;J[c+96>>2]=0;N[c+120>>2]=N[b+44>>2];N[c+124>>2]=N[b+48>>2];N[c+104>>2]=N[b+60>>2];N[c+108>>2]=N[b+56>>2];H[c+112|0]=K[b+40|0];d=K[b+52|0];J[c+224>>2]=0;H[c+100|0]=d;break b;case 3:c=ob(Ya(a,196),b);J[c>>2]=13744;d=J[b+24>>2];J[c+68>>2]=J[b+20>>2];J[c+72>>2]=d;d=J[b+32>>2];J[c+76>>2]=J[b+28>>2];J[c+80>>2]=d;d=J[b+40>>2];J[c+92>>2]=J[b+36>>2];J[c+96>>2]=d;d=J[b+48>>2];J[c+100>>2]=J[b+44>>2];J[c+104>>2]=d;h=N[b+52>>2];N[c+84>>2]=h;i=N[b+56>>2];N[c+88>>2]=i;g=N[b+60>>2];J[c+116>>2]=0;N[c+112>>2]=g;N[c+108>>2]=h+Q(g*i);break b;case 5:c=ob(Ya(a,276),b);J[c>>2]=13128;e=J[b+20>>2];J[c+68>>2]=e;p=J[b+24>>2];J[c+72>>2]=p;k=J[e+4>>2];J[c+76>>2]=k;x=J[p+4>>2];J[c+80>>2]=x;d=J[e+48>>2];J[c+84>>2]=d;f=J[e+52>>2];J[c+48>>2]=f;d:{if((k|0)==1){h=N[d+56>>2];i=N[f+56>>2];d=J[e+72>>2];J[c+108>>2]=J[e+68>>2];J[c+112>>2]=d;d=J[e+80>>2];J[c+92>>2]=J[e+76>>2];J[c+96>>2]=d;g=N[e+116>>2];J[c+124>>2]=0;J[c+128>>2]=0;N[c+140>>2]=g;g=Q(Q(i-h)-g);break d}h=N[d+20>>2];i=N[d+24>>2];l=N[f+20>>2];o=N[f+24>>2];q=N[f+16>>2];r=N[d+16>>2];n=N[f+12>>2];j=N[d+12>>2];s=N[e+72>>2];f=J[e+72>>2];m=N[e+68>>2];J[c+108>>2]=J[e+68>>2];J[c+112>>2]=f;t=N[e+80>>2];d=J[e+80>>2];g=N[e+76>>2];k=J[e+76>>2];J[c+92>>2]=k;J[c+96>>2]=d;N[c+140>>2]=N[e+100>>2];u=N[e+84>>2];k=J[e+84>>2];w=N[e+88>>2];e=J[e+88>>2];J[c+124>>2]=k;J[c+128>>2]=e;j=Q(n-j);n=t;j=Q(j+Q(Q(o*g)-Q(l*n)));g=Q(Q(q-r)+Q(Q(l*g)+Q(o*n)));g=Q(Q(Q(Q(Q(i*j)+Q(h*g))-m)*u)+Q(Q(Q(Q(i*g)-Q(h*j))-s)*w))}d=J[p+48>>2];J[c+88>>2]=d;f=J[p+52>>2];J[c+52>>2]=f;e:{if((x|0)==1){i=N[d+56>>2];l=N[f+56>>2];d=J[b+24>>2];f=J[d+72>>2];J[c+116>>2]=J[d+68>>2];J[c+120>>2]=f;f=J[d+80>>2];J[c+100>>2]=J[d+76>>2];J[c+104>>2]=f;h=N[d+116>>2];J[c+132>>2]=0;J[c+136>>2]=0;N[c+144>>2]=h;h=Q(Q(l-i)-h);break e}i=N[d+20>>2];l=N[d+24>>2];o=N[f+20>>2];q=N[f+24>>2];r=N[f+16>>2];n=N[d+16>>2];j=N[f+12>>2];m=N[d+12>>2];e=J[b+24>>2];d=e;u=N[d+68>>2];d=J[d+68>>2];s=N[e+72>>2];f=J[e+72>>2];J[c+116>>2]=d;J[c+120>>2]=f;t=N[e+80>>2];d=J[e+80>>2];h=N[e+76>>2];k=J[e+76>>2];J[c+100>>2]=k;J[c+104>>2]=d;N[c+144>>2]=N[e+100>>2];w=N[e+84>>2];k=J[e+84>>2];y=N[e+88>>2];e=J[e+88>>2];J[c+132>>2]=k;J[c+136>>2]=e;m=Q(j-m);j=t;m=Q(m+Q(Q(q*h)-Q(o*j)));h=Q(Q(r-n)+Q(Q(o*h)+Q(q*j)));h=Q(Q(Q(Q(Q(l*m)+Q(i*h))-u)*w)+Q(Q(Q(Q(l*h)-Q(i*m))-s)*y))}i=N[b+28>>2];J[c+156>>2]=0;N[c+152>>2]=i;N[c+148>>2]=Q(i*h)+g;break b;case 6:c=ob(Ya(a,224),b);J[c>>2]=14068;d=J[b+24>>2];J[c+76>>2]=J[b+20>>2];J[c+80>>2]=d;d=J[b+32>>2];J[c+84>>2]=J[b+28>>2];J[c+88>>2]=d;d=J[b+40>>2];f=J[b+36>>2];J[c+204>>2]=0;J[c+104>>2]=f;J[c+92>>2]=f;J[c+96>>2]=d;J[c+108>>2]=0;J[c+208>>2]=0;J[c+212>>2]=0;J[c+112>>2]=0;J[c+116>>2]=0;J[c+100>>2]=d^-2147483648;N[c+120>>2]=N[b+48>>2];N[c+124>>2]=N[b+52>>2];H[c+128|0]=K[b+44|0];N[c+68>>2]=N[b+56>>2];g=N[b+60>>2];J[c+216>>2]=0;J[c+220>>2]=0;N[c+72>>2]=g;J[c+172>>2]=0;J[c+176>>2]=0;J[c+180>>2]=0;J[c+184>>2]=0;break b;case 7:c=ob(Ya(a,208),b);J[c>>2]=13988;d=J[b+24>>2];J[c+80>>2]=J[b+20>>2];J[c+84>>2]=d;d=J[b+32>>2];J[c+88>>2]=J[b+28>>2];J[c+92>>2]=d;N[c+96>>2]=N[b+36>>2];N[c+68>>2]=N[b+40>>2];g=N[b+44>>2];J[c+112>>2]=0;J[c+104>>2]=0;J[c+108>>2]=0;N[c+72>>2]=g;break b;case 8:c=ob(Ya(a,180),b);J[c>>2]=13208;d=J[b+24>>2];J[c+68>>2]=J[b+20>>2];J[c+72>>2]=d;d=J[b+28>>2];f=J[b+32>>2];J[c+92>>2]=0;J[c+84>>2]=0;J[c+88>>2]=0;J[c+76>>2]=d;J[c+80>>2]=f;N[c+96>>2]=N[b+36>>2];N[c+100>>2]=N[b+40>>2];break b;case 9:c=ob(Ya(a,168),b);J[c>>2]=13908;d=J[b+24>>2];J[c+68>>2]=J[b+20>>2];J[c+72>>2]=d;d=J[b+32>>2];J[c+76>>2]=J[b+28>>2];J[c+80>>2]=d;N[c+84>>2]=N[b+36>>2];J[c+160>>2]=0;J[c+164>>2]=0;J[c+88>>2]=0;J[c+92>>2]=0;break b;case 10:break c;default:break b}}c=ob(Ya(a,192),b);J[c>>2]=13388;d=J[b+24>>2];J[c+68>>2]=J[b+20>>2];J[c+72>>2]=d;g=N[b+28>>2];J[c+88>>2]=0;J[c+80>>2]=0;J[c+84>>2]=0;N[c+76>>2]=g;N[c+92>>2]=N[b+32>>2];N[c+96>>2]=N[b+36>>2];N[c+100>>2]=N[b+40>>2]}J[c+8>>2]=0;d=J[a+102952>>2];J[c+12>>2]=d;if(d){J[d+8>>2]=c}J[a+102952>>2]=c;J[a+102960>>2]=J[a+102960>>2]+1;J[c+24>>2]=0;J[c+20>>2]=c;a=J[c+52>>2];J[c+16>>2]=a;d=J[c+48>>2];f=J[d+108>>2];J[c+28>>2]=f;k=c+16|0;if(f){J[f+8>>2]=k}J[d+108>>2]=k;J[c+40>>2]=0;J[c+32>>2]=d;J[c+36>>2]=c;d=J[a+108>>2];J[c+44>>2]=d;f=c+32|0;if(d){J[d+8>>2]=f}J[a+108>>2]=f;if(K[b+16|0]){break a}a=J[J[b+12>>2]+112>>2];if(!a){break a}b=J[b+8>>2];while(1){if((b|0)==J[a>>2]){d=J[a+4>>2];J[d+4>>2]=J[d+4>>2]|8}a=J[a+12>>2];if(a){continue}break}}return c|0}function Pf(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=Q(0),h=0,i=Q(0),j=0,k=Q(0),l=Q(0),m=Q(0),n=0,o=0,p=0,q=Q(0),r=0,s=Q(0);d=Ea+-64|0;Ea=d;b=J[a+102980>>2];a:{if(!b){break a}p=J[b+4>>2];b:{if(!(p&1)){break b}e=J[a+102948>>2];if(!e){break b}while(1){f=J[e+100>>2];if(f){while(1){c:{d:{e:{f:{c=J[e>>2];if((c|0)==2){if(N[e+116>>2]==Q(0)){J[d+8>>2]=0;J[d+12>>2]=1065353216;J[d>>2]=1065353216;J[d+4>>2]=0;break c}b=L[e+4>>1];if(b&32){break f}break e}b=L[e+4>>1];if(!(b&32)){break e}g:{switch(c|0){case 0:J[d+8>>2]=1056964608;J[d+12>>2]=1065353216;J[d>>2]=1056964608;J[d+4>>2]=1063675494;break c;case 1:break g;default:break f}}J[d+8>>2]=1063675494;J[d+12>>2]=1065353216;break d}if(!(b&2)){J[d+8>>2]=1058642330;J[d+12>>2]=1065353216;J[d>>2]=1058642330;J[d+4>>2]=1058642330;break c}J[d+8>>2]=1060320051;J[d+12>>2]=1065353216;J[d>>2]=1063675494;J[d+4>>2]=1060320051;break c}J[d+8>>2]=1050253722;J[d+12>>2]=1065353216}J[d>>2]=1056964608;J[d+4>>2]=1056964608}b=Ea-80|0;Ea=b;h:{i:{j:{k:{l:{c=J[f+12>>2];switch(J[c+4>>2]){case 0:break i;case 2:break j;case 3:break k;case 1:break l;default:break h}}l=N[e+12>>2];i=N[e+20>>2];k=N[c+12>>2];g=N[e+24>>2];m=N[c+16>>2];q=N[e+16>>2];N[b+4>>2]=Q(Q(i*k)+Q(g*m))+q;N[b>>2]=l+Q(Q(g*k)-Q(m*i));k=N[c+20>>2];m=N[c+24>>2];N[b+76>>2]=q+Q(Q(i*k)+Q(g*m));N[b+72>>2]=l+Q(Q(g*k)-Q(m*i));c=J[a+102980>>2];Ga[J[J[c>>2]+24>>2]](c,b,b+72|0,d);break h}o=J[c+16>>2];j=J[c+12>>2];i=N[d>>2];g=N[d+4>>2];l=N[d+8>>2];N[b+12>>2]=N[d+12>>2];N[b+8>>2]=l*Q(.75);N[b+4>>2]=g*Q(.75);N[b>>2]=i*Q(.75);i=N[e+12>>2];g=N[e+20>>2];l=N[j>>2];k=N[e+24>>2];m=N[j+4>>2];N[b+76>>2]=Q(Q(g*l)+Q(k*m))+N[e+16>>2];N[b+72>>2]=i+Q(Q(k*l)-Q(m*g));h=J[a+102980>>2];Ga[J[J[h>>2]+32>>2]](h,b+72|0,Q(4),d);if(K[c+36|0]){i=N[e+12>>2];g=N[e+20>>2];l=N[c+20>>2];k=N[e+24>>2];m=N[c+24>>2];N[b+68>>2]=Q(Q(g*l)+Q(k*m))+N[e+16>>2];N[b+64>>2]=i+Q(Q(k*l)-Q(m*g));h=J[a+102980>>2];n=b- -64|0;Ga[J[J[h>>2]+24>>2]](h,n,b+72|0,b);h=J[a+102980>>2];Ga[J[J[h>>2]+16>>2]](h,n,Q(.10000000149011612),b)}if((o|0)>=2){h=1;while(1){i=N[e+12>>2];g=N[e+20>>2];n=j+(h<<3)|0;l=N[n>>2];k=N[e+24>>2];m=N[n+4>>2];N[b+68>>2]=Q(Q(g*l)+Q(k*m))+N[e+16>>2];N[b+64>>2]=i+Q(Q(k*l)-Q(m*g));n=J[a+102980>>2];r=b- -64|0;Ga[J[J[n>>2]+24>>2]](n,b+72|0,r,d);n=J[a+102980>>2];Ga[J[J[n>>2]+32>>2]](n,r,Q(4),d);n=J[b+68>>2];J[b+72>>2]=J[b+64>>2];J[b+76>>2]=n;h=h+1|0;if((o|0)!=(h|0)){continue}break}}if(!K[c+37|0]){break h}i=N[e+12>>2];g=N[e+20>>2];l=N[c+28>>2];k=N[e+24>>2];m=N[c+32>>2];N[b+68>>2]=Q(Q(g*l)+Q(k*m))+N[e+16>>2];N[b+64>>2]=i+Q(Q(k*l)-Q(m*g));c=J[a+102980>>2];j=b- -64|0;Ga[J[J[c>>2]+24>>2]](c,b+72|0,j,b);c=J[a+102980>>2];Ga[J[J[c>>2]+16>>2]](c,j,Q(.10000000149011612),b);break h}h=J[c+148>>2];if((h|0)>0){i=N[e+24>>2];g=N[e+16>>2];l=N[e+12>>2];k=N[e+20>>2];m=Q(-k);j=0;while(1){o=j<<3;n=o+b|0;o=c+o|0;q=N[o+20>>2];s=N[o+24>>2];N[n+4>>2]=Q(Q(k*q)+Q(i*s))+g;N[n>>2]=l+Q(Q(i*q)+Q(s*m));j=j+1|0;if((h|0)!=(j|0)){continue}break}}c=J[a+102980>>2];Ga[J[J[c>>2]+12>>2]](c,b,h,d);break h}l=N[e+12>>2];i=N[e+20>>2];k=N[c+12>>2];g=N[e+24>>2];m=N[c+16>>2];N[b+4>>2]=Q(Q(i*k)+Q(g*m))+N[e+16>>2];N[b>>2]=l+Q(Q(g*k)-Q(m*i));l=N[c+8>>2];N[b+76>>2]=i+Q(g*Q(0));N[b+72>>2]=g-Q(i*Q(0));c=J[a+102980>>2];Ga[J[J[c>>2]+20>>2]](c,b,l,b+72|0,d)}Ea=b+80|0;f=J[f+4>>2];if(f){continue}break}}e=J[e+96>>2];if(e){continue}break}}m:{if(!(p&2)){break m}f=J[a+102952>>2];if(!f){break m}while(1){b=Ea-80|0;Ea=b;e=J[f+52>>2];c=J[f+48>>2];j=J[c+16>>2];J[b+72>>2]=J[c+12>>2];J[b+76>>2]=j;c=J[e+16>>2];J[b+64>>2]=J[e+12>>2];J[b+68>>2]=c;Ga[J[J[f>>2]>>2]](b+56|0,f);Ga[J[J[f>>2]+4>>2]](b+48|0,f);J[b+40>>2]=1061997773;J[b+44>>2]=1065353216;J[b+32>>2]=1056964608;J[b+36>>2]=1061997773;n:{o:{switch(J[f+4>>2]-3|0){case 0:e=J[a+102980>>2];Ga[J[J[e>>2]+24>>2]](e,b+56|0,b+48|0,b+32|0);break n;case 1:c=J[f+72>>2];e=b+8|0;J[e>>2]=J[f+68>>2];J[e+4>>2]=c;j=J[f+80>>2];c=b+24|0;J[c>>2]=J[f+76>>2];J[c+4>>2]=j;h=J[a+102980>>2];j=b+32|0;Ga[J[J[h>>2]+24>>2]](h,e,b+56|0,j);h=J[a+102980>>2];Ga[J[J[h>>2]+24>>2]](h,c,b+48|0,j);h=J[a+102980>>2];Ga[J[J[h>>2]+24>>2]](h,e,c,j);break n;case 2:J[b+16>>2]=0;J[b+20>>2]=1065353216;J[b+8>>2]=0;J[b+12>>2]=1065353216;c=J[a+102980>>2];j=b+56|0;e=b+8|0;Ga[J[J[c>>2]+32>>2]](c,j,Q(4),e);c=J[a+102980>>2];h=b+48|0;Ga[J[J[c>>2]+32>>2]](c,h,Q(4),e);J[b+16>>2]=1061997773;J[b+20>>2]=1065353216;J[b+8>>2]=1061997773;J[b+12>>2]=1061997773;c=J[a+102980>>2];Ga[J[J[c>>2]+24>>2]](c,j,h,e);break n;default:break o}}c=J[a+102980>>2];j=b+56|0;e=b+32|0;Ga[J[J[c>>2]+24>>2]](c,b+72|0,j,e);c=J[a+102980>>2];h=j;j=b+48|0;Ga[J[J[c>>2]+24>>2]](c,h,j,e);c=J[a+102980>>2];Ga[J[J[c>>2]+24>>2]](c,b- -64|0,j,e)}Ea=b+80|0;f=J[f+12>>2];if(f){continue}break}}p:{if(!(p&8)){break p}J[d+8>>2]=1063675494;J[d+12>>2]=1065353216;J[d>>2]=1050253722;J[d+4>>2]=1063675494;f=J[a+102928>>2];if(!f){break p}while(1){e=J[f+52>>2];c=J[f+60>>2];b=J[J[f+48>>2]+24>>2]+P(J[f+56>>2],28)|0;i=N[b+4>>2];g=N[b+12>>2];N[d+40>>2]=Q(N[b>>2]+N[b+8>>2])*Q(.5);N[d+44>>2]=Q(i+g)*Q(.5);b=J[e+24>>2]+P(c,28)|0;i=N[b+4>>2];g=N[b+12>>2];N[d+56>>2]=Q(N[b>>2]+N[b+8>>2])*Q(.5);N[d+60>>2]=Q(i+g)*Q(.5);b=J[a+102980>>2];Ga[J[J[b>>2]+24>>2]](b,d+40|0,d+56|0,d);f=J[f+12>>2];if(f){continue}break}}q:{if(!(p&4)){break q}J[d+48>>2]=1063675494;J[d+52>>2]=1065353216;J[d+40>>2]=1063675494;J[d+44>>2]=1050253722;b=J[a+102948>>2];if(!b){break q}while(1){r:{if(!(K[b+4|0]&32)){break r}f=J[b+100>>2];if(!f){break r}while(1){if(J[f+28>>2]>0){e=0;while(1){c=J[a+102872>>2]+P(J[(J[f+24>>2]+P(e,28)|0)+24>>2],40)|0;i=N[c+4>>2];g=N[c+8>>2];l=N[c>>2];k=N[c+12>>2];N[d+28>>2]=k;N[d+24>>2]=l;N[d+20>>2]=k;N[d+16>>2]=g;N[d+12>>2]=i;N[d+8>>2]=g;N[d+4>>2]=i;N[d>>2]=l;c=J[a+102980>>2];Ga[J[J[c>>2]+8>>2]](c,d,4,d+40|0);e=e+1|0;if((e|0)>2]){continue}break}}f=J[f+4>>2];if(f){continue}break}}b=J[b+96>>2];if(b){continue}break}}if(!(p&16)){break a}f=J[a+102948>>2];if(!f){break a}while(1){b=J[f+24>>2];J[d+8>>2]=J[f+20>>2];J[d+12>>2]=b;b=J[f+16>>2];J[d>>2]=J[f+12>>2];J[d+4>>2]=b;b=J[f+48>>2];J[d>>2]=J[f+44>>2];J[d+4>>2]=b;b=J[a+102980>>2];Ga[J[J[b>>2]+28>>2]](b,d);f=J[f+96>>2];if(f){continue}break}}Ea=d- -64|0}function Tc(a,b,c,d,e,f){a=a|0;b=+b;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,B=0,C=0;m=Ea-560|0;Ea=m;J[m+44>>2]=0;A(+b);g=v(1)|0;v(0)|0;a:{if((g|0)<0){s=1;y=1393;b=-b;A(+b);g=v(1)|0;v(0)|0;break a}if(e&2048){s=1;y=1396;break a}s=e&1;y=s?1399:1394;z=!s}b:{if((g&2146435072)==2146435072){g=s+3|0;bb(a,32,c,g,e&-65537);ab(a,y,s);d=f&32;ab(a,b!=b?d?3525:5945:d?3952:5951,3);bb(a,32,c,g,e^8192);n=(c|0)<(g|0)?g:c;break b}u=m+16|0;c:{d:{e:{b=Xc(b,m+44|0);b=b+b;if(b!=0){g=J[m+44>>2];J[m+44>>2]=g-1;w=f|32;if((w|0)!=97){break e}break c}w=f|32;if((w|0)==97){break c}k=J[m+44>>2];l=(d|0)<0?6:d;break d}k=g-29|0;J[m+44>>2]=k;b=b*268435456;l=(d|0)<0?6:d}q=(m+48|0)+((k|0)>=0?288:0)|0;h=q;while(1){if(b<4294967296&b>=0){d=~~b>>>0}else{d=0}J[h>>2]=d;h=h+4|0;b=(b-+(d>>>0))*1e9;if(b!=0){continue}break}f:{if((k|0)<=0){d=k;g=h;i=q;break f}i=q;d=k;while(1){o=(d|0)>=29?29:d;g=h-4|0;g:{if(i>>>0>g>>>0){break g}d=0;while(1){j=J[g>>2];x=d;d=o&31;if((o&63)>>>0>=32){n=j<>>32-d;d=j<>>0>x>>>0?j+1|0:j,1e9);B=g,C=x-Bl(d,Fa,1e9,0)|0,J[B>>2]=C;g=g-4|0;if(i>>>0<=g>>>0){continue}break}if(!d){break g}i=i-4|0;J[i>>2]=d}while(1){g=h;if(i>>>0>>0){h=g-4|0;if(!J[h>>2]){continue}}break}d=J[m+44>>2]-o|0;J[m+44>>2]=d;h=g;if((d|0)>0){continue}break}}if((d|0)<0){t=((l+25>>>0)/9|0)+1|0;p=(w|0)==102;while(1){d=0-d|0;n=(d|0)>=9?9:d;h:{if(g>>>0<=i>>>0){h=J[i>>2];break h}o=1e9>>>n|0;j=-1<>2];J[h>>2]=x+(d>>>n|0);d=P(o,d&j);h=h+4|0;if(h>>>0>>0){continue}break}h=J[i>>2];if(!d){break h}J[g>>2]=d;g=g+4|0}d=n+J[m+44>>2]|0;J[m+44>>2]=d;i=(!h<<2)+i|0;h=p?q:i;g=g-h>>2>(t|0)?h+(t<<2)|0:g;if((d|0)<0){continue}break}}d=0;i:{if(g>>>0<=i>>>0){break i}d=P(q-i>>2,9);h=10;j=J[i>>2];if(j>>>0<10){break i}while(1){d=d+1|0;h=P(h,10);if(j>>>0>=h>>>0){continue}break}}h=(l-((w|0)!=102?d:0)|0)-((w|0)==103&(l|0)!=0)|0;if((h|0)<(P(g-q>>2,9)-9|0)){o=h+9216|0;j=(o|0)/9|0;k=((((k|0)<0?4:292)+m|0)+(j<<2)|0)-4048|0;h=10;n=o-P(j,9)|0;if((n|0)<=7){while(1){h=P(h,10);n=n+1|0;if((n|0)!=8){continue}break}}o=J[k>>2];t=(o>>>0)/(h>>>0)|0;p=o-P(h,t)|0;j=k+4|0;j:{if(!p&(j|0)==(g|0)){break j}k:{if(!(t&1)){b=9007199254740992;if(!(H[k-4|0]&1)|((h|0)!=1e9|i>>>0>=k>>>0)){break k}}b=9007199254740994}r=(g|0)==(j|0)?1:1.5;j=h>>>1|0;r=j>>>0>p>>>0?.5:(j|0)==(p|0)?r:1.5;if(!(K[y|0]!=45|z)){r=-r;b=-b}j=o-p|0;J[k>>2]=j;if(b+r==b){break j}d=h+j|0;J[k>>2]=d;if(d>>>0>=1e9){while(1){J[k>>2]=0;k=k-4|0;if(k>>>0>>0){i=i-4|0;J[i>>2]=0}d=J[k>>2]+1|0;J[k>>2]=d;if(d>>>0>999999999){continue}break}}d=P(q-i>>2,9);h=10;j=J[i>>2];if(j>>>0<10){break j}while(1){d=d+1|0;h=P(h,10);if(j>>>0>=h>>>0){continue}break}}h=k+4|0;g=g>>>0>h>>>0?h:g}while(1){j=g;o=g>>>0<=i>>>0;if(!o){g=j-4|0;if(!J[g>>2]){continue}}break}l:{if((w|0)!=103){k=e&8;break l}h=l?l:1;g=(h|0)>(d|0)&(d|0)>-5;l=(g?d^-1:-1)+h|0;f=(g?-1:-2)+f|0;k=e&8;if(k){break l}g=-9;m:{if(o){break m}k=J[j-4>>2];if(!k){break m}n=10;g=0;if((k>>>0)%10|0){break m}while(1){h=g;g=g+1|0;n=P(n,10);if(!((k>>>0)%(n>>>0)|0)){continue}break}g=h^-1}h=P(j-q>>2,9);if((f&-33)==70){k=0;g=(g+h|0)-9|0;g=(g|0)>0?g:0;l=(g|0)>(l|0)?l:g;break l}k=0;g=((d+h|0)+g|0)-9|0;g=(g|0)>0?g:0;l=(g|0)>(l|0)?l:g}n=-1;o=k|l;if(((o?2147483645:2147483646)|0)<(l|0)){break b}p=(((o|0)!=0)+l|0)+1|0;h=f&-33;n:{if((h|0)==70){if((p^2147483647)<(d|0)){break b}g=(d|0)>0?d:0;break n}g=d>>31;g=Db((g^d)-g|0,0,u);if((u-g|0)<=1){while(1){g=g-1|0;H[g|0]=48;if((u-g|0)<2){continue}break}}t=g-2|0;H[t|0]=f;H[g-1|0]=(d|0)<0?45:43;g=u-t|0;if((g|0)>(p^2147483647)){break b}}d=g+p|0;if((d|0)>(s^2147483647)){break b}p=d+s|0;bb(a,32,c,p,e);ab(a,y,s);bb(a,48,c,p,e^65536);o:{p:{q:{if((h|0)==70){f=m+16|0;d=f|8;k=f|9;h=i>>>0>q>>>0?q:i;i=h;while(1){g=Db(J[i>>2],0,k);r:{if((h|0)!=(i|0)){if(m+16>>>0>=g>>>0){break r}while(1){g=g-1|0;H[g|0]=48;if(m+16>>>0>>0){continue}break}break r}if((g|0)!=(k|0)){break r}H[m+24|0]=48;g=d}ab(a,g,k-g|0);i=i+4|0;if(q>>>0>=i>>>0){continue}break}if(o){ab(a,6873,1)}if((l|0)<=0|i>>>0>=j>>>0){break q}while(1){g=Db(J[i>>2],0,k);if(g>>>0>m+16>>>0){while(1){g=g-1|0;H[g|0]=48;if(m+16>>>0>>0){continue}break}}ab(a,g,(l|0)>=9?9:l);g=l-9|0;i=i+4|0;if(j>>>0<=i>>>0){break p}d=(l|0)>9;l=g;if(d){continue}break}break p}s:{if((l|0)<0){break s}q=i>>>0>>0?j:i+4|0;f=m+16|0;d=f|8;j=f|9;h=i;while(1){g=Db(J[h>>2],0,j);if((j|0)==(g|0)){H[m+24|0]=48;g=d}t:{if((h|0)!=(i|0)){if(m+16>>>0>=g>>>0){break t}while(1){g=g-1|0;H[g|0]=48;if(m+16>>>0>>0){continue}break}break t}ab(a,g,1);g=g+1|0;if(!(k|l)){break t}ab(a,6873,1)}f=j-g|0;ab(a,g,(f|0)>(l|0)?l:f);l=l-f|0;h=h+4|0;if(q>>>0<=h>>>0){break s}if((l|0)>=0){continue}break}}bb(a,48,l+18|0,18,0);ab(a,t,u-t|0);break o}g=l}bb(a,48,g+9|0,9,0)}bb(a,32,c,p,e^8192);n=(c|0)<(p|0)?p:c;break b}k=(f<<26>>31&9)+y|0;u:{if(d>>>0>11){break u}g=12-d|0;r=16;while(1){r=r*16;g=g-1|0;if(g){continue}break}if(K[k|0]==45){b=-(r+(-b-r));break u}b=b+r-r}g=J[m+44>>2];h=g>>31;g=Db((g^h)-h|0,0,u);if((u|0)==(g|0)){H[m+15|0]=48;g=m+15|0}q=s|2;i=f&32;h=J[m+44>>2];l=g-2|0;H[l|0]=f+15;H[g-1|0]=(h|0)<0?45:43;g=e&8;h=m+16|0;while(1){f=h;if(R(b)<2147483648){j=~~b}else{j=-2147483648}H[h|0]=i|K[j+18320|0];b=(b-+(j|0))*16;h=f+1|0;if(!(!((d|0)>0|g)&b==0|(h-(m+16|0)|0)!=1)){H[f+1|0]=46;h=f+2|0}if(b!=0){continue}break}n=-1;g=u-l|0;f=g+q|0;if((2147483645-f|0)<(d|0)){break b}j=f;f=m+16|0;i=h-f|0;d=d?(i-2|0)<(d|0)?d+2|0:i:i;h=j+d|0;bb(a,32,c,h,e);ab(a,k,q);bb(a,48,c,h,e^65536);ab(a,f,i);bb(a,48,d-i|0,0,0);ab(a,l,g);bb(a,32,c,h,e^8192);n=(c|0)<(h|0)?h:c}Ea=m+560|0;return n|0}function Wc(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;h=Ea-80|0;Ea=h;J[h+76>>2]=b;w=h+55|0;r=h+56|0;a:{b:{c:{d:{e:while(1){i=b;if((o^2147483647)<(f|0)){break d}o=f+o|0;f:{g:{h:{f=i;g=K[f|0];if(g){while(1){i:{b=g&255;j:{if(!b){b=f;break j}if((b|0)!=37){break i}g=f;while(1){if(K[g+1|0]!=37){b=g;break j}f=f+1|0;k=K[g+2|0];b=g+2|0;g=b;if((k|0)==37){continue}break}}f=f-i|0;v=o^2147483647;if((f|0)>(v|0)){break d}if(a){ab(a,i,f)}if(f){continue e}J[h+76>>2]=b;f=b+1|0;p=-1;if(!(K[b+2|0]!=36|H[b+1|0]-48>>>0>=10)){p=H[b+1|0]-48|0;s=1;f=b+3|0}J[h+76>>2]=f;m=0;g=H[f|0];b=g-32|0;k:{if(b>>>0>31){l=f;break k}l=f;b=1<>2]=l;m=b|m;g=H[f+1|0];b=g-32|0;if(b>>>0>=32){break k}f=l;b=1<>>0>=10)){J[((H[l+1|0]<<2)+e|0)-192>>2]=10;g=l+3|0;s=1;b=J[((H[l+1|0]<<3)+d|0)-384>>2];break m}if(s){break h}g=l+1|0;if(!a){J[h+76>>2]=g;s=0;q=0;break l}b=J[c>>2];J[c>>2]=b+4;s=0;b=J[b>>2]}J[h+76>>2]=g;q=b;if((b|0)>=0){break l}q=0-q|0;m=m|8192;break l}q=Vc(h+76|0);if((q|0)<0){break d}g=J[h+76>>2]}f=0;j=-1;n:{if(K[g|0]!=46){b=g;u=0;break n}if(K[g+1|0]==42){o:{if(!(K[g+3|0]!=36|H[g+2|0]-48>>>0>=10)){J[((H[g+2|0]<<2)+e|0)-192>>2]=10;b=g+4|0;j=J[((H[g+2|0]<<3)+d|0)-384>>2];break o}if(s){break h}b=g+2|0;j=0;if(!a){break o}g=J[c>>2];J[c>>2]=g+4;j=J[g>>2]}J[h+76>>2]=b;u=(j^-1)>>>31|0;break n}J[h+76>>2]=g+1;j=Vc(h+76|0);b=J[h+76>>2];u=1}while(1){n=f;l=28;k=b;f=H[b|0];if(f-123>>>0<4294967238){break c}b=k+1|0;f=K[(f+P(n,58)|0)+17791|0];if(f-1>>>0<8){continue}break}J[h+76>>2]=b;p:{q:{if((f|0)!=27){if(!f){break c}if((p|0)>=0){J[(p<<2)+e>>2]=f;g=(p<<3)+d|0;f=J[g+4>>2];J[h+64>>2]=J[g>>2];J[h+68>>2]=f;break q}if(!a){break f}Uc(h- -64|0,f,c);break p}if((p|0)>=0){break c}}f=0;if(!a){continue e}}g=m&-65537;m=m&8192?g:m;p=0;t=1383;l=r;r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{f=H[k|0];f=n?(f&15)==3?f&-33:f:f;switch(f-88|0){case 11:break r;case 9:case 13:case 14:case 15:break s;case 27:break x;case 12:case 17:break A;case 23:break B;case 0:case 32:break C;case 24:break D;case 22:break E;case 29:break F;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 25:case 26:case 28:case 30:case 31:break g;default:break G}}H:{switch(f-65|0){case 0:case 4:case 5:case 6:break s;case 2:break v;case 1:case 3:break g;default:break H}}if((f|0)==83){break w}break g}g=J[h+64>>2];k=J[h+68>>2];t=1383;break z}f=0;I:{switch(n&255){case 0:J[J[h+64>>2]>>2]=o;continue e;case 1:J[J[h+64>>2]>>2]=o;continue e;case 2:i=J[h+64>>2];J[i>>2]=o;J[i+4>>2]=o>>31;continue e;case 3:I[J[h+64>>2]>>1]=o;continue e;case 4:H[J[h+64>>2]]=o;continue e;case 6:J[J[h+64>>2]>>2]=o;continue e;case 7:break I;default:continue e}}i=J[h+64>>2];J[i>>2]=o;J[i+4>>2]=o>>31;continue e}j=j>>>0<=8?8:j;m=m|8;f=120}i=r;g=J[h+64>>2];k=J[h+68>>2];if(g|k){x=f&32;while(1){i=i-1|0;H[i|0]=x|K[(g&15)+18320|0];y=!k&g>>>0>15|(k|0)!=0;n=k;k=k>>>4|0;g=(n&15)<<28|g>>>4;if(y){continue}break}}if(!(J[h+64>>2]|J[h+68>>2])|!(m&8)){break y}t=(f>>>4|0)+1383|0;p=2;break y}f=r;i=J[h+68>>2];k=i;g=J[h+64>>2];if(i|g){while(1){f=f-1|0;H[f|0]=g&7|48;n=!k&g>>>0>7|(k|0)!=0;i=k;k=i>>>3|0;g=(i&7)<<29|g>>>3;if(n){continue}break}}i=f;if(!(m&8)){break y}f=r-i|0;j=(f|0)<(j|0)?j:f+1|0;break y}g=J[h+64>>2];f=J[h+68>>2];k=f;if((f|0)<0){i=0-(k+((g|0)!=0)|0)|0;k=i;g=0-g|0;J[h+64>>2]=g;J[h+68>>2]=i;p=1;t=1383;break z}if(m&2048){p=1;t=1384;break z}p=m&1;t=p?1385:1383}i=Db(g,k,r)}if((j|0)<0?u:0){break d}m=u?m&-65537:m;f=J[h+64>>2];g=J[h+68>>2];if(!(j|(f|g)!=0)){i=r;j=0;break g}f=!(f|g)+(r-i|0)|0;j=(f|0)<(j|0)?j:f;break g}l=j>>>0>=2147483647?2147483647:j;n=l;m=(l|0)!=0;f=J[h+64>>2];i=f?f:6875;f=i;J:{K:{L:{M:{if(!(f&3)|!l){break M}while(1){if(!K[f|0]){break L}n=n-1|0;m=(n|0)!=0;f=f+1|0;if(!(f&3)){break M}if(n){continue}break}}if(!m){break K}if(!(!K[f|0]|n>>>0<4)){while(1){k=J[f>>2];if((k^-1)&k-16843009&-2139062144){break L}f=f+4|0;n=n-4|0;if(n>>>0>3){continue}break}}if(!n){break K}}while(1){if(!K[f|0]){break J}f=f+1|0;n=n-1|0;if(n){continue}break}}f=0}f=f?f-i|0:l;l=f+i|0;if((j|0)>=0){m=g;j=f;break g}m=g;j=f;if(K[l|0]){break d}break g}if(j){g=J[h+64>>2];break u}f=0;bb(a,32,q,0,m);break t}J[h+12>>2]=0;J[h+8>>2]=J[h+64>>2];g=h+8|0;J[h+64>>2]=g;j=-1}f=0;N:{while(1){i=J[g>>2];if(!i){break N}k=Rc(h+4|0,i);i=(k|0)<0;if(!(i|k>>>0>j-f>>>0)){g=g+4|0;f=f+k|0;if(j>>>0>f>>>0){continue}break N}break}if(i){break b}}l=61;if((f|0)<0){break c}bb(a,32,q,f,m);if(!f){f=0;break t}l=0;g=J[h+64>>2];while(1){i=J[g>>2];if(!i){break t}i=Rc(h+4|0,i);l=i+l|0;if(l>>>0>f>>>0){break t}ab(a,h+4|0,i);g=g+4|0;if(f>>>0>l>>>0){continue}break}}bb(a,32,q,f,m^8192);f=(f|0)<(q|0)?q:f;continue e}if((j|0)<0?u:0){break d}l=61;f=Tc(a,O[h+64>>3],q,j,m,f);if((f|0)>=0){continue e}break c}H[h+55|0]=J[h+64>>2];j=1;i=w;m=g;break g}g=K[f+1|0];f=f+1|0;continue}}if(a){break a}if(!s){break f}f=1;while(1){a=J[(f<<2)+e>>2];if(a){Uc((f<<3)+d|0,a,c);o=1;f=f+1|0;if((f|0)!=10){continue}break a}break}o=1;if(f>>>0>=10){break a}while(1){if(J[(f<<2)+e>>2]){break h}f=f+1|0;if((f|0)!=10){continue}break}break a}l=28;break c}k=l-i|0;g=(j|0)>(k|0)?j:k;if((g|0)>(p^2147483647)){break d}l=61;j=g+p|0;f=(j|0)<(q|0)?q:j;if((v|0)<(f|0)){break c}bb(a,32,f,j,m);ab(a,t,p);bb(a,48,f,j,m^65536);bb(a,48,g,k,0);ab(a,i,k);bb(a,32,f,j,m^8192);continue}break}o=0;break a}l=61}J[6350]=l}o=-1}Ea=h+80|0;return o}function Zc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,y=0,z=0,A=0;o=Ea-16|0;Ea=o;s=(C(a),v(2));e=s&2147483647;a:{if(e>>>0<=1305022426){j=+a;d=j*.6366197723675814+6755399441055744+-6755399441055744;r=j+d*-1.5707963109016418+d*-1.5893254773528196e-8;O[b>>3]=r;c=r<-.7853981852531433;if(R(d)<2147483648){e=~~d}else{e=-2147483648}if(c){d=d+-1;O[b>>3]=j+d*-1.5707963109016418+d*-1.5893254773528196e-8;e=e-1|0;break a}if(!(r>.7853981852531433)){break a}d=d+1;O[b>>3]=j+d*-1.5707963109016418+d*-1.5893254773528196e-8;e=e+1|0;break a}if(e>>>0>=2139095040){O[b>>3]=Q(a-a);e=0;break a}c=e;e=(e>>>23|0)-150|0;O[o+8>>3]=(x(2,c-(e<<23)|0),D());t=o+8|0;g=Ea-560|0;Ea=g;c=(e-3|0)/24|0;p=(c|0)>0?c:0;i=e+P(p,-24)|0;l=J[3752];if((l|0)>=0){e=l+1|0;c=p;while(1){O[(g+320|0)+(f<<3)>>3]=(c|0)<0?0:+J[(c<<2)+15024>>2];c=c+1|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}k=i-24|0;e=0;f=(l|0)>0?l:0;while(1){c=0;d=0;while(1){d=O[(c<<3)+t>>3]*O[(g+320|0)+(e-c<<3)>>3]+d;c=c+1|0;if((c|0)!=1){continue}break}O[(e<<3)+g>>3]=d;c=(e|0)==(f|0);e=e+1|0;if(!c){continue}break}z=47-i|0;u=48-i|0;A=i-25|0;e=l;b:{while(1){d=O[(e<<3)+g>>3];c=0;f=e;n=(e|0)<=0;if(!n){while(1){m=(g+480|0)+(c<<2)|0;j=d*5.960464477539063e-8;c:{if(R(j)<2147483648){h=~~j;break c}h=-2147483648}j=+(h|0);d=j*-16777216+d;d:{if(R(d)<2147483648){h=~~d;break d}h=-2147483648}J[m>>2]=h;f=f-1|0;d=O[(f<<3)+g>>3]+j;c=c+1|0;if((e|0)!=(c|0)){continue}break}}d=Pb(d,k);d=d+V(d*.125)*-8;e:{if(R(d)<2147483648){m=~~d;break e}m=-2147483648}d=d-+(m|0);f:{g:{h:{w=(k|0)<=0;i:{if(!w){f=(e<<2)+g|0;h=J[f+476>>2];c=h>>u;q=f;f=h-(c<>2]=f;m=c+m|0;h=f>>z;break i}if(k){break h}h=J[((e<<2)+g|0)+476>>2]>>23}if((h|0)<=0){break f}break g}h=2;if(d>=.5){break g}h=0;break f}c=0;f=0;if(!n){while(1){q=(g+480|0)+(c<<2)|0;n=J[q>>2];y=16777215;j:{k:{if(f){break k}y=16777216;if(n){break k}f=0;break j}J[q>>2]=y-n;f=1}c=c+1|0;if((e|0)!=(c|0)){continue}break}}l:{if(w){break l}c=8388607;m:{switch(A|0){case 1:c=4194303;break;case 0:break m;default:break l}}n=(e<<2)+g|0;J[n+476>>2]=J[n+476>>2]&c}m=m+1|0;if((h|0)!=2){break f}d=1-d;h=2;if(!f){break f}d=d-Pb(1,k)}if(d==0){f=0;n:{c=e;if((l|0)>=(e|0)){break n}while(1){c=c-1|0;f=J[(g+480|0)+(c<<2)>>2]|f;if((c|0)>(l|0)){continue}break}if(!f){break n}i=k;while(1){i=i-24|0;e=e-1|0;if(!J[(g+480|0)+(e<<2)>>2]){continue}break}break b}c=1;while(1){f=c;c=c+1|0;if(!J[(g+480|0)+(l-f<<2)>>2]){continue}break}f=e+f|0;while(1){e=e+1|0;O[(g+320|0)+(e<<3)>>3]=J[(e+p<<2)+15024>>2];c=0;d=0;while(1){d=O[(c<<3)+t>>3]*O[(g+320|0)+(e-c<<3)>>3]+d;c=c+1|0;if((c|0)!=1){continue}break}O[(e<<3)+g>>3]=d;if((e|0)<(f|0)){continue}break}e=f;continue}break}d=Pb(d,24-i|0);o:{if(d>=16777216){k=(g+480|0)+(e<<2)|0;j=d*5.960464477539063e-8;p:{if(R(j)<2147483648){c=~~j;break p}c=-2147483648}d=+(c|0)*-16777216+d;q:{if(R(d)<2147483648){f=~~d;break q}f=-2147483648}J[k>>2]=f;e=e+1|0;break o}if(R(d)<2147483648){c=~~d}else{c=-2147483648}i=k}J[(g+480|0)+(e<<2)>>2]=c}d=Pb(1,i);r:{if((e|0)<0){break r}c=e;while(1){f=c;O[(c<<3)+g>>3]=d*+J[(g+480|0)+(c<<2)>>2];c=c-1|0;d=d*5.960464477539063e-8;if(f){continue}break}if((e|0)<0){break r}f=e;while(1){d=0;c=0;i=e-f|0;k=(i|0)>(l|0)?l:i;if((k|0)>=0){while(1){d=O[(c<<3)+17792>>3]*O[(c+f<<3)+g>>3]+d;p=(c|0)!=(k|0);c=c+1|0;if(p){continue}break}}O[(g+160|0)+(i<<3)>>3]=d;c=(f|0)>0;f=f-1|0;if(c){continue}break}}d=0;if((e|0)>=0){while(1){c=e;e=e-1|0;d=d+O[(g+160|0)+(c<<3)>>3];if(c){continue}break}}O[o>>3]=h?-d:d;Ea=g+560|0;e=m&7;d=O[o>>3];if((s|0)<0){O[b>>3]=-d;e=0-e|0;break a}O[b>>3]=d}Ea=o+16|0;return e}function gd(a){var b=Q(0),c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=0,k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=0,r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=0,D=Q(0),E=0,F=0,G=Q(0),H=0,I=0,L=0,M=0,O=Q(0),R=Q(0);if(J[a+48>>2]>0){q=J[a+28>>2];I=K[23208];while(1){c=J[a+40>>2]+P(F,156)|0;G=N[c+132>>2];A=N[c+124>>2];g=N[c+128>>2];B=N[c+120>>2];l=N[c+72>>2];i=N[c+76>>2];H=P(J[c+116>>2],12);j=H+q|0;o=N[j+8>>2];r=N[j+4>>2];s=N[j>>2];L=P(J[c+112>>2],12);C=L+q|0;b=N[C+8>>2];t=N[C+4>>2];u=N[C>>2];E=J[c+148>>2];M=(E|0)<=0;a:{b:{if(!M){v=N[c+136>>2];d=Q(-l);k=N[c+144>>2];h=Q(-g);q=0;while(1){j=c+P(q,36)|0;e=Q(v*N[j+16>>2]);f=Q(-e);w=N[j+20>>2];n=N[j+12>>2];m=N[j+4>>2];x=N[j+8>>2];y=N[j>>2];z=Q(w-Q(N[j+28>>2]*Q(Q(Q(Q(Q(Q(s-Q(o*n))-u)+Q(b*m))*i)+Q(Q(Q(Q(r+Q(o*x))-t)-Q(b*y))*d))-k)));e=e>z?z:e;e=e>2]=e;f=Q(e-w);e=Q(f*d);f=Q(i*f);o=Q(Q(G*Q(Q(x*e)-Q(n*f)))+o);b=Q(Q(h*Q(Q(y*e)-Q(f*m)))+b);r=Q(r+Q(A*e));s=Q(s+Q(A*f));t=Q(t-Q(B*e));u=Q(u-Q(B*f));q=q+1|0;if((E|0)!=(q|0)){continue}break}if(I?(E|0)!=1:0){break b}if(M){break a}q=0;while(1){j=c+P(q,36)|0;e=N[j+16>>2];f=N[j+12>>2];g=N[j+4>>2];d=N[j+8>>2];v=N[j>>2];k=Q(e-Q(N[j+24>>2]*Q(Q(Q(Q(Q(Q(s-Q(o*f))-u)+Q(b*g))*l)+Q(i*Q(Q(Q(r+Q(o*d))-t)-Q(b*v))))-N[j+32>>2])));k=k>Q(0)?k:Q(0);N[j+16>>2]=k;m=d;d=Q(k-e);e=Q(i*d);p=f;f=Q(l*d);o=Q(Q(G*Q(Q(m*e)-Q(p*f)))+o);b=Q(Q(h*Q(Q(v*e)-Q(f*g)))+b);r=Q(r+Q(A*e));s=Q(s+Q(A*f));t=Q(t-Q(B*e));u=Q(u-Q(B*f));q=q+1|0;if((E|0)!=(q|0)){continue}break}break a}if(!I){break a}}c:{d:{v=N[c+12>>2];k=N[c+4>>2];w=N[c+8>>2];n=N[c>>2];d=N[c+16>>2];h=N[c+52>>2];O=N[c+104>>2];m=Q(Q(Q(Q(Q(Q(Q(s-Q(o*v))-u)+Q(b*k))*l)+Q(i*Q(Q(Q(r+Q(o*w))-t)-Q(b*n))))-N[c+32>>2])-Q(Q(N[c+96>>2]*d)+Q(h*O)));x=N[c+48>>2];y=N[c+40>>2];z=N[c+44>>2];D=N[c+36>>2];f=N[c+100>>2];p=Q(Q(Q(Q(Q(Q(Q(s-Q(o*x))-u)+Q(b*y))*l)+Q(i*Q(Q(Q(r+Q(o*z))-t)-Q(b*D))))-N[c+68>>2])-Q(Q(f*d)+Q(h*N[c+108>>2])));e=Q(Q(N[c+80>>2]*m)+Q(N[c+88>>2]*p));if(!(e<=Q(0))){break d}R=Q(Q(N[c+84>>2]*m)+Q(p*N[c+92>>2]));if(!(R<=Q(0))){break d}m=b;p=g;e=Q(-e);b=Q(e-d);g=Q(i*b);d=Q(l*b);n=Q(Q(n*g)-Q(d*k));f=Q(-R);b=Q(f-h);h=Q(i*b);k=Q(l*b);b=Q(m-Q(p*Q(n+Q(Q(D*h)-Q(k*y)))));i=Q(g+h);l=Q(d+k);g=Q(Q(w*g)-Q(d*v));d=Q(Q(z*h)-Q(k*x));break c}e=Q(m*Q(-N[c+24>>2]));if(!(!(e>=Q(0))|!(Q(Q(f*e)+p)>=Q(0)))){f=Q(0);m=b;p=g;b=Q(Q(0)-h);g=Q(i*b);h=Q(l*b);b=Q(e-d);d=Q(i*b);i=Q(n*d);n=Q(l*b);b=Q(m-Q(p*Q(Q(Q(D*g)-Q(h*y))+Q(i-Q(n*k)))));i=Q(g+d);l=Q(h+n);g=Q(Q(z*g)-Q(h*x));d=Q(Q(w*d)-Q(n*v));break c}f=Q(p*Q(-N[c+60>>2]));if(!(!(f>=Q(0))|!(Q(Q(O*f)+m)>=Q(0)))){e=Q(0);m=b;p=g;b=Q(Q(0)-d);g=Q(i*b);d=Q(l*b);n=Q(Q(n*g)-Q(d*k));b=Q(f-h);h=Q(i*b);k=Q(l*b);b=Q(m-Q(p*Q(n+Q(Q(D*h)-Q(k*y)))));i=Q(g+h);l=Q(d+k);g=Q(Q(w*g)-Q(d*v));d=Q(Q(z*h)-Q(k*x));break c}if(!(m>=Q(0))|!(p>=Q(0))){break a}e=Q(0);m=b;p=g;b=Q(Q(0)-d);f=Q(i*b);g=Q(l*b);b=Q(Q(0)-h);d=Q(i*b);h=Q(l*b);b=Q(m-Q(p*Q(Q(Q(n*f)-Q(g*k))+Q(Q(D*d)-Q(h*y)))));i=Q(f+d);l=Q(g+h);g=Q(Q(w*f)-Q(g*v));f=Q(0);d=Q(Q(z*d)-Q(h*x))}N[c+52>>2]=f;N[c+16>>2]=e;s=Q(s+Q(A*l));r=Q(r+Q(A*i));u=Q(u-Q(B*l));t=Q(t-Q(B*i));o=Q(Q(G*Q(g+d))+o)}N[C+4>>2]=t;N[C>>2]=u;c=J[a+28>>2];N[(c+L|0)+8>>2]=b;c=c+H|0;N[c+4>>2]=r;N[c>>2]=s;q=J[a+28>>2];N[(H+q|0)+8>>2]=o;F=F+1|0;if((F|0)>2]){continue}break}}}function Sb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;J[a+52>>2]=0;b=J[a+40>>2];a:{if((b|0)<=0){break a}while(1){c=J[J[a+32>>2]+(h<<2)>>2];J[a+56>>2]=c;if((c|0)!=-1){f=J[a+4>>2]+P(c,40)|0;b=Ea-1040|0;Ea=b;J[b+1032>>2]=0;J[b+1036>>2]=256;i=b+8|0;J[b+4>>2]=i;tb(b+4|0,a);c=J[b+1032>>2];b:{if((c|0)<=0){break b}while(1){c=c-1|0;J[b+1032>>2]=c;e=J[J[b+4>>2]+(c<<2)>>2];c:{if((e|0)==-1){break c}d=J[a+4>>2]+P(e,40)|0;if(Q(N[f>>2]-N[d+8>>2])>Q(0)|Q(N[f+4>>2]-N[d+12>>2])>Q(0)|(Q(N[d>>2]-N[f+8>>2])>Q(0)|Q(N[d+4>>2]-N[f+12>>2])>Q(0))){break c}if(J[d+24>>2]==-1){c=J[a+56>>2];if(!((e|0)==(c|0)|(K[(J[a+4>>2]+P(e,40)|0)+36|0]?(c|0)<(e|0):0))){d=J[a+52>>2];if((d|0)==J[a+48>>2]){d=(d>>1)+d|0;J[a+48>>2]=d;c=J[a+44>>2];d=db(d<<3);J[a+44>>2]=d;Xa(d,c,J[a+52>>2]<<3);Va(c);d=J[a+52>>2];c=J[a+56>>2]}g=J[a+44>>2]+(d<<3)|0;J[g+4>>2]=(c|0)<(e|0)?e:c;J[g>>2]=(c|0)>(e|0)?e:c;J[a+52>>2]=d+1}c=J[b+1032>>2];if((c|0)>0){continue}break b}c=b+4|0;tb(c,d+24|0);tb(c,d+28|0);c=J[b+1032>>2]}if((c|0)>0){continue}break}}c=J[b+4>>2];if((c|0)!=(i|0)){Va(c)}Ea=b+1040|0;b=J[a+40>>2]}h=h+1|0;if((h|0)<(b|0)){continue}break}if(J[a+52>>2]>0){h=0;while(1){e=J[a+4>>2];c=J[a+44>>2]+(h<<3)|0;d=J[(e+P(J[c>>2],40)|0)+16>>2];b=J[d+16>>2];i=J[b+8>>2];e=J[(e+P(J[c+4>>2],40)|0)+16>>2];c=J[e+16>>2];j=J[c+8>>2];d:{if((i|0)==(j|0)){break d}e=J[e+20>>2];d=J[d+20>>2];f=J[j+112>>2];if(f){while(1){e:{if((i|0)!=J[f>>2]){break e}g=J[f+4>>2];k=J[g+60>>2];l=J[g+56>>2];m=J[g+52>>2];g=J[g+48>>2];if(!((g|0)!=(b|0)|(c|0)!=(m|0)|(d|0)!=(l|0))){if((e|0)==(k|0)){break d}}if((c|0)!=(g|0)|(b|0)!=(m|0)|(e|0)!=(l|0)){break e}if((d|0)==(k|0)){break d}}f=J[f+12>>2];if(f){continue}break}}if(!Cd(j,i)){break d}f=J[a+68>>2];if(f){if(!(Ga[J[J[f>>2]+8>>2]](f,b,c)|0)){break d}}f=J[a+76>>2];if(!K[24320]){J[6056]=732;H[24136]=1;J[6033]=733;J[6032]=734;J[6038]=732;J[6044]=735;J[6068]=736;J[6035]=735;H[24232]=1;J[6057]=737;H[24256]=1;J[6063]=738;J[6062]=739;H[24160]=0;J[6039]=737;H[24184]=1;J[6045]=740;H[24280]=1;J[6069]=741;H[24244]=0;J[6060]=742;J[6059]=743;H[24208]=1;J[6051]=742;J[6050]=743;H[24148]=0;J[6036]=740;H[24304]=1;J[6075]=744;J[6074]=745;H[24172]=0;J[6042]=741;J[6041]=736;J[6065]=745;J[6066]=744;H[24268]=0;H[24320]=1}g=(P(J[J[b+12>>2]+4>>2],48)+24128|0)+P(J[J[c+12>>2]+4>>2],12)|0;i=J[g>>2];f:{if(i){if(K[g+8|0]){b=Ga[i|0](b,d,c,e,f)|0;break f}b=Ga[i|0](c,e,b,d,f)|0}else{b=0}}if(!b){break d}i=J[b+52>>2];c=J[i+8>>2];g=J[b+48>>2];e=J[g+8>>2];J[b+8>>2]=0;d=J[a+60>>2];J[b+12>>2]=d;if(d){J[d+8>>2]=b}J[a+60>>2]=b;J[b+24>>2]=0;J[b+16>>2]=c;J[b+20>>2]=b;d=J[e+112>>2];J[b+28>>2]=d;f=b+16|0;if(d){J[d+8>>2]=f}J[e+112>>2]=f;J[b+40>>2]=0;J[b+32>>2]=e;J[b+36>>2]=b;d=J[c+112>>2];J[b+44>>2]=d;b=b+32|0;if(d){J[d+8>>2]=b}J[c+112>>2]=b;if(!(K[g+38|0]|K[i+38|0])){J[e+144>>2]=0;I[e+4>>1]=L[e+4>>1]|2;J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2}J[a+64>>2]=J[a+64>>2]+1}h=h+1|0;if((h|0)>2]){continue}break}b=J[a+40>>2]}if((b|0)<=0){break a}c=J[a+4>>2];e=J[a+32>>2];h=0;while(1){d=J[e+(h<<2)>>2];if((d|0)!=-1){H[(c+P(d,40)|0)+36|0]=0}h=h+1|0;if((h|0)!=(b|0)){continue}break}}J[a+40>>2]=0}function Vh(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=0,f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=0,l=0,m=0,n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=0,s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=0,D=Q(0),E=Q(0),F=Q(0),G=Q(0),H=Q(0),I=Q(0),L=Q(0),M=Q(0),O=Q(0),R=Q(0),S=Q(0),T=Q(0),U=Q(0),V=Q(0),W=Q(0),X=Q(0),Y=Q(0),Z=0,_=0,$=Q(0),aa=Q(0);l=J[a+48>>2];C=J[l+8>>2];J[a+160>>2]=C;m=J[a+52>>2];r=J[m+8>>2];J[a+164>>2]=r;k=J[a+84>>2];Z=J[k+8>>2];J[a+168>>2]=Z;c=J[a+88>>2];_=J[c+8>>2];J[a+172>>2]=_;D=N[l+32>>2];e=J[l+32>>2];i=N[l+28>>2];J[a+176>>2]=J[l+28>>2];J[a+180>>2]=e;e=J[m+32>>2];J[a+184>>2]=J[m+28>>2];J[a+188>>2]=e;w=N[k+32>>2];e=J[k+32>>2];n=N[k+28>>2];J[a+192>>2]=J[k+28>>2];J[a+196>>2]=e;$=N[c+32>>2];e=J[c+32>>2];aa=N[c+28>>2];J[a+200>>2]=J[c+28>>2];J[a+204>>2]=e;E=N[l+120>>2];N[a+208>>2]=E;F=N[m+120>>2];N[a+212>>2]=F;G=N[k+120>>2];N[a+216>>2]=G;H=N[c+120>>2];N[a+220>>2]=H;x=N[l+128>>2];N[a+224>>2]=x;y=N[m+128>>2];N[a+228>>2]=y;z=N[k+128>>2];N[a+232>>2]=z;A=N[c+128>>2];N[a+236>>2]=A;l=J[a+76>>2];c=J[b+28>>2];k=P(_,12);e=c+k|0;I=N[e+8>>2];L=N[e+4>>2];M=N[e>>2];m=P(Z,12);e=m+c|0;O=N[e+8>>2];R=N[e+4>>2];S=N[e>>2];r=P(r,12);e=r+c|0;T=N[e+8>>2];U=N[e+4>>2];V=N[e>>2];e=P(C,12);c=e+c|0;W=N[c+8>>2];X=N[c+4>>2];Y=N[c>>2];c=J[b+24>>2];d=N[(c+r|0)+8>>2];f=N[(c+k|0)+8>>2];h=Ta(f);g=Sa(f);s=Ta(d);t=Sa(d);a:{if((l|0)==1){o=Q(1);j=Q(1);d=Q(x+z);break a}p=N[a+96>>2];d=N[(c+e|0)+8>>2];o=Ta(d);B=N[a+92>>2];j=Sa(d);q=N[a+128>>2];i=Q(B-i);p=Q(p-D);f=N[(c+m|0)+8>>2];d=Sa(f);u=N[a+124>>2];f=Ta(f);v=Q(Q(d*u)+Q(q*f));q=Q(Q(f*u)-Q(q*d));o=Q(Q(Q(Q(o*i)-Q(j*p))*v)-Q(q*Q(Q(j*i)+Q(o*p))));j=Q(N[a+108>>2]-n);i=Q(N[a+112>>2]-w);j=Q(Q(Q(Q(f*j)-Q(d*i))*v)-Q(q*Q(Q(d*j)+Q(f*i))));d=Q(Q(Q(x*o)*o)+Q(Q(Q(z*j)*j)+Q(E+G)))}N[a+264>>2]=j;N[a+256>>2]=o;N[a+240>>2]=q;N[a+244>>2]=v;i=Q(0);n=Q(d+Q(0));b:{if(J[a+80>>2]==1){J[a+248>>2]=0;d=N[a+152>>2];g=Q(Q(Q(d*d)*Q(y+A))+n);h=d;f=Q(0);break b}d=N[a+132>>2];B=N[a+136>>2];p=Q(Q(h*d)-Q(B*g));f=N[a+152>>2];i=Q(p*f);N[a+248>>2]=i;D=n;u=Q(N[a+100>>2]-N[a+184>>2]);w=Q(N[a+104>>2]-N[a+188>>2]);n=Q(Q(g*d)+Q(h*B));d=Q(f*Q(Q(Q(Q(s*u)-Q(w*t))*n)-Q(p*Q(Q(t*u)+Q(s*w)))));s=Q(N[a+116>>2]-aa);t=Q(N[a+120>>2]-$);h=Q(f*Q(Q(Q(Q(h*s)-Q(t*g))*n)-Q(p*Q(Q(g*s)+Q(h*t)))));g=Q(D+Q(Q(Q(y*d)*d)+Q(Q(Q(f*f)*Q(F+H))+Q(h*Q(A*h)))));f=Q(n*f)}N[a+268>>2]=h;N[a+260>>2]=d;N[a+252>>2]=f;N[a+272>>2]=g>Q(0)?Q(Q(1)/g):Q(0);c:{if(K[b+20|0]){g=N[a+156>>2];I=Q(I-Q(Q(g*A)*h));h=Q(H*g);L=Q(L-Q(h*f));M=Q(M-Q(h*i));O=Q(O-Q(Q(g*z)*j));h=Q(G*g);R=Q(R-Q(h*v));S=Q(S-Q(q*h));T=Q(Q(Q(y*g)*d)+T);d=Q(F*g);U=Q(U+Q(d*f));V=Q(V+Q(d*i));W=Q(Q(Q(x*g)*o)+W);d=Q(E*g);X=Q(X+Q(d*v));Y=Q(Y+Q(q*d));break c}J[a+156>>2]=0}c=J[b+28>>2]+P(C,12)|0;N[c+4>>2]=X;N[c>>2]=Y;c=J[b+28>>2];N[(c+P(J[a+160>>2],12)|0)+8>>2]=W;c=c+P(J[a+164>>2],12)|0;N[c+4>>2]=U;N[c>>2]=V;c=J[b+28>>2];N[(c+P(J[a+164>>2],12)|0)+8>>2]=T;c=c+P(J[a+168>>2],12)|0;N[c+4>>2]=R;N[c>>2]=S;c=J[b+28>>2];N[(c+P(J[a+168>>2],12)|0)+8>>2]=O;c=c+P(J[a+172>>2],12)|0;N[c+4>>2]=L;N[c>>2]=M;N[(J[b+28>>2]+P(J[a+172>>2],12)|0)+8>>2]=I}function Va(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!a){break a}d=a-8|0;b=J[a-4>>2];a=b&-8;f=d+a|0;b:{if(b&1){break b}if(!(b&3)){break a}b=J[d>>2];d=d-b|0;if(d>>>0>>0<=255){e=b>>>3|0;b=J[d+12>>2];c=J[d+8>>2];if((b|0)==(c|0)){i=25592,j=J[6398]&Dl(e),J[i>>2]=j;break b}J[c+12>>2]=b;J[b+8>>2]=c;break b}g=J[d+24>>2];b=J[d+12>>2];if((d|0)!=(b|0)){c=J[d+8>>2];J[c+12>>2]=b;J[b+8>>2]=c;break c}e=d+20|0;c=J[e>>2];if(!c){c=J[d+16>>2];if(!c){break d}e=d+16|0}while(1){h=e;b=c;e=b+20|0;c=J[e>>2];if(c){continue}e=b+16|0;c=J[b+16>>2];if(c){continue}break}J[h>>2]=0;break c}b=J[f+4>>2];if((b&3)!=3){break b}J[6400]=a;J[f+4>>2]=b&-2;J[d+4>>2]=a|1;J[f>>2]=a;return}b=0}if(!g){break b}c=J[d+28>>2];e=(c<<2)+25896|0;e:{if(J[e>>2]==(d|0)){J[e>>2]=b;if(b){break e}i=25596,j=J[6399]&Dl(c),J[i>>2]=j;break b}J[g+(J[g+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break b}}J[b+24>>2]=g;c=J[d+16>>2];if(c){J[b+16>>2]=c;J[c+24>>2]=b}c=J[d+20>>2];if(!c){break b}J[b+20>>2]=c;J[c+24>>2]=b}if(d>>>0>=f>>>0){break a}b=J[f+4>>2];if(!(b&1)){break a}f:{g:{h:{i:{if(!(b&2)){if(J[6404]==(f|0)){J[6404]=d;a=J[6401]+a|0;J[6401]=a;J[d+4>>2]=a|1;if(J[6403]!=(d|0)){break a}J[6400]=0;J[6403]=0;return}if(J[6403]==(f|0)){J[6403]=d;a=J[6400]+a|0;J[6400]=a;J[d+4>>2]=a|1;J[a+d>>2]=a;return}a=(b&-8)+a|0;if(b>>>0<=255){e=b>>>3|0;b=J[f+12>>2];c=J[f+8>>2];if((b|0)==(c|0)){i=25592,j=J[6398]&Dl(e),J[i>>2]=j;break g}J[c+12>>2]=b;J[b+8>>2]=c;break g}g=J[f+24>>2];b=J[f+12>>2];if((f|0)!=(b|0)){c=J[f+8>>2];J[c+12>>2]=b;J[b+8>>2]=c;break h}e=f+20|0;c=J[e>>2];if(!c){c=J[f+16>>2];if(!c){break i}e=f+16|0}while(1){h=e;b=c;e=b+20|0;c=J[e>>2];if(c){continue}e=b+16|0;c=J[b+16>>2];if(c){continue}break}J[h>>2]=0;break h}J[f+4>>2]=b&-2;J[d+4>>2]=a|1;J[a+d>>2]=a;break f}b=0}if(!g){break g}c=J[f+28>>2];e=(c<<2)+25896|0;j:{if(J[e>>2]==(f|0)){J[e>>2]=b;if(b){break j}i=25596,j=J[6399]&Dl(c),J[i>>2]=j;break g}J[g+(J[g+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break g}}J[b+24>>2]=g;c=J[f+16>>2];if(c){J[b+16>>2]=c;J[c+24>>2]=b}c=J[f+20>>2];if(!c){break g}J[b+20>>2]=c;J[c+24>>2]=b}J[d+4>>2]=a|1;J[a+d>>2]=a;if(J[6403]!=(d|0)){break f}J[6400]=a;return}if(a>>>0<=255){b=(a&-8)+25632|0;c=J[6398];a=1<<(a>>>3);k:{if(!(c&a)){J[6398]=a|c;a=b;break k}a=J[b+8>>2]}J[b+8>>2]=d;J[a+12>>2]=d;J[d+12>>2]=b;J[d+8>>2]=a;return}c=31;if(a>>>0<=16777215){b=S(a>>>8|0);c=((a>>>38-b&1)-(b<<1)|0)+62|0}J[d+28>>2]=c;J[d+16>>2]=0;J[d+20>>2]=0;b=(c<<2)+25896|0;l:{m:{e=J[6399];h=1<>2]=d;J[d+24>>2]=b;break n}c=a<<((c|0)!=31?25-(c>>>1|0)|0:0);b=J[b>>2];while(1){e=b;if((J[b+4>>2]&-8)==(a|0)){break m}b=c>>>29|0;c=c<<1;h=e+(b&4)|0;b=J[h+16>>2];if(b){continue}break}J[h+16>>2]=d;J[d+24>>2]=e}J[d+12>>2]=d;J[d+8>>2]=d;break l}a=J[e+8>>2];J[a+12>>2]=d;J[e+8>>2]=d;J[d+24>>2]=0;J[d+12>>2]=e;J[d+8>>2]=a}a=J[6406]-1|0;J[6406]=a?a:-1}}function Qe(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=Q(0),f=0,g=Q(0),h=Q(0),i=0,j=0,k=0,l=Q(0),m=0,n=0,o=Q(0),p=Q(0),q=0,r=Q(0),s=Q(0),t=0,u=0;a:{d=a;i=b;b=0;b:{if((c|0)<=2){break b}j=Ea-96|0;c=(c|0)>=8?8:c;while(1){a=i+(b<<3)|0;e=N[a+4>>2];f=J[a+4>>2];h=N[a>>2];n=J[a>>2];c:{if((k|0)>0){a=0;while(1){m=(j+32|0)+(a<<3)|0;g=Q(h-N[m>>2]);l=Q(g*g);g=Q(e-N[m+4>>2]);if(Q(l+Q(g*g))>2]=f;J[a>>2]=n;k=k+1|0}b=b+1|0;if((c|0)!=(b|0)){continue}break}if((k|0)<3){break b}i=0;e=N[j+32>>2];a=1;while(1){b=(j+32|0)+(a<<3)|0;h=N[b>>2];if(!(!(h>e)&(!(N[b+4>>2]>2])|e!=h))){i=a;e=h}a=a+1|0;if((k|0)!=(a|0)){continue}break}a=0;f=1;c=i;while(1){m=f;n=a;J[(a<<2)+j>>2]=c;b=0;if((k|0)>=2){q=(j+32|0)+(c<<3)|0;t=q|4;a=1;while(1){f=b;b=a;d:{if((c|0)==(f|0)){break d}u=f;b=j+32|0;f=b+(f<<3)|0;g=N[q>>2];e=Q(N[f>>2]-g);b=b+(a<<3)|0;l=N[t>>2];h=Q(N[b+4>>2]-l);g=Q(N[b>>2]-g);l=Q(N[f+4>>2]-l);o=Q(Q(e*h)-Q(g*l));b=oQ(Q(e*e)+Q(l*l)))|o!=Q(0)){break d}b=a}a=a+1|0;if((k|0)!=(a|0)){continue}break}}f=m+1|0;a=n+1|0;c=b;if((i|0)!=(c|0)){continue}break}e:{if(n>>>0<=1){J[d+84>>2]=0;J[d+88>>2]=-1082130432;J[d+20>>2]=-1082130432;J[d+24>>2]=-1082130432;J[d+148>>2]=4;J[d+108>>2]=-1082130432;J[d+112>>2]=0;J[d+100>>2]=0;J[d+104>>2]=1065353216;J[d+92>>2]=1065353216;J[d+96>>2]=0;J[d+44>>2]=-1082130432;J[d+48>>2]=1065353216;J[d+36>>2]=1065353216;J[d+40>>2]=1065353216;J[d+28>>2]=1065353216;J[d+32>>2]=-1082130432;e=Q(0);break e}J[d+148>>2]=a;a=0;f=0;while(1){i=(j+32|0)+(J[(f<<2)+j>>2]<<3)|0;k=J[i+4>>2];c=(f<<3)+d|0;J[c+20>>2]=J[i>>2];J[c+24>>2]=k;f=f+1|0;if((m|0)!=(f|0)){continue}break}i=d+20|0;while(1){c=a>>>0>>0;f=a<<3;j=f+i|0;h=N[j>>2];a=a+1|0;k=i+((c?a:0)<<3)|0;g=N[k>>2];c=d+f|0;e=Q(N[k+4>>2]-N[j+4>>2]);N[c+84>>2]=e;h=Q(g-h);g=Q(-h);N[c+88>>2]=g;h=Q(Y(Q(Q(e*e)+Q(h*h))));if(!(h>2]=l*e;N[c+88>>2]=e*g}if((a|0)!=(m|0)){continue}break}i=d+20|0;e=Q(0);a=0;while(1){f=i+(a<<3)|0;h=N[f>>2];c=a+1|0;m=i+((a>>>0>>0?c:0)<<3)|0;g=N[m+4>>2];l=N[m>>2];o=N[f+4>>2];r=Q(Q(Q(h*g)-Q(l*o))*Q(.5));e=Q(e+r);o=Q(Q(o+Q(0))+g);g=Q(r*Q(.3333333432674408));p=Q(p+Q(o*g));s=Q(s+Q(Q(Q(h+Q(0))+l)*g));f=(a|0)!=(n|0);a=c;if(f){continue}break}e=Q(Q(1)/e);p=Q(e*p);e=Q(e*s)}N[d+12>>2]=e;N[d+16>>2]=p;break a}J[d+84>>2]=0;J[d+88>>2]=-1082130432;J[d+20>>2]=-1082130432;J[d+24>>2]=-1082130432;J[d+148>>2]=4;J[d+12>>2]=0;J[d+16>>2]=0;J[d+108>>2]=-1082130432;J[d+112>>2]=0;J[d+100>>2]=0;J[d+104>>2]=1065353216;J[d+92>>2]=1065353216;J[d+96>>2]=0;J[d+44>>2]=-1082130432;J[d+48>>2]=1065353216;J[d+36>>2]=1065353216;J[d+40>>2]=1065353216;J[d+28>>2]=1065353216;J[d+32>>2]=-1082130432}}function ll(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=Ea-16|0;Ea=i;J[i+12>>2]=b;c=a+12|0;b=J[c+4>>2];a:{if(!b){break a}e=J[i+12>>2];f=c+4|0;a=f;while(1){d=e>>>0>M[b+16>>2];a=d?a:b;b=J[(d?b+4|0:b)>>2];if(b){continue}break}if((a|0)==(f|0)|e>>>0>2]){break a}b=c;c=a;d=J[c+4>>2];b:{if(!d){d=c;while(1){f=J[d+8>>2];e=J[f>>2]!=(d|0);d=f;if(e){continue}break}break b}while(1){f=d;d=J[d>>2];if(d){continue}break}}if(J[b>>2]==(c|0)){J[b>>2]=f}J[b+8>>2]=J[b+8>>2]-1;d=J[b+4>>2];h=c;c:{d:{e=J[c>>2];if(e){b=J[h+4>>2];if(!b){break d}while(1){c=b;b=J[b>>2];if(b){continue}break}}e=J[c+4>>2];if(e){break d}e=0;f=1;break c}J[e+8>>2]=J[c+8>>2];f=0}g=J[c+8>>2];b=J[g>>2];e:{if((c|0)==(b|0)){J[g>>2]=e;if((c|0)==(d|0)){b=0;d=e;break e}b=J[g+4>>2];break e}J[g+4>>2]=e}j=!K[c+12|0];if((c|0)!=(h|0)){g=J[h+8>>2];J[c+8>>2]=g;J[g+(((h|0)!=J[J[h+8>>2]>>2])<<2)>>2]=c;g=J[h>>2];J[c>>2]=g;J[g+8>>2]=c;g=J[h+4>>2];J[c+4>>2]=g;if(g){J[g+8>>2]=c}H[c+12|0]=K[h+12|0];d=(d|0)==(h|0)?c:d}f:{if(j|!d){break f}g:{h:{if(f){while(1){c=K[b+12|0];i:{e=J[b+8>>2];if(J[e>>2]!=(b|0)){if(!c){H[b+12|0]=1;H[e+12|0]=0;f=J[e+4>>2];c=J[f>>2];J[e+4>>2]=c;if(c){J[c+8>>2]=e}J[f+8>>2]=J[e+8>>2];c=J[e+8>>2];J[(((e|0)!=J[c>>2])<<2)+c>>2]=f;J[f>>2]=e;J[e+8>>2]=f;c=b;b=J[b>>2];d=(b|0)==(d|0)?c:d;b=J[b+4>>2]}j:{k:{c=J[b>>2];l:{if(!(K[c+12|0]?0:c)){f=J[b+4>>2];if(K[f+12|0]?0:f){break l}H[b+12|0]=0;b=J[b+8>>2];m:{if((d|0)==(b|0)){b=d;break m}if(K[b+12|0]){break i}}H[b+12|0]=1;break f}f=J[b+4>>2];if(!f){break k}}if(K[f+12|0]){break k}c=b;break j}H[c+12|0]=1;H[b+12|0]=0;d=J[c+4>>2];J[b>>2]=d;if(d){J[d+8>>2]=b}J[c+8>>2]=J[b+8>>2];d=J[b+8>>2];J[((J[d>>2]!=(b|0))<<2)+d>>2]=c;J[c+4>>2]=b;J[b+8>>2]=c;f=b}d=J[c+8>>2];H[c+12|0]=K[d+12|0];H[d+12|0]=1;H[f+12|0]=1;c=J[d+4>>2];b=J[c>>2];J[d+4>>2]=b;if(b){J[b+8>>2]=d}J[c+8>>2]=J[d+8>>2];b=J[d+8>>2];J[(((d|0)!=J[b>>2])<<2)+b>>2]=c;J[c>>2]=d;J[d+8>>2]=c;break f}if(!c){H[b+12|0]=1;H[e+12|0]=0;c=J[b+4>>2];J[e>>2]=c;if(c){J[c+8>>2]=e}J[b+8>>2]=J[e+8>>2];c=J[e+8>>2];J[(((e|0)!=J[c>>2])<<2)+c>>2]=b;J[b+4>>2]=e;J[e+8>>2]=b;d=(d|0)==(e|0)?b:d;b=J[e>>2]}f=J[b>>2];if(K[f+12|0]?0:f){break h}c=J[b+4>>2];if(!(K[c+12|0]?0:c)){H[b+12|0]=0;b=J[b+8>>2];if((b|0)!=(d|0)?K[b+12|0]:0){break i}H[b+12|0]=1;break f}if(f){if(!K[f+12|0]){break h}c=J[b+4>>2]}H[c+12|0]=1;H[b+12|0]=0;d=J[c>>2];J[b+4>>2]=d;if(d){J[d+8>>2]=b}J[c+8>>2]=J[b+8>>2];d=J[b+8>>2];J[((J[d>>2]!=(b|0))<<2)+d>>2]=c;J[c>>2]=b;J[b+8>>2]=c;f=b;break g}c=b;b=J[b+8>>2];b=J[(((c|0)==J[b>>2])<<2)+b>>2];continue}}H[e+12|0]=1;break f}c=b}d=J[c+8>>2];H[c+12|0]=K[d+12|0];H[d+12|0]=1;H[f+12|0]=1;c=J[d>>2];b=J[c+4>>2];J[d>>2]=b;if(b){J[b+8>>2]=d}J[c+8>>2]=J[d+8>>2];b=J[d+8>>2];J[(((d|0)!=J[b>>2])<<2)+b>>2]=c;J[c+4>>2]=d;J[d+8>>2]=c}Va(a)}Ea=i+16|0}function eh(a,b){a=a|0;b=b|0;var c=Q(0),d=0,e=Q(0),f=Q(0),g=0,h=Q(0),i=Q(0),j=0,k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=Q(0),D=Q(0),E=Q(0),F=0,G=0,H=Q(0),I=Q(0),L=0,M=Q(0),O=Q(0);g=J[a+48>>2];F=J[g+8>>2];J[a+144>>2]=F;j=J[a+52>>2];G=J[j+8>>2];J[a+148>>2]=G;H=N[g+32>>2];d=J[g+32>>2];p=N[g+28>>2];J[a+152>>2]=J[g+28>>2];J[a+156>>2]=d;I=N[j+32>>2];L=J[j+32>>2];n=N[j+28>>2];d=J[j+28>>2];J[a+160>>2]=d;J[a+164>>2]=L;x=N[g+120>>2];N[a+168>>2]=x;y=N[j+120>>2];N[a+172>>2]=y;v=N[g+128>>2];N[a+176>>2]=v;m=N[j+128>>2];N[a+180>>2]=m;g=J[b+28>>2];j=P(F,12);d=g+j|0;z=N[d>>2];A=N[d+4>>2];B=N[d+8>>2];d=g;g=P(G,12);d=d+g|0;C=N[d>>2];D=N[d+4>>2];E=N[d+8>>2];d=j;j=J[b+24>>2];d=d+j|0;h=N[d>>2];g=g+j|0;k=N[g>>2];r=N[d+4>>2];o=N[g+4>>2];M=N[a+72>>2];l=N[g+8>>2];i=N[a+80>>2];q=N[a+88>>2];c=N[d+8>>2];O=N[a+68>>2];f=N[a+76>>2];s=N[a+84>>2];e=Q(v+m);N[a+232>>2]=e==Q(0)?Q(1):e;e=Ta(c);c=Sa(c);w=Q(Q(s*c)+Q(e*q));N[a+188>>2]=w;q=Q(Q(e*s)-Q(q*c));N[a+184>>2]=q;t=N[a+92>>2];u=N[a+96>>2];s=Q(Q(c*t)+Q(e*u));N[a+196>>2]=s;t=Q(Q(e*t)-Q(u*c));N[a+192>>2]=t;u=Ta(l);n=Q(f-n);f=Q(i-I);l=Sa(l);i=Q(Q(u*n)-Q(f*l));f=Q(Q(l*n)+Q(u*f));l=Q(Q(i*w)-Q(q*f));N[a+212>>2]=l;n=Q(Q(i*s)-Q(t*f));N[a+204>>2]=n;u=Q(Q(k-h)+i);i=Q(O-p);h=Q(M-H);k=Q(Q(e*i)-Q(c*h));p=Q(u-k);e=Q(Q(c*i)+Q(e*h));f=Q(Q(Q(o-r)+f)-e);c=Q(k+p);i=Q(e+f);e=Q(Q(c*w)-Q(q*i));N[a+208>>2]=e;i=Q(Q(c*s)-Q(t*i));N[a+200>>2]=i;c=Q(v*e);r=Q(m*l);h=Q(c+r);N[a+244>>2]=h;N[a+236>>2]=h;h=Q(v*i);k=Q(m*n);o=Q(h+k);N[a+228>>2]=o;N[a+220>>2]=o;o=Q(Q(h*e)+Q(l*k));N[a+240>>2]=o;N[a+224>>2]=o;o=Q(r*l);r=Q(x+y);c=Q(o+Q(Q(c*e)+r));N[a+248>>2]=c;N[a+216>>2]=Q(k*n)+Q(Q(h*i)+r);N[a+252>>2]=c>Q(0)?Q(Q(1)/c):c;a:{if(K[a+136|0]){h=N[a+124>>2];k=N[a+120>>2];c=Q(h-k);if((c>Q(0)?c:Q(-c))>2]=3;break a}c=Q(Q(q*p)+Q(w*f));if(c<=k){if(J[a+140>>2]==1){break a}J[a+140>>2]=1;J[a+112>>2]=0;break a}if(c>=h){if(J[a+140>>2]==2){break a}J[a+140>>2]=2;J[a+112>>2]=0;break a}J[a+140>>2]=0;J[a+112>>2]=0;break a}J[a+140>>2]=0;J[a+112>>2]=0}if(!K[a+137|0]){J[a+116>>2]=0}b:{if(K[b+20|0]){f=N[b+8>>2];c=Q(f*N[a+104>>2]);N[a+104>>2]=c;h=Q(f*N[a+116>>2]);N[a+116>>2]=h;p=Q(f*N[a+108>>2]);N[a+108>>2]=p;f=Q(f*N[a+112>>2]);N[a+112>>2]=f;k=m;m=Q(h+f);E=Q(Q(k*Q(Q(m*l)+Q(Q(c*n)+p)))+E);B=Q(B-Q(v*Q(Q(m*e)+Q(Q(c*i)+p))));e=Q(Q(s*c)+Q(m*w));D=Q(D+Q(y*e));c=Q(Q(t*c)+Q(q*m));C=Q(C+Q(y*c));A=Q(A-Q(x*e));z=Q(z-Q(x*c));break b}J[a+104>>2]=0;J[a+108>>2]=0;J[a+112>>2]=0;J[a+116>>2]=0}d=J[b+28>>2]+P(J[a+144>>2],12)|0;N[d+4>>2]=A;N[d>>2]=z;d=J[b+28>>2];N[(d+P(J[a+144>>2],12)|0)+8>>2]=B;d=d+P(J[a+148>>2],12)|0;N[d+4>>2]=D;N[d>>2]=C;N[(J[b+28>>2]+P(J[a+148>>2],12)|0)+8>>2]=E}function pg(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=0,g=0,h=Q(0),i=Q(0),j=Q(0),k=0,l=0,m=0,n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=0,C=0;g=Ea-48|0;Ea=g;m=J[a+48>>2];B=J[m+8>>2];J[a+116>>2]=B;k=J[a+52>>2];C=J[k+8>>2];J[a+120>>2]=C;n=N[m+32>>2];f=J[m+32>>2];c=N[m+28>>2];l=J[m+28>>2];J[a+140>>2]=l;J[a+144>>2]=f;r=N[k+32>>2];f=J[k+32>>2];h=N[k+28>>2];J[a+148>>2]=J[k+28>>2];J[a+152>>2]=f;t=N[m+120>>2];N[a+156>>2]=t;u=N[k+120>>2];N[a+160>>2]=u;o=N[m+128>>2];N[a+164>>2]=o;p=N[k+128>>2];N[a+168>>2]=p;i=N[a+84>>2];m=J[b+24>>2];l=P(B,12);s=N[(m+l|0)+8>>2];d=Sa(s);j=N[a+80>>2];e=Ta(s);k=J[b+28>>2];l=k+l|0;v=N[l>>2];w=N[l+4>>2];x=N[l+8>>2];f=k;k=P(C,12);l=f+k|0;y=N[l>>2];z=N[l+4>>2];A=N[l+8>>2];q=N[(k+m|0)+8>>2];j=Q(j-c);i=Q(i-n);c=Q(Q(e*j)-Q(d*i));N[a+124>>2]=c;i=Q(Q(d*j)+Q(e*i));N[a+128>>2]=i;d=N[a+92>>2];e=Sa(q);j=N[a+88>>2];n=Ta(q);h=Q(j-h);j=Q(d-r);d=Q(Q(n*h)-Q(e*j));N[a+132>>2]=d;e=Q(Q(e*h)+Q(n*j));N[a+136>>2]=e;j=Q(Q(c*o)+Q(p*d));N[g+40>>2]=j;h=Q(o+p);N[g+44>>2]=h;N[g+32>>2]=j;j=Q(t+u);N[g+28>>2]=Q(p*Q(d*d))+Q(Q(o*Q(c*c))+j);n=Q(-i);r=Q(Q(o*n)-Q(p*e));N[g+36>>2]=r;N[g+20>>2]=r;c=Q(Q(o*Q(c*n))-Q(p*Q(d*e)));N[g+24>>2]=c;N[g+12>>2]=Q(p*Q(e*e))+Q(Q(o*Q(i*i))+j);N[g+16>>2]=c;a:{if(N[a+68>>2]>Q(0)){Id(g+12|0,a+172|0);c=N[b>>2];d=Q(N[a+68>>2]*Q(6.2831854820251465));e=h>Q(0)?Q(Q(1)/h):Q(0);i=Q(d*Q(d*e));d=Q(c*Q(Q(c*i)+Q(d*Q(Q(e+e)*N[a+72>>2]))));d=d!=Q(0)?Q(Q(1)/d):Q(0);N[a+100>>2]=d;N[a+76>>2]=Q(Q(c*Q(Q(q-s)-N[a+96>>2]))*i)*d;c=Q(h+d);N[a+204>>2]=c!=Q(0)?Q(Q(1)/c):Q(0);break a}f=a+172|0;if(h==Q(0)){Id(g+12|0,f);J[a+76>>2]=0;J[a+100>>2]=0;break a}h=N[g+24>>2];d=N[g+40>>2];i=N[g+28>>2];e=N[g+36>>2];j=Q(Q(h*d)-Q(i*e));q=N[g+12>>2];s=N[g+44>>2];n=Q(i*s);c=N[g+32>>2];r=Q(s*Q(-h));c=Q(Q(N[g+20>>2]*j)+Q(Q(q*Q(n-Q(d*c)))+Q(N[g+16>>2]*Q(Q(c*e)+r))));c=c!=Q(0)?Q(Q(1)/c):c;N[f+32>>2]=Q(Q(q*i)-Q(h*h))*c;h=Q(c*Q(Q(e*h)-Q(d*q)));N[f+28>>2]=h;i=Q(j*c);N[f+24>>2]=i;N[f+20>>2]=h;N[f+16>>2]=c*Q(Q(q*s)-Q(e*e));e=Q(c*Q(Q(e*d)+r));N[f+12>>2]=e;N[f+8>>2]=i;N[f+4>>2]=e;N[f>>2]=c*Q(n-Q(d*d));J[a+76>>2]=0;J[a+100>>2]=0}b:{if(K[b+20|0]){e=N[b+8>>2];c=Q(e*N[a+104>>2]);N[a+104>>2]=c;d=Q(e*N[a+108>>2]);N[a+108>>2]=d;e=Q(e*N[a+112>>2]);N[a+112>>2]=e;A=Q(Q(p*Q(e+Q(Q(N[a+132>>2]*d)-Q(c*N[a+136>>2]))))+A);x=Q(x-Q(o*Q(e+Q(Q(N[a+124>>2]*d)-Q(c*N[a+128>>2])))));y=Q(y+Q(u*c));v=Q(v-Q(t*c));z=Q(z+Q(u*d));w=Q(w-Q(t*d));break b}J[a+104>>2]=0;J[a+108>>2]=0;J[a+112>>2]=0}f=J[b+28>>2]+P(J[a+116>>2],12)|0;N[f+4>>2]=w;N[f>>2]=v;f=J[b+28>>2];N[(f+P(J[a+116>>2],12)|0)+8>>2]=x;f=f+P(J[a+120>>2],12)|0;N[f+4>>2]=z;N[f>>2]=y;N[(J[b+28>>2]+P(J[a+120>>2],12)|0)+8>>2]=A;Ea=g+48|0}function kg(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=Q(0),g=0,h=0,i=Q(0),j=0,k=Q(0),l=0,m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=0,C=Q(0),D=Q(0),E=Q(0),F=Q(0),G=Q(0),H=Q(0),I=0,L=Q(0);h=J[a+48>>2];B=J[h+8>>2];J[a+132>>2]=B;j=J[a+52>>2];I=J[j+8>>2];J[a+136>>2]=I;w=N[h+32>>2];g=J[h+32>>2];f=N[h+28>>2];J[a+140>>2]=J[h+28>>2];J[a+144>>2]=g;L=N[j+32>>2];l=J[j+32>>2];k=N[j+28>>2];g=J[j+28>>2];J[a+148>>2]=g;J[a+152>>2]=l;x=N[h+120>>2];N[a+156>>2]=x;o=N[j+120>>2];N[a+160>>2]=o;u=N[h+128>>2];N[a+164>>2]=u;v=N[j+128>>2];N[a+168>>2]=v;h=P(B,12);j=J[b+28>>2];g=h+j|0;C=N[g>>2];D=N[g+4>>2];E=N[g+8>>2];g=j;j=P(I,12);g=g+j|0;F=N[g>>2];G=N[g+4>>2];H=N[g+8>>2];g=h;h=J[b+24>>2];g=g+h|0;y=N[g>>2];h=h+j|0;z=N[h>>2];n=N[g+4>>2];p=N[h+4>>2];q=N[a+80>>2];m=N[h+8>>2];e=N[a+88>>2];r=N[a+104>>2];d=N[g+8>>2];A=N[a+76>>2];s=N[a+84>>2];i=N[a+100>>2];J[a+220>>2]=0;J[a+212>>2]=0;J[a+216>>2]=0;c=Ta(d);d=Sa(d);t=Q(Q(i*d)+Q(c*r));N[a+184>>2]=t;r=Q(Q(c*i)-Q(r*d));N[a+180>>2]=r;i=Ta(m);s=Q(s-k);e=Q(e-L);m=Sa(m);k=Q(Q(i*s)-Q(e*m));e=Q(Q(m*s)+Q(i*e));m=Q(Q(k*t)-Q(r*e));N[a+200>>2]=m;i=Q(A-f);f=Q(q-w);q=Q(Q(c*i)-Q(d*f));y=Q(Q(Q(z+k)-y)-q);i=Q(Q(d*i)+Q(c*f));z=Q(Q(Q(p+e)-n)-i);n=Q(q+y);p=Q(i+z);i=Q(Q(n*t)-Q(r*p));N[a+196>>2]=i;q=Q(x+o);f=Q(Q(Q(v*m)*m)+Q(Q(Q(u*i)*i)+q));N[a+204>>2]=f>Q(0)?Q(Q(1)/f):f;A=N[a+68>>2];a:{if(A>Q(0)){s=N[a+92>>2];w=N[a+96>>2];f=Q(Q(d*s)+Q(c*w));N[a+176>>2]=f;c=Q(Q(c*s)+Q(w*Q(-d)));N[a+172>>2]=c;d=Q(Q(k*f)+Q(c*Q(-e)));N[a+192>>2]=d;k=Q(Q(n*f)+Q(c*Q(-p)));N[a+188>>2]=k;d=Q(Q(Q(v*d)*d)+Q(Q(Q(u*k)*k)+q));if(!(d>Q(0))){break a}k=N[b>>2];e=Q(A*Q(6.2831854820251465));n=Q(Q(1)/d);p=Q(e*Q(e*n));e=Q(k*Q(Q(k*p)+Q(e*Q(Q(n+n)*N[a+72>>2]))));e=e>Q(0)?Q(Q(1)/e):e;N[a+220>>2]=e;N[a+216>>2]=Q(p*Q(k*Q(Q(y*c)+Q(z*f))))*e;c=Q(d+e);N[a+212>>2]=c>Q(0)?Q(Q(1)/c):c;break a}J[a+116>>2]=0}b:{if(K[a+128|0]){c=Q(u+v);N[a+208>>2]=c;if(!(c>Q(0))){break b}N[a+208>>2]=Q(1)/c;break b}J[a+112>>2]=0;J[a+208>>2]=0}c:{if(K[b+20|0]){f=N[b+8>>2];c=Q(f*N[a+108>>2]);N[a+108>>2]=c;d=Q(f*N[a+116>>2]);N[a+116>>2]=d;f=Q(f*N[a+112>>2]);N[a+112>>2]=f;t=Q(Q(t*c)+Q(d*N[a+176>>2]));G=Q(G+Q(o*t));e=o;o=Q(Q(r*c)+Q(d*N[a+172>>2]));F=Q(F+Q(e*o));D=Q(D-Q(x*t));C=Q(C-Q(x*o));H=Q(Q(v*Q(f+Q(Q(c*m)+Q(d*N[a+192>>2]))))+H);E=Q(E-Q(u*Q(f+Q(Q(c*i)+Q(d*N[a+188>>2])))));break c}J[a+116>>2]=0;J[a+108>>2]=0;J[a+112>>2]=0}l=J[b+28>>2]+P(B,12)|0;N[l+4>>2]=D;N[l>>2]=C;l=J[b+28>>2];N[(l+P(J[a+132>>2],12)|0)+8>>2]=E;l=l+P(J[a+136>>2],12)|0;N[l+4>>2]=G;N[l>>2]=F;N[(J[b+28>>2]+P(J[a+136>>2],12)|0)+8>>2]=H}function ch(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=0,g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=0,o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=0,v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=Q(0),D=Q(0),E=Q(0),F=Q(0),G=Q(0),H=Q(0);f=Ea+-64|0;Ea=f;o=N[a+156>>2];h=N[a+72>>2];u=J[b+24>>2];n=u+P(J[a+144>>2],12)|0;w=N[n+8>>2];c=Ta(w);q=N[a+152>>2];r=N[a+68>>2];d=Sa(w);p=N[a+164>>2];s=N[a+80>>2];u=u+P(J[a+148>>2],12)|0;x=N[u+8>>2];m=Ta(x);k=N[a+160>>2];t=N[a+76>>2];j=Sa(x);l=N[a+92>>2];v=N[a+96>>2];y=Q(Q(c*l)-Q(d*v));D=N[u>>2];k=Q(t-k);s=Q(s-p);p=Q(Q(m*k)-Q(j*s));E=N[n>>2];q=Q(r-q);o=Q(h-o);h=Q(Q(c*q)-Q(d*o));e=Q(Q(Q(D+p)-E)-h);t=Q(Q(d*l)+Q(c*v));F=N[u+4>>2];m=Q(Q(j*k)+Q(m*s));G=N[n+4>>2];j=Q(Q(d*q)+Q(c*o));i=Q(Q(Q(F+m)-G)-j);l=Q(Q(y*e)+Q(t*i));v=Q(-l);q=l>Q(0)?l:v;h=Q(h+e);j=Q(j+i);o=Q(Q(h*t)-Q(y*j));k=h;h=N[a+84>>2];r=N[a+88>>2];z=Q(Q(d*h)+Q(c*r));A=Q(Q(c*h)-Q(r*d));r=Q(Q(k*z)-Q(A*j));h=Q(Q(p*t)-Q(y*m));p=Q(Q(p*z)-Q(A*m));B=Q(Q(x-w)-N[a+100>>2]);C=Q(-B);m=N[a+180>>2];j=N[a+176>>2];s=N[a+172>>2];k=N[a+168>>2];a:{b:{if(!K[a+136|0]){break b}c=Q(Q(A*e)+Q(z*i));e=N[a+124>>2];d=N[a+120>>2];i=Q(e-d);c:{if((i>Q(0)?i:Q(-i))Q(0)?c:Q(-c);break c}if(c<=d){g=Q(Q(c-d)+Q(.004999999888241291));g=g=e)){break b}d=Q(c-e);c=Q(d+Q(-.004999999888241291));c=c>2]=e;N[f+48>>2]=e;e=Q(j+m);N[f+44>>2]=e==Q(0)?Q(1):e;e=Q(k+s);N[f+60>>2]=Q(l*p)+Q(Q(c*r)+e);c=Q(j*o);l=Q(m*h);i=Q(c+l);N[f+40>>2]=i;N[f+32>>2]=i;i=Q(Q(c*r)+Q(p*l));N[f+52>>2]=i;N[f+36>>2]=i;N[f+28>>2]=Q(l*h)+Q(Q(c*o)+e);N[f+12>>2]=-g;N[f+8>>2]=C;N[f+4>>2]=v;q=d>2];d=N[f+20>>2];c=N[f+16>>2];break a}c=Q(m*h);d=Q(j*o);i=Q(Q(c*h)+Q(Q(d*o)+Q(k+s)));e=Q(j+m);H=e==Q(0)?Q(1):e;c=Q(d+c);d=Q(Q(i*H)-Q(c*c));e=d!=Q(0)?Q(Q(1)/d):d;d=Q(Q(Q(i*C)+Q(l*c))*e);c=Q(Q(Q(H*v)+Q(B*c))*e)}n=J[b+24>>2]+P(J[a+144>>2],12)|0;t=Q(Q(t*c)+Q(z*g));N[n+4>>2]=G-Q(k*t);e=k;k=Q(Q(y*c)+Q(A*g));N[n>>2]=E-Q(e*k);n=J[b+24>>2];N[(n+P(J[a+144>>2],12)|0)+8>>2]=w-Q(j*Q(Q(g*r)+Q(Q(c*o)+d)));n=n+P(J[a+148>>2],12)|0;N[n+4>>2]=F+Q(s*t);N[n>>2]=D+Q(s*k);N[(J[b+24>>2]+P(J[a+148>>2],12)|0)+8>>2]=Q(m*Q(Q(g*p)+Q(Q(c*h)+d)))+x;Ea=f- -64|0;return(B>Q(0)?B:C)<=Q(.03490658849477768)&q<=Q(.004999999888241291)}function Th(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=0,g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=0,l=Q(0),m=Q(0),n=Q(0),o=0,p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=Q(0),D=Q(0),E=Q(0),F=Q(0),G=0,H=Q(0),I=Q(0),K=Q(0),L=Q(0),M=Q(0),O=Q(0),R=Q(0),S=Q(0);f=J[a+76>>2];k=J[b+24>>2];G=k+P(J[a+172>>2],12)|0;H=N[G+4>>2];I=N[G>>2];o=k+P(J[a+168>>2],12)|0;u=N[o+8>>2];K=N[o+4>>2];L=N[o>>2];o=k+P(J[a+164>>2],12)|0;M=N[o+4>>2];O=N[o>>2];k=k+P(J[a+160>>2],12)|0;v=N[k+8>>2];R=N[k+4>>2];S=N[k>>2];w=N[o+8>>2];x=N[G+8>>2];r=Ta(x);s=Sa(x);g=Ta(w);n=Sa(w);a:{if((f|0)==1){y=N[a+224>>2];z=N[a+232>>2];p=Q(y+z);A=Q(1);B=Q(1);c=Q(Q(v-u)-N[a+140>>2]);break a}q=N[a+124>>2];l=Ta(u);j=N[a+128>>2];m=Sa(u);d=N[a+180>>2];c=N[a+96>>2];i=Ta(v);e=Q(N[a+92>>2]-N[a+176>>2]);h=Sa(v);c=Q(c-d);d=Q(Q(i*e)-Q(h*c));C=Q(Q(m*q)+Q(l*j));D=Q(Q(l*q)-Q(j*m));c=Q(Q(h*e)+Q(i*c));A=Q(Q(d*C)-Q(D*c));y=N[a+224>>2];e=Q(N[a+108>>2]-N[a+192>>2]);h=Q(N[a+112>>2]-N[a+196>>2]);B=Q(Q(Q(Q(l*e)-Q(m*h))*C)-Q(D*Q(Q(m*e)+Q(l*h))));z=N[a+232>>2];p=Q(Q(Q(y*A)*A)+Q(Q(Q(B*z)*B)+Q(N[a+216>>2]+N[a+208>>2])));d=Q(Q(S-L)+d);c=Q(Q(R-K)+c);c=Q(Q(q*Q(Q(Q(l*d)+Q(m*c))-e))+Q(j*Q(Q(Q(l*c)-Q(m*d))-h)))}j=Q(0);d=Q(p+Q(0));b:{if(J[a+80>>2]==1){i=Q(Q(w-x)-N[a+144>>2]);e=N[a+152>>2];E=N[a+228>>2];F=N[a+236>>2];t=Q(Q(Q(e*e)*Q(E+F))+d);h=e;p=e;d=Q(0);break b}t=d;E=N[a+228>>2];e=N[a+152>>2];h=Q(N[a+100>>2]-N[a+184>>2]);d=Q(N[a+104>>2]-N[a+188>>2]);i=Q(Q(g*h)-Q(d*n));l=N[a+132>>2];m=N[a+136>>2];q=Q(Q(s*l)+Q(r*m));j=Q(Q(r*l)-Q(m*s));d=Q(Q(n*h)+Q(g*d));h=Q(e*Q(Q(i*q)-Q(j*d)));g=Q(N[a+116>>2]-N[a+200>>2]);n=Q(N[a+120>>2]-N[a+204>>2]);p=Q(e*Q(Q(Q(Q(r*g)-Q(n*s))*q)-Q(j*Q(Q(s*g)+Q(r*n)))));F=N[a+236>>2];t=Q(t+Q(Q(Q(E*h)*h)+Q(Q(Q(e*e)*Q(N[a+220>>2]+N[a+212>>2]))+Q(p*Q(p*F)))));i=Q(Q(O-I)+i);d=Q(Q(M-H)+d);i=Q(Q(Q(Q(Q(r*i)+Q(s*d))-g)*l)+Q(m*Q(Q(Q(r*d)-Q(s*i))-n)));j=Q(j*e);d=Q(q*e)}g=Q(0);g=t>Q(0)?Q(Q(-Q(Q(Q(e*i)+c)-N[a+148>>2]))/t):g;n=N[a+220>>2];i=N[a+216>>2];e=N[a+212>>2];c=Q(g*N[a+208>>2]);N[k+4>>2]=R+Q(C*c);N[k>>2]=S+Q(D*c);f=J[b+24>>2];N[(f+P(J[a+160>>2],12)|0)+8>>2]=Q(Q(g*y)*A)+v;f=f+P(J[a+164>>2],12)|0;c=Q(g*e);N[f+4>>2]=M+Q(d*c);N[f>>2]=O+Q(j*c);f=J[b+24>>2];N[(f+P(J[a+164>>2],12)|0)+8>>2]=Q(Q(g*E)*h)+w;f=f+P(J[a+168>>2],12)|0;c=Q(g*i);N[f+4>>2]=K-Q(C*c);N[f>>2]=L-Q(D*c);f=J[b+24>>2];N[(f+P(J[a+168>>2],12)|0)+8>>2]=u-Q(Q(g*z)*B);f=f+P(J[a+172>>2],12)|0;c=Q(g*n);N[f+4>>2]=H-Q(d*c);N[f>>2]=I-Q(j*c);N[(J[b+24>>2]+P(J[a+172>>2],12)|0)+8>>2]=x-Q(Q(g*F)*p);return 1}function bd(a,b,c,d){var e=Q(0),f=0,g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=0,l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=0,r=Q(0),s=Q(0),t=0,u=Q(0),v=0,w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=0;h=N[a+48>>2];o=Q(Q(1)-d);l=Q(Q(o*N[a+68>>2])+Q(N[a+72>>2]*d));m=Ta(l);i=N[a+44>>2];l=Sa(l);y=Q(Q(Q(o*N[a+56>>2])+Q(N[a- -64>>2]*d))-Q(Q(l*i)+Q(h*m)));r=Q(Q(Q(o*N[a+52>>2])+Q(N[a+60>>2]*d))-Q(Q(m*i)-Q(h*l)));j=N[a+12>>2];i=Q(Q(o*N[a+32>>2])+Q(N[a+36>>2]*d));h=Ta(i);e=N[a+8>>2];i=Sa(i);z=Q(Q(Q(o*N[a+20>>2])+Q(N[a+28>>2]*d))-Q(Q(i*e)+Q(j*h)));s=Q(Q(Q(o*N[a+16>>2])+Q(N[a+24>>2]*d))-Q(Q(h*e)-Q(j*i)));u=Q(-l);o=Q(-i);a:{switch(J[a+80>>2]){case 0:j=N[a+92>>2];e=N[a+96>>2];f=J[a>>2];k=J[f+16>>2];A=J[f+20>>2];if((A|0)>=2){n=Q(Q(h*j)+Q(i*e));p=Q(Q(o*j)+Q(h*e));d=Q(Q(N[k>>2]*n)+Q(p*N[k+4>>2]));f=1;while(1){q=k+(f<<3)|0;g=Q(Q(N[q>>2]*n)+Q(p*N[q+4>>2]));q=g>d;d=q?g:d;v=q?f:v;f=f+1|0;if((A|0)!=(f|0)){continue}break}}J[b>>2]=v;a=J[a+4>>2];f=J[a+16>>2];v=J[a+20>>2];if((v|0)>=2){n=Q(Q(m*Q(-j))-Q(l*e));p=Q(Q(l*j)-Q(m*e));d=Q(Q(N[f>>2]*n)+Q(p*N[f+4>>2]));a=1;while(1){q=f+(a<<3)|0;g=Q(Q(N[q>>2]*n)+Q(p*N[q+4>>2]));q=g>d;d=q?g:d;t=q?a:t;a=a+1|0;if((v|0)!=(a|0)){continue}break}}J[c>>2]=t;g=r;a=f+(t<<3)|0;d=N[a>>2];r=N[a+4>>2];n=Q(g+Q(Q(m*d)+Q(r*u)));g=s;a=k+(J[b>>2]<<3)|0;u=N[a>>2];s=N[a+4>>2];return Q(Q(Q(n-Q(g+Q(Q(h*u)+Q(s*o))))*j)+Q(e*Q(Q(y+Q(Q(l*d)+Q(m*r)))-Q(z+Q(Q(i*u)+Q(h*s))))));case 1:n=N[a+88>>2];d=N[a+96>>2];p=N[a+84>>2];e=N[a+92>>2];J[b>>2]=-1;j=Q(Q(i*e)+Q(h*d));e=Q(Q(h*e)+Q(d*o));a=J[a+4>>2];b=J[a+16>>2];t=J[a+20>>2];if((t|0)>=2){g=Q(Q(m*Q(-e))-Q(l*j));w=Q(Q(l*e)-Q(m*j));d=Q(Q(N[b>>2]*g)+Q(w*N[b+4>>2]));a=1;while(1){k=b+(a<<3)|0;x=Q(Q(N[k>>2]*g)+Q(w*N[k+4>>2]));k=x>d;d=k?x:d;f=k?a:f;a=a+1|0;if((t|0)!=(a|0)){continue}break}}J[c>>2]=f;g=r;a=b+(f<<3)|0;d=N[a>>2];r=N[a+4>>2];return Q(Q(Q(Q(g+Q(Q(m*d)+Q(r*u)))-Q(s+Q(Q(h*p)+Q(n*o))))*e)+Q(j*Q(Q(y+Q(Q(l*d)+Q(m*r)))-Q(z+Q(Q(i*p)+Q(h*n))))));case 2:n=N[a+88>>2];d=N[a+96>>2];p=N[a+84>>2];e=N[a+92>>2];J[c>>2]=-1;j=Q(Q(l*e)+Q(m*d));e=Q(Q(m*e)+Q(d*u));a=J[a>>2];c=J[a+16>>2];t=J[a+20>>2];if((t|0)>=2){g=Q(Q(h*Q(-e))-Q(i*j));w=Q(Q(i*e)-Q(h*j));d=Q(Q(N[c>>2]*g)+Q(w*N[c+4>>2]));a=1;while(1){k=c+(a<<3)|0;x=Q(Q(N[k>>2]*g)+Q(w*N[k+4>>2]));k=x>d;d=k?x:d;f=k?a:f;a=a+1|0;if((t|0)!=(a|0)){continue}break}}J[b>>2]=f;g=s;a=c+(f<<3)|0;d=N[a>>2];s=N[a+4>>2];return Q(Q(Q(Q(g+Q(Q(h*d)+Q(s*o)))-Q(r+Q(Q(m*p)+Q(n*u))))*e)+Q(j*Q(Q(z+Q(Q(i*d)+Q(h*s)))-Q(y+Q(Q(l*p)+Q(m*n))))));default:break a}}J[b>>2]=-1;J[c>>2]=-1;return Q(0)}function Fd(a,b){var c=Q(0),d=Q(0),e=Q(0),f=Q(0),g=0,h=0,i=0,j=0,k=0,l=0,m=Q(0),n=Q(0),o=0,p=0,q=0,r=0,s=Q(0),t=0,u=0,v=0,w=0,x=0;a:{k=J[a+4>>2];h=k+P(b,40)|0;p=J[h+24>>2];if((p|0)==-1|J[h+32>>2]<2){break a}j=P(b,40)+k|0;q=J[j+28>>2];g=P(q,40)+k|0;t=J[g+32>>2];l=P(p,40)+k|0;u=J[l+32>>2];i=t-u|0;b:{if((i|0)>=2){o=J[g+24>>2];J[g+24>>2]=b;J[g+20>>2]=J[j+20>>2];r=J[g+28>>2];J[j+20>>2]=q;t=P(r,40);v=t+k|0;p=P(o,40);w=p+k|0;i=J[g+20>>2];if((i|0)!=-1){a=J[a+4>>2]+P(i,40)|0;a=J[a+24>>2]==(b|0)?a+24|0:a+28|0}J[a>>2]=q;t=k+t|0;a=J[t+32>>2];p=k+p|0;i=J[p+32>>2];c:{if((a|0)<(i|0)){x=p+32|0;J[g+28>>2]=o;J[j+28>>2]=r;J[t+20>>2]=b;f=N[v>>2];e=N[l>>2];d=N[l+4>>2];c=N[v+4>>2];m=c>d?d:c;N[h+4>>2]=m;n=e>2]=n;s=N[v+8>>2];e=N[l+8>>2];d=N[l+12>>2];c=N[v+12>>2];f=c>2]=f;e=e>s?e:s;N[h+8>>2]=e;d=N[w>>2];c=N[w+4>>2];N[g+4>>2]=c>m?m:c;N[g>>2]=d>n?n:d;c=N[w+12>>2];d=c>2];c=c>2]=r;J[j+28>>2]=o;J[p+20>>2]=b;f=N[w>>2];e=N[l>>2];d=N[l+4>>2];c=N[w+4>>2];m=c>d?d:c;N[h+4>>2]=m;n=e>2]=n;s=N[w+8>>2];e=N[l+8>>2];d=N[l+12>>2];c=N[w+12>>2];f=c>2]=f;e=e>s?e:s;N[h+8>>2]=e;d=N[v>>2];c=N[v+4>>2];N[g+4>>2]=c>m?m:c;N[g>>2]=d>n?n:d;c=N[v+12>>2];d=c>2];c=c>2]=c;a=(a|0)<(u|0)?u:a;break b}if((i|0)>-2){break a}r=P(p,40)+k|0;u=J[r+24>>2];J[r+24>>2]=b;i=P(b,40)+k|0;J[r+20>>2]=J[i+20>>2];q=J[r+28>>2];J[i+20>>2]=p;i=J[r+20>>2];if((i|0)!=-1){a=J[a+4>>2]+P(i,40)|0;a=J[a+24>>2]==(b|0)?a+24|0:a+28|0}J[a>>2]=p;j=P(q,40)+k|0;a=J[j+32>>2];o=P(u,40)+k|0;i=J[o+32>>2];d:{if((a|0)<(i|0)){x=o+32|0;J[r+28>>2]=u;J[h+24>>2]=q;J[(P(q,40)+k|0)+20>>2]=b;f=N[j>>2];e=N[g>>2];d=N[g+4>>2];c=N[j+4>>2];m=c>d?d:c;N[h+4>>2]=m;n=e>2]=n;s=N[j+8>>2];e=N[g+8>>2];d=N[g+12>>2];c=N[j+12>>2];f=c>2]=f;e=e>s?e:s;N[h+8>>2]=e;d=N[o>>2];c=N[o+4>>2];N[l+4>>2]=c>m?m:c;N[l>>2]=d>n?n:d;c=N[o+12>>2];d=c>2];c=c>2]=q;J[h+24>>2]=u;J[(P(u,40)+k|0)+20>>2]=b;f=N[o>>2];e=N[g>>2];d=N[g+4>>2];c=N[o+4>>2];m=c>d?d:c;N[h+4>>2]=m;n=e>2]=n;s=N[o+8>>2];e=N[g+8>>2];d=N[g+12>>2];c=N[o+12>>2];f=c>2]=f;e=e>s?e:s;N[h+8>>2]=e;d=N[j>>2];c=N[j+4>>2];N[l+4>>2]=c>m?m:c;N[l>>2]=d>n?n:d;c=N[j+12>>2];d=c>2];c=c>2]=c;q=p;a=(a|0)<(t|0)?t:a}b=a+1|0;J[h+32>>2]=b;a=J[x>>2];N[(P(q,40)+k|0)+12>>2]=d;J[i>>2]=((a|0)<(b|0)?b:a)+1;return q}return b}function fh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=Q(0),f=0,g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=0,m=0,n=Q(0),o=0,p=0,q=Q(0),r=Q(0),s=0,t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=0,C=Q(0),D=Q(0),E=Q(0),F=Q(0),G=Q(0),K=0;l=J[J[a+48>>2]+12>>2];m=J[J[a+52>>2]+12>>2];f=Ea-96|0;Ea=f;o=b;J[b+60>>2]=0;e=N[m+8>>2];i=N[l+8>>2];J[f+92>>2]=0;r=Q(i+e);e=kd(f+92|0,l,c,m,d);a:{if(r>2]=0;i=kd(f+88|0,m,d,l,c);if(i>r){break a}B=i>Q(e+Q(.0005000000237487257));b:{if(B){p=2;a=c;b=l;c=f+88|0;break b}p=1;a=d;d=c;b=m;m=l;c=f+92|0}x=N[a>>2];y=N[a+4>>2];C=N[d>>2];D=N[d+4>>2];i=N[a+12>>2];q=N[a+8>>2];k=N[d+12>>2];j=N[d+8>>2];a=J[c>>2];J[o+56>>2]=p;l=a<<3;d=0;p=J[b+148>>2];if((p|0)>0){c=l+m|0;e=N[c+84>>2];g=N[c+88>>2];h=Q(Q(j*e)+Q(k*g));e=Q(Q(k*e)-Q(g*j));g=Q(Q(i*h)-Q(q*e));h=Q(Q(i*e)+Q(q*h));K=b+84|0;e=Q(34028234663852886e22);c=0;while(1){s=(c<<3)+K|0;n=Q(Q(h*N[s>>2])+Q(g*N[s+4>>2]));s=n>2];g=N[c+4>>2];I[f+74>>1]=1;H[f+73|0]=d;H[f+72|0]=a;N[f+68>>2]=y+Q(Q(q*e)+Q(i*g));z=Q(-q);N[f+64>>2]=x+Q(Q(i*e)+Q(g*z));c=d+1|0;c=(c|0)<(p|0)?c:0;b=b+(c<<3)|0;e=N[b>>2];g=N[b+4>>2];H[f+84|0]=a;N[f+80>>2]=y+Q(Q(q*e)+Q(i*g));I[f+86>>1]=1;H[f+85|0]=c;N[f+76>>2]=x+Q(Q(i*e)+Q(g*z));c=m+20|0;b=a+1|0;b=(b|0)>2]?b:0;d=c+(b<<3)|0;t=N[d>>2];c=c+l|0;u=N[c>>2];e=Q(t-u);v=N[d+4>>2];w=N[c+4>>2];g=Q(v-w);h=Q(Y(Q(Q(e*e)+Q(g*g))));if(!(h>2]=h;A=Q(-j);n=Q(Q(k*e)+Q(g*A));N[f+56>>2]=n;N[f+4>>2]=-h;E=Q(-n);N[f>>2]=E;F=Q(C+Q(Q(k*u)+Q(w*A)));G=Q(D+Q(Q(j*u)+Q(k*w)));if((Vb(f+32|0,f- -64|0,f,Q(r-Q(Q(n*F)+Q(G*h))),a)|0)<2){break a}if((Vb(f,f+32|0,f+56|0,Q(r+Q(Q(n*Q(C+Q(Q(k*t)+Q(v*A))))+Q(Q(D+Q(Q(j*t)+Q(k*v)))*h))),b)|0)<2){break a}k=Q(Q(h*F)-Q(G*n));N[o+48>>2]=Q(u+t)*Q(.5);N[o+40>>2]=g;N[o+52>>2]=Q(w+v)*Q(.5);N[o+44>>2]=-e;c=0;d=1;a=0;while(1){c=P(c,12)+f|0;e=N[c>>2];j=N[c+4>>2];if(Q(Q(Q(h*e)+Q(j*E))-k)<=r){b=P(a,20)+o|0;e=Q(e-x);j=Q(j-y);N[b+4>>2]=Q(z*e)+Q(i*j);N[b>>2]=Q(i*e)+Q(q*j);c=J[c+8>>2];J[b+16>>2]=c;if(B){H[b+17|0]=c;H[b+19|0]=c>>>16;H[b+18|0]=c>>>24;H[b+16|0]=c>>>8}a=a+1|0}c=1;b=d&1;d=0;if(b){continue}break}J[o+60>>2]=a}Ea=f+96|0}function dh(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=0,f=0,g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=0,n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0);e=Ea-32|0;Ea=e;m=J[b+28>>2];f=m+P(J[a+148>>2],12)|0;h=N[f+8>>2];n=N[f+4>>2];o=N[f>>2];f=m+P(J[a+144>>2],12)|0;i=N[f+8>>2];p=N[f+4>>2];q=N[f>>2];l=N[a+180>>2];w=N[a+176>>2];t=N[a+172>>2];u=N[a+168>>2];f=J[a+140>>2];if(!(!K[a+137|0]|(f|0)==3)){c=Q(N[b>>2]*N[a+128>>2]);d=Q(-c);g=N[a+116>>2];r=N[a+212>>2];k=N[a+184>>2];j=N[a+188>>2];s=N[a+208>>2];v=Q(g+Q(N[a+252>>2]*Q(N[a+132>>2]-Q(Q(Q(r*h)+Q(Q(k*Q(o-q))+Q(Q(n-p)*j)))-Q(s*i)))));c=c>v?v:c;c=c>2]=c;c=Q(c-g);h=Q(Q(l*Q(r*c))+h);d=Q(j*c);n=Q(n+Q(t*d));g=Q(k*c);o=Q(o+Q(t*g));p=Q(p-Q(u*d));q=Q(q-Q(u*g));i=Q(i-Q(w*Q(s*c)))}j=Q(o-q);s=Q(n-p);c=Q(Q(Q(N[a+204>>2]*h)+Q(Q(N[a+192>>2]*j)+Q(s*N[a+196>>2])))-Q(N[a+200>>2]*i));d=Q(h-i);a:{if(!(!K[a+136|0]|!f)){g=N[a+112>>2];r=N[a+108>>2];v=N[a+188>>2];k=N[a+104>>2];y=N[a+208>>2];z=N[a+212>>2];A=N[a+184>>2];d=Q(-d);N[e+12>>2]=d;x=Q(-c);N[e+8>>2]=x;N[e+16>>2]=-Q(Q(Q(z*h)+Q(Q(A*j)+Q(s*v)))-Q(y*i));m=a+216|0;Tb(e+20|0,m,e+8|0);N[a+104>>2]=N[e+20>>2]+N[a+104>>2];N[a+108>>2]=N[e+24>>2]+N[a+108>>2];c=Q(N[e+28>>2]+N[a+112>>2]);N[a+112>>2]=c;b:{c:{d:{switch(J[a+140>>2]-1|0){case 0:f=c>Q(0);break c;case 1:break d;default:break b}}f=c>2]=c}j=N[a+240>>2];c=Q(c-g);N[e+12>>2]=d-Q(c*N[a+244>>2]);N[e+8>>2]=x-Q(j*c);Ab(e,m,e+8|0);c=N[e>>2];j=Q(r+N[e+4>>2]);N[a+108>>2]=j;c=Q(k+c);N[a+104>>2]=c;d=Q(c-k);g=Q(N[a+112>>2]-g);c=Q(Q(d*N[a+196>>2])+Q(g*N[a+188>>2]));k=l;l=Q(j-r);h=Q(Q(k*Q(Q(g*N[a+212>>2])+Q(Q(d*N[a+204>>2])+l)))+h);i=Q(i-Q(w*Q(Q(g*N[a+208>>2])+Q(Q(d*N[a+200>>2])+l))));d=Q(Q(d*N[a+192>>2])+Q(g*N[a+184>>2]));break a}N[e+12>>2]=-d;N[e+8>>2]=-c;Ab(e+20|0,a+216|0,e+8|0);d=N[e+20>>2];N[a+104>>2]=d+N[a+104>>2];g=N[e+24>>2];N[a+108>>2]=g+N[a+108>>2];c=Q(d*N[a+196>>2]);h=Q(Q(l*Q(g+Q(d*N[a+204>>2])))+h);i=Q(i-Q(w*Q(g+Q(d*N[a+200>>2]))));d=Q(d*N[a+192>>2])}f=J[b+28>>2]+P(J[a+144>>2],12)|0;N[f+4>>2]=p-Q(u*c);N[f>>2]=q-Q(u*d);f=J[b+28>>2];N[(f+P(J[a+144>>2],12)|0)+8>>2]=i;f=f+P(J[a+148>>2],12)|0;N[f+4>>2]=n+Q(t*c);N[f>>2]=o+Q(t*d);N[(J[b+28>>2]+P(J[a+148>>2],12)|0)+8>>2]=h;Ea=e+32|0}function hd(a){var b=0,c=Q(0),d=0,e=Q(0),f=Q(0),g=Q(0),h=0,i=0,j=0,k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=0,s=0,t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=Q(0),D=Q(0),E=Q(0),F=Q(0),G=0;h=Ea+-64|0;Ea=h;if(J[a+48>>2]>0){while(1){b=J[a+40>>2]+P(s,156)|0;o=N[b+132>>2];p=N[b+128>>2];q=N[b+124>>2];z=N[b+120>>2];i=J[a+28>>2];j=P(J[b+116>>2],12);d=i+j|0;t=N[d+8>>2];A=N[d+4>>2];B=N[d>>2];r=P(J[b+112>>2],12);d=r+i|0;u=N[d+8>>2];C=N[d+4>>2];D=N[d>>2];d=J[a+36>>2]+P(s,88)|0;E=N[d+80>>2];F=N[d+76>>2];G=J[J[a+44>>2]+(J[b+152>>2]<<2)>>2];i=j;j=J[a+24>>2];i=i+j|0;v=N[i>>2];w=N[i+4>>2];c=N[d+56>>2];g=N[d+60>>2];j=j+r|0;x=N[j>>2];y=N[j+4>>2];f=N[d+48>>2];l=N[d+52>>2];k=N[i+8>>2];m=N[j+8>>2];n=Ta(m);N[h+60>>2]=n;m=Sa(m);N[h+56>>2]=m;e=Ta(k);N[h+44>>2]=e;k=Sa(k);N[h+40>>2]=k;N[h+52>>2]=y-Q(Q(m*f)+Q(l*n));N[h+48>>2]=x-Q(Q(n*f)-Q(l*m));N[h+36>>2]=w-Q(Q(k*c)+Q(g*e));N[h+32>>2]=v-Q(Q(e*c)-Q(g*k));Ld(h,G- -64|0,h+48|0,F,h+32|0,E);d=J[h+4>>2];J[b+72>>2]=J[h>>2];J[b+76>>2]=d;r=J[b+148>>2];a:{if((r|0)<=0){break a}g=Q(z+q);i=0;while(1){j=(i<<3)+h|0;c=N[j+8>>2];d=P(i,36)+b|0;l=Q(N[j+12>>2]-y);N[d+4>>2]=l;k=Q(c-x);N[d>>2]=k;c=N[j+8>>2];n=Q(N[j+12>>2]-w);N[d+12>>2]=n;m=Q(c-v);N[d+8>>2]=m;f=N[b+76>>2];c=N[b+72>>2];J[d+32>>2]=0;e=Q(Q(m*f)-Q(c*n));q=Q(Q(o*e)*e);e=Q(Q(k*f)-Q(c*l));e=Q(q+Q(Q(Q(p*e)*e)+g));N[d+24>>2]=e>Q(0)?Q(Q(1)/e):Q(0);e=Q(-c);q=Q(Q(m*e)-Q(f*n));e=Q(Q(k*e)-Q(f*l));e=Q(Q(Q(o*q)*q)+Q(Q(Q(p*e)*e)+g));N[d+28>>2]=e>Q(0)?Q(Q(1)/e):Q(0);f=Q(Q(c*Q(Q(u*l)+Q(Q(B-Q(t*n))-D)))+Q(f*Q(Q(Q(A+Q(t*m))-C)-Q(u*k))));if(f>2]=f*Q(-N[b+140>>2])}i=i+1|0;if((r|0)!=(i|0)){continue}break}if(!K[23208]|J[b+148>>2]!=2){break a}l=N[b+76>>2];f=Q(Q(N[b+8>>2]*l)-Q(c*N[b+12>>2]));k=Q(o*f);e=Q(k*f);f=Q(Q(N[b>>2]*l)-Q(c*N[b+4>>2]));n=Q(p*f);f=Q(e+Q(Q(n*f)+g));e=o;o=Q(Q(N[b+44>>2]*l)-Q(c*N[b+48>>2]));c=Q(Q(N[b+36>>2]*l)-Q(c*N[b+40>>2]));p=Q(Q(Q(e*o)*o)+Q(Q(Q(p*c)*c)+g));c=Q(Q(k*o)+Q(Q(n*c)+g));g=Q(Q(f*p)-Q(c*c));if(Q(f*f)>2]=f;N[b+108>>2]=p;N[b+104>>2]=c;N[b+100>>2]=c;g=g!=Q(0)?Q(Q(1)/g):g;N[b+92>>2]=f*g;N[b+80>>2]=p*g;c=Q(c*Q(-g));N[b+88>>2]=c;N[b+84>>2]=c;break a}J[b+148>>2]=1}s=s+1|0;if((s|0)>2]){continue}break}}Ea=h- -64|0}function Jg(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=0,g=Q(0),h=0,i=Q(0),j=0,k=0,l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=0,v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=0,C=Q(0);j=J[a+48>>2];u=J[j+8>>2];J[a+128>>2]=u;h=J[a+52>>2];B=J[h+8>>2];J[a+132>>2]=B;e=N[j+32>>2];k=J[j+32>>2];m=N[j+28>>2];f=J[j+28>>2];J[a+152>>2]=f;J[a+156>>2]=k;C=N[h+32>>2];f=J[h+32>>2];n=N[h+28>>2];J[a+160>>2]=J[h+28>>2];J[a+164>>2]=f;s=N[j+120>>2];N[a+168>>2]=s;t=N[h+120>>2];N[a+172>>2]=t;o=N[j+128>>2];N[a+176>>2]=o;p=N[h+128>>2];N[a+180>>2]=p;g=N[a+72>>2];j=J[b+24>>2];f=P(u,12);q=N[(j+f|0)+8>>2];d=Sa(q);c=N[a+68>>2];i=Ta(q);h=J[b+28>>2];f=f+h|0;v=N[f>>2];w=N[f+4>>2];x=N[f+8>>2];f=h;h=P(B,12);f=f+h|0;y=N[f>>2];z=N[f+4>>2];A=N[f+8>>2];l=N[(h+j|0)+8>>2];c=Q(c-m);g=Q(g-e);m=Q(Q(i*c)-Q(d*g));N[a+136>>2]=m;c=Q(Q(d*c)+Q(i*g));N[a+140>>2]=c;d=Q(o+p);N[a+216>>2]=d;N[a+220>>2]=d>Q(0)?Q(Q(1)/d):d;i=N[a+80>>2];g=Sa(l);e=N[a+76>>2];r=Ta(l);n=Q(e-n);e=Q(i-C);i=Q(Q(r*n)-Q(g*e));N[a+144>>2]=i;g=Q(Q(g*n)+Q(r*e));N[a+148>>2]=g;n=Q(-c);e=Q(Q(o*n)-Q(p*g));N[a+208>>2]=e;r=Q(Q(m*o)+Q(p*i));N[a+212>>2]=r;N[a+192>>2]=e;N[a+204>>2]=r;e=Q(o*Q(c*c));c=Q(s+t);N[a+184>>2]=Q(p*Q(g*g))+Q(e+c);e=Q(Q(o*Q(m*n))-Q(p*Q(i*g)));N[a+196>>2]=e;N[a+188>>2]=e;N[a+200>>2]=Q(p*Q(i*i))+Q(Q(o*Q(m*m))+c);if(!(d!=Q(0)?K[a+100|0]:0)){J[a+96>>2]=0}a:{if(!(!K[a+112|0]|d==Q(0))){c=N[a+124>>2];e=N[a+120>>2];d=Q(c-e);if((d>Q(0)?d:Q(-d))>2]=3;break a}d=Q(Q(l-q)-N[a+116>>2]);if(d<=e){if(J[a+224>>2]!=1){J[a+92>>2]=0}J[a+224>>2]=1;break a}if(d>=c){if(J[a+224>>2]!=2){J[a+92>>2]=0}J[a+224>>2]=2;break a}J[a+224>>2]=0;J[a+92>>2]=0;break a}J[a+224>>2]=0}b:{if(K[b+20|0]){c=N[b+8>>2];d=Q(c*N[a+84>>2]);N[a+84>>2]=d;q=Q(c*N[a+96>>2]);N[a+96>>2]=q;l=Q(c*N[a+88>>2]);N[a+88>>2]=l;c=Q(c*N[a+92>>2]);N[a+92>>2]=c;A=Q(Q(p*Q(c+Q(q+Q(Q(i*l)+Q(d*Q(-g))))))+A);x=Q(x-Q(o*Q(c+Q(q+Q(Q(m*l)+Q(d*n))))));y=Q(y+Q(t*d));v=Q(v-Q(s*d));z=Q(z+Q(t*l));w=Q(w-Q(s*l));break b}J[a+84>>2]=0;J[a+88>>2]=0;J[a+92>>2]=0;J[a+96>>2]=0}k=J[b+28>>2]+P(u,12)|0;N[k+4>>2]=w;N[k>>2]=v;k=J[b+28>>2];N[(k+P(J[a+128>>2],12)|0)+8>>2]=x;k=k+P(J[a+132>>2],12)|0;N[k+4>>2]=z;N[k>>2]=y;N[(J[b+28>>2]+P(J[a+132>>2],12)|0)+8>>2]=A}function Ig(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=0,f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=0,s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0);c=Ea-32|0;Ea=c;n=N[a+176>>2];o=N[a+180>>2];f=Q(n+o);r=J[b+28>>2];e=r+P(J[a+132>>2],12)|0;g=N[e+8>>2];s=N[e+4>>2];t=N[e>>2];e=P(J[a+128>>2],12)+r|0;h=N[e+8>>2];u=N[e+4>>2];v=N[e>>2];e=J[a+224>>2];if(!(!K[a+100|0]|(e|0)==3|f==Q(0))){d=Q(N[b>>2]*N[a+104>>2]);i=Q(-d);k=N[a+96>>2];l=Q(k-Q(N[a+220>>2]*Q(Q(g-h)-N[a+108>>2])));d=d>l?l:d;d=d>2]=d;d=Q(d-k);g=Q(Q(o*d)+g);h=Q(h-Q(n*d))}w=N[a+172>>2];x=N[a+168>>2];i=Q(Q(Q(s+Q(g*N[a+144>>2]))-u)-Q(h*N[a+136>>2]));k=Q(Q(Q(t-Q(g*N[a+148>>2]))-v)+Q(h*N[a+140>>2]));a:{if(!(!K[a+112|0]|!e|f==Q(0))){N[c+24>>2]=i;N[c+20>>2]=k;N[c+28>>2]=g-h;e=a+184|0;Tb(c+8|0,e,c+20|0);j=N[c+16>>2];l=Q(-j);p=N[c+12>>2];f=Q(-p);q=N[c+8>>2];d=Q(-q);b:{c:{switch(J[a+224>>2]-1|0){case 2:N[a+84>>2]=N[a+84>>2]-q;N[a+88>>2]=N[a+88>>2]-p;N[a+92>>2]=N[a+92>>2]-j;break b;case 0:m=N[a+92>>2];j=Q(m-j);if(j>2];N[c+12>>2]=Q(m*N[a+212>>2])-i;N[c+8>>2]=Q(m*f)-k;Ab(c,e,c+8|0);i=N[a+92>>2];f=N[c+4>>2];d=N[c>>2];J[a+92>>2]=0;N[a+84>>2]=d+N[a+84>>2];N[a+88>>2]=f+N[a+88>>2];l=Q(-i);break b}N[a+92>>2]=j;N[a+84>>2]=N[a+84>>2]-q;N[a+88>>2]=N[a+88>>2]-p;break b;case 1:break c;default:break b}}m=N[a+92>>2];j=Q(m-j);if(j>Q(0)){f=N[a+208>>2];N[c+12>>2]=Q(m*N[a+212>>2])-i;N[c+8>>2]=Q(m*f)-k;Ab(c,e,c+8|0);i=N[a+92>>2];f=N[c+4>>2];d=N[c>>2];J[a+92>>2]=0;N[a+84>>2]=d+N[a+84>>2];N[a+88>>2]=f+N[a+88>>2];l=Q(-i);break b}N[a+92>>2]=j;N[a+84>>2]=N[a+84>>2]-q;N[a+88>>2]=N[a+88>>2]-p}g=Q(Q(o*Q(l+Q(Q(N[a+144>>2]*f)-Q(d*N[a+148>>2]))))+g);h=Q(h-Q(n*Q(l+Q(Q(N[a+136>>2]*f)-Q(d*N[a+140>>2])))));break a}N[c+12>>2]=-i;N[c+8>>2]=-k;Ab(c+20|0,a+184|0,c+8|0);d=N[c+20>>2];N[a+84>>2]=d+N[a+84>>2];f=N[c+24>>2];N[a+88>>2]=f+N[a+88>>2];g=Q(Q(o*Q(Q(f*N[a+144>>2])-Q(d*N[a+148>>2])))+g);h=Q(h-Q(n*Q(Q(f*N[a+136>>2])-Q(d*N[a+140>>2]))))}e=J[b+28>>2]+P(J[a+128>>2],12)|0;N[e+4>>2]=u-Q(x*f);N[e>>2]=v-Q(x*d);e=J[b+28>>2];N[(e+P(J[a+128>>2],12)|0)+8>>2]=h;e=e+P(J[a+132>>2],12)|0;N[e+4>>2]=s+Q(w*f);N[e>>2]=t+Q(w*d);N[(J[b+28>>2]+P(J[a+132>>2],12)|0)+8>>2]=g;Ea=c+32|0}function Ld(a,b,c,d,e,f){var g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=0,q=Q(0),r=Q(0),s=0,t=Q(0);a:{if(!J[b+60>>2]){break a}b:{switch(J[b+56>>2]){case 0:J[a>>2]=1065353216;J[a+4>>2]=0;h=N[c+12>>2];g=N[b+48>>2];j=N[b+52>>2];k=N[c+8>>2];i=Q(N[c>>2]+Q(Q(h*g)-Q(j*k)));o=N[e+12>>2];m=N[b>>2];n=N[b+4>>2];q=N[e+8>>2];l=Q(N[e>>2]+Q(Q(o*m)-Q(n*q)));r=Q(i-l);j=Q(Q(Q(k*g)+Q(h*j))+N[c+4>>2]);k=Q(Q(Q(q*m)+Q(o*n))+N[e+4>>2]);h=Q(j-k);c:{if(!(Q(Q(r*r)+Q(h*h))>Q(14210854715202004e-30))){h=Q(1);g=Q(0);break c}g=Q(k-j);N[a+4>>2]=g;h=Q(l-i);N[a>>2]=h;o=Q(Y(Q(Q(h*h)+Q(g*g))));if(o>2]=g;h=Q(h*o);N[a>>2]=h}j=Q(j+Q(g*d));k=Q(k-Q(g*f));N[a+12>>2]=Q(j+k)*Q(.5);d=Q(i+Q(h*d));f=Q(l-Q(h*f));N[a+8>>2]=Q(d+f)*Q(.5);N[a+24>>2]=Q(Q(f-d)*h)+Q(g*Q(k-j));return;case 1:g=N[c+8>>2];i=N[b+40>>2];l=N[c+12>>2];j=N[b+44>>2];h=Q(Q(g*i)+Q(l*j));N[a+4>>2]=h;g=Q(Q(l*i)-Q(j*g));N[a>>2]=g;if(J[b+60>>2]<=0){break a}i=N[c+8>>2];l=N[b+48>>2];j=N[c+12>>2];k=N[b+52>>2];o=Q(Q(Q(i*l)+Q(j*k))+N[c+4>>2]);l=Q(N[c>>2]+Q(Q(j*l)-Q(k*i)));j=Q(h*f);k=Q(g*f);while(1){c=(p<<3)+a|0;i=N[e+8>>2];s=P(p,20)+b|0;m=N[s>>2];n=N[e+12>>2];q=N[s+4>>2];f=Q(Q(Q(i*m)+Q(n*q))+N[e+4>>2]);r=Q(f-j);t=f;i=Q(N[e>>2]+Q(Q(n*m)-Q(q*i)));f=Q(d-Q(Q(Q(i-l)*g)+Q(Q(f-o)*h)));m=Q(t+Q(h*f));N[c+12>>2]=Q(r+m)*Q(.5);n=Q(i-k);f=Q(i+Q(g*f));N[c+8>>2]=Q(n+f)*Q(.5);N[((p<<2)+a|0)+24>>2]=Q(Q(n-f)*g)+Q(h*Q(r-m));p=p+1|0;if((p|0)>2]){continue}break};break a;case 2:break b;default:break a}}g=N[e+8>>2];i=N[b+40>>2];l=N[e+12>>2];j=N[b+44>>2];h=Q(Q(g*i)+Q(l*j));N[a+4>>2]=h;g=Q(Q(l*i)-Q(j*g));N[a>>2]=g;if(J[b+60>>2]>0){i=N[e+8>>2];l=N[b+48>>2];j=N[e+12>>2];k=N[b+52>>2];o=Q(Q(Q(i*l)+Q(j*k))+N[e+4>>2]);l=Q(N[e>>2]+Q(Q(j*l)-Q(k*i)));j=Q(h*d);k=Q(g*d);while(1){e=(p<<3)+a|0;i=N[c+8>>2];s=P(p,20)+b|0;m=N[s>>2];n=N[c+12>>2];q=N[s+4>>2];d=Q(Q(Q(i*m)+Q(n*q))+N[c+4>>2]);r=Q(d-j);t=d;i=Q(N[c>>2]+Q(Q(n*m)-Q(q*i)));d=Q(f-Q(Q(Q(i-l)*g)+Q(Q(d-o)*h)));m=Q(t+Q(h*d));N[e+12>>2]=Q(r+m)*Q(.5);n=Q(i-k);d=Q(i+Q(g*d));N[e+8>>2]=Q(n+d)*Q(.5);N[((p<<2)+a|0)+24>>2]=Q(Q(n-d)*g)+Q(h*Q(r-m));p=p+1|0;if((p|0)>2]){continue}break}}N[a+4>>2]=-h;N[a>>2]=-g}}function Sc(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;c=b;b=J[b>>2]+7&-8;J[c>>2]=b+16;o=a;i=J[b>>2];d=J[b+4>>2];a=J[b+12>>2];m=a;g=Ea-32|0;Ea=g;a=a&2147483647;h=a;e=a-1006698496|0;a=a-1140785152|0;c=J[b+8>>2];b=c;a:{if((e|0)==(a|0)&b>>>0>>0|a>>>0>e>>>0){a=c;c=m<<4|a>>>28;b=a<<4|d>>>28;a=c;d=d&268435455;if((d|0)==134217728&(i|0)!=0|d>>>0>134217728){a=a+1073741824|0;b=b+1|0;a=b?a:a+1|0;break a}a=a+1073741824|0;if(i|(d|0)!=134217728){break a}d=b&1;b=d+b|0;a=b>>>0>>0?a+1|0:a;break a}if(!(!b&(h|0)==2147418112?!(d|i):h>>>0<2147418112)){a=c;c=m<<4|a>>>28;b=a<<4|d>>>28;a=c&524287|2146959360;break a}b=0;a=2146435072;if(h>>>0>1140785151){break a}a=0;n=h>>>16|0;if(n>>>0<15249){break a}b=i;a=d;e=m&65535|65536;h=e;l=c;f=c;j=n-15233|0;b:{if(j&64){c=b;e=j+-64|0;b=e&31;if((e&63)>>>0>=32){a=c<>>32-b|a<>>0>=32){c=k<>>32-f|e<>>0>=32){c=0;b=a>>>f|0}else{c=a>>>f|0;b=((1<>>f}f=p|b;e=c|e;b=j&31;if((j&63)>>>0>=32){c=k<>>32-b|a<>2]=b;J[g+20>>2]=a;J[g+24>>2]=f;J[g+28>>2]=e;b=15361-n|0;c:{if(b&64){d=l;b=b+-64|0;a=b&31;if((b&63)>>>0>=32){c=0;i=h>>>a|0}else{c=h>>>a|0;i=((1<>>a}d=c;l=0;h=0;break c}if(!b){break c}e=l;a=64-b|0;c=a&31;if((a&63)>>>0>=32){a=e<>>32-c|h<>>0>=32){c=0;e=d>>>i|0}else{c=d>>>i|0;e=((1<>>i}i=f|e;d=a|c;e=l;c=b&31;if((b&63)>>>0>=32){a=0;l=h>>>c|0}else{a=h>>>c|0;l=((1<>>c}h=a}J[g>>2]=i;J[g+4>>2]=d;J[g+8>>2]=l;J[g+12>>2]=h;b=J[g+8>>2];a=J[g+12>>2]<<4|b>>>28;b=b<<4;c=J[g>>2];h=J[g+4>>2];b=h>>>28|b;d=h&268435455;c=c|(J[g+16>>2]|J[g+24>>2]|(J[g+20>>2]|J[g+28>>2]))!=0;if((d|0)==134217728&(c|0)!=0|d>>>0>134217728){b=b+1|0;a=b?a:a+1|0;break a}if(c|(d|0)!=134217728){break a}c=b;b=b+(b&1)|0;a=c>>>0>b>>>0?a+1|0:a}Ea=g+32|0;x(0,b|0);x(1,m&-2147483648|a);q=o,r=+z(),O[q>>3]=r}function Gd(a,b){var c=0,d=Q(0),e=Q(0),f=0,g=0,h=Q(0),i=0,j=Q(0),k=0,l=0,m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=0,y=Q(0);J[a+24>>2]=J[a+24>>2]+1;c=J[a>>2];if((c|0)==-1){J[a>>2]=b;J[(J[a+4>>2]+P(b,40)|0)+20>>2]=-1;return}i=J[a+4>>2];g=i+P(b,40)|0;n=N[g+12>>2];o=N[g+8>>2];p=N[g+4>>2];q=N[g>>2];while(1){k=c;c=i+P(c,40)|0;g=J[c+24>>2];if((g|0)!=-1){m=N[c+8>>2];j=N[c>>2];h=N[c+12>>2];d=N[c+4>>2];e=Q(Q((on?h:n)-(d>2];t=o>s?o:s;u=N[f+4>>2];v=p>2];j=q>2];d=h>2];a:{if(J[f+24>>2]==-1){d=Q(Q(t-j)+Q(d-v));h=Q(d+d);break a}d=Q(Q(t-j)+Q(d-v));w=Q(d+d);d=Q(Q(s-m)+Q(h-u));h=Q(w-Q(d+d))}y=Q(r+r);f=i+P(c,40)|0;r=N[f+8>>2];s=o>r?o:r;t=N[f+4>>2];u=p>2];m=q>2];d=j>2]==-1){d=Q(Q(s-m)+Q(d-u));w=Q(d+d);break b}d=Q(Q(s-m)+Q(d-u));w=Q(d+d);d=Q(Q(r-v)+Q(j-t));w=Q(w-Q(d+d))}e=Q(e+w);c=hy)|!(e>y)){continue}}break}f=P(k,40);i=J[(f+i|0)+20>>2];x=Hd(a);g=P(x,40);J[(g+J[a+4>>2]|0)+20>>2]=i;c=J[a+4>>2];l=c+g|0;J[l+16>>2]=0;c=c+f|0;d=N[c>>2];e=N[c+4>>2];N[l+4>>2]=e>p?p:e;N[l>>2]=d>q?q:d;d=N[c+8>>2];e=N[c+12>>2];N[l+12>>2]=e>2]=d>2];l=c+g|0;g=c+f|0;J[l+32>>2]=J[g+32>>2]+1;c:{if((i|0)!=-1){c=c+P(i,40)|0;J[((k|0)==J[c+24>>2]?c+24|0:c+28|0)>>2]=x;J[l+28>>2]=b;J[l+24>>2]=k;J[g+20>>2]=x;c=(J[a+4>>2]+P(b,40)|0)+20|0;break c}J[l+28>>2]=b;J[l+24>>2]=k;J[g+20>>2]=x;J[(J[a+4>>2]+P(b,40)|0)+20>>2]=x;c=a}J[c>>2]=x;c=J[(J[a+4>>2]+P(b,40)|0)+20>>2];if((c|0)!=-1){while(1){b=Fd(a,c);k=J[a+4>>2];c=P(b,40);i=k+c|0;f=P(J[i+24>>2],40)+k|0;g=J[f+32>>2];k=k+P(J[i+28>>2],40)|0;b=J[k+32>>2];J[i+32>>2]=((b|0)<(g|0)?g:b)+1;j=N[k>>2];h=N[f>>2];d=N[f+4>>2];e=N[k+4>>2];N[i+4>>2]=d>2]=h>2];h=N[k+8>>2];d=N[f+12>>2];e=N[k+12>>2];N[i+12>>2]=d>e?d:e;N[i+8>>2]=h>2]|0)+20>>2];if((c|0)!=-1){continue}break}}}function di(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=0,j=0,k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=0,r=0,s=Q(0),t=Q(0),u=Q(0),v=0,w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=Q(0),D=Q(0),E=Q(0);c=J[a+48>>2];v=J[c+8>>2];J[a+108>>2]=v;j=J[a+52>>2];q=J[j+8>>2];J[a+112>>2]=q;o=N[c+32>>2];i=J[c+32>>2];p=N[c+28>>2];r=J[c+28>>2];J[a+140>>2]=r;J[a+144>>2]=i;E=N[j+32>>2];i=J[j+32>>2];k=N[j+28>>2];J[a+148>>2]=J[j+28>>2];J[a+152>>2]=i;t=N[c+120>>2];N[a+156>>2]=t;u=N[j+120>>2];N[a+160>>2]=u;w=N[c+128>>2];N[a+164>>2]=w;x=N[j+128>>2];N[a+168>>2]=x;l=N[a+84>>2];j=J[b+24>>2];c=P(v,12);r=j+c|0;e=N[r+8>>2];f=Sa(e);d=N[a+80>>2];e=Ta(e);i=J[b+28>>2];c=c+i|0;y=N[c>>2];z=N[c+4>>2];A=N[c+8>>2];q=P(q,12);c=q+i|0;B=N[c>>2];C=N[c+4>>2];D=N[c+8>>2];g=N[r>>2];c=j+q|0;h=N[c>>2];s=N[r+4>>2];m=N[c+4>>2];n=N[c+8>>2];d=Q(d-p);l=Q(l-o);p=Q(Q(e*d)-Q(f*l));N[a+124>>2]=p;l=Q(Q(f*d)+Q(e*l));N[a+128>>2]=l;e=N[a+92>>2];f=Sa(n);d=N[a+88>>2];o=Ta(n);k=Q(d-k);e=Q(e-E);n=Q(Q(o*k)-Q(f*e));N[a+132>>2]=n;k=Q(Q(f*k)+Q(o*e));N[a+136>>2]=k;d=Q(0);f=Q(0);e=Q(0);g=Q(Q(Q(h+n)-g)-p);h=Q(Q(Q(m+k)-s)-l);s=Q(Y(Q(Q(g*g)+Q(h*h))));if(s>Q(.004999999888241291)){f=Q(Q(1)/s);e=Q(h*f);f=Q(g*f)}N[a+120>>2]=e;N[a+116>>2]=f;g=Q(Q(n*e)-Q(f*k));h=Q(Q(x*g)*g);g=Q(Q(p*e)-Q(f*l));h=Q(h+Q(u+Q(Q(Q(w*g)*g)+t)));g=h!=Q(0)?Q(Q(1)/h):Q(0);N[a+172>>2]=g;m=N[a+68>>2];if(m>Q(0)){o=h;h=N[b>>2];d=Q(m*Q(6.2831854820251465));m=Q(d*Q(d*g));d=Q(h*Q(Q(h*m)+Q(d*Q(Q(g+g)*N[a+72>>2]))));d=d!=Q(0)?Q(Q(1)/d):Q(0);g=Q(o+d);N[a+172>>2]=g!=Q(0)?Q(Q(1)/g):Q(0);h=Q(Q(m*Q(h*Q(s-N[a+104>>2])))*d)}else{h=Q(0)}N[a+76>>2]=h;N[a+96>>2]=d;a:{if(K[b+20|0]){d=Q(N[b+8>>2]*N[a+100>>2]);N[a+100>>2]=d;e=Q(e*d);f=Q(f*d);D=Q(Q(x*Q(Q(n*e)+Q(f*Q(-k))))+D);A=Q(A-Q(w*Q(Q(p*e)+Q(f*Q(-l)))));C=Q(C+Q(u*e));B=Q(B+Q(u*f));z=Q(z-Q(t*e));y=Q(y-Q(t*f));break a}J[a+100>>2]=0}i=J[b+28>>2]+P(v,12)|0;N[i+4>>2]=z;N[i>>2]=y;i=J[b+28>>2];N[(i+P(J[a+108>>2],12)|0)+8>>2]=A;i=i+P(J[a+112>>2],12)|0;N[i+4>>2]=C;N[i>>2]=B;N[(J[b+28>>2]+P(J[a+112>>2],12)|0)+8>>2]=D}function Qg(a,b){a=a|0;b=b|0;var c=Q(0),d=0,e=Q(0),f=Q(0),g=Q(0),h=0,i=Q(0),j=Q(0),k=0,l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=0,r=0,s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=0,x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=Q(0),D=Q(0),E=Q(0);d=J[a+48>>2];w=J[d+8>>2];J[a+120>>2]=w;k=J[a+52>>2];q=J[k+8>>2];J[a+124>>2]=q;o=N[d+32>>2];h=J[d+32>>2];c=N[d+28>>2];r=J[d+28>>2];J[a+160>>2]=r;J[a+164>>2]=h;s=N[k+32>>2];h=J[k+32>>2];j=N[k+28>>2];J[a+168>>2]=J[k+28>>2];J[a+172>>2]=h;t=N[d+120>>2];N[a+176>>2]=t;u=N[k+120>>2];N[a+180>>2]=u;x=N[d+128>>2];N[a+184>>2]=x;y=N[k+128>>2];N[a+188>>2]=y;p=N[a+96>>2];k=J[b+24>>2];d=P(w,12);r=k+d|0;e=N[r+8>>2];g=Sa(e);l=N[a+92>>2];e=Ta(e);h=J[b+28>>2];d=d+h|0;z=N[d>>2];A=N[d+4>>2];B=N[d+8>>2];q=P(q,12);d=q+h|0;C=N[d>>2];D=N[d+4>>2];E=N[d+8>>2];d=k+q|0;m=N[d>>2];f=N[d+4>>2];n=N[r>>2];v=N[r+4>>2];i=N[d+8>>2];c=Q(l-c);l=Q(p-o);p=Q(Q(e*c)-Q(g*l));N[a+144>>2]=p;l=Q(Q(g*c)+Q(e*l));N[a+148>>2]=l;e=N[a+104>>2];g=Sa(i);c=N[a+100>>2];i=Ta(i);c=Q(c-j);e=Q(e-s);j=Q(Q(i*c)-Q(g*e));N[a+152>>2]=j;o=Q(Q(g*c)+Q(i*e));N[a+156>>2]=o;m=Q(Q(m+j)-N[a+76>>2]);f=Q(Q(f+o)-N[a+80>>2]);s=Q(Y(Q(Q(m*m)+Q(f*f))));g=Q(0);e=Q(0);i=Q(0);c=Q(Q(n+p)-N[a+68>>2]);n=Q(Q(v+l)-N[a+72>>2]);v=Q(Y(Q(Q(c*c)+Q(n*n))));if(v>Q(.04999999701976776)){e=Q(Q(1)/v);i=Q(n*e);e=Q(c*e)}N[a+132>>2]=i;N[a+128>>2]=e;c=Q(0);if(s>Q(.04999999701976776)){g=Q(Q(1)/s);c=Q(f*g);g=Q(m*g)}N[a+140>>2]=c;N[a+136>>2]=g;m=N[a+112>>2];f=Q(Q(j*c)-Q(g*o));n=Q(Q(m*m)*Q(Q(Q(y*f)*f)+u));f=Q(Q(p*i)-Q(e*l));f=Q(n+Q(Q(Q(x*f)*f)+t));N[a+192>>2]=f>Q(0)?Q(Q(1)/f):f;a:{if(K[b+20|0]){f=Q(N[b+8>>2]*N[a+116>>2]);N[a+116>>2]=f;n=j;j=c;c=Q(f*Q(-m));j=Q(j*c);g=Q(g*c);E=Q(Q(y*Q(Q(n*j)+Q(g*Q(-o))))+E);c=i;i=Q(-f);c=Q(c*i);e=Q(e*i);B=Q(Q(x*Q(Q(p*c)+Q(e*Q(-l))))+B);D=Q(D+Q(u*j));C=Q(C+Q(u*g));A=Q(A+Q(t*c));z=Q(z+Q(t*e));break a}J[a+116>>2]=0}h=J[b+28>>2]+P(w,12)|0;N[h+4>>2]=A;N[h>>2]=z;h=J[b+28>>2];N[(h+P(J[a+120>>2],12)|0)+8>>2]=B;h=h+P(J[a+124>>2],12)|0;N[h+4>>2]=D;N[h>>2]=C;N[(J[b+28>>2]+P(J[a+124>>2],12)|0)+8>>2]=E}function Qf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=Q(0),f=0,g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=0,l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=0,r=Q(0),s=0,t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=0,z=Q(0),A=Q(0);f=Ea-32|0;Ea=f;J[f+28>>2]=b;q=a+102868|0;J[f+24>>2]=q;J[f+16>>2]=1065353216;a=J[c+4>>2];J[f>>2]=J[c>>2];J[f+4>>2]=a;a=J[d+4>>2];J[f+8>>2]=J[d>>2];J[f+12>>2]=a;a=Ea-1056|0;Ea=a;i=N[f>>2];l=Q(N[f+8>>2]-i);n=l;j=N[f+4>>2];p=Q(N[f+12>>2]-j);e=p;g=Q(Y(Q(Q(l*l)+Q(e*e))));if(!(g>2];J[a+1048>>2]=0;J[a+1052>>2]=256;s=a+24|0;J[a+20>>2]=s;tb(a+20|0,q);c=J[a+1048>>2];a:{if((c|0)<=0){break a}z=n>Q(0)?n:Q(-n);t=Q(-e);A=ei?i:e;h=Q(j+Q(p*g));v=h>j?j:h;w=e>2]=c;k=J[J[a+20>>2]+(c<<2)>>2];if((k|0)!=-1){b=J[q+4>>2]+P(k,40)|0;e=N[b+8>>2];b:{if(Q(u-e)>Q(0)){break b}h=N[b+12>>2];if(Q(v-h)>Q(0)){break b}o=N[b>>2];if(Q(o-w)>Q(0)){break b}m=N[b+4>>2];if(Q(m-x)>Q(0)){break b}r=Q(Q(t*Q(i-Q(Q(e+o)*Q(.5))))+Q(n*Q(j-Q(Q(h+m)*Q(.5)))));if(Q((r>Q(0)?r:Q(-r))-Q(Q(A*Q(Q(e-o)*Q(.5)))+Q(z*Q(Q(h-m)*Q(.5)))))>Q(0)){break b}if(J[b+24>>2]==-1){b=J[f+4>>2];J[a>>2]=J[f>>2];J[a+4>>2]=b;b=J[f+12>>2];c=J[f+8>>2];N[a+16>>2]=g;J[a+8>>2]=c;J[a+12>>2]=b;b=Ea-32|0;Ea=b;k=J[(J[J[d>>2]+4>>2]+P(k,40)|0)+16>>2];c=J[k+16>>2];y=J[c+12>>2];c:{if(Ga[J[J[y>>2]+20>>2]](y,b+20|0,a,J[c+8>>2]+12|0,J[k+20>>2])|0){h=N[a>>2];o=N[a+8>>2];e=N[b+28>>2];m=Q(Q(1)-e);N[b+16>>2]=Q(m*N[a+4>>2])+Q(e*N[a+12>>2]);N[b+12>>2]=Q(m*h)+Q(e*o);k=J[d+4>>2];e=Q(Ga[J[J[k>>2]+8>>2]](k,c,b+12|0,b+20|0,e));break c}e=N[a+16>>2]}Ea=b+32|0;if(e>Q(0)){g=Q(j+Q(p*e));x=gj?j:g;u=h>i?i:h;g=e}if(e!=Q(0)){break b}break a}c=a+20|0;tb(c,b+24|0);tb(c,b+28|0)}c=J[a+1048>>2]}if((c|0)>0){continue}break}}b=J[a+20>>2];if((b|0)!=(s|0)){Va(b)}Ea=a+1056|0;Ea=f+32|0}function ng(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=0,i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=0,p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=Q(0);c=Ea-80|0;Ea=c;h=J[b+24>>2];o=h+P(J[a+116>>2],12)|0;w=N[o>>2];h=h+P(J[a+120>>2],12)|0;x=N[h>>2];y=N[o+4>>2];z=N[h+4>>2];q=N[o+8>>2];j=N[a+144>>2];l=N[a+84>>2];r=N[h+8>>2];i=N[a+152>>2];s=N[a+92>>2];u=N[a+160>>2];v=N[a+156>>2];m=N[a+140>>2];p=N[a+80>>2];n=N[a+148>>2];t=N[a+88>>2];k=N[a+164>>2];e=N[a+168>>2];A=Q(k+e);N[c+76>>2]=A;g=Sa(r);f=Ta(r);d=Sa(q);B=Ta(q);m=Q(p-m);p=Q(l-j);l=Q(Q(B*m)-Q(d*p));n=Q(t-n);t=Q(s-i);j=Q(Q(f*n)-Q(g*t));i=Q(Q(k*l)+Q(e*j));N[c+72>>2]=i;N[c- -64>>2]=i;C=Q(v+u);N[c+60>>2]=Q(e*Q(j*j))+Q(Q(k*Q(l*l))+C);i=Q(Q(d*m)+Q(B*p));s=Q(-i);d=Q(Q(g*n)+Q(f*t));g=Q(Q(k*s)-Q(e*d));N[c+68>>2]=g;N[c+52>>2]=g;g=Q(Q(k*Q(l*s))-Q(e*Q(j*d)));N[c+56>>2]=g;N[c+44>>2]=Q(e*Q(d*d))+Q(Q(k*Q(i*i))+C);N[c+48>>2]=g;g=Q(Q(Q(z+d)-y)-i);f=Q(Q(Q(x+j)-w)-l);a:{if(N[a+68>>2]>Q(0)){N[c+24>>2]=f;N[c+28>>2]=g;Ab(c+12|0,c+44|0,c+24|0);n=e;m=d;d=N[c+12>>2];e=N[c+16>>2];j=Q(Q(n*Q(Q(m*d)-Q(j*e)))+r);k=Q(q-Q(k*Q(Q(i*d)-Q(l*e))));i=Q(Y(Q(Q(f*f)+Q(g*g))));e=Q(-e);f=Q(-d);o=1;break a}m=Q(-d);N[c+40>>2]=g;N[c+36>>2]=f;d=N[a+96>>2];N[c+28>>2]=g;N[c+24>>2]=f;d=Q(Q(r-q)-d);N[c+32>>2]=d;p=d>Q(0)?d:Q(-d);i=Q(Y(Q(Q(f*f)+Q(g*g))));n=e;b:{if(A>Q(0)){Tb(c+12|0,c+44|0,c+24|0);d=Q(-N[c+20>>2]);f=Q(-N[c+12>>2]);e=Q(-N[c+16>>2]);break b}Ab(c+12|0,c+44|0,c+36|0);f=Q(-N[c+12>>2]);d=Q(0);e=Q(-N[c+16>>2])}j=Q(Q(n*Q(Q(Q(j*e)+Q(f*m))+d))+r);k=Q(q-Q(k*Q(Q(Q(l*e)+Q(f*s))+d)));o=p<=Q(.03490658849477768)}h=J[b+24>>2]+P(J[a+116>>2],12)|0;N[h+4>>2]=y-Q(v*e);N[h>>2]=w-Q(v*f);h=J[b+24>>2];N[(h+P(J[a+116>>2],12)|0)+8>>2]=k;h=h+P(J[a+120>>2],12)|0;N[h+4>>2]=z+Q(u*e);N[h>>2]=x+Q(u*f);N[(J[b+24>>2]+P(J[a+120>>2],12)|0)+8>>2]=j;Ea=c+80|0;return o&i<=Q(.004999999888241291)}function Hg(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=0,f=Q(0),g=0,h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0);e=J[b+24>>2];g=e+P(J[a+132>>2],12)|0;m=N[g+8>>2];v=N[g+4>>2];w=N[g>>2];g=e+P(J[a+128>>2],12)|0;n=N[g+8>>2];l=N[g+4>>2];x=N[g>>2];p=N[a+180>>2];o=N[a+176>>2];a:{if(!K[a+112|0]){break a}e=J[a+224>>2];if(!e|Q(o+p)==Q(0)){break a}c=Q(Q(m-n)-N[a+116>>2]);b:{c:{switch(e-1|0){case 2:c=Q(c-N[a+120>>2]);c=cQ(0)?c:Q(-c);d=Q(c*Q(-N[a+220>>2]));break b;case 0:f=Q(c-N[a+120>>2]);c=Q(f+Q(.03490658849477768));c=c>2]));s=Q(-f);break b;case 1:break c;default:break b}}s=Q(c-N[a+124>>2]);c=Q(s+Q(-.03490658849477768));c=c>2]))}m=Q(Q(p*d)+m);n=Q(n-Q(o*d))}h=N[a+164>>2];i=N[a+80>>2];y=Sa(m);j=N[a+160>>2];d=N[a+76>>2];z=Ta(m);f=N[a+156>>2];c=N[a+72>>2];k=Q(d-j);h=Q(i-h);q=Q(Q(y*k)+Q(z*h));i=Sa(n);j=Q(N[a+68>>2]-N[a+152>>2]);d=Ta(n);c=Q(c-f);r=Q(Q(i*j)+Q(d*c));t=N[a+168>>2];u=N[a+172>>2];f=Q(t+u);A=Q(Q(Q(p*q)*q)+Q(Q(Q(o*r)*r)+f));B=l;l=Q(Q(Q(v+q)-l)-r);h=Q(Q(z*k)-Q(h*y));k=Q(Q(d*j)-Q(c*i));i=Q(Q(Q(w+h)-x)-k);c=Q(p*h);j=Q(Q(Q(k*Q(-o))*r)-Q(q*c));f=Q(Q(c*h)+Q(Q(Q(o*k)*k)+f));c=Q(Q(A*f)-Q(j*j));c=Q(-(c!=Q(0)?Q(Q(1)/c):c));d=Q(Q(Q(A*l)-Q(i*j))*c);N[g+4>>2]=B-Q(t*d);c=Q(Q(Q(f*i)-Q(l*j))*c);N[g>>2]=x-Q(t*c);e=J[b+24>>2];N[(e+P(J[a+128>>2],12)|0)+8>>2]=n-Q(o*Q(Q(k*d)-Q(c*r)));e=e+P(J[a+132>>2],12)|0;N[e+4>>2]=v+Q(u*d);N[e>>2]=w+Q(u*c);N[(J[b+24>>2]+P(J[a+132>>2],12)|0)+8>>2]=Q(p*Q(Q(h*d)-Q(c*q)))+m;return Q(Y(Q(Q(i*i)+Q(l*l))))<=Q(.004999999888241291)&s<=Q(.03490658849477768)}function Kh(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=0,f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=0,k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=0,q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=0,w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=Q(0),D=Q(0),E=0,F=Q(0);e=J[a+48>>2];v=J[e+8>>2];J[a+104>>2]=v;j=J[a+52>>2];p=J[j+8>>2];J[a+108>>2]=p;D=N[e+32>>2];c=J[e+32>>2];f=N[e+28>>2];J[a+128>>2]=J[e+28>>2];J[a+132>>2]=c;k=N[j+32>>2];E=J[j+32>>2];i=N[j+28>>2];c=J[j+28>>2];J[a+136>>2]=c;J[a+140>>2]=E;r=N[e+120>>2];N[a+156>>2]=r;s=N[j+120>>2];N[a+160>>2]=s;d=N[e+128>>2];N[a+164>>2]=d;q=N[j+128>>2];N[a+168>>2]=q;e=J[b+28>>2];j=P(p,12);c=e+j|0;w=N[c+8>>2];x=N[c+4>>2];y=N[c>>2];p=P(v,12);c=e+p|0;z=N[c+8>>2];A=N[c+4>>2];B=N[c>>2];e=J[b+24>>2];c=e+p|0;o=N[c>>2];e=e+j|0;t=N[e>>2];u=N[c+4>>2];F=N[e+4>>2];g=N[c+8>>2];n=N[e+8>>2];l=Q(d+q);N[a+188>>2]=l>Q(0)?Q(Q(1)/l):l;h=Ta(n);m=Sa(n);l=Q(Q(m*Q(-i))-Q(h*k));N[a+124>>2]=l;m=Q(Q(m*k)-Q(h*i));N[a+120>>2]=m;i=N[a+72>>2];h=Ta(g);k=N[a+68>>2];C=Sa(g);f=Q(k-f);k=Q(i-D);i=Q(Q(C*f)+Q(h*k));N[a+116>>2]=i;h=Q(Q(h*f)-Q(k*C));N[a+112>>2]=h;N[a+148>>2]=Q(Q(F+l)-u)-i;N[a+144>>2]=Q(Q(t+m)-o)-h;f=Q(r+s);o=Q(Q(Q(q*l)*l)+Q(Q(Q(d*i)*i)+f));k=o;o=Q(q*m);t=Q(Q(o*m)+Q(Q(Q(d*h)*h)+f));u=Q(-d);d=Q(Q(Q(h*u)*i)-Q(l*o));f=Q(Q(k*t)-Q(d*d));f=f!=Q(0)?Q(Q(1)/f):f;N[a+184>>2]=k*f;N[a+172>>2]=t*f;d=Q(d*Q(-f));N[a+180>>2]=d;N[a+176>>2]=d;N[a+152>>2]=Q(n-g)-N[a+76>>2];a:{if(K[b+20|0]){g=N[b+8>>2];d=Q(g*N[a+80>>2]);N[a+80>>2]=d;n=Q(g*N[a+88>>2]);N[a+88>>2]=n;g=Q(g*N[a+84>>2]);N[a+84>>2]=g;w=Q(Q(q*Q(Q(Q(m*g)-Q(d*l))+n))+w);z=Q(Q(u*Q(Q(Q(h*g)-Q(d*i))+n))+z);y=Q(y+Q(s*d));B=Q(B-Q(r*d));x=Q(x+Q(s*g));A=Q(A-Q(r*g));break a}J[a+88>>2]=0;J[a+80>>2]=0;J[a+84>>2]=0}c=J[b+28>>2]+P(v,12)|0;N[c+4>>2]=A;N[c>>2]=B;c=J[b+28>>2];N[(c+P(J[a+104>>2],12)|0)+8>>2]=z;c=c+P(J[a+108>>2],12)|0;N[c+4>>2]=x;N[c>>2]=y;N[(J[b+28>>2]+P(J[a+108>>2],12)|0)+8>>2]=w}function ug(a,b){a=a|0;b=b|0;var c=Q(0),d=0,e=Q(0),f=0,g=Q(0),h=Q(0),i=0,j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=0,p=0,q=Q(0),r=Q(0),s=0,t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=Q(0),D=Q(0),E=Q(0);d=J[a+48>>2];s=J[d+8>>2];J[a+96>>2]=s;i=J[a+52>>2];o=J[i+8>>2];J[a+100>>2]=o;k=N[d+32>>2];f=J[d+32>>2];m=N[d+28>>2];p=J[d+28>>2];J[a+128>>2]=p;J[a+132>>2]=f;A=N[i+32>>2];f=J[i+32>>2];h=N[i+28>>2];J[a+136>>2]=J[i+28>>2];J[a+140>>2]=f;q=N[d+120>>2];N[a+144>>2]=q;r=N[i+120>>2];N[a+148>>2]=r;t=N[d+128>>2];N[a+152>>2]=t;u=N[i+128>>2];N[a+156>>2]=u;e=N[a+72>>2];i=J[b+24>>2];d=P(s,12);p=i+d|0;n=N[p+8>>2];l=Sa(n);c=N[a+68>>2];g=Ta(n);f=J[b+28>>2];d=d+f|0;n=N[d>>2];v=N[d+4>>2];w=N[d+8>>2];o=P(o,12);d=o+f|0;x=N[d>>2];y=N[d+4>>2];z=N[d+8>>2];B=N[p>>2];d=i+o|0;C=N[d>>2];D=N[p+4>>2];E=N[d+4>>2];j=N[d+8>>2];c=Q(c-m);e=Q(e-k);m=Q(Q(g*c)-Q(l*e));N[a+112>>2]=m;l=Q(Q(l*c)+Q(g*e));N[a+116>>2]=l;g=N[a+80>>2];e=Sa(j);c=N[a+76>>2];j=Ta(j);h=Q(c-h);c=Q(g-A);g=Q(Q(j*h)-Q(e*c));N[a+120>>2]=g;j=Q(Q(e*h)+Q(j*c));N[a+124>>2]=j;h=Q(Q(Q(C+g)-B)-m);c=Q(Q(Q(E+j)-D)-l);e=Q(Y(Q(Q(h*h)+Q(c*c))));N[a+88>>2]=e;J[a+164>>2]=(Q(e-N[a+84>>2])>Q(0))<<1;if(e>Q(.004999999888241291)){k=c;c=Q(Q(1)/e);e=Q(k*c);N[a+108>>2]=e;h=Q(h*c);N[a+104>>2]=h;c=Q(Q(g*e)-Q(h*j));k=Q(Q(u*c)*c);c=Q(Q(m*e)-Q(h*l));c=Q(k+Q(r+Q(Q(Q(t*c)*c)+q)));N[a+160>>2]=c!=Q(0)?Q(Q(1)/c):Q(0);a:{if(K[b+20|0]){c=Q(N[b+8>>2]*N[a+92>>2]);N[a+92>>2]=c;k=g;g=Q(e*c);e=Q(h*c);z=Q(Q(u*Q(Q(k*g)+Q(e*Q(-j))))+z);w=Q(w-Q(t*Q(Q(m*g)+Q(e*Q(-l)))));y=Q(y+Q(r*g));x=Q(x+Q(r*e));v=Q(v-Q(q*g));n=Q(n-Q(q*e));break a}J[a+92>>2]=0}f=J[b+28>>2]+P(s,12)|0;N[f+4>>2]=v;N[f>>2]=n;f=J[b+28>>2];N[(f+P(J[a+96>>2],12)|0)+8>>2]=w;f=f+P(J[a+100>>2],12)|0;N[f+4>>2]=y;N[f>>2]=x;N[(J[b+28>>2]+P(J[a+100>>2],12)|0)+8>>2]=z;return}J[a+160>>2]=0;J[a+104>>2]=0;J[a+108>>2]=0;J[a+92>>2]=0}function ih(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=Q(0),f=Q(0),g=0,h=Q(0),i=Q(0),j=0,k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=0,p=0,q=Q(0),r=0,s=0,t=0;g=J[J[a+48>>2]+12>>2];p=J[J[a+52>>2]+12>>2];J[b+60>>2]=0;e=N[c+12>>2];f=N[d+8>>2];h=N[p+12>>2];l=N[d+12>>2];m=N[p+16>>2];n=Q(Q(Q(Q(f*h)+Q(l*m))+N[d+4>>2])-N[c+4>>2]);i=N[c+8>>2];f=Q(Q(N[d>>2]+Q(Q(l*h)-Q(m*f)))-N[c>>2]);q=Q(Q(e*n)-Q(i*f));n=Q(Q(e*f)+Q(n*i));d=g+84|0;o=g+20|0;e=Q(N[g+8>>2]+N[p+8>>2]);a=1;c=0;g=J[g+148>>2];a:{if((g|0)>0){f=Q(-34028234663852886e22);a=0;while(1){j=a<<3;r=j+d|0;j=j+o|0;h=Q(Q(N[r>>2]*Q(n-N[j>>2]))+Q(Q(q-N[j+4>>2])*N[r+4>>2]));if(h>e){break a}j=f(j|0)?j:0)<<3)|0;j=J[g+4>>2];f=N[g+4>>2];r=J[g>>2];h=N[g>>2];g=o;o=c<<3;g=g+o|0;s=J[g+4>>2];l=N[g+4>>2];t=J[g>>2];m=N[g>>2];b:{if(a){J[b+56>>2]=1;J[b+60>>2]=1;a=d+o|0;c=J[a>>2];a=J[a+4>>2];N[b+52>>2]=Q(l+f)*Q(.5);N[b+48>>2]=Q(m+h)*Q(.5);J[b+40>>2]=c;J[b+44>>2]=a;break b}i=Q(n-m);k=Q(q-l);if(Q(Q(i*Q(h-m))+Q(k*Q(f-l)))<=Q(0)){f=Q(e*e);e=Q(Q(i*i)+Q(k*k));if(f>2]=1;J[b+60>>2]=1;N[b+40>>2]=i;N[b+44>>2]=k;e=Q(Y(e));if(!(e>2]=k*e;N[b+40>>2]=i*e}J[b+48>>2]=t;J[b+52>>2]=s;break b}i=Q(n-h);k=Q(q-f);if(Q(Q(i*Q(m-h))+Q(k*Q(l-f)))<=Q(0)){f=Q(e*e);e=Q(Q(i*i)+Q(k*k));if(f>2]=1;J[b+60>>2]=1;N[b+40>>2]=i;N[b+44>>2]=k;e=Q(Y(e));if(!(e>2]=k*e;N[b+40>>2]=i*e}J[b+48>>2]=r;J[b+52>>2]=j;break b}h=Q(Q(m+h)*Q(.5));a=d+(c<<3)|0;f=Q(Q(l+f)*Q(.5));if(e>2])+Q(Q(q-f)*N[a+4>>2]))){break a}J[b+56>>2]=1;J[b+60>>2]=1;c=J[a+4>>2];a=J[a>>2];N[b+52>>2]=f;N[b+48>>2]=h;J[b+40>>2]=a;J[b+44>>2]=c}a=J[p+16>>2];c=J[p+12>>2];J[b+16>>2]=0;J[b>>2]=c;J[b+4>>2]=a}}function rd(a,b){var c=0,d=Q(0),e=0,f=0;c=Ea-464|0;Ea=c;Ra(8141,0);O[c+448>>3]=N[a+16>>2];Ra(7229,c+448|0);O[c+432>>3]=N[a+20>>2];Ra(7198,c+432|0);O[c+416>>3]=N[a>>2];Ra(6989,c+416|0);J[c+400>>2]=K[a+38|0];Ra(9356,c+400|0);J[c+384>>2]=L[a+32>>1];Ra(9632,c+384|0);J[c+368>>2]=L[a+34>>1];Ra(9674,c+368|0);J[c+352>>2]=I[a+36>>1];Ra(9712,c+352|0);a:{b:{c:{d:{e:{f:{a=J[a+12>>2];switch(J[a+4>>2]){case 0:break c;case 3:break d;case 2:break e;case 1:break f;default:break a}}Ra(7876,0);O[c+144>>3]=N[a+8>>2];Ra(7080,c+144|0);d=N[a+28>>2];O[c+136>>3]=N[a+32>>2];O[c+128>>3]=d;Ra(8998,c+128|0);d=N[a+12>>2];O[c+120>>3]=N[a+16>>2];O[c+112>>3]=d;Ra(8954,c+112|0);d=N[a+20>>2];O[c+104>>3]=N[a+24>>2];O[c+96>>3]=d;Ra(8910,c+96|0);d=N[a+36>>2];O[c+88>>3]=N[a+40>>2];O[c+80>>3]=d;Ra(8866,c+80|0);J[c+64>>2]=K[a+44|0];Ra(9567,c- -64|0);J[c+48>>2]=K[a+45|0];Ra(9531,c+48|0);break b}Ra(7798,0);J[c+208>>2]=8;Ra(8180,c+208|0);e=J[a+148>>2];if((e|0)>0){while(1){e=a+(f<<3)|0;d=N[e+20>>2];O[c+192>>3]=N[e+24>>2];J[c+176>>2]=f;O[c+184>>3]=d;Ra(8621,c+176|0);f=f+1|0;e=J[a+148>>2];if((f|0)<(e|0)){continue}break}}J[c+160>>2]=e;Ra(9751,c+160|0);break b}Ra(7825,0);J[c+336>>2]=J[a+16>>2];Ra(8180,c+336|0);e=J[a+16>>2];if((e|0)>0){while(1){e=J[a+12>>2]+(f<<3)|0;d=N[e>>2];O[c+320>>3]=N[e+4>>2];J[c+304>>2]=f;O[c+312>>3]=d;Ra(8621,c+304|0);f=f+1|0;e=J[a+16>>2];if((f|0)<(e|0)){continue}break}}J[c+288>>2]=e;Ra(9775,c+288|0);d=N[a+20>>2];O[c+280>>3]=N[a+24>>2];O[c+272>>3]=d;Ra(8409,c+272|0);d=N[a+28>>2];O[c+264>>3]=N[a+32>>2];O[c+256>>3]=d;Ra(8456,c+256|0);J[c+240>>2]=K[a+36|0];Ra(9193,c+240|0);J[c+224>>2]=K[a+37|0];Ra(9232,c+224|0);break b}Ra(7850,0);O[c+32>>3]=N[a+8>>2];Ra(7080,c+32|0);d=N[a+12>>2];O[c+24>>3]=N[a+16>>2];O[c+16>>3]=d;Ra(8545,c+16|0)}Ra(10014,0);Ra(7774,0);Ra(10014,0);J[c>>2]=b;Ra(9114,c)}Ea=c+464|0}function jd(a,b){var c=0,d=0,e=0,f=0,g=Q(0),h=0,i=0,j=Q(0),k=0,l=Q(0),m=0,n=0,o=0;c=J[b+4>>2];J[a>>2]=J[b>>2];J[a+4>>2]=c;c=J[b+20>>2];J[a+16>>2]=J[b+16>>2];J[a+20>>2]=c;c=J[b+12>>2];J[a+8>>2]=J[b+8>>2];J[a+12>>2]=c;c=J[b+40>>2];J[a+32>>2]=c;d=J[b+28>>2];J[a+48>>2]=d;n=a,o=xb(c,P(d,88)),J[n+36>>2]=o;n=a,o=xb(J[a+32>>2],P(J[a+48>>2],156)),J[n+40>>2]=o;J[a+24>>2]=J[b+32>>2];J[a+28>>2]=J[b+36>>2];J[a+44>>2]=J[b+24>>2];if(J[a+48>>2]>0){while(1){b=J[J[a+44>>2]+(h<<2)>>2];c=J[b+48>>2];j=N[J[c+12>>2]+8>>2];d=J[b+52>>2];g=N[J[d+12>>2]+8>>2];k=J[b+124>>2];e=J[d+8>>2];f=J[c+8>>2];c=J[a+40>>2]+P(h,156)|0;N[c+136>>2]=N[b+136>>2];N[c+140>>2]=N[b+140>>2];N[c+144>>2]=N[b+144>>2];J[c+112>>2]=J[f+8>>2];J[c+116>>2]=J[e+8>>2];N[c+120>>2]=N[f+120>>2];N[c+124>>2]=N[e+120>>2];N[c+128>>2]=N[f+128>>2];l=N[e+128>>2];J[c+152>>2]=h;N[c+132>>2]=l;J[c+148>>2]=k;J[c+80>>2]=0;J[c+84>>2]=0;J[c+88>>2]=0;J[c+92>>2]=0;J[c+96>>2]=0;J[c+100>>2]=0;J[c+104>>2]=0;J[c+108>>2]=0;d=J[a+36>>2]+P(h,88)|0;J[d+32>>2]=J[f+8>>2];J[d+36>>2]=J[e+8>>2];N[d+40>>2]=N[f+120>>2];N[d+44>>2]=N[e+120>>2];i=J[f+32>>2];J[d+48>>2]=J[f+28>>2];J[d+52>>2]=i;i=J[e+32>>2];J[d+56>>2]=J[e+28>>2];J[d+60>>2]=i;N[d+64>>2]=N[f+128>>2];N[d+68>>2]=N[e+128>>2];e=J[b+108>>2];J[d+16>>2]=J[b+104>>2];J[d+20>>2]=e;e=J[b+116>>2];f=J[b+112>>2];J[d+84>>2]=k;J[d+24>>2]=f;J[d+28>>2]=e;N[d+80>>2]=g;N[d+76>>2]=j;J[d+72>>2]=J[b+120>>2];if((k|0)>0){i=b- -64|0;e=0;while(1){b=c+P(e,36)|0;f=P(e,20)+i|0;a:{if(!K[a+20|0]){j=Q(0);g=Q(0);break a}g=N[a+8>>2];j=Q(g*N[f+12>>2]);g=Q(g*N[f+8>>2])}J[b+32>>2]=0;J[b+24>>2]=0;J[b+28>>2]=0;N[b+20>>2]=j;N[b+16>>2]=g;J[b+8>>2]=0;J[b+12>>2]=0;J[b>>2]=0;J[b+4>>2]=0;m=J[f+4>>2];b=d+(e<<3)|0;J[b>>2]=J[f>>2];J[b+4>>2]=m;e=e+1|0;if((k|0)!=(e|0)){continue}break}}h=h+1|0;if((h|0)>2]){continue}break}}return a}function Ph(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=0,g=Q(0),h=Q(0),i=Q(0),j=0,k=0,l=0,m=Q(0),n=Q(0),o=0,p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=0,v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0);j=J[a+48>>2];u=J[j+8>>2];J[a+104>>2]=u;k=J[a+52>>2];o=J[k+8>>2];J[a+108>>2]=o;q=N[j+32>>2];f=J[j+32>>2];n=N[j+28>>2];l=J[j+28>>2];J[a+128>>2]=l;J[a+132>>2]=f;r=N[k+32>>2];f=J[k+32>>2];g=N[k+28>>2];J[a+136>>2]=J[k+28>>2];J[a+140>>2]=f;s=N[j+120>>2];N[a+144>>2]=s;t=N[k+120>>2];N[a+148>>2]=t;d=N[j+128>>2];N[a+152>>2]=d;p=N[k+128>>2];N[a+156>>2]=p;h=N[a+72>>2];j=P(u,12);k=J[b+24>>2];e=N[(j+k|0)+8>>2];m=Ta(e);i=N[a+68>>2];e=Sa(e);f=J[b+28>>2];o=P(o,12);l=f+o|0;v=N[l+8>>2];w=N[l+4>>2];x=N[l>>2];l=j+f|0;y=N[l+8>>2];z=N[l+4>>2];A=N[l>>2];c=N[(k+o|0)+8>>2];i=Q(i-n);h=Q(h-q);n=Q(Q(e*i)+Q(m*h));N[a+116>>2]=n;m=Q(Q(m*i)-Q(h*e));N[a+112>>2]=m;e=Q(d+p);N[a+176>>2]=e>Q(0)?Q(Q(1)/e):e;e=N[a+80>>2];h=Ta(c);i=N[a+76>>2];c=Sa(c);g=Q(i-g);i=Q(e-r);e=Q(Q(c*g)+Q(h*i));N[a+124>>2]=e;h=Q(Q(h*g)-Q(i*c));N[a+120>>2]=h;c=Q(s+t);g=Q(Q(Q(p*e)*e)+Q(Q(Q(d*n)*n)+c));q=g;g=Q(p*h);i=Q(Q(g*h)+Q(Q(Q(d*m)*m)+c));r=Q(-d);d=Q(Q(Q(m*r)*n)-Q(e*g));c=Q(Q(q*i)-Q(d*d));c=c!=Q(0)?Q(Q(1)/c):c;N[a+172>>2]=q*c;N[a+160>>2]=i*c;d=Q(d*Q(-c));N[a+168>>2]=d;N[a+164>>2]=d;a:{if(K[b+20|0]){c=N[b+8>>2];d=Q(c*N[a+84>>2]);N[a+84>>2]=d;g=Q(c*N[a+92>>2]);N[a+92>>2]=g;c=Q(c*N[a+88>>2]);N[a+88>>2]=c;v=Q(Q(p*Q(g+Q(Q(h*c)-Q(d*e))))+v);y=Q(Q(r*Q(g+Q(Q(m*c)-Q(d*n))))+y);x=Q(x+Q(t*d));A=Q(A-Q(s*d));w=Q(w+Q(t*c));z=Q(z-Q(s*c));break a}J[a+92>>2]=0;J[a+84>>2]=0;J[a+88>>2]=0}f=J[b+28>>2]+P(u,12)|0;N[f+4>>2]=z;N[f>>2]=A;f=J[b+28>>2];N[(f+P(J[a+104>>2],12)|0)+8>>2]=y;f=f+P(J[a+108>>2],12)|0;N[f+4>>2]=w;N[f>>2]=x;N[(J[b+28>>2]+P(J[a+108>>2],12)|0)+8>>2]=v}function fd(a,b,c,d,e){var f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0);a:{switch(J[b+72>>2]){case 0:g=N[d>>2];f=N[c>>2];h=N[d+8>>2];i=N[b>>2];k=N[d+12>>2];m=N[b+4>>2];n=Q(Q(Q(h*i)+Q(k*m))+N[d+4>>2]);o=N[c+8>>2];p=N[b+24>>2];l=N[c+12>>2];q=N[b+28>>2];r=Q(Q(Q(o*p)+Q(l*q))+N[c+4>>2]);j=Q(n-r);N[a+4>>2]=j;h=Q(g+Q(Q(k*i)-Q(m*h)));i=Q(f+Q(Q(l*p)-Q(q*o)));g=Q(h-i);N[a>>2]=g;f=Q(Q(g*g)+Q(j*j));k=Q(Y(f));if(!(k>2]=k;f=Q(g*f);N[a>>2]=f;f=Q(Q(g*f)+Q(j*k))}N[a+12>>2]=Q(r+n)*Q(.5);N[a+8>>2]=Q(i+h)*Q(.5);N[a+16>>2]=Q(f-N[b+76>>2])-N[b+80>>2];return;case 1:j=N[c+8>>2];g=N[b+16>>2];f=N[c+12>>2];h=N[b+20>>2];i=Q(Q(j*g)+Q(f*h));N[a+4>>2]=i;k=Q(Q(f*g)-Q(h*j));N[a>>2]=k;j=N[b+28>>2];g=N[c+12>>2];m=N[b+80>>2];n=N[b+76>>2];o=N[c>>2];p=N[c+4>>2];f=N[c+8>>2];h=N[b+24>>2];l=N[d>>2];q=N[d+8>>2];b=(e<<3)+b|0;r=N[b>>2];t=N[d+12>>2];u=N[b+4>>2];s=Q(Q(Q(q*r)+Q(t*u))+N[d+4>>2]);N[a+12>>2]=s;l=Q(l+Q(Q(t*r)-Q(u*q)));N[a+8>>2]=l;N[a+16>>2]=Q(Q(Q(Q(l-Q(o+Q(Q(g*h)-Q(j*f))))*k)+Q(Q(s-Q(p+Q(Q(f*h)+Q(g*j))))*i))-n)-m;return;case 2:g=N[d+8>>2];f=N[b+16>>2];h=N[d+12>>2];i=N[b+20>>2];j=Q(Q(g*f)+Q(h*i));N[a+4>>2]=j;g=Q(Q(h*f)-Q(i*g));N[a>>2]=g;f=N[b+28>>2];h=N[d+12>>2];e=(e<<3)+b|0;i=N[e>>2];k=N[e+4>>2];m=N[c+12>>2];l=N[b+80>>2];q=N[b+76>>2];r=N[d>>2];t=N[d+4>>2];n=N[d+8>>2];o=N[b+24>>2];u=N[c>>2];s=N[c+4>>2];p=N[c+8>>2];N[a+4>>2]=-j;N[a>>2]=-g;s=Q(s+Q(Q(p*i)+Q(m*k)));N[a+12>>2]=s;i=Q(u+Q(Q(m*i)-Q(k*p)));N[a+8>>2]=i;N[a+16>>2]=Q(Q(Q(Q(i-Q(r+Q(Q(h*o)-Q(f*n))))*g)+Q(Q(s-Q(t+Q(Q(n*o)+Q(h*f))))*j))-q)-l;break;default:break a}}}function ml(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=Ea-16|0;Ea=f;J[f+4>>2]=b;g=a+12|0;b=J[g+4>>2];a:{b:{if(!b){d=g+4|0;a=d;break b}c=J[f+4>>2];while(1){a=b;b=J[a+16>>2];if(b>>>0>c>>>0){d=a;b=J[a>>2];if(b){continue}break b}if(b>>>0>=c>>>0){b=a;a=0;break a}b=J[a+4>>2];if(b){continue}break}d=a+4|0}b=Qa(20);J[b+16>>2]=J[f+4>>2];c=b;J[c+8>>2]=a;J[c>>2]=0;J[c+4>>2]=0;J[d>>2]=c;a=J[J[g>>2]>>2];if(a){J[g>>2]=a;c=J[d>>2]}e=J[g+4>>2];a=(e|0)==(c|0);H[c+12|0]=a;c:{if(a){break c}while(1){a=J[c+8>>2];if(K[a+12|0]){break c}d:{d=J[a+8>>2];h=J[d>>2];if((h|0)==(a|0)){h=J[d+4>>2];if(!(!h|K[h+12|0])){break d}e:{if(J[a>>2]==(c|0)){c=a;break e}c=J[a+4>>2];e=J[c>>2];J[a+4>>2]=e;if(e){J[e+8>>2]=a;d=J[a+8>>2]}J[c+8>>2]=d;d=J[a+8>>2];J[((J[d>>2]!=(a|0))<<2)+d>>2]=c;J[c>>2]=a;J[a+8>>2]=c;d=J[c+8>>2];a=J[d>>2]}H[c+12|0]=1;H[d+12|0]=0;c=J[a+4>>2];J[d>>2]=c;if(c){J[c+8>>2]=d}J[a+8>>2]=J[d+8>>2];c=J[d+8>>2];J[((J[c>>2]!=(d|0))<<2)+c>>2]=a;J[a+4>>2]=d;J[d+8>>2]=a;break c}if(!(K[h+12|0]|!h)){break d}f:{if(J[a>>2]!=(c|0)){c=a;break f}e=J[c+4>>2];J[a>>2]=e;if(e){J[e+8>>2]=a;d=J[a+8>>2]}J[c+8>>2]=d;d=J[a+8>>2];J[((J[d>>2]!=(a|0))<<2)+d>>2]=c;J[c+4>>2]=a;J[a+8>>2]=c;d=J[c+8>>2]}H[c+12|0]=1;H[d+12|0]=0;c=J[d+4>>2];a=J[c>>2];J[d+4>>2]=a;if(a){J[a+8>>2]=d}J[c+8>>2]=J[d+8>>2];a=J[d+8>>2];J[((J[a>>2]!=(d|0))<<2)+a>>2]=c;J[c>>2]=d;J[d+8>>2]=c;break c}H[a+12|0]=1;H[d+12|0]=(d|0)==(e|0);H[h+12|0]=1;c=d;if((e|0)!=(c|0)){continue}break}}J[g+8>>2]=J[g+8>>2]+1;a=1}H[f+12|0]=a;J[f+8>>2]=b;Ea=f+16|0}function og(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=0,t=Q(0),u=Q(0),v=Q(0),w=Q(0);s=J[b+28>>2];c=s+P(J[a+120>>2],12)|0;e=N[c+8>>2];m=N[c+4>>2];n=N[c>>2];c=P(J[a+116>>2],12)+s|0;f=N[c+8>>2];o=N[c+4>>2];p=N[c>>2];q=N[a+168>>2];r=N[a+164>>2];t=N[a+160>>2];u=N[a+156>>2];a:{if(N[a+68>>2]>Q(0)){d=N[a+112>>2];g=Q(Q(Q(d*N[a+100>>2])+Q(Q(e-f)+N[a+76>>2]))*Q(-N[a+204>>2]));N[a+112>>2]=d+g;f=Q(f-Q(r*g));h=N[a+128>>2];i=N[a+136>>2];e=Q(Q(q*g)+e);d=Q(Q(f*h)+Q(Q(n-Q(i*e))-p));j=N[a+132>>2];k=N[a+124>>2];l=Q(Q(Q(m+Q(j*e))-o)-Q(f*k));g=Q(Q(N[a+172>>2]*d)+Q(N[a+184>>2]*l));N[a+104>>2]=N[a+104>>2]-g;d=Q(Q(N[a+176>>2]*d)+Q(l*N[a+188>>2]));N[a+108>>2]=N[a+108>>2]-d;f=Q(f-Q(r*Q(Q(h*g)-Q(k*d))));e=Q(Q(q*Q(Q(i*g)-Q(j*d)))+e);break a}k=N[a+136>>2];l=N[a+128>>2];h=Q(Q(Q(n-Q(e*k))-p)+Q(f*l));v=N[a+132>>2];w=N[a+124>>2];i=Q(Q(Q(m+Q(e*v))-o)-Q(f*w));j=Q(e-f);g=Q(Q(Q(h*N[a+172>>2])+Q(i*N[a+184>>2]))+Q(j*N[a+196>>2]));N[a+104>>2]=N[a+104>>2]-g;d=Q(Q(Q(h*N[a+176>>2])+Q(i*N[a+188>>2]))+Q(j*N[a+200>>2]));N[a+108>>2]=N[a+108>>2]-d;h=Q(Q(Q(h*N[a+180>>2])+Q(i*N[a+192>>2]))+Q(j*N[a+204>>2]));N[a+112>>2]=N[a+112>>2]-h;f=Q(f-Q(r*Q(Q(Q(l*g)-Q(w*d))-h)));e=Q(Q(q*Q(Q(Q(k*g)-Q(v*d))-h))+e)}N[c+4>>2]=o+Q(u*d);N[c>>2]=p+Q(u*g);c=J[b+28>>2];N[(c+P(J[a+116>>2],12)|0)+8>>2]=f;c=c+P(J[a+120>>2],12)|0;N[c+4>>2]=m-Q(t*d);N[c>>2]=n-Q(t*g);N[(J[b+28>>2]+P(J[a+120>>2],12)|0)+8>>2]=e}function Ng(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=Q(0),g=0,h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=0,q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0);r=N[a+164>>2];k=N[a+96>>2];p=J[b+24>>2];g=p+P(J[a+120>>2],12)|0;u=N[g+8>>2];j=Ta(u);l=N[a+160>>2];n=N[a+92>>2];h=Sa(u);w=N[g+4>>2];t=N[a+72>>2];x=N[g>>2];m=N[a+68>>2];d=N[a+172>>2];c=N[a+104>>2];p=p+P(J[a+124>>2],12)|0;v=N[p+8>>2];i=Ta(v);s=N[a+168>>2];e=N[a+100>>2];f=Sa(v);y=N[p>>2];q=Q(e-s);d=Q(c-d);s=Q(Q(i*q)-Q(f*d));e=Q(Q(y+s)-N[a+76>>2]);z=N[p+4>>2];q=Q(Q(f*q)+Q(i*d));o=Q(Q(z+q)-N[a+80>>2]);i=Q(Y(Q(Q(e*e)+Q(o*o))));f=Q(0);d=Q(0);c=Q(0);l=Q(n-l);n=Q(k-r);r=Q(Q(j*l)-Q(h*n));k=Q(Q(x+r)-m);l=Q(Q(h*l)+Q(j*n));j=Q(Q(w+l)-t);h=Q(Y(Q(Q(k*k)+Q(j*j))));if(h>Q(.04999999701976776)){d=Q(Q(1)/h);c=Q(j*d);d=Q(k*d)}j=Q(0);if(i>Q(.04999999701976776)){f=Q(Q(1)/i);j=Q(o*f);f=Q(e*f)}A=c;m=Q(N[a+108>>2]-h);h=N[a+112>>2];i=Q(m-Q(h*i));e=Q(Q(s*j)-Q(f*q));k=N[a+188>>2];m=Q(Q(e*k)*e);e=N[a+180>>2];o=N[a+176>>2];c=Q(Q(r*c)-Q(d*l));n=N[a+184>>2];c=Q(Q(Q(h*h)*Q(m+e))+Q(o+Q(Q(c*n)*c)));t=Q(i*Q(-(c>Q(0)?Q(Q(1)/c):c)));m=Q(-t);c=Q(A*m);N[g+4>>2]=w+Q(o*c);d=Q(d*m);N[g>>2]=x+Q(o*d);g=J[b+24>>2];N[(g+P(J[a+120>>2],12)|0)+8>>2]=Q(n*Q(Q(r*c)-Q(d*l)))+u;g=g+P(J[a+124>>2],12)|0;d=Q(t*Q(-h));c=Q(j*d);N[g+4>>2]=z+Q(e*c);f=Q(f*d);N[g>>2]=y+Q(e*f);N[(J[b+24>>2]+P(J[a+124>>2],12)|0)+8>>2]=Q(k*Q(Q(s*c)-Q(f*q)))+v;return(i>Q(0)?i:Q(-i))>2]>0){while(1){e=J[a+12>>2];g=J[a+24>>2]+P(p,28)|0;Ga[J[J[e>>2]+24>>2]](e,f+32|0,c,J[g+20>>2]);e=J[a+12>>2];Ga[J[J[e>>2]+24>>2]](e,f+16|0,d,J[g+20>>2]);h=N[f+16>>2];j=N[f+32>>2];i=N[f+36>>2];k=N[f+20>>2];N[g+4>>2]=i>2]=h>j?j:h;h=N[f+24>>2];j=N[f+40>>2];i=N[f+44>>2];k=N[f+28>>2];N[g+12>>2]=i>k?i:k;N[g+8>>2]=h>2]=Q(Q(N[f+20>>2]+N[f+28>>2])*Q(.5))-Q(Q(N[f+36>>2]+N[f+44>>2])*Q(.5));N[f+8>>2]=Q(Q(N[f+16>>2]+N[f+24>>2])*Q(.5))-Q(Q(N[f+32>>2]+N[f+40>>2])*Q(.5));h=Q(N[f+12>>2]*Q(4));e=h>2];j=Q(Q(m+Q(.10000000149011612))+(e?Q(-0):h));n=N[g+4>>2];h=Q(Q(n+Q(-.10000000149011612))+(e?h:Q(-0)));i=Q(N[f+8>>2]*Q(4));e=i>2];k=Q(Q(o+Q(.10000000149011612))+(e?Q(-0):i));l=N[g>>2];i=Q(Q(l+Q(-.10000000149011612))+(e?i:Q(-0)));g=J[g+24>>2];q=P(g,40);e=q+J[b+4>>2]|0;r=N[e>>2];a:{b:{if(!(l>=r)){break b}l=n;n=N[e+4>>2];if(!(l>=n)){break b}l=o;o=N[e+8>>2];if(!(l<=o)){break b}l=m;m=N[e+12>>2];if(!(l<=m)|!(Q(i+Q(-.4000000059604645))<=r)|(!(n>=Q(h+Q(-.4000000059604645)))|!(o<=Q(k+Q(.4000000059604645))))){break b}e=0;if(m<=Q(j+Q(.4000000059604645))){break a}}Ed(b,g);e=J[b+4>>2]+q|0;N[e+12>>2]=j;N[e+8>>2]=k;N[e+4>>2]=h;N[e>>2]=i;Gd(b,g);H[(J[b+4>>2]+q|0)+36|0]=1;e=1}if(e){xc(b,g)}p=p+1|0;if((p|0)>2]){continue}break}}Ea=f+48|0}function zd(a,b,c,d,e){var f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=0,r=Q(0),s=Q(0),t=Q(0),u=0,v=0,w=0;J[a+60>>2]=0;h=Q(N[b+8>>2]+N[d+8>>2]);u=J[b+20>>2];q=J[b+12>>2];i=N[b+20>>2];m=N[b+12>>2];g=Q(i-m);f=N[c+12>>2];j=N[e+12>>2];o=N[d+12>>2];k=N[d+16>>2];l=N[e+8>>2];n=Q(Q(N[e>>2]+Q(Q(j*o)-Q(k*l)))-N[c>>2]);k=Q(Q(Q(Q(l*o)+Q(j*k))+N[e+4>>2])-N[c+4>>2]);l=N[c+8>>2];j=Q(Q(f*n)+Q(k*l));o=Q(j-m);e=J[b+16>>2];c=J[b+24>>2];k=Q(Q(f*k)-Q(l*n));l=N[b+16>>2];p=Q(k-l);n=N[b+24>>2];f=Q(n-l);r=Q(Q(g*o)+Q(p*f));a:{b:{if(r<=Q(0)){if(Q(Q(o*o)+Q(p*p))>Q(h*h)){break a}if(!K[b+44|0]){h=Q(0);g=Q(0);break b}h=Q(0);g=Q(0);if(!(Q(Q(Q(m-N[b+28>>2])*Q(m-j))+Q(Q(l-k)*Q(l-N[b+32>>2])))>Q(0))){break b}break a}s=Q(Q(g*Q(i-j))+Q(f*Q(n-k)));if(s<=Q(0)){f=Q(j-i);m=Q(k-n);if(Q(Q(f*f)+Q(m*m))>Q(h*h)){break a}v=1;if(!K[b+45|0]){h=Q(0);g=Q(0);q=u;e=c;break b}h=Q(0);g=Q(0);q=u;e=c;if(!(Q(Q(Q(N[b+36>>2]-i)*f)+Q(m*Q(N[b+40>>2]-n)))>Q(0))){break b}break a}t=j;j=Q(Q(1)/Q(Q(g*g)+Q(f*f)));i=Q(t-Q(j*Q(Q(s*m)+Q(r*i))));t=Q(i*i);i=Q(k-Q(j*Q(Q(s*l)+Q(r*n))));if(Q(t+Q(i*i))>Q(h*h)){break a}v=65536;w=1;b=Q(Q(p*g)-Q(f*o))>2]=w;J[a+60>>2]=1;J[a+48>>2]=q;N[a+40>>2]=h;J[a+16>>2]=v;J[a+52>>2]=e;N[a+44>>2]=g;b=J[d+16>>2];J[a>>2]=J[d+12>>2];J[a+4>>2]=b}}function ad(a,b,c,d){var e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0);h=N[a+48>>2];f=Q(Q(1)-d);l=Q(Q(f*N[a+68>>2])+Q(N[a+72>>2]*d));m=Ta(l);i=N[a+44>>2];l=Sa(l);p=Q(Q(Q(f*N[a+56>>2])+Q(N[a- -64>>2]*d))-Q(Q(l*i)+Q(h*m)));j=Q(Q(Q(f*N[a+52>>2])+Q(N[a+60>>2]*d))-Q(Q(m*i)-Q(h*l)));e=N[a+12>>2];i=Q(Q(f*N[a+32>>2])+Q(N[a+36>>2]*d));h=Ta(i);g=N[a+8>>2];i=Sa(i);q=Q(Q(Q(f*N[a+20>>2])+Q(N[a+28>>2]*d))-Q(Q(i*g)+Q(e*h)));e=Q(Q(Q(f*N[a+16>>2])+Q(N[a+24>>2]*d))-Q(Q(h*g)-Q(e*i)));d=Q(-l);f=Q(-i);g=Q(0);a:{switch(J[a+80>>2]){case 0:k=j;c=J[J[a+4>>2]+16>>2]+(c<<3)|0;j=N[c>>2];g=N[c+4>>2];n=Q(k+Q(Q(m*j)+Q(g*d)));k=e;b=J[J[a>>2]+16>>2]+(b<<3)|0;d=N[b>>2];e=N[b+4>>2];return Q(Q(Q(n-Q(k+Q(Q(h*d)+Q(e*f))))*N[a+92>>2])+Q(N[a+96>>2]*Q(Q(p+Q(Q(l*j)+Q(m*g)))-Q(q+Q(Q(i*d)+Q(h*e))))));case 1:k=j;b=J[J[a+4>>2]+16>>2]+(c<<3)|0;j=N[b>>2];g=N[b+4>>2];r=Q(k+Q(Q(m*j)+Q(g*d)));k=e;d=N[a+84>>2];e=N[a+88>>2];n=N[a+92>>2];o=N[a+96>>2];return Q(Q(Q(r-Q(k+Q(Q(h*d)+Q(e*f))))*Q(Q(h*n)+Q(o*f)))+Q(Q(Q(i*n)+Q(h*o))*Q(Q(p+Q(Q(l*j)+Q(m*g)))-Q(q+Q(Q(i*d)+Q(h*e))))));case 2:k=e;b=J[J[a>>2]+16>>2]+(b<<3)|0;e=N[b>>2];g=N[b+4>>2];r=Q(k+Q(Q(h*e)+Q(g*f)));k=j;f=N[a+84>>2];j=N[a+88>>2];n=N[a+92>>2];o=N[a+96>>2];g=Q(Q(Q(r-Q(k+Q(Q(m*f)+Q(j*d))))*Q(Q(m*n)+Q(o*d)))+Q(Q(Q(l*n)+Q(m*o))*Q(Q(q+Q(Q(i*e)+Q(h*g)))-Q(p+Q(Q(l*f)+Q(m*j))))));break;default:break a}}return g}function uc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;d=Ea+-64|0;Ea=d;j=a- -64|0;l=Xa(d,j,64);d=J[a+4>>2];J[a+4>>2]=d|4;o=d&2;f=J[a+52>>2];m=J[f+8>>2];g=m+12|0;e=J[a+48>>2];n=J[e+8>>2];d=n+12|0;p=K[f+38|0]|K[e+38|0];a:{if(p){i=J[e+12>>2];j=J[a+56>>2];k=J[f+12>>2];e=J[a+60>>2];c=Ea-128|0;Ea=c;J[c+88>>2]=0;J[c+80>>2]=0;J[c+84>>2]=0;J[c+60>>2]=0;J[c+52>>2]=0;J[c+56>>2]=0;f=c+36|0;Ub(f,i,j);Ub(c- -64|0,k,e);e=J[d+12>>2];J[c+100>>2]=J[d+8>>2];J[c+104>>2]=e;e=J[d+4>>2];J[c+92>>2]=J[d>>2];J[c+96>>2]=e;d=J[g+12>>2];J[c+116>>2]=J[g+8>>2];J[c+120>>2]=d;d=J[g+4>>2];J[c+108>>2]=J[g>>2];J[c+112>>2]=d;H[c+124|0]=1;I[c+28>>1]=0;Kd(c,c+24|0,f);Ea=c+128|0;h=N[c+16>>2]>2]=0;break a}Ga[J[J[a>>2]>>2]](a,j,d,g);k=J[a+124>>2];if((k|0)>0){e=J[l+60>>2];g=(e|0)<=0;while(1){i=j+P(c,20)|0;d=i;J[d+8>>2]=0;J[d+12>>2]=0;b:{if(g){break b}d=J[i+16>>2];h=0;while(1){f=P(h,20)+l|0;if(J[f+16>>2]==(d|0)){N[i+8>>2]=N[f+8>>2];N[i+12>>2]=N[f+12>>2];break b}h=h+1|0;if((e|0)!=(h|0)){continue}break}}c=c+1|0;if((k|0)!=(c|0)){continue}break}}h=(k|0)>0;if((h|0)==(o>>>1|0)){break a}J[n+144>>2]=0;I[n+4>>1]=L[n+4>>1]|2;J[m+144>>2]=0;I[m+4>>1]=L[m+4>>1]|2}g=2;J[a+4>>2]=J[a+4>>2]&-3|(h?2:0);d=(b|0)!=0&h;c:{if(!(d&!o)){if(!o){break c}g=3;if(!b|h){break c}}Ga[J[J[b>>2]+(g<<2)>>2]](b,a)}if(!(!d|(p|0)!=0)){Ga[J[J[b>>2]+16>>2]](b,a,l)}Ea=l- -64|0}function Uh(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=0,f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=0,k=Q(0),l=0,m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=Q(0),D=Q(0),E=Q(0),F=Q(0),G=Q(0),H=Q(0),I=Q(0);g=N[a+240>>2];e=J[b+28>>2];c=e+P(J[a+160>>2],12)|0;i=N[c>>2];j=e+P(J[a+168>>2],12)|0;n=N[j>>2];f=N[c+4>>2];o=N[j+4>>2];h=N[a+244>>2];k=N[a+248>>2];l=e+P(J[a+164>>2],12)|0;p=N[l>>2];e=e+P(J[a+172>>2],12)|0;q=N[e>>2];r=N[l+4>>2];s=N[e+4>>2];m=N[a+252>>2];t=N[a+256>>2];u=N[c+8>>2];v=N[j+8>>2];w=N[a+264>>2];x=N[a+260>>2];y=N[l+8>>2];z=N[e+8>>2];A=N[a+268>>2];d=Q(Q(Q(Q(Q(g*Q(i-n))+Q(Q(f-o)*h))+Q(Q(k*Q(p-q))+Q(Q(r-s)*m)))+Q(Q(Q(t*u)-Q(v*w))+Q(Q(x*y)-Q(z*A))))*Q(-N[a+272>>2]));N[a+156>>2]=N[a+156>>2]+d;B=N[a+236>>2];C=N[a+220>>2];D=N[a+232>>2];E=N[a+216>>2];F=N[a+228>>2];G=N[a+212>>2];H=N[a+224>>2];I=f;f=Q(N[a+208>>2]*d);N[c+4>>2]=I+Q(h*f);N[c>>2]=i+Q(g*f);c=J[b+28>>2];N[(c+P(J[a+160>>2],12)|0)+8>>2]=u+Q(t*Q(H*d));c=c+P(J[a+164>>2],12)|0;i=Q(d*G);N[c+4>>2]=r+Q(m*i);N[c>>2]=p+Q(k*i);c=J[b+28>>2];N[(c+P(J[a+164>>2],12)|0)+8>>2]=y+Q(x*Q(d*F));c=c+P(J[a+168>>2],12)|0;f=h;h=Q(d*E);N[c+4>>2]=o-Q(f*h);N[c>>2]=n-Q(g*h);c=J[b+28>>2];N[(c+P(J[a+168>>2],12)|0)+8>>2]=v-Q(w*Q(d*D));c=c+P(J[a+172>>2],12)|0;g=Q(d*C);N[c+4>>2]=s-Q(m*g);N[c>>2]=q-Q(k*g);N[(J[b+28>>2]+P(J[a+172>>2],12)|0)+8>>2]=z-Q(A*Q(d*B))}function sh(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=0,g=Q(0),h=Q(0),i=Q(0),j=0,k=Q(0),l=Q(0),m=0,n=Q(0),o=0,p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0);j=J[a+52>>2];o=J[j+8>>2];J[a+116>>2]=o;s=N[j+32>>2];m=J[j+32>>2];e=N[j+28>>2];f=J[j+28>>2];J[a+128>>2]=f;J[a+132>>2]=m;k=N[j+120>>2];N[a+136>>2]=k;l=N[j+128>>2];N[a+140>>2]=l;m=P(o,12);f=m+J[b+28>>2]|0;p=N[f+4>>2];q=N[f>>2];t=N[f+8>>2];f=J[b+24>>2]+m|0;u=N[f>>2];v=N[f+4>>2];i=N[f+8>>2];g=N[b>>2];d=N[j+116>>2];c=Q(N[a+84>>2]*Q(6.2831854820251465));h=Q(g*Q(d*Q(c*c)));d=Q(g*Q(h+Q(c*Q(Q(d+d)*N[a+88>>2]))));c=d!=Q(0)?Q(Q(1)/d):d;N[a+108>>2]=c;h=Q(h*c);N[a+92>>2]=h;g=N[a+72>>2];d=Sa(i);n=N[a+68>>2];r=Ta(i);e=Q(n-e);g=Q(g-s);i=Q(Q(r*e)-Q(d*g));N[a+120>>2]=i;d=Q(Q(d*e)+Q(r*g));N[a+124>>2]=d;g=Q(c+Q(k+Q(Q(l*i)*i)));n=Q(c+Q(k+Q(Q(l*d)*d)));e=Q(d*Q(i*Q(-l)));c=Q(Q(g*n)-Q(e*e));c=c!=Q(0)?Q(Q(1)/c):c;N[a+144>>2]=g*c;N[a+156>>2]=n*c;c=Q(e*Q(-c));N[a+148>>2]=c;N[a+152>>2]=c;N[a+164>>2]=h*Q(Q(v+d)-N[a+80>>2]);N[a+160>>2]=h*Q(Q(u+i)-N[a+76>>2]);c=Q(t*Q(.9800000190734863));a:{if(K[b+20|0]){e=N[b+8>>2];h=Q(e*N[a+96>>2]);N[a+96>>2]=h;e=Q(e*N[a+100>>2]);N[a+100>>2]=e;c=Q(Q(l*Q(Q(i*e)-Q(h*d)))+c);q=Q(q+Q(k*h));p=Q(p+Q(k*e));break a}J[a+96>>2]=0;J[a+100>>2]=0}f=J[b+28>>2]+P(o,12)|0;N[f+4>>2]=p;N[f>>2]=q;N[(J[b+28>>2]+P(J[a+116>>2],12)|0)+8>>2]=c}function zf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=Ea+-64|0;Ea=f;a:{if(Za(b,18736,0)){J[c>>2]=0;d=1;break a}b:{if(K[a+8|0]&24){e=1}else{if(!b){break b}e=kb(b,18468);if(!e){break b}e=(K[e+8|0]&24)!=0}g=Za(a,b,e)}if(g){d=1;a=J[c>>2];if(!a){break a}J[c>>2]=J[a>>2];break a}c:{if(!b){break c}e=kb(b,18516);if(!e){break a}b=J[c>>2];if(b){J[c>>2]=J[b>>2]}g=J[e+8>>2];b=J[a+8>>2];if(g&(b^-1)&7|b&(g^-1)&96){break a}d=1;if(Za(J[a+12>>2],J[e+12>>2],0)){break a}if(Za(J[a+12>>2],18724,0)){a=J[e+12>>2];if(!a){break a}d=!kb(a,18568);break a}g=J[a+12>>2];if(!g){break c}d=0;b=kb(g,18516);if(b){if(!(H[a+8|0]&1)){break a}a=J[e+12>>2];c=0;d:{e:{while(1){d=0;if(!a){break d}a=kb(a,18516);if(!a|J[a+8>>2]&(J[b+8>>2]^-1)){break e}d=1;if(Za(J[b+12>>2],J[a+12>>2],0)){break d}if(!(H[b+8|0]&1)){break e}d=J[b+12>>2];if(!d){break e}b=kb(d,18516);if(b){a=J[a+12>>2];continue}break}b=kb(d,18628);if(!b){break e}c=Oc(b,J[a+12>>2])}d=c}break a}b=kb(g,18628);if(b){if(!(H[a+8|0]&1)){break a}d=Oc(b,J[e+12>>2]);break a}b=kb(g,18420);if(!b){break a}a=J[e+12>>2];if(!a){break a}a=kb(a,18420);if(!a){break a}sb(f+12|0,0,52);J[f+56>>2]=1;J[f+20>>2]=-1;J[f+16>>2]=b;J[f+8>>2]=a;Ga[J[J[a>>2]+28>>2]](a,f+8|0,J[c>>2],1);a=J[f+32>>2];if(!(!J[c>>2]|(a|0)!=1)){J[c>>2]=J[f+24>>2]}d=(a|0)==1;break a}d=0}Ea=f- -64|0;return d|0}function Rk(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=Qa(103028);b=c;J[b+4>>2]=0;J[b+8>>2]=128;d=db(1024);J[b>>2]=d;sb(d,0,J[b+8>>2]<<3);sb(b+12|0,0,56);b=b+68|0;J[b+102796>>2]=0;J[b+102408>>2]=0;J[b+102400>>2]=0;J[b+102404>>2]=0;b=c+102868|0;J[b>>2]=-1;J[b+8>>2]=0;J[b+12>>2]=16;d=db(640);J[b+4>>2]=d;sb(d,0,P(J[b+12>>2],40));d=J[b+12>>2];a:{if((d|0)<=1){e=d-1|0;d=J[b+4>>2];break a}d=J[b+4>>2];while(1){e=P(f,40);f=f+1|0;J[(e+d|0)+20>>2]=f;d=J[b+4>>2];J[(e+d|0)+32>>2]=-1;e=J[b+12>>2]-1|0;if((e|0)>(f|0)){continue}break}}J[(P(e,40)+d|0)+20>>2]=-1;J[(J[b+4>>2]+P(J[b+12>>2],40)|0)-8>>2]=-1;J[b+24>>2]=0;J[b+16>>2]=0;J[b+20>>2]=0;J[b+48>>2]=16;J[b+52>>2]=0;J[b+28>>2]=0;d=db(128);J[b+36>>2]=16;J[b+40>>2]=0;J[b+44>>2]=d;g=b,h=db(64),J[g+32>>2]=h;J[b+76>>2]=0;J[b+72>>2]=23204;J[b+68>>2]=23200;J[b+60>>2]=0;J[b+64>>2]=0;J[c+102948>>2]=0;J[c+102952>>2]=0;J[c+102976>>2]=0;J[c+102980>>2]=0;b=c+102956|0;J[b>>2]=0;J[b+4>>2]=0;H[c+102991|0]=1;H[c+102992|0]=1;H[c+102993|0]=0;H[c+102994|0]=1;H[c+102972|0]=1;b=J[a+4>>2];a=J[a>>2];H[c+102990|0]=1;I[c+102988>>1]=0;J[c+102964>>2]=a;J[c+102968>>2]=b;J[c+102984>>2]=0;J[c+102996>>2]=0;J[c+103e3>>2]=0;J[c+102944>>2]=c;a=c+103004|0;J[a>>2]=0;J[a+4>>2]=0;a=c+103012|0;J[a>>2]=0;J[a+4>>2]=0;a=c+103020|0;J[a>>2]=0;J[a+4>>2]=0;return c|0}function Jh(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=0,g=Q(0),h=0,i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0);h=J[b+28>>2];f=h+P(J[a+104>>2],12)|0;m=N[f>>2];h=h+P(J[a+108>>2],12)|0;n=N[h>>2];o=N[f+4>>2];p=N[h+4>>2];q=N[a+160>>2];r=N[a+156>>2];s=N[a+168>>2];t=N[a+164>>2];g=N[b>>2];c=Q(g*N[a+96>>2]);i=Q(-c);j=N[a+88>>2];d=Q(N[b+4>>2]*N[a+100>>2]);e=N[h+8>>2];k=N[f+8>>2];l=Q(j-Q(N[a+188>>2]*Q(Q(d*N[a+152>>2])+Q(e-k))));c=c>l?l:c;c=c>2]=c;l=N[a+80>>2];u=N[a+116>>2];c=Q(c-j);i=Q(k-Q(t*c));k=N[a+124>>2];j=Q(e+Q(s*c));e=Q(Q(d*N[a+144>>2])+Q(Q(u*i)+Q(Q(n-Q(k*j))-m)));v=N[a+120>>2];w=N[a+112>>2];d=Q(Q(d*N[a+148>>2])+Q(Q(Q(p+Q(v*j))-o)-Q(w*i)));c=Q(l-Q(Q(N[a+172>>2]*e)+Q(N[a+180>>2]*d)));N[a+80>>2]=c;x=N[a+84>>2];d=Q(x-Q(Q(N[a+176>>2]*e)+Q(N[a+184>>2]*d)));N[a+84>>2]=d;e=Q(Q(c*c)+Q(d*d));g=Q(g*N[a+92>>2]);if(e>Q(g*g)){e=Q(Y(e));if(!(e>2]=d;c=Q(g*c);N[a+80>>2]=c}d=Q(d-x);N[f+4>>2]=o-Q(r*d);c=Q(c-l);N[f>>2]=m-Q(r*c);f=J[b+28>>2];N[(f+P(J[a+104>>2],12)|0)+8>>2]=Q(Q(-t)*Q(Q(w*d)-Q(c*u)))+i;f=f+P(J[a+108>>2],12)|0;N[f+4>>2]=p+Q(q*d);N[f>>2]=n+Q(q*c);N[(J[b+28>>2]+P(J[a+108>>2],12)|0)+8>>2]=Q(s*Q(Q(v*d)-Q(c*k)))+j}function bi(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=0,g=Q(0),h=Q(0),i=Q(0),j=0,k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0);if(N[a+68>>2]>Q(0)){a=1}else{d=N[a+144>>2];i=N[a+84>>2];j=J[b+24>>2];f=j+P(J[a+108>>2],12)|0;q=N[f+8>>2];c=Ta(q);k=N[a+140>>2];n=N[a+80>>2];e=Sa(q);g=N[a+152>>2];o=N[a+92>>2];j=j+P(J[a+112>>2],12)|0;r=N[j+8>>2];h=Ta(r);l=N[a+148>>2];p=N[a+88>>2];m=Sa(r);s=N[j>>2];l=Q(p-l);g=Q(o-g);o=Q(Q(h*l)-Q(m*g));p=N[f>>2];k=Q(n-k);i=Q(i-d);n=Q(Q(c*k)-Q(e*i));d=Q(Q(Q(s+o)-p)-n);t=N[j+4>>2];m=Q(Q(m*l)+Q(h*g));g=N[f+4>>2];i=Q(Q(e*k)+Q(c*i));c=Q(Q(Q(t+m)-g)-i);e=Q(Y(Q(Q(d*d)+Q(c*c))));a:{if(e>2];h=N[a+160>>2];l=N[a+164>>2];v=g;g=N[a+156>>2];w=c;c=Q(e-N[a+104>>2]);c=c>2]));e=Q(w*u);N[f+4>>2]=v-Q(g*e);d=Q(d*u);N[f>>2]=p-Q(g*d);f=J[b+24>>2];N[(f+P(J[a+108>>2],12)|0)+8>>2]=q-Q(l*Q(Q(n*e)-Q(d*i)));f=f+P(J[a+112>>2],12)|0;N[f+4>>2]=t+Q(h*e);N[f>>2]=s+Q(h*d);N[(J[b+24>>2]+P(J[a+112>>2],12)|0)+8>>2]=Q(k*Q(Q(o*e)-Q(d*m)))+r;a=(c>Q(0)?c:Q(-c))>2];j=N[a+156>>2];r=N[a+168>>2];s=N[a+164>>2];c=N[a+116>>2];f=N[a+192>>2];d=J[b+28>>2];t=d+P(J[a+136>>2],12)|0;g=N[t+8>>2];h=N[a+172>>2];l=N[t>>2];d=d+P(J[a+132>>2],12)|0;m=N[d>>2];k=N[t+4>>2];n=N[d+4>>2];o=N[a+176>>2];i=N[a+188>>2];p=N[d+8>>2];e=Q(Q(Q(c*N[a+220>>2])+Q(Q(Q(Q(f*g)+Q(Q(h*Q(l-m))+Q(Q(k-n)*o)))-Q(i*p))+N[a+216>>2]))*Q(-N[a+212>>2]));N[a+116>>2]=c+e;c=Q(N[b>>2]*N[a+120>>2]);u=Q(-c);v=N[a+112>>2];f=Q(g+Q(r*Q(f*e)));g=Q(p-Q(s*Q(i*e)));i=Q(v-Q(N[a+208>>2]*Q(Q(f-g)-N[a+124>>2])));c=c>i?i:c;c=c>2]=c;i=N[a+200>>2];c=Q(c-v);f=Q(Q(r*c)+f);p=N[a+180>>2];h=Q(h*e);l=Q(l+Q(q*h));h=Q(m-Q(j*h));e=Q(o*e);m=Q(k+Q(q*e));k=Q(n-Q(j*e));n=N[a+184>>2];o=N[a+196>>2];c=Q(g-Q(s*c));e=Q(Q(Q(Q(i*f)+Q(Q(p*Q(l-h))+Q(Q(m-k)*n)))-Q(o*c))*Q(-N[a+204>>2]));N[a+108>>2]=N[a+108>>2]+e;g=Q(n*e);N[d+4>>2]=k-Q(j*g);k=j;j=Q(p*e);N[d>>2]=h-Q(k*j);d=J[b+28>>2];N[(d+P(J[a+132>>2],12)|0)+8>>2]=c-Q(s*Q(o*e));d=d+P(J[a+136>>2],12)|0;N[d+4>>2]=m+Q(q*g);N[d>>2]=l+Q(q*j);N[(J[b+28>>2]+P(J[a+136>>2],12)|0)+8>>2]=Q(r*Q(i*e))+f}function Oh(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=0,f=Q(0),g=Q(0),h=0,i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0);h=J[b+28>>2];e=h+P(J[a+104>>2],12)|0;m=N[e>>2];h=h+P(J[a+108>>2],12)|0;n=N[h>>2];o=N[e+4>>2];p=N[h+4>>2];q=N[a+148>>2];r=N[a+144>>2];s=N[a+156>>2];t=N[a+152>>2];g=N[b>>2];c=Q(g*N[a+100>>2]);d=Q(-c);i=N[a+92>>2];j=N[h+8>>2];k=N[e+8>>2];l=Q(i-Q(Q(j-k)*N[a+176>>2]));c=c>l?l:c;c=c>2]=c;l=N[a+84>>2];u=N[a+116>>2];c=Q(c-i);i=Q(k-Q(t*c));k=N[a+124>>2];j=Q(j+Q(s*c));d=Q(Q(u*i)+Q(Q(n-Q(k*j))-m));v=N[a+120>>2];w=N[a+112>>2];f=Q(Q(Q(p+Q(v*j))-o)-Q(w*i));c=Q(l-Q(Q(N[a+160>>2]*d)+Q(N[a+168>>2]*f)));N[a+84>>2]=c;x=N[a+88>>2];d=Q(x-Q(Q(N[a+164>>2]*d)+Q(N[a+172>>2]*f)));N[a+88>>2]=d;f=Q(Q(c*c)+Q(d*d));g=Q(g*N[a+96>>2]);if(f>Q(g*g)){f=Q(Y(f));if(!(f>2]=d;c=Q(g*c);N[a+84>>2]=c}d=Q(d-x);N[e+4>>2]=o-Q(r*d);c=Q(c-l);N[e>>2]=m-Q(r*c);e=J[b+28>>2];N[(e+P(J[a+104>>2],12)|0)+8>>2]=Q(Q(-t)*Q(Q(w*d)-Q(c*u)))+i;e=e+P(J[a+108>>2],12)|0;N[e+4>>2]=p+Q(q*d);N[e>>2]=n+Q(q*c);N[(J[b+28>>2]+P(J[a+108>>2],12)|0)+8>>2]=Q(s*Q(Q(v*d)-Q(c*k)))+j}function ig(a,b){a=a|0;b=b|0;var c=Q(0),d=0,e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=0,n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0);l=N[a+144>>2];e=N[a+80>>2];m=J[b+24>>2];d=m+P(J[a+132>>2],12)|0;t=N[d+8>>2];c=Ta(t);h=N[a+140>>2];p=N[a+76>>2];g=Sa(t);i=N[a+152>>2];q=N[a+88>>2];m=m+P(J[a+136>>2],12)|0;u=N[m+8>>2];f=Ta(u);j=N[a+148>>2];r=N[a+84>>2];n=Sa(u);o=N[a+100>>2];k=N[a+104>>2];s=Q(Q(g*o)+Q(c*k));v=N[m>>2];w=N[d>>2];j=Q(r-j);i=Q(q-i);q=Q(Q(f*j)-Q(n*i));h=Q(p-h);e=Q(e-l);p=Q(Q(c*h)-Q(g*e));r=Q(Q(Q(v-w)+q)-p);l=Q(Q(c*o)-Q(k*g));o=N[m+4>>2];k=N[d+4>>2];i=Q(Q(n*j)+Q(f*i));h=Q(Q(g*h)+Q(c*e));j=Q(Q(Q(o-k)+i)-h);g=Q(Q(r*l)+Q(s*j));x=Q(-g);y=N[a+168>>2];c=N[a+200>>2];e=Q(Q(y*c)*c);z=N[a+164>>2];c=N[a+196>>2];f=N[a+156>>2];n=N[a+160>>2];c=Q(e+Q(Q(Q(z*c)*c)+Q(f+n)));c=c!=Q(0)?Q(x/c):Q(0);e=Q(s*c);N[d+4>>2]=k-Q(f*e);k=f;f=Q(l*c);N[d>>2]=w-Q(k*f);d=J[b+24>>2];N[(d+P(J[a+132>>2],12)|0)+8>>2]=t-Q(z*Q(Q(Q(Q(p+r)*s)-Q(l*Q(h+j)))*c));d=d+P(J[a+136>>2],12)|0;N[d+4>>2]=o+Q(n*e);N[d>>2]=v+Q(n*f);N[(J[b+24>>2]+P(J[a+136>>2],12)|0)+8>>2]=u+Q(y*Q(Q(Q(q*s)-Q(l*i))*c));return(g>Q(0)?g:x)<=Q(.004999999888241291)|0}function yf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;if(Za(a,J[b+8>>2],e)){if(!(J[b+28>>2]==1|J[b+4>>2]!=(c|0))){J[b+28>>2]=d}return}a:{if(Za(a,J[b>>2],e)){if(!(J[b+16>>2]!=(c|0)&J[b+20>>2]!=(c|0))){if((d|0)!=1){break a}J[b+32>>2]=1;return}J[b+32>>2]=d;if(J[b+44>>2]!=4){f=a+16|0;h=f+(J[a+12>>2]<<3)|0;d=0;b:{c:{while(1){d:{if(f>>>0>=h>>>0){break d}I[b+52>>1]=0;ic(f,b,c,c,1,e);if(K[b+54|0]){break d}e:{if(!K[b+53|0]){break e}if(K[b+52|0]){d=1;if(J[b+24>>2]==1){break c}g=1;if(K[a+8|0]&2){break e}break c}g=1;if(!(H[a+8|0]&1)){break c}}f=f+8|0;continue}break}a=4;if(!g){break b}}a=3}J[b+44>>2]=a;if(d&1){break a}}J[b+20>>2]=c;J[b+40>>2]=J[b+40>>2]+1;if(J[b+36>>2]!=1|J[b+24>>2]!=2){break a}H[b+54|0]=1;return}g=J[a+12>>2];h=a+16|0;Ob(h,b,c,d,e);f=a+24|0;g=h+(g<<3)|0;if(f>>>0>=g>>>0){break a}a=J[a+8>>2];if(!(!(a&2)&J[b+36>>2]!=1)){while(1){if(K[b+54|0]){break a}Ob(f,b,c,d,e);f=f+8|0;if(g>>>0>f>>>0){continue}break}break a}if(!(a&1)){while(1){if(K[b+54|0]|J[b+36>>2]==1){break a}Ob(f,b,c,d,e);f=f+8|0;if(g>>>0>f>>>0){continue}break a}}while(1){if(K[b+54|0]|J[b+36>>2]==1&J[b+24>>2]==1){break a}Ob(f,b,c,d,e);f=f+8|0;if(g>>>0>f>>>0){continue}break}}}function sg(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=0,f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=0,k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0);d=N[a+132>>2];i=N[a+72>>2];j=J[b+24>>2];e=j+P(J[a+96>>2],12)|0;q=N[e+8>>2];c=Ta(q);k=N[a+128>>2];n=N[a+68>>2];g=Sa(q);f=N[a+140>>2];o=N[a+80>>2];j=j+P(J[a+100>>2],12)|0;r=N[j+8>>2];h=Ta(r);l=N[a+136>>2];p=N[a+76>>2];m=Sa(r);s=N[j>>2];l=Q(p-l);f=Q(o-f);o=Q(Q(h*l)-Q(m*f));p=N[e>>2];k=Q(n-k);i=Q(i-d);n=Q(Q(c*k)-Q(g*i));d=Q(Q(Q(s+o)-p)-n);t=N[j+4>>2];m=Q(Q(m*l)+Q(h*f));f=N[e+4>>2];i=Q(Q(g*k)+Q(c*i));c=Q(Q(Q(t+m)-f)-i);g=Q(Y(Q(Q(d*d)+Q(c*c))));a:{if(g>2];h=N[a+148>>2];l=N[a+152>>2];v=f;f=N[a+144>>2];w=c;c=Q(g-N[a+84>>2]);c=c>2]));c=Q(w*u);N[e+4>>2]=v-Q(f*c);d=Q(d*u);N[e>>2]=p-Q(f*d);e=J[b+24>>2];N[(e+P(J[a+96>>2],12)|0)+8>>2]=q-Q(l*Q(Q(n*c)-Q(d*i)));e=e+P(J[a+100>>2],12)|0;N[e+4>>2]=t+Q(h*c);N[e>>2]=s+Q(h*d);N[(J[b+24>>2]+P(J[a+100>>2],12)|0)+8>>2]=Q(k*Q(Q(o*c)-Q(d*m)))+r;return Q(g-N[a+84>>2])>2];if(i>>>0<2147483632){h=g+16|0;f=b+4|0;b:{if(i>>>0<=10){H[h+11|0]=i;b=h;break b}e=(i|15)+1|0;b=Qa(e);J[h+8>>2]=e|-2147483648;J[h>>2]=b;J[h+4>>2]=i}d=i;c:{if((b|0)==(f|0)){break c}j=b+d|0;if(f-j>>>0<=0-(d<<1)>>>0){b=Xa(b,f,d);break c}e=(b^f)&3;d:{e:{if(b>>>0>>0){if(e){e=b;break d}if(!(b&3)){e=b;break e}e=b;while(1){if(!d){break c}H[e|0]=K[f|0];f=f+1|0;d=d-1|0;e=e+1|0;if(e&3){continue}break}break e}f:{if(e){break f}if(j&3){while(1){if(!d){break c}d=d-1|0;e=d+b|0;H[e|0]=K[d+f|0];if(e&3){continue}break}}if(d>>>0<=3){break f}while(1){d=d-4|0;J[d+b>>2]=J[d+f>>2];if(d>>>0>3){continue}break}}if(!d){break c}while(1){d=d-1|0;H[d+b|0]=K[d+f|0];if(d){continue}break}break c}if(d>>>0<=3){break d}while(1){J[e>>2]=J[f>>2];f=f+4|0;e=e+4|0;d=d-4|0;if(d>>>0>3){continue}break}}if(!d){break c}while(1){H[e|0]=K[f|0];e=e+1|0;f=f+1|0;d=d-1|0;if(d){continue}break}}H[b+i|0]=0;break a}ma();B()}J[g+12>>2]=c;Ga[a|0](g+28|0,h,g+12|0);wa(J[g+28>>2]);a=J[g+28>>2];la(a|0);la(J[g+12>>2]);if(H[h+11|0]<0){Va(J[h>>2])}Ea=g+32|0;return a|0}function Xa(a,b,c){var d=0,e=0,f=0;if(c>>>0>=512){Aa(a|0,b|0,c|0);return a}e=a+c|0;a:{if(!((a^b)&3)){b:{if(!(a&3)){c=a;break b}if(!c){c=a;break b}c=a;while(1){H[c|0]=K[b|0];b=b+1|0;c=c+1|0;if(!(c&3)){break b}if(c>>>0>>0){continue}break}}d=e&-4;c:{if(d>>>0<64){break c}f=d+-64|0;if(f>>>0>>0){break c}while(1){J[c>>2]=J[b>>2];J[c+4>>2]=J[b+4>>2];J[c+8>>2]=J[b+8>>2];J[c+12>>2]=J[b+12>>2];J[c+16>>2]=J[b+16>>2];J[c+20>>2]=J[b+20>>2];J[c+24>>2]=J[b+24>>2];J[c+28>>2]=J[b+28>>2];J[c+32>>2]=J[b+32>>2];J[c+36>>2]=J[b+36>>2];J[c+40>>2]=J[b+40>>2];J[c+44>>2]=J[b+44>>2];J[c+48>>2]=J[b+48>>2];J[c+52>>2]=J[b+52>>2];J[c+56>>2]=J[b+56>>2];J[c+60>>2]=J[b+60>>2];b=b- -64|0;c=c- -64|0;if(f>>>0>=c>>>0){continue}break}}if(c>>>0>=d>>>0){break a}while(1){J[c>>2]=J[b>>2];b=b+4|0;c=c+4|0;if(d>>>0>c>>>0){continue}break}break a}if(e>>>0<4){c=a;break a}d=e-4|0;if(d>>>0>>0){c=a;break a}c=a;while(1){H[c|0]=K[b|0];H[c+1|0]=K[b+1|0];H[c+2|0]=K[b+2|0];H[c+3|0]=K[b+3|0];b=b+4|0;c=c+4|0;if(d>>>0>=c>>>0){continue}break}}if(c>>>0>>0){while(1){H[c|0]=K[b|0];b=b+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return a}function Hb(a){a=a|0;var b=Q(0),c=Q(0),d=Q(0),e=Q(0),f=0,g=0,h=Q(0),i=0,j=Q(0),k=Q(0);g=Ea-16|0;Ea=g;J[a+116>>2]=0;J[a+120>>2]=0;J[a+28>>2]=0;J[a+32>>2]=0;J[a+124>>2]=0;J[a+128>>2]=0;a:{if(M[a>>2]<=1){f=J[a+16>>2];i=J[a+12>>2];J[a+44>>2]=i;J[a+48>>2]=f;J[a+36>>2]=i;J[a+40>>2]=f;N[a+52>>2]=N[a+56>>2];break a}c=N[3150];d=N[3149];b:{c:{f=J[a+100>>2];if(!f){break c}while(1){b=N[f>>2];if(b!=Q(0)){i=J[f+12>>2];Ga[J[J[i>>2]+28>>2]](i,g,b);b=N[g>>2];e=Q(b+N[a+116>>2]);N[a+116>>2]=e;j=N[g+4>>2];k=N[g+8>>2];h=Q(N[g+12>>2]+N[a+124>>2]);N[a+124>>2]=h;d=Q(d+Q(b*j));c=Q(c+Q(b*k))}f=J[f+4>>2];if(f){continue}break}if(e>Q(0)){b=Q(Q(1)/e);N[a+120>>2]=b;d=Q(d*b);c=Q(c*b)}if(!(h>Q(0))|K[a+4|0]&16){break c}e=Q(h-Q(e*Q(Q(d*d)+Q(c*c))));N[a+124>>2]=e;b=Q(Q(1)/e);break b}J[a+124>>2]=0;b=Q(0)}N[a+128>>2]=b;N[a+32>>2]=c;N[a+28>>2]=d;b=N[a+44>>2];h=N[a+24>>2];j=N[a+20>>2];e=Q(N[a+12>>2]+Q(Q(h*d)-Q(c*j)));N[a+44>>2]=e;k=N[a+48>>2];c=Q(Q(Q(j*d)+Q(h*c))+N[a+16>>2]);N[a+48>>2]=c;N[a+40>>2]=c;N[a+36>>2]=e;d=N[a+72>>2];N[a+64>>2]=N[a+64>>2]-Q(d*Q(c-k));N[a+68>>2]=Q(d*Q(e-b))+N[a+68>>2]}Ea=g+16|0}function Xf(a,b){a=a|0;b=b|0;var c=0,d=0,e=Q(0),f=0,g=0,h=Q(0);if(!K[a+102989|0]){c=Ya(a,152);d=K[b+39|0];I[c+4>>1]=((d|0)!=0)<<3;d=d<<3;if(K[b+38|0]){d=d|16;I[c+4>>1]=d}if(K[b+36|0]){d=d|4;I[c+4>>1]=d}if(K[b+37|0]){d=d|2;I[c+4>>1]=d}if(K[b+40|0]){I[c+4>>1]=d|32}J[c+88>>2]=a;f=J[b+8>>2];d=J[b+4>>2];J[c+12>>2]=d;J[c+16>>2]=f;e=N[b+12>>2];J[c+44>>2]=d;J[c+48>>2]=f;J[c+36>>2]=d;J[c+40>>2]=f;J[c+28>>2]=0;J[c+32>>2]=0;g=c,h=Ta(e),N[g+24>>2]=h;g=c,h=Sa(e),N[g+20>>2]=h;e=N[b+12>>2];J[c+108>>2]=0;J[c+112>>2]=0;J[c+60>>2]=0;N[c+56>>2]=e;N[c+52>>2]=e;J[c+92>>2]=0;J[c+96>>2]=0;d=J[b+20>>2];J[c+64>>2]=J[b+16>>2];J[c+68>>2]=d;N[c+72>>2]=N[b+24>>2];N[c+132>>2]=N[b+28>>2];N[c+136>>2]=N[b+32>>2];e=N[b+48>>2];J[c+144>>2]=0;J[c+84>>2]=0;J[c+76>>2]=0;J[c+80>>2]=0;N[c+140>>2]=e;d=J[b>>2];J[c+124>>2]=0;J[c+128>>2]=0;J[c>>2]=d;e=(d|0)==2?Q(1):Q(0);N[c+120>>2]=e;N[c+116>>2]=e;b=J[b+44>>2];J[c+100>>2]=0;J[c+104>>2]=0;J[c+148>>2]=b;d=c;J[c+92>>2]=0;b=J[a+102948>>2];J[c+96>>2]=b;if(b){J[b+92>>2]=d}J[a+102948>>2]=d;J[a+102956>>2]=J[a+102956>>2]+1}return d|0}function Zd(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=J[a>>2];e=J[a+4>>2]-d>>3;if(e>>>0>>0){i=Ea-32|0;Ea=i;h=b-e|0;a:{b:{d=J[a+8>>2];b=J[a+4>>2];c:{if(h>>>0<=d-b>>3>>>0){if(h){d=(h<<3)+b|0;while(1){e=J[c+4>>2];J[b>>2]=J[c>>2];J[b+4>>2]=e;b=b+8|0;if((d|0)!=(b|0)){continue}break}b=d}J[a+4>>2]=b;break c}e=b;b=J[a>>2];e=e-b>>3;g=h+e|0;if(g>>>0>=536870912){break b}d=d-b|0;b=d>>2;f=Dc(i+12|0,d>>>0>=2147483640?536870911:b>>>0>g>>>0?b:g,e,a+8|0);b=J[f+8>>2];g=b+(h<<3)|0;while(1){d=J[c+4>>2];J[b>>2]=J[c>>2];J[b+4>>2]=d;b=b+8|0;if((g|0)!=(b|0)){continue}break}J[f+8>>2]=g;e=J[f+4>>2];b=J[a+4>>2];d=J[a>>2];d:{if((b|0)==(d|0)){c=b;break d}while(1){b=b-8|0;c=J[b+4>>2];e=e-8|0;J[e>>2]=J[b>>2];J[e+4>>2]=c;if((b|0)!=(d|0)){continue}break}g=J[f+8>>2];b=J[a+4>>2];c=J[a>>2]}J[a>>2]=e;J[f+4>>2]=c;J[a+4>>2]=g;J[f+8>>2]=b;d=J[a+8>>2];J[a+8>>2]=J[f+12>>2];J[f>>2]=c;J[f+12>>2]=d;if((b|0)!=(c|0)){J[f+8>>2]=((c-b|0)+7&-8)+b}if(!c){break c}Va(c)}Ea=i+32|0;break a}ma();B()}return}if(b>>>0>>0){J[a+4>>2]=d+(b<<3)}}function tj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=J[a>>2];f=J[a+4>>2]-g>>2;if(f>>>0>>0){g=c;j=Ea-32|0;Ea=j;a:{b:{i=b-f|0;h=J[a+8>>2];c=J[a+4>>2];c:{if(i>>>0<=h-c>>2>>>0){if(i){b=(i<<2)+c|0;while(1){J[c>>2]=J[g>>2];c=c+4|0;if((b|0)!=(c|0)){continue}break}c=b}J[a+4>>2]=c;break c}b=J[a>>2];f=c-b>>2;d=f+i|0;if(d>>>0>=1073741824){break b}c=h-b|0;b=c>>1;e=Wd(j+12|0,c>>>0>=2147483644?1073741823:b>>>0>d>>>0?b:d,f,a+8|0);c=J[e+8>>2];f=c+(i<<2)|0;while(1){J[c>>2]=J[g>>2];c=c+4|0;if((f|0)!=(c|0)){continue}break}h=J[e+4>>2];b=J[a+4>>2];d=J[a>>2];g=(b|0)==(d|0);d:{if(!g){c=b;while(1){h=h-4|0;c=c-4|0;J[h>>2]=J[c>>2];if((c|0)!=(d|0)){continue}break}J[a>>2]=h;J[e+4>>2]=d;J[a+4>>2]=f;J[e+8>>2]=b;c=J[a+8>>2];J[a+8>>2]=J[e+12>>2];J[e>>2]=d;J[e+12>>2]=c;if(g){break d}J[e+8>>2]=b+((d-b|0)+3&-4);break d}J[a>>2]=h;J[e+4>>2]=d;J[a+4>>2]=f;J[e+8>>2]=b;b=J[a+8>>2];J[a+8>>2]=J[e+12>>2];J[e>>2]=d;J[e+12>>2]=b}if(!d){break c}Va(d)}Ea=j+32|0;break a}ma();B()}return}if(b>>>0>>0){J[a+4>>2]=g+(b<<2)}}function Ed(a,b){var c=0,d=0,e=0,f=0,g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=0;if(J[a>>2]==(b|0)){J[a>>2]=-1;return}f=J[a+4>>2];d=J[(f+P(b,40)|0)+20>>2];e=P(d,40)+f|0;c=J[e+20>>2];k=b;b=J[e+24>>2];if((k|0)==(b|0)){b=J[e+28>>2]}a:{if((c|0)!=-1){e=f+P(c,40)|0;J[((d|0)==J[e+24>>2]?e+24|0:e+28|0)>>2]=b;J[(f+P(b,40)|0)+20>>2]=c;b=P(d,40);J[(b+J[a+4>>2]|0)+20>>2]=J[a+16>>2];J[(b+J[a+4>>2]|0)+32>>2]=-1;J[a+16>>2]=d;J[a+8>>2]=J[a+8>>2]-1;while(1){b=Fd(a,c);c=J[a+4>>2];e=P(b,40);b=c+e|0;f=P(J[b+28>>2],40);d=c+f|0;g=N[d>>2];k=P(J[b+24>>2],40);c=k+c|0;h=N[c>>2];i=N[c+4>>2];j=N[d+4>>2];N[b+4>>2]=i>2]=g>h?h:g;g=N[c+8>>2];h=N[d+8>>2];i=N[c+12>>2];j=N[d+12>>2];N[b+12>>2]=i>j?i:j;N[b+8>>2]=g>h?g:h;b=J[a+4>>2];d=b+e|0;c=J[(b+k|0)+32>>2];b=J[(b+f|0)+32>>2];J[d+32>>2]=((b|0)<(c|0)?c:b)+1;c=J[d+20>>2];if((c|0)!=-1){continue}break}break a}J[a>>2]=b;J[(f+P(b,40)|0)+20>>2]=-1;b=P(d,40);J[(b+J[a+4>>2]|0)+20>>2]=J[a+16>>2];J[(b+J[a+4>>2]|0)+32>>2]=-1;J[a+16>>2]=d;J[a+8>>2]=J[a+8>>2]-1}}function yi(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=0,i=Q(0),j=Q(0),k=0,l=Q(0),m=Q(0),n=Q(0),o=0,p=0,q=0,r=0,s=Q(0),t=Q(0);k=J[a+148>>2];a:{b:{if((k|0)>0){while(1){o=(h<<3)+a|0;d=Q(d+N[o+24>>2]);e=Q(e+N[o+20>>2]);h=h+1|0;if((k|0)!=(h|0)){continue}break}f=d;d=Q(Q(1)/Q(k|0));i=Q(f*d);f=Q(e*d);if((k|0)<=0){break b}o=a+24|0;a=a+20|0;h=0;e=Q(0);d=Q(0);while(1){p=a+(h<<3)|0;j=Q(N[p>>2]-f);h=h+1|0;q=a+(h<<3)|0;r=(h|0)<(k|0);g=Q(N[(r?q+4|0:o)>>2]-i);m=Q(N[(r?q:a)>>2]-f);l=Q(N[p+4>>2]-i);n=Q(Q(j*g)-Q(m*l));s=Q(Q(Q(n*Q(.0833333358168602))*Q(Q(Q(g*g)+Q(Q(l*l)+Q(l*g)))+Q(Q(m*m)+Q(Q(j*j)+Q(j*m)))))+s);n=Q(n*Q(.5));e=Q(e+n);l=Q(l+g);g=Q(n*Q(.3333333432674408));t=Q(t+Q(l*g));d=Q(d+Q(Q(j+m)*g));if((h|0)!=(k|0)){continue}break}break a}i=Q(Q(Q(1)/Q(k|0))*Q(0));f=i}d=Q(0);e=Q(0)}j=Q(e*c);N[b>>2]=j;g=Q(Q(1)/e);e=Q(t*g);i=Q(i+e);N[b+8>>2]=i;d=Q(d*g);f=Q(f+d);N[b+4>>2]=f;N[b+12>>2]=Q(j*Q(Q(Q(f*f)+Q(i*i))-Q(Q(d*d)+Q(e*e))))+Q(s*c)}function Pg(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=0,n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0);k=Q(-N[a+112>>2]);l=N[a+136>>2];m=J[b+28>>2];c=m+P(J[a+124>>2],12)|0;n=N[c>>2];j=N[c+8>>2];o=N[a+156>>2];p=N[c+4>>2];q=N[a+152>>2];r=N[a+140>>2];f=N[a+128>>2];c=P(J[a+120>>2],12)+m|0;s=N[c>>2];d=N[c+8>>2];t=N[a+148>>2];g=N[c+4>>2];u=N[a+144>>2];h=N[a+132>>2];e=Q(Q(Q(k*Q(Q(l*Q(n-Q(j*o)))+Q(Q(p+Q(j*q))*r)))-Q(Q(f*Q(s-Q(d*t)))+Q(Q(g+Q(d*u))*h)))*Q(-N[a+192>>2]));N[a+116>>2]=N[a+116>>2]+e;w=N[a+188>>2];v=N[a+180>>2];x=N[a+184>>2];y=g;g=N[a+176>>2];i=h;h=Q(-e);i=Q(i*h);N[c+4>>2]=y+Q(g*i);f=Q(f*h);N[c>>2]=s+Q(g*f);c=J[b+28>>2];N[(c+P(J[a+120>>2],12)|0)+8>>2]=d+Q(x*Q(Q(u*i)-Q(f*t)));c=c+P(J[a+124>>2],12)|0;d=Q(e*k);e=Q(r*d);N[c+4>>2]=p+Q(v*e);d=Q(l*d);N[c>>2]=n+Q(v*d);N[(J[b+28>>2]+P(J[a+124>>2],12)|0)+8>>2]=j+Q(w*Q(Q(q*e)-Q(d*o)))}function tg(a,b){a=a|0;b=b|0;var c=Q(0),d=0,e=Q(0),f=Q(0),g=Q(0),h=0,i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0);e=N[a+92>>2];c=Q(N[a+88>>2]-N[a+84>>2]);k=N[a+104>>2];d=J[b+28>>2];h=d+P(J[a+100>>2],12)|0;l=N[h>>2];i=N[h+8>>2];m=N[a+124>>2];d=d+P(J[a+96>>2],12)|0;n=N[d>>2];j=N[d+8>>2];o=N[a+116>>2];p=N[h+4>>2];q=N[a+120>>2];f=N[d+4>>2];r=N[a+112>>2];s=N[a+108>>2];g=Q(Q(k*Q(Q(l-Q(i*m))-Q(n-Q(j*o))))+Q(Q(Q(p+Q(i*q))-Q(f+Q(j*r)))*s));c=Q(e-Q(N[a+160>>2]*(c>2]*c)+g):g)));c=c>Q(0)?Q(0):c;N[a+92>>2]=c;t=N[a+156>>2];g=N[a+148>>2];u=N[a+152>>2];v=f;f=N[a+144>>2];c=Q(c-e);e=Q(s*c);N[d+4>>2]=v-Q(f*e);c=Q(k*c);N[d>>2]=n-Q(f*c);d=J[b+28>>2];N[(d+P(J[a+96>>2],12)|0)+8>>2]=j-Q(u*Q(Q(r*e)-Q(c*o)));d=d+P(J[a+100>>2],12)|0;N[d+4>>2]=p+Q(g*e);N[d>>2]=l+Q(g*c);N[(J[b+28>>2]+P(J[a+100>>2],12)|0)+8>>2]=i+Q(t*Q(Q(q*e)-Q(c*m)))}function Bi(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=0,m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0);a:{l=J[a+148>>2];if((l|0)<=0){break a}g=N[d+4>>2];f=Q(N[c+12>>2]-g);h=N[d>>2];i=Q(N[c+8>>2]-h);j=N[d+12>>2];k=Q(N[c+4>>2]-g);g=N[d+8>>2];h=Q(N[c>>2]-h);m=Q(Q(j*k)-Q(g*h));p=Q(Q(Q(j*f)-Q(g*i))-m);n=Q(Q(j*h)+Q(k*g));q=Q(Q(Q(j*i)+Q(g*f))-n);r=Q(-g);k=N[c+16>>2];e=-1;d=0;h=Q(0);while(1){c=(d<<3)+a|0;f=N[c+84>>2];o=N[c+88>>2];i=Q(Q(f*Q(N[c+20>>2]-n))+Q(Q(N[c+24>>2]-m)*o));f=Q(Q(f*q)+Q(p*o));b:{if(f==Q(0)){if(iQ(0))|!(ik){break a}d=d+1|0;if((l|0)!=(d|0)){continue}break}if((e|0)>=0){N[b+8>>2]=h;a=(e<<3)+a|0;f=N[a+84>>2];h=Q(g*f);g=N[a+88>>2];N[b+4>>2]=h+Q(j*g);N[b>>2]=Q(j*f)+Q(g*r);a=1}else{a=0}return a|0}return 0}function Ke(a,b,c){a=a|0;b=Q(b);c=Q(c);var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=Ea-16|0;Ea=h;N[h+12>>2]=c;N[h+8>>2]=b;j=Ea-32|0;Ea=j;a:{b:{d=J[a+4>>2];e=J[a+8>>2];c:{if(d>>>0>>0){e=J[h+12>>2];J[d>>2]=J[h+8>>2];J[d+4>>2]=e;J[a+4>>2]=d+8;break c}f=J[a>>2];g=d-f>>3;d=g+1|0;if(d>>>0>=536870912){break b}e=e-f|0;f=e>>2;f=Dc(j+12|0,e>>>0>=2147483640?536870911:d>>>0>>0?f:d,g,a+8|0);d=J[f+8>>2];e=J[h+12>>2];J[d>>2]=J[h+8>>2];J[d+4>>2]=e;i=J[f+8>>2]+8|0;J[f+8>>2]=i;g=J[f+4>>2];e=J[a+4>>2];d=J[a>>2];d:{if((e|0)==(d|0)){d=e;break d}while(1){e=e-8|0;i=J[e+4>>2];g=g-8|0;J[g>>2]=J[e>>2];J[g+4>>2]=i;if((d|0)!=(e|0)){continue}break}i=J[f+8>>2];e=J[a+4>>2];d=J[a>>2]}J[a>>2]=g;J[f+4>>2]=d;J[a+4>>2]=i;J[f+8>>2]=e;g=J[a+8>>2];J[a+8>>2]=J[f+12>>2];J[f>>2]=d;J[f+12>>2]=g;if((d|0)!=(e|0)){J[f+8>>2]=((d-e|0)+7&-8)+e}if(!d){break c}Va(d)}Ea=j+32|0;break a}ma();B()}Ea=h+16|0}function kd(a,b,c,d,e){var f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=0,m=Q(0),n=Q(0),o=0,p=Q(0),q=Q(0),r=0,s=0,t=0,u=Q(0),v=Q(0);o=J[b+148>>2];a:{if((o|0)<=0){b=0;f=Q(-34028234663852886e22);break a}f=N[e+12>>2];i=Q(N[c+4>>2]-N[e+4>>2]);g=N[e+8>>2];h=Q(N[c>>2]-N[e>>2]);p=Q(Q(f*i)-Q(g*h));q=Q(Q(f*h)+Q(g*i));h=N[c+12>>2];k=N[c+8>>2];i=Q(Q(f*h)+Q(k*g));r=d+20|0;s=b+20|0;t=b+84|0;c=J[d+148>>2];h=Q(Q(f*k)-Q(h*g));k=Q(-h);f=Q(-34028234663852886e22);b=0;d=0;while(1){g=Q(34028234663852886e22);if((c|0)>0){e=d<<3;l=e+t|0;n=N[l>>2];j=N[l+4>>2];u=Q(Q(h*n)+Q(i*j));n=Q(Q(i*n)+Q(j*k));e=e+s|0;j=N[e>>2];m=N[e+4>>2];v=Q(p+Q(Q(h*j)+Q(i*m)));j=Q(q+Q(Q(i*j)+Q(m*k)));e=0;while(1){l=(e<<3)+r|0;m=Q(Q(n*Q(N[l>>2]-j))+Q(u*Q(N[l+4>>2]-v)));g=g>m?m:g;e=e+1|0;if((c|0)!=(e|0)){continue}break}}e=f>2]=b;return f}function ki(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0);i=N[d+4>>2];f=Q(N[c+12>>2]-i);g=N[d>>2];h=Q(N[c+8>>2]-g);j=N[d+12>>2];i=Q(N[c+4>>2]-i);k=N[d+8>>2];g=Q(N[c>>2]-g);m=Q(Q(j*i)-Q(k*g));r=Q(Q(Q(j*f)-Q(k*h))-m);n=Q(Q(j*g)+Q(i*k));s=Q(Q(Q(j*h)+Q(k*f))-n);o=N[a+12>>2];l=Q(N[a+20>>2]-o);i=Q(-l);d=0;p=N[a+16>>2];h=Q(N[a+24>>2]-p);q=Q(Q(h*h)+Q(l*l));f=Q(Y(q));a:{if(fN[c+16>>2]|q==Q(0)){break b}h=Q(Q(Q(Q(Q(n+Q(s*g))-o)*l)+Q(h*Q(Q(m+Q(r*g))-p)))/q);if(hQ(1)){break b}N[b+8>>2]=g;h=Q(Q(k*f)+Q(j*i));a=t>Q(0);N[b+4>>2]=a?Q(-h):h;f=Q(Q(j*f)+Q(i*Q(-k)));N[b>>2]=a?Q(-f):f;d=1}return d|0}function Me(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=Q(0);e=J[a+88>>2];if(!K[e+102989|0]){c=Ya(e,44);J[c+40>>2]=0;J[c+32>>2]=-65535;J[c+24>>2]=0;J[c+28>>2]=0;J[c>>2]=0;J[c+4>>2]=0;I[c+36>>1]=0;J[c+8>>2]=0;J[c+12>>2]=0;J[c+40>>2]=J[b+4>>2];N[c+16>>2]=N[b+8>>2];h=N[b+12>>2];J[c+8>>2]=a;N[c+20>>2]=h;J[c+4>>2]=0;d=L[b+22>>1]|L[b+24>>1]<<16;I[c+32>>1]=d;I[c+34>>1]=d>>>16;I[c+36>>1]=L[b+26>>1];H[c+38|0]=K[b+20|0];d=J[b>>2];d=Ga[J[J[d>>2]+8>>2]](d,e)|0;J[c+12>>2]=d;f=e;e=Ga[J[J[d>>2]+12>>2]](d)|0;d=Ya(f,P(e,28));J[c+24>>2]=d;if((e|0)>0){while(1){f=d+P(g,28)|0;J[f+24>>2]=-1;J[f+16>>2]=0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}J[c+28>>2]=0;N[c>>2]=N[b+16>>2];if(K[a+4|0]&32){td(c,J[a+88>>2]+102868|0,a+12|0)}J[c+4>>2]=J[a+100>>2];J[a+100>>2]=c;J[a+104>>2]=J[a+104>>2]+1;J[c+8>>2]=a;if(N[c>>2]>Q(0)){Hb(a)}H[J[a+88>>2]+102988|0]=1}return c|0}function Cl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{if(b){if(!c){break j}break i}Fa=0;a=(a>>>0)/(c>>>0)|0;break a}if(!a){break h}break g}if(!(c-1&c)){break f}f=(S(c)+33|0)-S(b)|0;g=0-f|0;break d}Fa=0;a=(b>>>0)/0|0;break a}d=32-S(b)|0;if(d>>>0<31){break e}break c}if((c|0)==1){break b}f=Al(c);c=f&31;if((f&63)>>>0>=32){a=b>>>c|0}else{d=b>>>c|0;a=((1<>>c}Fa=d;break a}f=d+1|0;g=63-d|0}d=f&63;e=d&31;if(d>>>0>=32){d=0;h=b>>>e|0}else{d=b>>>e|0;h=((1<>>e}g=g&63;e=g&31;if(g>>>0>=32){b=a<>>32-e|b<>>31;d=h<<1|b>>>31;e=l-(i+(d>>>0>g>>>0)|0)>>31;j=c&e;h=d-j|0;d=i-(d>>>0>>0)|0;b=b<<1|a>>>31;a=k|a<<1;k=e&1;f=f-1|0;if(f){continue}break}}Fa=b<<1|a>>>31;a=k|a<<1;break a}a=0;b=0}Fa=b}return a}function $c(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{if(K[a+102989|0]){break a}g=K[b+61|0];c=J[b+8>>2];if(c){J[c+12>>2]=J[b+12>>2]}d=J[b+12>>2];if(d){J[d+8>>2]=c}if(J[a+102952>>2]==(b|0)){J[a+102952>>2]=d}c=J[b+52>>2];d=J[b+48>>2];J[d+144>>2]=0;I[d+4>>1]=L[d+4>>1]|2;J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;e=J[b+24>>2];if(e){J[e+12>>2]=J[b+28>>2]}f=J[b+28>>2];if(f){J[f+8>>2]=e}if(J[d+108>>2]==(b+16|0)){J[d+108>>2]=f}J[b+24>>2]=0;J[b+28>>2]=0;e=J[b+40>>2];if(e){J[e+12>>2]=J[b+44>>2]}f=J[b+44>>2];if(f){J[f+8>>2]=e}if(J[c+108>>2]==(b+32|0)){J[c+108>>2]=f}J[b+40>>2]=0;J[b+44>>2]=0;Ga[J[J[b>>2]+24>>2]](b)|0;e=J[b+4>>2]-1|0;if(e>>>0<=10){Bb(a,b,J[(e<<2)+13336>>2])}J[a+102960>>2]=J[a+102960>>2]-1;if(g){break a}b=J[c+112>>2];if(!b){break a}while(1){if((d|0)==J[b>>2]){a=J[b+4>>2];J[a+4>>2]=J[a+4>>2]|8}b=J[b+12>>2];if(b){continue}break}}}function ci(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=0,h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0);f=N[a+100>>2];l=N[a+116>>2];c=J[b+28>>2];g=c+P(J[a+112>>2],12)|0;m=N[g>>2];h=N[g+8>>2];n=N[a+136>>2];c=c+P(J[a+108>>2],12)|0;o=N[c>>2];i=N[c+8>>2];p=N[a+128>>2];e=N[a+120>>2];q=N[g+4>>2];r=N[a+132>>2];d=N[c+4>>2];s=N[a+124>>2];j=Q(Q(Q(f*N[a+96>>2])+Q(N[a+76>>2]+Q(Q(l*Q(Q(m-Q(h*n))-Q(o-Q(i*p))))+Q(e*Q(Q(q+Q(h*r))-Q(d+Q(i*s)))))))*Q(-N[a+172>>2]));N[a+100>>2]=f+j;u=N[a+168>>2];t=N[a+160>>2];f=N[a+164>>2];k=d;d=N[a+156>>2];e=Q(e*j);N[c+4>>2]=k-Q(d*e);k=d;d=Q(l*j);N[c>>2]=o-Q(k*d);c=J[b+28>>2];N[(c+P(J[a+108>>2],12)|0)+8>>2]=i-Q(f*Q(Q(s*e)-Q(d*p)));c=c+P(J[a+112>>2],12)|0;N[c+4>>2]=q+Q(e*t);N[c>>2]=m+Q(d*t);N[(J[b+28>>2]+P(J[a+112>>2],12)|0)+8>>2]=h+Q(u*Q(Q(r*e)-Q(d*n)))}function Ei(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=0,f=0,g=Q(0),h=Q(0),i=Q(0),j=0,k=Q(0),l=0,m=0;h=N[c+4>>2];f=J[c+4>>2];g=N[c>>2];e=Ea-32|0;J[e+24>>2]=J[c>>2];J[e+28>>2]=f;d=N[c+12>>2];g=Q(N[c+8>>2]-g);N[e+16>>2]=g;d=Q(d-h);N[e+20>>2]=d;N[e+8>>2]=g>Q(0)?g:Q(-g);N[e+12>>2]=d>Q(0)?d:Q(-d);l=a+8|0;g=Q(-34028234663852886e22);h=Q(34028234663852886e22);m=1;a:{while(1){b:{f=j<<2;if(N[f+(e+8|0)>>2]>2];if(d>2]|d>N[f+l>>2]){break a}break b}i=Q(Q(1)/N[f+(e+16|0)>>2]);k=N[f+(e+24|0)>>2];d=Q(i*Q(N[a+f>>2]-k));i=Q(i*Q(N[f+l>>2]-k));j=d>i;k=j?d:i;h=hg){J[e>>2]=0;J[e+4>>2]=0;N[e+f>>2]=j?Q(1):Q(-1);g=d}if(!(g>h)){break b}break a}j=1;f=m;m=0;if(f){continue}break}if(g>2]>2]=g;a=J[e+4>>2];J[b>>2]=J[e>>2];J[b+4>>2]=a;return 1}return 0}function Bd(a){a=a|0;var b=0,c=Q(0),d=0;b=Ea-224|0;Ea=b;d=J[a+8>>2];Ra(6919,0);Ra(8163,0);J[b+208>>2]=J[a>>2];Ra(9603,b+208|0);c=N[a+12>>2];O[b+200>>3]=N[a+16>>2];O[b+192>>3]=c;Ra(8583,b+192|0);O[b+176>>3]=N[a+56>>2];Ra(7498,b+176|0);c=N[a+64>>2];O[b+168>>3]=N[a+68>>2];O[b+160>>3]=c;Ra(8365,b+160|0);O[b+144>>3]=N[a+72>>2];Ra(7016,b+144|0);O[b+128>>3]=N[a+132>>2];Ra(7408,b+128|0);O[b+112>>3]=N[a+136>>2];Ra(7376,b+112|0);J[b+96>>2]=L[a+4>>1]&4;Ra(9385,b+96|0);J[b+80>>2]=L[a+4>>1]&2;Ra(9446,b+80|0);J[b+64>>2]=L[a+4>>1]&16;Ra(9414,b- -64|0);J[b+48>>2]=L[a+4>>1]&8;Ra(9301,b+48|0);J[b+32>>2]=L[a+4>>1]&32;Ra(9505,b+32|0);O[b+16>>3]=N[a+140>>2];Ra(7609,b+16|0);J[b>>2]=J[a+8>>2];Ra(9151,b);Ra(10014,0);a=J[a+100>>2];if(a){while(1){Ra(6917,0);rd(a,d);Ra(6912,0);a=J[a+4>>2];if(a){continue}break}}Ra(6914,0);Ea=b+224|0}function _c(){Da(18724,5209);Ca(18748,3569,1,1,0);fa(18760,2921,1,-128,127);fa(18784,2914,1,-128,127);fa(18772,2912,1,0,255);fa(18796,1622,2,-32768,32767);fa(18808,1613,2,0,65535);fa(18820,1990,4,-2147483648,2147483647);fa(18832,1981,4,0,-1);fa(18844,3741,4,-2147483648,2147483647);fa(18856,3732,4,0,-1);Nc(18868,2286,-2147483648,2147483647);Nc(18880,2285,0,-1);sa(18892,2279,4);sa(18904,4923,8);ra(20208,3759);ra(14252,6663);pa(14324,4,3746);pa(14400,2,3771);pa(14476,4,3786);Ba(19796,3591);ba(14516,0,6594);ba(14556,0,6696);ba(14596,1,6624);ba(14636,2,6159);ba(14676,3,6190);ba(14716,4,6230);ba(14756,5,6259);ba(14796,4,6733);ba(14836,5,6763);ba(14556,0,6361);ba(14596,1,6328);ba(14636,2,6427);ba(14676,3,6393);ba(14716,4,6561);ba(14756,5,6527);ba(14876,8,6494);ba(14916,9,6460);ba(14956,6,6297);ba(14996,7,6802)}function Jf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ea-32|0;Ea=f;d=J[a+28>>2];J[f+16>>2]=d;g=J[a+20>>2];J[f+28>>2]=c;J[f+24>>2]=b;b=g-d|0;J[f+20>>2]=b;g=b+c|0;i=2;a:{b:{b=f+16|0;d=qa(J[a+60>>2],b|0,2,f+12|0)|0;if(d){J[6350]=d;d=-1}else{d=0}c:{d:{if(d){d=b;break d}while(1){e=J[f+12>>2];if((e|0)==(g|0)){break c}if((e|0)<0){d=b;break b}h=J[b+4>>2];j=h>>>0>>0;d=(j<<3)+b|0;h=e-(j?h:0)|0;J[d>>2]=h+J[d>>2];b=(j?12:4)+b|0;J[b>>2]=J[b>>2]-h;g=g-e|0;b=d;i=i-j|0;e=qa(J[a+60>>2],b|0,i|0,f+12|0)|0;if(e){J[6350]=e;e=-1}else{e=0}if(!e){continue}break}}if((g|0)!=-1){break b}}b=J[a+44>>2];J[a+28>>2]=b;J[a+20>>2]=b;J[a+16>>2]=b+J[a+48>>2];a=c;break a}J[a+28>>2]=0;J[a+16>>2]=0;J[a+20>>2]=0;J[a>>2]=J[a>>2]|32;a=0;if((i|0)==2){break a}a=c-J[d+4>>2]|0}Ea=f+32|0;return a|0}function Ta(a){var b=Q(0),c=0,d=0,e=0,f=0;c=Ea-16|0;Ea=c;e=(C(a),v(2));d=e&2147483647;a:{if(d>>>0<=1061752794){b=Q(1);if(d>>>0<964689920){break a}b=nb(+a);break a}if(d>>>0<=1081824209){if(d>>>0>=1075235812){b=Q(-nb(((e|0)<0?3.141592653589793:-3.141592653589793)+ +a));break a}f=+a;if((e|0)<0){b=mb(f+1.5707963267948966);break a}b=mb(1.5707963267948966-f);break a}if(d>>>0<=1088565717){if(d>>>0>=1085271520){b=nb(((e|0)<0?6.283185307179586:-6.283185307179586)+ +a);break a}if((e|0)<0){b=mb(-4.71238898038469-+a);break a}b=mb(+a+-4.71238898038469);break a}b=Q(a-a);if(d>>>0>=2139095040){break a}b:{switch(Zc(a,c+8|0)&3){case 0:b=nb(O[c+8>>3]);break a;case 1:b=mb(-O[c+8>>3]);break a;case 2:b=Q(-nb(O[c+8>>3]));break a;default:break b}}b=mb(O[c+8>>3])}a=b;Ea=c+16|0;return a}function nj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=Ea-32|0;Ea=g;a:{c=J[a+4>>2];b:{if((c|0)!=J[a+8>>2]){d=J[b+4>>2];J[c>>2]=J[b>>2];J[c+4>>2]=d;J[a+4>>2]=c+8;break b}c=c-J[a>>2]|0;e=c>>3;d=e+1|0;if(d>>>0>=536870912){break a}f=c>>2;e=Dc(g+12|0,c>>>0>=2147483640?536870911:d>>>0>>0?f:d,e,a+8|0);c=J[e+8>>2];d=J[b+4>>2];J[c>>2]=J[b>>2];J[c+4>>2]=d;f=J[e+8>>2]+8|0;J[e+8>>2]=f;b=J[e+4>>2];d=J[a+4>>2];c=J[a>>2];c:{if((d|0)==(c|0)){c=d;break c}while(1){d=d-8|0;f=J[d+4>>2];b=b-8|0;J[b>>2]=J[d>>2];J[b+4>>2]=f;if((c|0)!=(d|0)){continue}break}f=J[e+8>>2];d=J[a+4>>2];c=J[a>>2]}J[a>>2]=b;J[e+4>>2]=c;J[a+4>>2]=f;J[e+8>>2]=d;b=J[a+8>>2];J[a+8>>2]=J[e+12>>2];J[e>>2]=c;J[e+12>>2]=b;if((c|0)!=(d|0)){J[e+8>>2]=((c-d|0)+7&-8)+d}if(!c){break b}Va(c)}Ea=g+32|0;return}ma();B()}function Sa(a){var b=0,c=0,d=0,e=0;b=Ea-16|0;Ea=b;e=(C(a),v(2));c=e&2147483647;a:{if(c>>>0<=1061752794){if(c>>>0<964689920){break a}a=mb(+a);break a}if(c>>>0<=1081824209){d=+a;if(c>>>0<=1075235811){if((e|0)<0){a=Q(-nb(d+1.5707963267948966));break a}a=nb(d+-1.5707963267948966);break a}a=mb(-(((e|0)>=0?-3.141592653589793:3.141592653589793)+d));break a}if(c>>>0<=1088565717){if(c>>>0<=1085271519){d=+a;if((e|0)<0){a=nb(d+4.71238898038469);break a}a=Q(-nb(d+-4.71238898038469));break a}a=mb(((e|0)<0?6.283185307179586:-6.283185307179586)+ +a);break a}if(c>>>0>=2139095040){a=Q(a-a);break a}b:{switch(Zc(a,b+8|0)&3){case 0:a=mb(O[b+8>>3]);break a;case 1:a=nb(O[b+8>>3]);break a;case 2:a=mb(-O[b+8>>3]);break a;default:break b}}a=Q(-nb(O[b+8>>3]))}Ea=b+16|0;return a}function wj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=J[a+4>>2];if((d|0)!=J[a+8>>2]){J[d>>2]=J[b>>2];J[a+4>>2]=d+4;return}g=Ea-32|0;Ea=g;a:{c=J[a>>2];e=J[a+4>>2]-c>>2;d=e+1|0;if(d>>>0<1073741824){c=J[a+8>>2]-c|0;f=c>>1;c=Wd(g+12|0,c>>>0>=2147483644?1073741823:d>>>0>>0?f:d,e,a+8|0);d=J[c+8>>2];J[d>>2]=J[b>>2];h=d+4|0;f=J[c+4>>2];b=J[a+4>>2];e=J[a>>2];i=(b|0)==(e|0);b:{if(!i){d=b;while(1){f=f-4|0;d=d-4|0;J[f>>2]=J[d>>2];if((d|0)!=(e|0)){continue}break}J[a>>2]=f;J[c+4>>2]=e;J[a+4>>2]=h;J[c+8>>2]=b;d=J[a+8>>2];J[a+8>>2]=J[c+12>>2];J[c>>2]=e;J[c+12>>2]=d;if(i){break b}J[c+8>>2]=b+((e-b|0)+3&-4);break b}J[a>>2]=f;J[c+4>>2]=e;J[a+4>>2]=h;J[c+8>>2]=b;b=J[a+8>>2];J[a+8>>2]=J[c+12>>2];J[c>>2]=e;J[c+12>>2]=b}if(e){Va(e)}Ea=g+32|0;break a}ma();B()}}function Rf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=Ea-16|0;Ea=e;J[e+12>>2]=b;f=a+102868|0;J[e+8>>2]=f;a=Ea-1040|0;Ea=a;J[a+1032>>2]=0;J[a+1036>>2]=256;g=a+8|0;J[a+4>>2]=g;tb(a+4|0,f);b=J[a+1032>>2];a:{if((b|0)<=0){break a}while(1){b=b-1|0;J[a+1032>>2]=b;d=J[J[a+4>>2]+(b<<2)>>2];b:{if((d|0)==-1){break b}h=P(d,40);d=h+J[f+4>>2]|0;if(Q(N[c>>2]-N[d+8>>2])>Q(0)|Q(N[c+4>>2]-N[d+12>>2])>Q(0)|(Q(N[d>>2]-N[c+8>>2])>Q(0)|Q(N[d+4>>2]-N[c+12>>2])>Q(0))){break b}if(J[d+24>>2]==-1){b=J[e+12>>2];if(!(Ga[J[J[b>>2]+8>>2]](b,J[J[(J[J[e+8>>2]+4>>2]+h|0)+16>>2]+16>>2])|0)){break a}b=J[a+1032>>2];if((b|0)>0){continue}break a}b=a+4|0;tb(b,d+24|0);tb(b,d+28|0);b=J[a+1032>>2]}if((b|0)>0){continue}break}}b=J[a+4>>2];if((b|0)!=(g|0)){Va(b)}Ea=a+1040|0;Ea=e+16|0}function Gb(a,b){var c=0,d=0,e=0,f=0;f=J[J[b+52>>2]+8>>2];d=J[J[b+48>>2]+8>>2];c=J[a+72>>2];if(!(!c|!(K[b+4|0]&2))){Ga[J[J[c>>2]+12>>2]](c,b)}c=J[b+8>>2];if(c){J[c+12>>2]=J[b+12>>2]}e=J[b+12>>2];if(e){J[e+8>>2]=c}if(J[a+60>>2]==(b|0)){J[a+60>>2]=e}c=J[b+24>>2];if(c){J[c+12>>2]=J[b+28>>2]}e=J[b+28>>2];if(e){J[e+8>>2]=c}if(J[d+112>>2]==(b+16|0)){J[d+112>>2]=e}d=J[b+40>>2];if(d){J[d+12>>2]=J[b+44>>2]}c=J[b+44>>2];if(c){J[c+8>>2]=d}if(J[f+112>>2]==(b+32|0)){J[f+112>>2]=c}e=J[a+76>>2];f=J[b+52>>2];d=J[b+48>>2];if(!(K[f+38|0]|(K[d+38|0]|J[b+124>>2]<=0))){c=J[d+8>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[f+8>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2}Ga[J[((P(J[J[d+12>>2]+4>>2],48)+24128|0)+P(J[J[f+12>>2]+4>>2],12)|0)+4>>2]](b,e);J[a+64>>2]=J[a+64>>2]-1}function Of(a){a=a|0;var b=0,c=0,d=0,e=0,f=Q(0);c=Ea-48|0;Ea=c;if(!K[a+102989|0]){f=N[a+102968>>2];O[c+32>>3]=N[a+102964>>2];O[c+40>>3]=f;Ra(9042,c+32|0);Ra(8340,0);J[c+16>>2]=J[a+102956>>2];Ra(9807,c+16|0);J[c>>2]=J[a+102960>>2];Ra(9867,c);b=J[a+102948>>2];if(b){while(1){J[b+8>>2]=e;Bd(b);e=e+1|0;b=J[b+96>>2];if(b){continue}break}}d=J[a+102952>>2];a:{if(!d){break a}b=0;e=d;while(1){J[e+56>>2]=b;b=b+1|0;e=J[e+12>>2];if(e){continue}break}if(!d){break a}while(1){if(J[d+4>>2]!=6){Ra(6919,0);Ga[J[J[d>>2]+16>>2]](d);Ra(6914,0)}d=J[d+12>>2];if(d){continue}break}b=J[a+102952>>2];if(!b){break a}while(1){if(J[b+4>>2]==6){Ra(6919,0);Ga[J[J[b>>2]+16>>2]](b);Ra(6914,0)}b=J[b+12>>2];if(b){continue}break}}Ra(8306,0);Ra(8323,0);Ra(6922,0);Ra(6941,0)}Ea=c+48|0}function Ne(a,b,c,d,e,f){a=a|0;b=Q(b);c=Q(c);d=Q(d);e=Q(e);f=Q(f);var g=0,h=0,i=0,j=Q(0),k=Q(0);h=Ea-16|0;Ea=h;N[h+12>>2]=e;N[h+8>>2]=d;J[a+84>>2]=0;J[a+88>>2]=-1082130432;J[a+148>>2]=4;J[a+108>>2]=-1082130432;J[a+112>>2]=0;J[a+100>>2]=0;J[a+104>>2]=1065353216;J[a+92>>2]=1065353216;J[a+96>>2]=0;N[a+48>>2]=c;d=Q(-b);N[a+44>>2]=d;N[a+40>>2]=c;N[a+36>>2]=b;c=Q(-c);N[a+32>>2]=c;N[a+28>>2]=b;N[a+24>>2]=c;N[a+20>>2]=d;g=J[h+12>>2];J[a+12>>2]=J[h+8>>2];J[a+16>>2]=g;c=Sa(f);d=Q(-c);j=N[h+12>>2];k=N[h+8>>2];b=Ta(f);while(1){g=(i<<3)+a|0;e=N[g+84>>2];f=N[g+88>>2];N[g+84>>2]=Q(b*e)+Q(f*d);N[g+88>>2]=Q(c*e)+Q(b*f);e=N[g+20>>2];f=N[g+24>>2];N[g+24>>2]=j+Q(Q(c*e)+Q(b*f));N[g+20>>2]=k+Q(Q(b*e)+Q(f*d));i=i+1|0;if((i|0)>2]){continue}break}Ea=h+16|0}function Wf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(!K[a+102989|0]){c=J[b+108>>2];if(c){while(1){d=J[c+12>>2];e=J[a+102976>>2];if(e){Ga[J[J[e>>2]+8>>2]](e,J[c+4>>2])}$c(a,J[c+4>>2]);J[b+108>>2]=d;c=d;if(c){continue}break}}J[b+108>>2]=0;c=J[b+112>>2];if(c){e=a+102868|0;while(1){d=J[c+12>>2];Gb(e,J[c+4>>2]);c=d;if(c){continue}break}}J[b+112>>2]=0;c=J[b+100>>2];if(c){f=a+102868|0;while(1){d=J[c+4>>2];e=J[a+102976>>2];if(e){Ga[J[J[e>>2]+12>>2]](e,c)}rc(c,f);sc(c,a);Bb(a,c,44);J[b+100>>2]=d;J[b+104>>2]=J[b+104>>2]-1;c=d;if(c){continue}break}}J[b+100>>2]=0;J[b+104>>2]=0;c=J[b+92>>2];if(c){J[c+96>>2]=J[b+96>>2]}d=J[b+96>>2];if(d){J[d+92>>2]=c}if(J[a+102948>>2]==(b|0)){J[a+102948>>2]=d}J[a+102956>>2]=J[a+102956>>2]-1;Bb(a,b,152)}}function Rg(a){a=a|0;var b=0,c=Q(0),d=0,e=0;b=Ea-224|0;Ea=b;d=J[J[a+52>>2]+8>>2];e=J[J[a+48>>2]+8>>2];Ra(8114,0);J[b+208>>2]=e;Ra(8280,b+208|0);J[b+192>>2]=d;Ra(8254,b+192|0);J[b+176>>2]=K[a+61|0];Ra(9470,b+176|0);c=N[a+68>>2];O[b+168>>3]=N[a+72>>2];O[b+160>>3]=c;Ra(8781,b+160|0);c=N[a+76>>2];O[b+152>>3]=N[a+80>>2];O[b+144>>3]=c;Ra(8656,b+144|0);c=N[a+84>>2];O[b+136>>3]=N[a+88>>2];O[b+128>>3]=c;Ra(8741,b+128|0);O[b+112>>3]=N[a+100>>2];Ra(7577,b+112|0);J[b+96>>2]=K[a+136|0];Ra(9271,b+96|0);O[b+80>>3]=N[a+120>>2];Ra(7257,b+80|0);O[b+64>>3]=N[a+124>>2];Ra(7291,b- -64|0);J[b+48>>2]=K[a+137|0];Ra(9326,b+48|0);O[b+32>>3]=N[a+132>>2];Ra(7696,b+32|0);O[b+16>>3]=N[a+128>>2];Ra(7665,b+16|0);J[b>>2]=J[a+56>>2];Ra(9071,b);Ea=b+224|0}function Ii(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0);e=0;k=N[c>>2];i=Q(N[c+8>>2]-k);l=N[c+4>>2];f=Q(N[c+12>>2]-l);h=Q(Q(i*i)+Q(f*f));a:{if(h>2];j=N[a+12>>2];n=N[a+16>>2];m=N[d+8>>2];k=Q(k-Q(N[d>>2]+Q(Q(g*j)-Q(n*m))));l=Q(l-Q(N[d+4>>2]+Q(Q(m*j)+Q(g*n))));g=Q(Q(k*i)+Q(l*f));j=N[a+8>>2];j=Q(Q(g*g)-Q(Q(Q(Q(k*k)+Q(l*l))-Q(j*j))*h));if(j>2]))){break a}h=Q(g/h);N[b+8>>2]=h;f=Q(l+Q(f*h));N[b+4>>2]=f;i=Q(k+Q(i*h));N[b>>2]=i;e=1;h=Q(Y(Q(Q(i*i)+Q(f*f))));if(h>2]=m*f;N[b>>2]=i*f}return e|0}function Uc(a,b,c){a:{switch(b-9|0){case 0:b=J[c>>2];J[c>>2]=b+4;J[a>>2]=J[b>>2];return;case 6:b=J[c>>2];J[c>>2]=b+4;b=I[b>>1];J[a>>2]=b;J[a+4>>2]=b>>31;return;case 7:b=J[c>>2];J[c>>2]=b+4;J[a>>2]=L[b>>1];J[a+4>>2]=0;return;case 8:b=J[c>>2];J[c>>2]=b+4;b=H[b|0];J[a>>2]=b;J[a+4>>2]=b>>31;return;case 9:b=J[c>>2];J[c>>2]=b+4;J[a>>2]=K[b|0];J[a+4>>2]=0;return;case 16:b=J[c>>2]+7&-8;J[c>>2]=b+8;O[a>>3]=O[b>>3];return;case 17:Sc(a,c);default:return;case 1:case 4:case 14:b=J[c>>2];J[c>>2]=b+4;b=J[b>>2];J[a>>2]=b;J[a+4>>2]=b>>31;return;case 2:case 5:case 11:case 15:b=J[c>>2];J[c>>2]=b+4;J[a>>2]=J[b>>2];J[a+4>>2]=0;return;case 3:case 10:case 12:case 13:break a}}b=J[c>>2]+7&-8;J[c>>2]=b+8;c=J[b+4>>2];J[a>>2]=J[b>>2];J[a+4>>2]=c}function kb(a,b){var c=0,d=0,e=0;c=Ea+-64|0;Ea=c;d=J[a>>2];e=J[d-4>>2];d=J[d-8>>2];J[c+32>>2]=0;J[c+36>>2]=0;J[c+40>>2]=0;J[c+44>>2]=0;J[c+48>>2]=0;J[c+52>>2]=0;H[c+55|0]=0;H[c+56|0]=0;H[c+57|0]=0;H[c+58|0]=0;H[c+59|0]=0;H[c+60|0]=0;H[c+61|0]=0;H[c+62|0]=0;J[c+24>>2]=0;J[c+28>>2]=0;J[c+20>>2]=0;J[c+16>>2]=18372;J[c+12>>2]=a;J[c+8>>2]=b;a=a+d|0;d=0;a:{if(Za(e,b,0)){J[c+56>>2]=1;Ga[J[J[e>>2]+20>>2]](e,c+8|0,a,a,1,0);d=J[c+32>>2]==1?a:0;break a}Ga[J[J[e>>2]+24>>2]](e,c+8|0,a,1,0);b:{switch(J[c+44>>2]){case 0:d=J[c+48>>2]==1?J[c+36>>2]==1?J[c+40>>2]==1?J[c+28>>2]:0:0:0;break a;case 1:break b;default:break a}}if(J[c+32>>2]!=1){if(J[c+48>>2]|J[c+36>>2]!=1|J[c+40>>2]!=1){break a}}d=J[c+24>>2]}Ea=c- -64|0;return d}function qh(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=Q(0),g=0,h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0);g=J[b+28>>2]+P(J[a+116>>2],12)|0;j=N[g>>2];h=N[g+8>>2];k=N[a+124>>2];c=N[a+108>>2];i=N[a+96>>2];d=Q(-Q(Q(Q(j-Q(h*k))+N[a+160>>2])+Q(c*i)));l=N[g+4>>2];m=N[a+120>>2];f=N[a+100>>2];e=Q(Q(Q(l+Q(h*m))+N[a+164>>2])+Q(c*f));c=Q(f+Q(Q(N[a+148>>2]*d)-Q(N[a+156>>2]*e)));N[a+100>>2]=c;d=Q(i+Q(Q(N[a+144>>2]*d)-Q(N[a+152>>2]*e)));N[a+96>>2]=d;n=Q(Q(d*d)+Q(c*c));e=Q(N[b>>2]*N[a+104>>2]);if(n>Q(e*e)){e=Q(e/Q(Y(n)));c=Q(c*e);N[a+100>>2]=c;d=Q(d*e);N[a+96>>2]=d}e=N[a+140>>2];c=Q(c-f);f=N[a+136>>2];N[g+4>>2]=l+Q(c*f);d=Q(d-i);N[g>>2]=j+Q(f*d);N[(J[b+28>>2]+P(J[a+116>>2],12)|0)+8>>2]=Q(e*Q(Q(m*c)-Q(d*k)))+h}function sb(a,b,c){var d=0,e=0;a:{if(!c){break a}H[a|0]=b;d=a+c|0;H[d-1|0]=b;if(c>>>0<3){break a}H[a+2|0]=b;H[a+1|0]=b;H[d-3|0]=b;H[d-2|0]=b;if(c>>>0<7){break a}H[a+3|0]=b;H[d-4|0]=b;if(c>>>0<9){break a}d=0-a&3;e=d+a|0;a=P(b&255,16843009);J[e>>2]=a;c=c-d&-4;b=c+e|0;J[b-4>>2]=a;if(c>>>0<9){break a}J[e+8>>2]=a;J[e+4>>2]=a;J[b-8>>2]=a;J[b-12>>2]=a;if(c>>>0<25){break a}J[e+24>>2]=a;J[e+20>>2]=a;J[e+16>>2]=a;J[e+12>>2]=a;J[b-16>>2]=a;J[b-20>>2]=a;J[b-24>>2]=a;J[b-28>>2]=a;b=e&4|24;c=c-b|0;if(c>>>0<32){break a}a=Bl(a,0,1,1);d=Fa;b=b+e|0;while(1){J[b+24>>2]=a;J[b+28>>2]=d;J[b+16>>2]=a;J[b+20>>2]=d;J[b+8>>2]=a;J[b+12>>2]=d;J[b>>2]=a;J[b+4>>2]=d;b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}}function _g(a){a=a|0;var b=0,c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0);b=J[a+52>>2];f=N[b+20>>2];g=Q(N[a+76>>2]-N[b+28>>2]);i=N[b+24>>2];j=Q(N[a+80>>2]-N[b+32>>2]);k=Q(Q(f*g)+Q(i*j));c=J[a+48>>2];d=N[c+20>>2];l=Q(N[a+68>>2]-N[c+28>>2]);e=N[c+24>>2];m=Q(N[a+72>>2]-N[c+32>>2]);n=Q(Q(d*l)+Q(e*m));o=N[a+84>>2];p=N[a+88>>2];q=Q(Q(e*o)-Q(p*d));h=N[c+72>>2];f=Q(Q(i*g)-Q(j*f));g=Q(Q(e*l)-Q(m*d));d=Q(Q(d*o)+Q(e*p));e=N[b+72>>2];return Q(Q(Q(Q(Q(Q(k+N[b+48>>2])-Q(n+N[c+48>>2]))*Q(q*h))-Q(Q(Q(f+N[b+44>>2])-Q(g+N[c+44>>2]))*Q(d*h)))+Q(Q(q*Q(Q(n*h)+Q(Q(N[b+64>>2]-Q(k*e))-N[c+64>>2])))+Q(d*Q(Q(Q(N[b+68>>2]+Q(f*e))-N[c+68>>2])-Q(g*h))))))}function qk(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=0,i=Q(0),j=Q(0);if(!(K[J[a+88>>2]+102989|0]|J[a>>2]!=2)){J[a+124>>2]=0;J[a+128>>2]=0;c=N[b>>2];c=c<=Q(0)?Q(1):c;N[a+116>>2]=c;N[a+120>>2]=Q(1)/c;e=N[b+12>>2];if(!(!(e>Q(0))|K[a+4|0]&16)){f=c;c=N[b+4>>2];d=Q(c*c);c=N[b+8>>2];c=Q(e-Q(f*Q(d+Q(c*c))));N[a+124>>2]=c;N[a+128>>2]=Q(1)/c}f=N[b+8>>2];h=J[b+8>>2];c=N[b+4>>2];b=J[b+4>>2];J[a+28>>2]=b;J[a+32>>2]=h;i=N[a+48>>2];d=N[a+20>>2];g=N[a+24>>2];e=Q(Q(Q(d*c)+Q(g*f))+N[a+16>>2]);N[a+48>>2]=e;j=N[a+44>>2];c=Q(N[a+12>>2]+Q(Q(g*c)-Q(f*d)));N[a+44>>2]=c;N[a+40>>2]=e;N[a+36>>2]=c;d=N[a+72>>2];N[a+64>>2]=N[a+64>>2]-Q(d*Q(e-i));N[a+68>>2]=Q(d*Q(c-j))+N[a+68>>2]}}function vg(a){a=a|0;var b=0,c=Q(0),d=0,e=0;b=Ea-208|0;Ea=b;d=J[J[a+52>>2]+8>>2];e=J[J[a+48>>2]+8>>2];Ra(8018,0);J[b+192>>2]=e;Ra(8280,b+192|0);J[b+176>>2]=d;Ra(8254,b+176|0);J[b+160>>2]=K[a+61|0];Ra(9470,b+160|0);c=N[a+68>>2];O[b+152>>3]=N[a+72>>2];O[b+144>>3]=c;Ra(8781,b+144|0);c=N[a+76>>2];O[b+136>>3]=N[a+80>>2];O[b+128>>3]=c;Ra(8656,b+128|0);O[b+112>>3]=N[a+116>>2];Ra(7577,b+112|0);J[b+96>>2]=K[a+112|0];Ra(9271,b+96|0);O[b+80>>3]=N[a+120>>2];Ra(7521,b+80|0);O[b+64>>3]=N[a+124>>2];Ra(7549,b- -64|0);J[b+48>>2]=K[a+100|0];Ra(9326,b+48|0);O[b+32>>3]=N[a+108>>2];Ra(7696,b+32|0);O[b+16>>3]=N[a+104>>2];Ra(7466,b+16|0);J[b>>2]=J[a+56>>2];Ra(9071,b);Ea=b+208|0}function _f(a){a=a|0;var b=0,c=Q(0),d=0,e=0;b=Ea-192|0;Ea=b;d=J[J[a+52>>2]+8>>2];e=J[J[a+48>>2]+8>>2];Ra(7995,0);J[b+176>>2]=e;Ra(8280,b+176|0);J[b+160>>2]=d;Ra(8254,b+160|0);J[b+144>>2]=K[a+61|0];Ra(9470,b+144|0);c=N[a+76>>2];O[b+136>>3]=N[a+80>>2];O[b+128>>3]=c;Ra(8781,b+128|0);c=N[a+84>>2];O[b+120>>3]=N[a+88>>2];O[b+112>>3]=c;Ra(8656,b+112|0);c=N[a+92>>2];O[b+104>>3]=N[a+96>>2];O[b+96>>3]=c;Ra(8741,b+96|0);J[b+80>>2]=K[a+128|0];Ra(9326,b+80|0);O[b+64>>3]=N[a+124>>2];Ra(7696,b- -64|0);O[b+48>>3]=N[a+120>>2];Ra(7466,b+48|0);O[b+32>>3]=N[a+68>>2];Ra(6960,b+32|0);O[b+16>>3]=N[a+72>>2];Ra(7168,b+16|0);J[b>>2]=J[a+56>>2];Ra(9071,b);Ea=b+192|0}function ti(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if(K[J[a+88>>2]+102989|0]|J[a>>2]==(b|0)){break a}J[a>>2]=b;Hb(a);if(!J[a>>2]){J[a+72>>2]=0;J[a+64>>2]=0;J[a+68>>2]=0;N[a+52>>2]=N[a+56>>2];b=J[a+48>>2];J[a+36>>2]=J[a+44>>2];J[a+40>>2]=b;wc(a)}J[a+144>>2]=0;J[a+84>>2]=0;J[a+76>>2]=0;J[a+80>>2]=0;I[a+4>>1]=L[a+4>>1]|2;b=J[a+112>>2];if(b){while(1){c=J[b+12>>2];Gb(J[a+88>>2]+102868|0,J[b+4>>2]);b=c;if(b){continue}break}}J[a+112>>2]=0;c=J[a+100>>2];if(!c){break a}a=J[a+88>>2]+102868|0;while(1){d=J[c+28>>2];if((d|0)>0){b=0;while(1){Dd(a,J[(J[c+24>>2]+P(b,28)|0)+24>>2]);b=b+1|0;if((d|0)!=(b|0)){continue}break}}c=J[c+4>>2];if(c){continue}break}}}function Lg(a){a=a|0;var b=0,c=Q(0),d=0,e=0;b=Ea-176|0;Ea=b;d=J[J[a+52>>2]+8>>2];e=J[J[a+48>>2]+8>>2];Ra(7900,0);J[b+160>>2]=e;Ra(8280,b+160|0);J[b+144>>2]=d;Ra(8254,b+144|0);J[b+128>>2]=K[a+61|0];Ra(9470,b+128|0);c=N[a+68>>2];O[b+120>>3]=N[a+72>>2];O[b+112>>3]=c;Ra(8823,b+112|0);c=N[a+76>>2];O[b+104>>3]=N[a+80>>2];O[b+96>>3]=c;Ra(8698,b+96|0);c=N[a+92>>2];O[b+88>>3]=N[a+96>>2];O[b+80>>3]=c;Ra(8781,b+80|0);c=N[a+100>>2];O[b+72>>3]=N[a+104>>2];O[b+64>>3]=c;Ra(8656,b- -64|0);O[b+48>>3]=N[a+84>>2];Ra(7749,b+48|0);O[b+32>>3]=N[a+88>>2];Ra(7724,b+32|0);O[b+16>>3]=N[a+112>>2];Ra(7145,b+16|0);J[b>>2]=J[a+56>>2];Ra(9071,b);Ea=b+176|0}function ni(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=Q(0),f=0,g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0);f=J[J[a+48>>2]+12>>2];a=J[J[a+52>>2]+12>>2];J[b+60>>2]=0;e=N[d+12>>2];g=N[a+12>>2];h=N[a+16>>2];i=N[d+8>>2];j=N[c+12>>2];k=N[f+12>>2];l=N[f+16>>2];m=N[c+8>>2];n=Q(Q(N[d>>2]+Q(Q(e*g)-Q(h*i)))-Q(N[c>>2]+Q(Q(j*k)-Q(l*m))));e=Q(Q(Q(Q(i*g)+Q(e*h))+N[d+4>>2])-Q(Q(Q(m*k)+Q(j*l))+N[c+4>>2]));g=Q(Q(n*n)+Q(e*e));e=Q(N[f+8>>2]+N[a+8>>2]);if(!(g>Q(e*e))){J[b+56>>2]=0;c=J[f+12>>2];d=J[f+16>>2];J[b+60>>2]=1;J[b+40>>2]=0;J[b+44>>2]=0;J[b+48>>2]=c;J[b+52>>2]=d;c=J[a+12>>2];a=J[a+16>>2];J[b+16>>2]=0;J[b>>2]=c;J[b+4>>2]=a}}function Tb(a,b,c){var d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0);l=N[b+8>>2];g=N[b+12>>2];h=N[b+28>>2];i=N[b+24>>2];d=N[b+16>>2];p=Q(Q(g*h)-Q(i*d));m=N[b>>2];j=N[b+32>>2];k=N[b+20>>2];q=Q(Q(d*j)-Q(h*k));n=N[b+4>>2];r=Q(Q(k*i)-Q(j*g));e=Q(Q(l*p)+Q(Q(m*q)+Q(n*r)));o=e!=Q(0)?Q(Q(1)/e):e;e=N[c+4>>2];f=N[c>>2];s=Q(l*Q(Q(g*e)-Q(f*d)));t=d;d=N[c+8>>2];N[a+8>>2]=o*Q(s+Q(Q(m*Q(Q(t*d)-Q(e*k)))+Q(n*Q(Q(k*f)-Q(d*g)))));N[a+4>>2]=o*Q(Q(l*Q(Q(f*h)-Q(i*e)))+Q(Q(m*Q(Q(e*j)-Q(h*d)))+Q(n*Q(Q(d*i)-Q(j*f)))));N[a>>2]=o*Q(Q(d*p)+Q(Q(f*q)+Q(r*e)))}function Hd(a){var b=0,c=0,d=0;b=J[a+4>>2];c=J[a+16>>2];if((c|0)==-1){c=J[a+12>>2];J[a+12>>2]=c<<1;c=db(P(c,80));J[a+4>>2]=c;Xa(c,b,P(J[a+8>>2],40));Va(b);c=J[a+4>>2];b=J[a+8>>2];d=J[a+12>>2]-1|0;if((b|0)<(d|0)){while(1){d=P(b,40);b=b+1|0;J[(d+c|0)+20>>2]=b;c=J[a+4>>2];J[(d+c|0)+32>>2]=-1;d=J[a+12>>2]-1|0;if((d|0)>(b|0)){continue}break}}J[(P(d,40)+c|0)+20>>2]=-1;b=J[a+4>>2];J[(b+P(J[a+12>>2],40)|0)-8>>2]=-1;c=J[a+8>>2];J[a+16>>2]=c}d=b;b=P(c,40);d=d+b|0;J[a+16>>2]=J[d+20>>2];J[d+20>>2]=-1;b=b+J[a+4>>2]|0;J[b+32>>2]=0;J[b+24>>2]=-1;J[b+28>>2]=-1;H[b+36|0]=0;J[b+16>>2]=0;J[a+8>>2]=J[a+8>>2]+1;return c}function td(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=Q(0);d=J[a+12>>2];d=Ga[J[J[d>>2]+12>>2]](d)|0;J[a+28>>2]=d;if((d|0)>0){while(1){e=J[a+12>>2];d=J[a+24>>2]+P(g,28)|0;Ga[J[J[e>>2]+24>>2]](e,d,c,g);e=Hd(b);i=N[d>>2];f=P(e,40);h=f+J[b+4>>2]|0;N[h+4>>2]=N[d+4>>2]+Q(-.10000000149011612);N[h>>2]=i+Q(-.10000000149011612);i=N[d+12>>2];h=f+J[b+4>>2]|0;N[h+8>>2]=N[d+8>>2]+Q(.10000000149011612);N[h+12>>2]=i+Q(.10000000149011612);f=f+J[b+4>>2]|0;H[f+36|0]=1;J[f+32>>2]=0;J[f+16>>2]=d;Gd(b,e);J[b+28>>2]=J[b+28>>2]+1;xc(b,e);J[d+20>>2]=g;J[d+16>>2]=a;J[d+24>>2]=e;g=g+1|0;if((g|0)>2]){continue}break}}}function Ya(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(!b){return 0}if((b|0)>=641){return db(b)}d=K[b+23476|0];e=(d<<2)+a|0;b=J[e+12>>2];if(b){J[e+12>>2]=J[b>>2];return b}b=J[a+4>>2];if((b|0)==J[a+8>>2]){c=b+128|0;J[a+8>>2]=c;b=J[a>>2];c=db(c<<3);J[a>>2]=c;Xa(c,b,J[a+4>>2]<<3);sb(J[a>>2]+(J[a+4>>2]<<3)|0,0,1024);Va(b);b=J[a+4>>2]}f=J[a>>2]+(b<<3)|0;c=db(16384);J[f+4>>2]=c;d=J[(d<<2)+12496>>2];J[f>>2]=d;b=16384/(d|0)|0;g=b-1|0;if((b|0)>1){b=0;while(1){h=c+P(b,d)|0;b=b+1|0;J[h>>2]=c+P(d,b);if((b|0)!=(g|0)){continue}break}}J[c+P(d,g)>>2]=0;J[e+12>>2]=J[c>>2];J[a+4>>2]=J[a+4>>2]+1;return J[f+4>>2]}function uf(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(Za(a,J[b+8>>2],f)){jc(b,c,d,e);return}g=K[b+53|0];j=J[a+12>>2];H[b+53|0]=0;h=K[b+52|0];H[b+52|0]=0;m=a+16|0;ic(m,b,c,d,e,f);k=K[b+53|0];g=g|k;l=K[b+52|0];h=h|l;i=a+24|0;j=(j<<3)+m|0;a:{if(i>>>0>=j>>>0){break a}while(1){if(K[b+54|0]){break a}b:{if(l){if(J[b+24>>2]==1){break a}if(K[a+8|0]&2){break b}break a}if(!k){break b}if(!(H[a+8|0]&1)){break a}}I[b+52>>1]=0;ic(i,b,c,d,e,f);k=K[b+53|0];g=k|g;l=K[b+52|0];h=l|h;i=i+8|0;if(j>>>0>i>>>0){continue}break}}H[b+53|0]=(g&255)!=0;H[b+52|0]=(h&255)!=0}function zi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=0,q=Q(0);j=N[c+8>>2];f=N[a+20>>2];k=N[c+12>>2];e=N[a+24>>2];n=N[c+4>>2];h=Q(Q(Q(j*f)+Q(k*e))+n);o=N[c>>2];i=Q(o+Q(Q(k*f)-Q(e*j)));c=1;p=J[a+148>>2];a:{if((p|0)<=1){f=i;e=h;break a}m=Q(-j);e=h;f=i;while(1){d=(c<<3)+a|0;q=N[d+20>>2];g=N[d+24>>2];l=Q(n+Q(Q(j*q)+Q(k*g)));e=e>l?e:l;g=Q(o+Q(Q(k*q)+Q(g*m)));f=f>g?f:g;h=h>2];N[b+12>>2]=m+e;N[b+8>>2]=f+e;N[b+4>>2]=h-e;N[b>>2]=i-e}function Vb(a,b,c,d,e){var f=Q(0),g=Q(0),h=Q(0),i=0,j=0,k=0,l=Q(0),m=Q(0);f=N[c>>2];g=N[c+4>>2];h=Q(Q(Q(f*N[b+12>>2])+Q(g*N[b+16>>2]))-d);c=0;d=Q(Q(Q(f*N[b>>2])+Q(g*N[b+4>>2]))-d);if(d<=Q(0)){c=J[b+4>>2];J[a>>2]=J[b>>2];J[a+4>>2]=c;J[a+8>>2]=J[b+8>>2];c=1}if(h<=Q(0)){i=b+12|0;k=J[i+4>>2];j=P(c,12)+a|0;J[j>>2]=J[i>>2];J[j+4>>2]=k;J[j+8>>2]=J[i+8>>2];c=c+1|0}if(Q(d*h)>2];l=N[b+12>>2];g=N[b+4>>2];m=N[b+16>>2];a=P(c,12)+a|0;H[a+8|0]=e;d=Q(d/Q(d-h));N[a+4>>2]=g+Q(d*Q(m-g));N[a>>2]=f+Q(d*Q(l-f));b=K[b+9|0];I[a+10>>1]=256;H[a+9|0]=b;c=c+1|0}return c}function wf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(Za(a,J[b+8>>2],e)){if(!(J[b+28>>2]==1|J[b+4>>2]!=(c|0))){J[b+28>>2]=d}return}a:{if(Za(a,J[b>>2],e)){if(!(J[b+16>>2]!=(c|0)&J[b+20>>2]!=(c|0))){if((d|0)!=1){break a}J[b+32>>2]=1;return}J[b+32>>2]=d;b:{if(J[b+44>>2]==4){break b}I[b+52>>1]=0;a=J[a+8>>2];Ga[J[J[a>>2]+20>>2]](a,b,c,c,1,e);if(K[b+53|0]){J[b+44>>2]=3;if(!K[b+52|0]){break b}break a}J[b+44>>2]=4}J[b+20>>2]=c;J[b+40>>2]=J[b+40>>2]+1;if(J[b+36>>2]!=1|J[b+24>>2]!=2){break a}H[b+54|0]=1;return}a=J[a+8>>2];Ga[J[J[a>>2]+24>>2]](a,b,c,d,e)}}function Ad(a,b,c){var d=0,e=0,f=0,g=0;f=1;J[b+4>>2]=1;N[b+8>>2]=N[a+8>>2];e=c<<3;d=e+J[a+12>>2]|0;g=J[d+4>>2];J[b+12>>2]=J[d>>2];J[b+16>>2]=g;d=J[a+12>>2]+e|0;g=J[d+12>>2];J[b+20>>2]=J[d+8>>2];J[b+24>>2]=g;a:{if((c|0)>0){e=(J[a+12>>2]+e|0)-8|0;d=J[e+4>>2];J[b+28>>2]=J[e>>2];J[b+32>>2]=d;break a}f=J[a+24>>2];J[b+28>>2]=J[a+20>>2];J[b+32>>2]=f;f=K[a+36|0]}H[b+44|0]=f;b:{if((J[a+16>>2]-2|0)>(c|0)){a=J[a+12>>2]+(c<<3)|0;c=J[a+20>>2];J[b+36>>2]=J[a+16>>2];J[b+40>>2]=c;a=1;break b}c=J[a+32>>2];J[b+36>>2]=J[a+28>>2];J[b+40>>2]=c;a=K[a+37|0]}H[b+45|0]=a}function Ra(a,b){var c=0,d=0,e=0,f=0;d=Ea-16|0;Ea=d;J[d+12>>2]=b;c=Ea-208|0;Ea=c;J[c+204>>2]=b;b=c+160|0;sb(b,0,40);J[c+200>>2]=J[c+204>>2];a:{if((Wc(0,a,c+200|0,c+80|0,b)|0)<0){break a}f=J[5823]>=0;b=J[5804];if(J[5822]<=0){J[5804]=b&-33}b:{c:{d:{if(!J[5816]){J[5816]=80;J[5811]=0;J[5808]=0;J[5809]=0;e=J[5815];J[5815]=c;break d}if(J[5808]){break c}}if(Yc(23216)){break b}}Wc(23216,a,c+200|0,c+80|0,c+160|0)}if(e){Ga[J[5813]](23216,0,0)|0;J[5816]=0;J[5815]=e;J[5811]=0;J[5808]=0;J[5809]=0}J[5804]=J[5804]|b&32;if(!f){break a}}Ea=c+208|0;Ea=d+16|0}function ri(a,b,c){a=a|0;b=b|0;c=Q(c);var d=0,e=Q(0),f=Q(0),g=Q(0),h=0,i=Q(0),j=Q(0);d=J[a+88>>2];if(!K[d+102989|0]){f=Ta(c);N[a+24>>2]=f;g=Sa(c);N[a+20>>2]=g;j=N[b+4>>2];h=J[b+4>>2];e=N[b>>2];b=J[b>>2];J[a+12>>2]=b;J[a+16>>2]=h;N[a+56>>2]=c;N[a+52>>2]=c;c=N[a+28>>2];i=N[a+32>>2];e=Q(Q(Q(f*c)-Q(g*i))+e);N[a+44>>2]=e;N[a+36>>2]=e;c=Q(Q(Q(g*c)+Q(f*i))+j);N[a+48>>2]=c;N[a+40>>2]=c;b=J[a+100>>2];if(b){h=d+102868|0;d=a+12|0;while(1){qc(b,h,d,d);b=J[b+4>>2];if(b){continue}break}d=J[a+88>>2]}Sb(d+102868|0)}}function Le(a,b){a=a|0;b=b|0;var c=0,d=0;if(!(K[J[a+88>>2]+102989|0]|!b)){c=J[a+100>>2];a:{if(!c){break a}if((b|0)==(c|0)){d=a+100|0}else{while(1){d=c;c=J[c+4>>2];if(!c){break a}if((b|0)!=(c|0)){continue}break}d=d+4|0}J[d>>2]=J[b+4>>2]}c=J[a+112>>2];if(c){while(1){d=J[c+4>>2];c=J[c+12>>2];if(!(J[d+48>>2]!=(b|0)&J[d+52>>2]!=(b|0))){Gb(J[a+88>>2]+102868|0,d)}if(c){continue}break}}d=J[a+88>>2];if(K[a+4|0]&32){rc(b,d+102868|0)}J[b+4>>2]=0;J[b+8>>2]=0;sc(b,d);Bb(d,b,44);J[a+104>>2]=J[a+104>>2]-1;Hb(a)}}function $h(a){a=a|0;var b=0,c=Q(0),d=0,e=0;b=Ea-144|0;Ea=b;d=J[J[a+52>>2]+8>>2];e=J[J[a+48>>2]+8>>2];Ra(8066,0);J[b+128>>2]=e;Ra(8280,b+128|0);J[b+112>>2]=d;Ra(8254,b+112|0);J[b+96>>2]=K[a+61|0];Ra(9470,b+96|0);c=N[a+80>>2];O[b+88>>3]=N[a+84>>2];O[b+80>>3]=c;Ra(8781,b+80|0);c=N[a+88>>2];O[b+72>>3]=N[a+92>>2];O[b+64>>3]=c;Ra(8656,b- -64|0);O[b+48>>3]=N[a+104>>2];Ra(7325,b+48|0);O[b+32>>3]=N[a+68>>2];Ra(6960,b+32|0);O[b+16>>3]=N[a+72>>2];Ra(7168,b+16|0);J[b>>2]=J[a+56>>2];Ra(9071,b);Ea=b+144|0}function lg(a){a=a|0;var b=0,c=Q(0),d=0,e=0;b=Ea-144|0;Ea=b;d=J[J[a+52>>2]+8>>2];e=J[J[a+48>>2]+8>>2];Ra(8092,0);J[b+128>>2]=e;Ra(8280,b+128|0);J[b+112>>2]=d;Ra(8254,b+112|0);J[b+96>>2]=K[a+61|0];Ra(9470,b+96|0);c=N[a+80>>2];O[b+88>>3]=N[a+84>>2];O[b+80>>3]=c;Ra(8781,b+80|0);c=N[a+88>>2];O[b+72>>3]=N[a+92>>2];O[b+64>>3]=c;Ra(8656,b- -64|0);O[b+48>>3]=N[a+96>>2];Ra(7577,b+48|0);O[b+32>>3]=N[a+68>>2];Ra(6960,b+32|0);O[b+16>>3]=N[a+72>>2];Ra(7168,b+16|0);J[b>>2]=J[a+56>>2];Ra(9071,b);Ea=b+144|0}function Qi(a,b,c,d,e){a=a|0;b=b|0;c=Q(c);d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;g=Ea-16|0;Ea=g;N[g+12>>2]=c;h=J[a+12>>2];f=Ea-32|0;Ea=f;if(!(H[23444]&1)){a=ea(5,21136)|0;H[23444]=1;J[5860]=a}i=J[5860];a=Qa(8);j=J[b+4>>2];J[a>>2]=J[b>>2];J[a+4>>2]=j;J[f>>2]=a;N[f+8>>2]=N[g+12>>2];a=Qa(8);b=J[d+4>>2];J[a>>2]=J[d>>2];J[a+4>>2]=b;J[f+16>>2]=a;a=Qa(16);b=J[e+12>>2];J[a+8>>2]=J[e+8>>2];J[a+12>>2]=b;b=J[e+4>>2];J[a>>2]=J[e>>2];J[a+4>>2]=b;J[f+24>>2]=a;ka(i|0,h|0,4907,f|0);Ea=f+32|0;Ea=g+16|0}function Ci(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=Q(0),f=0,g=0,h=Q(0),i=Q(0),j=Q(0),k=Q(0);g=J[a+148>>2];d=1;a:{if((g|0)<=0){break a}e=N[b+12>>2];h=Q(N[c>>2]-N[b>>2]);i=Q(N[c+4>>2]-N[b+4>>2]);j=N[b+8>>2];k=Q(Q(e*h)+Q(i*j));e=Q(Q(e*i)-Q(j*h));d=0;if(Q(Q(N[a+84>>2]*Q(k-N[a+20>>2]))+Q(Q(e-N[a+24>>2])*N[a+88>>2]))>Q(0)){break a}while(1){f=f+1|0;if((g|0)!=(f|0)){b=(f<<3)+a|0;if(!(Q(Q(N[b+84>>2]*Q(k-N[b+20>>2]))+Q(Q(e-N[b+24>>2])*N[b+88>>2]))>Q(0))){continue}}break}d=(f|0)>=(g|0)}return d|0}function wc(a){var b=0,c=0,d=Q(0),e=Q(0),f=0,g=Q(0),h=Q(0),i=Q(0);c=Ea-16|0;Ea=c;f=J[a+88>>2]+102868|0;a:{if(K[a+4|0]&2){d=N[a+52>>2];e=Ta(d);N[c+12>>2]=e;d=Sa(d);N[c+8>>2]=d;i=N[a+36>>2];g=N[a+28>>2];h=N[a+32>>2];N[c+4>>2]=N[a+40>>2]-Q(Q(d*g)+Q(e*h));N[c>>2]=i-Q(Q(e*g)-Q(h*d));b=J[a+100>>2];if(!b){break a}a=a+12|0;while(1){qc(b,f,c,a);b=J[b+4>>2];if(b){continue}break}break a}b=J[a+100>>2];if(!b){break a}a=a+12|0;while(1){qc(b,f,a,a);b=J[b+4>>2];if(b){continue}break}}Ea=c+16|0}function wh(a){a=a|0;var b=0,c=0,d=0,e=Q(0);b=Ea-144|0;Ea=b;c=J[J[a+52>>2]+8>>2];d=J[J[a+48>>2]+8>>2];Ra(7924,0);J[b+128>>2]=d;Ra(8280,b+128|0);J[b+112>>2]=c;Ra(8254,b+112|0);J[b+96>>2]=K[a+61|0];Ra(9470,b+96|0);e=N[a+68>>2];O[b+88>>3]=N[a+72>>2];O[b+80>>3]=e;Ra(8503,b+80|0);O[b+64>>3]=N[a+76>>2];Ra(7049,b- -64|0);O[b+48>>3]=N[a+92>>2];Ra(7639,b+48|0);O[b+32>>3]=N[a+96>>2];Ra(7439,b+32|0);O[b+16>>3]=N[a+100>>2];Ra(7111,b+16|0);J[b>>2]=J[a+56>>2];Ra(9071,b);Ea=b+144|0}function rc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(J[a+28>>2]>0){while(1){g=J[a+24>>2]+P(e,28)|0;d=J[g+24>>2];c=0;f=J[b+40>>2];if((f|0)>0){i=J[b+32>>2];while(1){h=(c<<2)+i|0;if(J[h>>2]==(d|0)){J[h>>2]=-1;f=J[b+40>>2]}c=c+1|0;if((f|0)>(c|0)){continue}break}}J[b+28>>2]=J[b+28>>2]-1;Ed(b,d);c=P(d,40);J[(c+J[b+4>>2]|0)+20>>2]=J[b+16>>2];J[(c+J[b+4>>2]|0)+32>>2]=-1;J[b+16>>2]=d;J[b+8>>2]=J[b+8>>2]-1;J[g+24>>2]=-1;e=e+1|0;if((e|0)>2]){continue}break}}J[a+28>>2]=0}function qi(a,b){a=a|0;b=b|0;var c=0,d=0;c=L[a+4>>1];if(((c&32)>>>5|0)!=(b|0)){if(b){I[a+4>>1]=c|32;c=J[a+88>>2];b=J[a+100>>2];if(b){c=c+102868|0;d=a+12|0;while(1){td(b,c,d);b=J[b+4>>2];if(b){continue}break}c=J[a+88>>2]}H[c+102988|0]=1;return}I[a+4>>1]=c&65503;b=J[a+100>>2];if(b){c=J[a+88>>2]+102868|0;while(1){rc(b,c);b=J[b+4>>2];if(b){continue}break}}b=J[a+112>>2];if(b){while(1){c=J[b+12>>2];Gb(J[a+88>>2]+102868|0,J[b+4>>2]);b=c;if(b){continue}break}}J[a+112>>2]=0}}function Rc(a,b){if(!a){return 0}a:{b:{if(a){if(b>>>0<=127){break b}c:{if(!J[J[6389]>>2]){if((b&-128)==57216){break b}break c}if(b>>>0<=2047){H[a+1|0]=b&63|128;H[a|0]=b>>>6|192;a=2;break a}if(!((b&-8192)!=57344&b>>>0>=55296)){H[a+2|0]=b&63|128;H[a|0]=b>>>12|224;H[a+1|0]=b>>>6&63|128;a=3;break a}if(b-65536>>>0<=1048575){H[a+3|0]=b&63|128;H[a|0]=b>>>18|240;H[a+2|0]=b>>>6&63|128;H[a+1|0]=b>>>12&63|128;a=4;break a}}J[6350]=25;a=-1}else{a=1}break a}H[a|0]=b;a=1}return a}function cj(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=Q(e);var f=0,g=0,h=0,i=0,j=0;f=Ea-16|0;Ea=f;N[f+8>>2]=e;J[f+12>>2]=b;g=J[a+8>>2];a=Ea-48|0;Ea=a;if(!(H[23404]&1)){b=ea(5,20416)|0;H[23404]=1;J[5850]=b}h=J[5850];J[a+16>>2]=J[f+12>>2];b=Qa(8);i=J[c+4>>2];J[b>>2]=J[c>>2];J[b+4>>2]=i;J[a+24>>2]=b;b=Qa(8);c=J[d+4>>2];J[b>>2]=J[d>>2];J[b+4>>2]=c;J[a+32>>2]=b;N[a+40>>2]=N[f+8>>2];j=+va(h|0,g|0,4589,a+12|0,a+16|0);ta(J[a+12>>2]);Ea=a+48|0;Ea=f+16|0;return Q(Q(j))}function Nh(a){a=a|0;var b=0,c=Q(0),d=0,e=0;b=Ea-128|0;Ea=b;d=J[J[a+52>>2]+8>>2];e=J[J[a+48>>2]+8>>2];Ra(7969,0);J[b+112>>2]=e;Ra(8280,b+112|0);J[b+96>>2]=d;Ra(8254,b+96|0);J[b+80>>2]=K[a+61|0];Ra(9470,b+80|0);c=N[a+68>>2];O[b+72>>3]=N[a+72>>2];O[b+64>>3]=c;Ra(8781,b- -64|0);c=N[a+76>>2];O[b+56>>3]=N[a+80>>2];O[b+48>>3]=c;Ra(8656,b+48|0);O[b+32>>3]=N[a+96>>2];Ra(7639,b+32|0);O[b+16>>3]=N[a+100>>2];Ra(7439,b+16|0);J[b>>2]=J[a+56>>2];Ra(9071,b);Ea=b+128|0}function Yi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=Ea-16|0;Ea=f;J[f+8>>2]=c;J[f+12>>2]=b;g=a+16|0;d=J[g>>2];a:{if(!d){break a}h=J[b+48>>2];e=g;c=d;while(1){i=M[c+16>>2]>>0;e=i?e:c;c=J[(i?c+4|0:c)>>2];if(c){continue}break}if(!((e|0)!=(g|0)&M[e+16>>2]<=h>>>0)){b=J[b+52>>2];c=g;while(1){e=b>>>0>M[d+16>>2];c=e?c:d;d=J[(e?d+4|0:d)>>2];if(d){continue}break}if((c|0)==(g|0)|b>>>0>2]){break a}}Rd(J[a+8>>2],4143,f+12|0,f+8|0)}Ea=f+16|0}function Xi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=Ea-16|0;Ea=f;J[f+8>>2]=c;J[f+12>>2]=b;g=a+16|0;d=J[g>>2];a:{if(!d){break a}h=J[b+48>>2];e=g;c=d;while(1){i=M[c+16>>2]>>0;e=i?e:c;c=J[(i?c+4|0:c)>>2];if(c){continue}break}if(!((e|0)!=(g|0)&M[e+16>>2]<=h>>>0)){b=J[b+52>>2];c=g;while(1){e=b>>>0>M[d+16>>2];c=e?c:d;d=J[(e?d+4|0:d)>>2];if(d){continue}break}if((c|0)==(g|0)|b>>>0>2]){break a}}Rd(J[a+8>>2],4133,f+12|0,f+8|0)}Ea=f+16|0}function eg(a){a=a|0;var b=0,c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0);b=J[a+52>>2];f=N[b+24>>2];c=J[a+48>>2];d=N[c+24>>2];g=N[a+84>>2];h=N[a+88>>2];i=N[b+20>>2];j=N[a+76>>2];k=N[a+80>>2];e=N[c+20>>2];l=N[a+92>>2];m=N[a+96>>2];return Q(Q(Q(Q(Q(N[b+12>>2]+Q(Q(f*g)-Q(h*i)))-Q(N[c+12>>2]+Q(Q(d*j)-Q(k*e))))*Q(Q(d*l)-Q(m*e)))+Q(Q(Q(Q(Q(i*g)+Q(f*h))+N[b+16>>2])-Q(Q(Q(e*j)+Q(d*k))+N[c+16>>2]))*Q(Q(e*l)+Q(d*m)))))}function $g(a){a=a|0;var b=0,c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0);b=J[a+52>>2];f=N[b+24>>2];c=J[a+48>>2];d=N[c+24>>2];g=N[a+76>>2];h=N[a+80>>2];i=N[b+20>>2];j=N[a+68>>2];k=N[a+72>>2];e=N[c+20>>2];l=N[a+84>>2];m=N[a+88>>2];return Q(Q(Q(Q(Q(N[b+12>>2]+Q(Q(f*g)-Q(h*i)))-Q(N[c+12>>2]+Q(Q(d*j)-Q(k*e))))*Q(Q(d*l)-Q(m*e)))+Q(Q(Q(Q(Q(i*g)+Q(f*h))+N[b+16>>2])-Q(Q(Q(e*j)+Q(d*k))+N[c+16>>2]))*Q(Q(e*l)+Q(d*m)))))}function _i(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=Ea-16|0;Ea=g;J[g+12>>2]=b;f=a+16|0;d=J[f>>2];a:{if(!d){break a}h=J[b+48>>2];e=f;c=d;while(1){i=M[c+16>>2]>>0;e=i?e:c;c=J[(i?c+4|0:c)>>2];if(c){continue}break}if(!((e|0)!=(f|0)&M[e+16>>2]<=h>>>0)){e=J[b+52>>2];c=f;while(1){b=e>>>0>M[d+16>>2];c=b?c:d;b=J[(b?d+4|0:d)>>2];d=b;if(b){continue}break}if((c|0)==(f|0)|e>>>0>2]){break a}}Sd(J[a+8>>2],2255,g+12|0)}Ea=g+16|0}function Zi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=Ea-16|0;Ea=g;J[g+12>>2]=b;f=a+16|0;d=J[f>>2];a:{if(!d){break a}h=J[b+48>>2];e=f;c=d;while(1){i=M[c+16>>2]>>0;e=i?e:c;c=J[(i?c+4|0:c)>>2];if(c){continue}break}if(!((e|0)!=(f|0)&M[e+16>>2]<=h>>>0)){e=J[b+52>>2];c=f;while(1){b=e>>>0>M[d+16>>2];c=b?c:d;b=J[(b?d+4|0:d)>>2];d=b;if(b){continue}break}if((c|0)==(f|0)|e>>>0>2]){break a}}Sd(J[a+8>>2],2268,g+12|0)}Ea=g+16|0}function Pi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;g=J[a+12>>2];e=Ea-32|0;Ea=e;if(!(H[23452]&1)){a=ea(4,21168)|0;H[23452]=1;J[5862]=a}h=J[5862];a=Qa(8);f=J[b+4>>2];J[a>>2]=J[b>>2];J[a+4>>2]=f;b=e+8|0;J[b>>2]=a;a=Qa(8);f=J[c+4>>2];J[a>>2]=J[c>>2];J[a+4>>2]=f;J[b+8>>2]=a;a=Qa(16);c=J[d+12>>2];J[a+8>>2]=J[d+8>>2];J[a+12>>2]=c;c=J[d+4>>2];J[a>>2]=J[d>>2];J[a+4>>2]=c;J[b+16>>2]=a;ka(h|0,g|0,1994,b|0);Ea=e+32|0}function qg(a){a=a|0;var b=0,c=Q(0),d=0,e=0;b=Ea-112|0;Ea=b;d=J[J[a+52>>2]+8>>2];e=J[J[a+48>>2]+8>>2];Ra(8044,0);J[b+96>>2]=e;Ra(8280,b+96|0);J[b+80>>2]=d;Ra(8254,b+80|0);J[b+64>>2]=K[a+61|0];Ra(9470,b- -64|0);c=N[a+68>>2];O[b+56>>3]=N[a+72>>2];O[b+48>>3]=c;Ra(8781,b+48|0);c=N[a+76>>2];O[b+40>>3]=N[a+80>>2];O[b+32>>3]=c;Ra(8656,b+32|0);O[b+16>>3]=N[a+84>>2];Ra(7349,b+16|0);J[b>>2]=J[a+56>>2];Ra(9071,b);Ea=b+112|0}function cd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Ea-32|0;Ea=d;if(!(!J[a+4>>2]|J[a+36>>2]<=0)){while(1){j=J[J[a+12>>2]+(e<<2)>>2];g=P(e,156)+b|0;f=J[g+148>>2];J[d+28>>2]=f;c=0;if((f|0)>0){while(1){h=(d+12|0)+(c<<2)|0;i=P(c,36)+g|0;N[h>>2]=N[i+16>>2];N[h+8>>2]=N[i+20>>2];c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=J[a+4>>2];Ga[J[J[c>>2]+20>>2]](c,j,d+12|0);e=e+1|0;if((e|0)>2]){continue}break}}Ea=d+32|0}function ji(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0);k=N[c>>2];h=N[a+8>>2];e=N[c+8>>2];f=N[a+12>>2];i=N[c+12>>2];l=N[a+16>>2];g=N[c+4>>2];j=Q(Q(Q(e*f)+Q(i*l))+g);m=N[a+20>>2];n=N[a+24>>2];g=Q(g+Q(Q(e*m)+Q(i*n)));N[b+12>>2]=h+(g>2]=h+(e>2]=(g>j?j:g)-h;N[b>>2]=(e>f?f:e)-h}function Ub(a,b,c){var d=0,e=0;a:{b:{c:{d:{switch(J[b+4>>2]){case 0:J[a+16>>2]=b+12;c=1;break b;case 2:J[a+16>>2]=b+20;c=J[b+148>>2];break b;case 3:d=J[b+12>>2]+(c<<3)|0;e=J[d+4>>2];J[a>>2]=J[d>>2];J[a+4>>2]=e;c=c+1|0;c=J[b+12>>2]+(((c|0)>2]?c:0)<<3)|0;d=J[c+4>>2];J[a+8>>2]=J[c>>2];J[a+12>>2]=d;J[a+16>>2]=a;break c;case 1:break d;default:break a}}J[a+16>>2]=b+12}c=2}J[a+20>>2]=c;N[a+24>>2]=N[b+8>>2]}}function sc(a,b){var c=0,d=0;c=J[a+12>>2];c=Ga[J[J[c>>2]+12>>2]](c)|0;Bb(b,J[a+24>>2],P(c,28));J[a+24>>2]=0;a:{b:{c:{d:{e:{f:{c=J[a+12>>2];switch(J[c+4>>2]){case 3:break c;case 2:break d;case 1:break e;case 0:break f;default:break a}}Ga[J[J[c>>2]>>2]](c)|0;d=20;break b}Ga[J[J[c>>2]>>2]](c)|0;d=48;break b}Ga[J[J[c>>2]>>2]](c)|0;d=152;break b}Ga[J[J[c>>2]>>2]](c)|0;d=40}Bb(b,c,d)}J[a+12>>2]=0}function Qh(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=Ea-112|0;Ea=b;c=J[J[a+72>>2]+56>>2];d=J[J[a+68>>2]+56>>2];e=J[J[a+52>>2]+8>>2];f=J[J[a+48>>2]+8>>2];Ra(7947,0);J[b+96>>2]=f;Ra(8280,b+96|0);J[b+80>>2]=e;Ra(8254,b+80|0);J[b+64>>2]=K[a+61|0];Ra(9470,b- -64|0);J[b+48>>2]=d;Ra(8227,b+48|0);J[b+32>>2]=c;Ra(8200,b+32|0);O[b+16>>3]=N[a+152>>2];Ra(7145,b+16|0);J[b>>2]=J[a+56>>2];Ra(9071,b);Ea=b+112|0}function ab(a,b,c){var d=0,e=0,f=0;if(!(K[a|0]&32)){a:{d=b;b=a;a=J[b+16>>2];b:{if(!a){if(Yc(b)){break b}a=J[b+16>>2]}f=J[b+20>>2];if(a-f>>>0>>0){Ga[J[b+36>>2]](b,d,c)|0;break a}c:{if(J[b+80>>2]<0){break c}a=c;while(1){e=a;if(!a){break c}a=e-1|0;if(K[d+a|0]!=10){continue}break}if(Ga[J[b+36>>2]](b,d,e)>>>0>>0){break b}d=d+e|0;c=c-e|0;f=J[b+20>>2]}Xa(f,d,c);J[b+20>>2]=J[b+20>>2]+c}}}}function Hj(){var a=0;a=Qa(64);J[a+4>>2]=0;J[a+8>>2]=0;J[a>>2]=1;J[a+56>>2]=0;J[a+60>>2]=0;J[a+20>>2]=0;J[a+24>>2]=0;J[a+44>>2]=0;J[a+48>>2]=0;H[a+9|0]=0;H[a+10|0]=0;H[a+11|0]=0;H[a+12|0]=0;H[a+13|0]=0;H[a+14|0]=0;H[a+15|0]=0;H[a+16|0]=0;J[a+28>>2]=0;J[a+32>>2]=0;H[a+33|0]=0;H[a+34|0]=0;H[a+35|0]=0;H[a+36|0]=0;H[a+37|0]=0;H[a+38|0]=0;H[a+39|0]=0;H[a+40|0]=0;H[a+52|0]=0;return a|0}function Tk(a){a=a|0;var b=0,c=0,d=0;if(a){b=a;c=J[a+102948>>2];if(c){while(1){a=J[c+100>>2];c=J[c+96>>2];if(a){while(1){J[a+28>>2]=0;d=J[a+4>>2];sc(a,b);a=d;if(a){continue}break}}if(c){continue}break}}a=b+102868|0;Va(J[a+32>>2]);Va(J[a+44>>2]);Va(J[a+4>>2]);a=0;if(J[b+4>>2]>0){while(1){Va(J[(J[b>>2]+(a<<3)|0)+4>>2]);a=a+1|0;if((a|0)>2]){continue}break}}Va(J[b>>2]);Va(b)}}function vk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=Q(0),f=0,g=Q(0);a:{if(J[a>>2]!=2){break a}f=!d;d=L[a+4>>1];if(!(f|d&2)){J[a+144>>2]=0;d=d|2;I[a+4>>1]=d}if(!(d&2)){break a}g=N[b+4>>2];e=N[a+120>>2];N[a+64>>2]=Q(e*N[b>>2])+N[a+64>>2];N[a+68>>2]=Q(e*g)+N[a+68>>2];N[a+72>>2]=Q(N[a+128>>2]*Q(Q(Q(N[c>>2]-N[a+44>>2])*N[b+4>>2])-Q(N[b>>2]*Q(N[c+4>>2]-N[a+48>>2]))))+N[a+72>>2]}}function Nf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=J[c+8>>2];e=J[b+8>>2];if(!(J[a>>2]|J[e>>2])){return 0}a=J[a+108>>2];a:{if(a){while(1){d=0;if(!(K[J[a+4>>2]+61|0]|(e|0)!=J[a>>2])){break a}a=J[a+12>>2];if(a){continue}break}}d=1}if(d){a=I[b+36>>1];if(!(!a|L[c+36>>1]!=(a&65535))){return(a|0)>0|0}a=(L[c+32>>1]&L[b+34>>1])!=0&(L[c+34>>1]&L[b+32>>1])!=0}else{a=0}return a|0}function Mf(a){a=a|0;var b=0,c=0,d=0;a:{b:{c:{c=J[a+4>>2];a=c;if(!(a&3)){break c}b=0;if(!K[c|0]){break a}while(1){a=a+1|0;if(!(a&3)){break c}if(K[a|0]){continue}break}break b}while(1){b=a;a=a+4|0;d=J[b>>2];if(!((d^-1)&d-16843009&-2139062144)){continue}break}while(1){a=b;b=a+1|0;if(K[a|0]){continue}break}}b=a-c|0}a=b+1|0;b=db(a);if(b){a=Xa(b,c,a)}else{a=0}return a|0}function vf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(Za(a,J[b+8>>2],e)){if(!(J[b+28>>2]==1|J[b+4>>2]!=(c|0))){J[b+28>>2]=d}return}a:{if(!Za(a,J[b>>2],e)){break a}if(!(J[b+16>>2]!=(c|0)&J[b+20>>2]!=(c|0))){if((d|0)!=1){break a}J[b+32>>2]=1;return}J[b+20>>2]=c;J[b+32>>2]=d;J[b+40>>2]=J[b+40>>2]+1;if(!(J[b+36>>2]!=1|J[b+24>>2]!=2)){H[b+54|0]=1}J[b+44>>2]=4}}function Pe(a,b,c){a=a|0;b=Q(b);c=Q(c);var d=Q(0);J[a+84>>2]=0;J[a+88>>2]=-1082130432;J[a+148>>2]=4;J[a+12>>2]=0;J[a+16>>2]=0;J[a+108>>2]=-1082130432;J[a+112>>2]=0;J[a+100>>2]=0;J[a+104>>2]=1065353216;J[a+92>>2]=1065353216;J[a+96>>2]=0;N[a+48>>2]=c;d=Q(-b);N[a+44>>2]=d;N[a+40>>2]=c;N[a+36>>2]=b;c=Q(-c);N[a+32>>2]=c;N[a+28>>2]=b;N[a+24>>2]=c;N[a+20>>2]=d}function sd(a){var b=0,c=0,d=0;a:{d=J[a+8>>2];if(!d){break a}b=J[d+112>>2];if(b){while(1){c=J[b+4>>2];if(!(J[c+48>>2]!=(a|0)&J[c+52>>2]!=(a|0))){J[c+4>>2]=J[c+4>>2]|8}b=J[b+12>>2];if(b){continue}break}}b=J[d+88>>2];if(!b|J[a+28>>2]<=0){break a}c=b+102868|0;b=0;while(1){Dd(c,J[(J[a+24>>2]+P(b,28)|0)+24>>2]);b=b+1|0;if((b|0)>2]){continue}break}}}function xb(a,b){var c=0,d=0,e=0,f=0;f=a+102412|0;c=J[a+102796>>2];J[(f+P(c,12)|0)+4>>2]=b;d=J[a+102400>>2];e=d+b|0;a:{if((e|0)>=102401){e=1;d=db(b);break a}J[a+102400>>2]=e;e=0;d=a+d|0}c=f+P(c,12)|0;H[c+8|0]=e;J[c>>2]=d;b=J[a+102404>>2]+b|0;J[a+102404>>2]=b;J[a+102796>>2]=J[a+102796>>2]+1;c=a;a=J[a+102408>>2];J[c+102408>>2]=(a|0)>(b|0)?a:b;return d}function Kj(){var a=0;a=Qa(72);J[a+4>>2]=0;J[a+8>>2]=0;J[a+20>>2]=0;J[a+24>>2]=0;J[a>>2]=2;J[a+64>>2]=0;J[a+68>>2]=0;J[a+36>>2]=1065353216;J[a+52>>2]=0;J[a+56>>2]=0;H[a+9|0]=0;H[a+10|0]=0;H[a+11|0]=0;H[a+12|0]=0;H[a+13|0]=0;H[a+14|0]=0;H[a+15|0]=0;H[a+16|0]=0;J[a+28>>2]=0;J[a+32>>2]=0;J[a+40>>2]=0;J[a+44>>2]=0;H[a+48|0]=0;H[a+60|0]=0;return a|0}function jc(a,b,c,d){H[a+53|0]=1;a:{if(J[a+4>>2]!=(c|0)){break a}H[a+52|0]=1;c=J[a+16>>2];b:{if(!c){J[a+36>>2]=1;J[a+24>>2]=d;J[a+16>>2]=b;if((d|0)!=1){break a}if(J[a+48>>2]==1){break b}break a}if((b|0)==(c|0)){c=J[a+24>>2];if((c|0)==2){J[a+24>>2]=d;c=d}if(J[a+48>>2]!=1){break a}if((c|0)==1){break b}break a}J[a+36>>2]=J[a+36>>2]+1}H[a+54|0]=1}}function ed(a,b,c,d,e,f){var g=0,h=0;J[a+48>>2]=d;J[a+44>>2]=c;J[a+40>>2]=b;J[a+36>>2]=0;J[a+28>>2]=0;J[a+32>>2]=0;J[a+4>>2]=f;J[a>>2]=e;g=a,h=xb(e,b<<2),J[g+8>>2]=h;g=a,h=xb(J[a>>2],c<<2),J[g+12>>2]=h;g=a,h=xb(J[a>>2],d<<2),J[g+16>>2]=h;g=a,h=xb(J[a>>2],P(J[a+40>>2],12)),J[g+24>>2]=h;g=a,h=xb(J[a>>2],P(J[a+40>>2],12)),J[g+20>>2]=h;return a}function Nd(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=Ea-32|0;Ea=f;if(!(H[23436]&1)){g=ea(4,21120)|0;H[23436]=1;J[5858]=g}h=J[5858];g=Qa(8);i=J[c+4>>2];J[g>>2]=J[c>>2];J[g+4>>2]=i;J[f+8>>2]=g;N[f+16>>2]=N[d>>2];c=Qa(16);d=J[e+12>>2];J[c+8>>2]=J[e+8>>2];J[c+12>>2]=d;d=J[e+4>>2];J[c>>2]=J[e>>2];J[c+4>>2]=d;J[f+24>>2]=c;ka(h|0,a|0,b|0,f+8|0);Ea=f+32|0}function zj(){var a=0;a=Qa(64);J[a+4>>2]=0;J[a+8>>2]=0;J[a+20>>2]=0;J[a+24>>2]=0;J[a>>2]=7;J[a+56>>2]=1073741824;J[a+60>>2]=1060320051;J[a+48>>2]=0;J[a+52>>2]=0;H[a+44|0]=0;J[a+36>>2]=1065353216;J[a+40>>2]=0;H[a+9|0]=0;H[a+10|0]=0;H[a+11|0]=0;H[a+12|0]=0;H[a+13|0]=0;H[a+14|0]=0;H[a+15|0]=0;H[a+16|0]=0;J[a+28>>2]=0;J[a+32>>2]=0;return a|0}function Pb(a,b){a:{if((b|0)>=1024){a=a*898846567431158e293;if(b>>>0<2047){b=b-1023|0;break a}a=a*898846567431158e293;b=((b|0)>=3069?3069:b)-2046|0;break a}if((b|0)>-1023){break a}a=a*2004168360008973e-307;if(b>>>0>4294965304){b=b+969|0;break a}a=a*2004168360008973e-307;b=((b|0)<=-2960?-2960:b)+1938|0}x(0,0);x(1,b+1023<<20);return a*+z()}function Ef(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ea+-64|0;Ea=d;e=1;a:{if(Za(a,b,0)){break a}e=0;if(!b){break a}b=kb(b,18420);e=0;if(!b){break a}sb(d+12|0,0,52);J[d+56>>2]=1;J[d+20>>2]=-1;J[d+16>>2]=a;J[d+8>>2]=b;Ga[J[J[b>>2]+28>>2]](b,d+8|0,J[c>>2],1);a=J[d+32>>2];if((a|0)==1){J[c>>2]=J[d+24>>2]}e=(a|0)==1}a=e;Ea=d- -64|0;return a|0}function $k(a){a=a|0;var b=Q(0),c=Q(0),d=Q(0),e=Q(0),f=0;c=N[a+8>>2];b=N[a>>2];a:{if(!(Q(c-b)>=Q(0))){break a}d=N[a+12>>2];e=N[a+4>>2];if(!(Q(d-e)>=Q(0))){break a}b=Q(R(b));if(!(b>Q(Infinity)|bQ(Infinity)|b>2]=13292;c=J[b>>2];J[a+8>>2]=0;J[a+12>>2]=0;J[a+4>>2]=c;J[a+48>>2]=J[b+8>>2];c=J[b+12>>2];J[a+56>>2]=0;J[a+52>>2]=c;c=K[b+16|0];H[a+60|0]=0;H[a+61|0]=c;b=J[b+4>>2];J[a+16>>2]=0;J[a+20>>2]=0;J[a+64>>2]=b;J[a+24>>2]=0;J[a+28>>2]=0;J[a+32>>2]=0;J[a+36>>2]=0;J[a+40>>2]=0;J[a+44>>2]=0;return a}function zk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if(J[a>>2]!=2){break a}e=!d;d=L[a+4>>1];if(!(e|d&2)){J[a+144>>2]=0;d=d|2;I[a+4>>1]=d}if(!(d&2)){break a}N[a+76>>2]=N[b>>2]+N[a+76>>2];N[a+80>>2]=N[b+4>>2]+N[a+80>>2];N[a+84>>2]=N[a+84>>2]+Q(Q(Q(N[c>>2]-N[a+44>>2])*N[b+4>>2])-Q(N[b>>2]*Q(N[c+4>>2]-N[a+48>>2])))}}function jk(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0);i=N[b+48>>2];j=N[b+16>>2];k=N[b+64>>2];d=N[b+72>>2];e=N[b+24>>2];f=N[c>>2];g=N[c+4>>2];h=N[b+20>>2];N[a+4>>2]=Q(d*Q(Q(N[b+12>>2]+Q(Q(e*f)-Q(g*h)))-N[b+44>>2]))+N[b+68>>2];N[a>>2]=k-Q(d*Q(Q(j+Q(Q(h*f)+Q(e*g)))-i))}function Jd(a){var b=Q(0),c=Q(0);a:{switch(J[a+108>>2]-2|0){case 0:b=Q(N[a+16>>2]-N[a+52>>2]);c=Q(b*b);b=Q(N[a+20>>2]-N[a+56>>2]);return Q(Y(Q(c+Q(b*b))));case 1:b=N[a+16>>2];c=N[a+20>>2];b=Q(Q(Q(N[a+52>>2]-b)*Q(N[a+92>>2]-c))-Q(Q(N[a+88>>2]-b)*Q(N[a+56>>2]-c)));break;default:break a}}return b}function Od(a,b,c,d,e){var f=0,g=0;f=Ea-32|0;Ea=f;if(!(H[23428]&1)){g=ea(4,21104)|0;H[23428]=1;J[5856]=g}g=J[5856];J[f+8>>2]=J[c>>2];J[f+16>>2]=J[d>>2];c=Qa(16);d=J[e+12>>2];J[c+8>>2]=J[e+8>>2];J[c+12>>2]=d;d=J[e+4>>2];J[c>>2]=J[e>>2];J[c+4>>2]=d;J[f+24>>2]=c;ka(g|0,a|0,b|0,f+8|0);Ea=f+32|0}function Oi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=J[a+12>>2];c=Ea-16|0;Ea=c;if(!(H[23460]&1)){a=ea(2,21184)|0;H[23460]=1;J[5864]=a}f=J[5864];a=Qa(16);d=J[b+12>>2];J[a+8>>2]=J[b+8>>2];J[a+12>>2]=d;d=J[b+4>>2];J[a>>2]=J[b>>2];J[a+4>>2]=d;J[c+8>>2]=a;ka(f|0,e|0,3529,c+8|0);Ea=c+16|0}function Hi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0);e=N[c>>2];g=N[c+8>>2];h=N[a+12>>2];i=N[c+12>>2];j=N[a+16>>2];k=Q(N[c+4>>2]+Q(Q(g*h)+Q(i*j)));f=N[a+8>>2];N[b+12>>2]=k+f;e=Q(e+Q(Q(i*h)-Q(j*g)));N[b+8>>2]=f+e;N[b+4>>2]=k-f;N[b>>2]=e-f}function Oj(){var a=0;a=Qa(44);J[a+4>>2]=0;J[a+8>>2]=0;J[a+36>>2]=1065353216;J[a+40>>2]=1050253722;J[a+28>>2]=0;J[a+32>>2]=1065353216;J[a+20>>2]=0;J[a+24>>2]=0;J[a>>2]=11;H[a+9|0]=0;H[a+10|0]=0;H[a+11|0]=0;H[a+12|0]=0;H[a+13|0]=0;H[a+14|0]=0;H[a+15|0]=0;H[a+16|0]=0;return a|0}function Id(a,b){var c=Q(0),d=Q(0),e=Q(0),f=Q(0),g=Q(0);c=N[a+16>>2];d=N[a>>2];e=N[a+4>>2];f=N[a+12>>2];J[b+8>>2]=0;J[b+20>>2]=0;J[b+24>>2]=0;J[b+28>>2]=0;J[b+32>>2]=0;g=c;c=Q(Q(d*c)-Q(e*f));c=c!=Q(0)?Q(Q(1)/c):c;N[b>>2]=g*c;N[b+16>>2]=d*c;c=Q(-c);N[b+12>>2]=f*c;N[b+4>>2]=e*c}function Za(a,b,c){var d=0;if(!c){return J[a+4>>2]==J[b+4>>2]}if((a|0)==(b|0)){return 1}d=J[a+4>>2];a=K[d|0];c=J[b+4>>2];b=K[c|0];a:{if(!a|(b|0)!=(a|0)){break a}while(1){b=K[c+1|0];a=K[d+1|0];if(!a){break a}c=c+1|0;d=d+1|0;if((a|0)==(b|0)){continue}break}}return(a|0)==(b|0)}function Ee(){var a=0,b=0;J[5845]=0;J[5844]=669;ne();J[5845]=J[6088];J[6088]=23376;H[23476]=0;a=1;while(1){b=(J[(b<<2)+12496>>2]<(a|0))+b|0;H[a+23476|0]=b;a=a+1|0;if((a|0)!=641){continue}break}J[6089]=865;J[6090]=0;_c();J[6090]=J[6088];J[6088]=24356;J[6389]=25436;J[6371]=42}function Gi(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0),e=0,f=Q(0),g=Q(0);d=N[a+8>>2];c=Q(d*Q(d*Q(c*Q(3.1415927410125732))));N[b>>2]=c;e=J[a+16>>2];J[b+4>>2]=J[a+12>>2];J[b+8>>2]=e;d=c;c=N[a+8>>2];f=Q(Q(c*Q(.5))*c);c=N[a+12>>2];g=Q(c*c);c=N[a+16>>2];N[b+12>>2]=d*Q(f+Q(g+Q(c*c)))}function yb(a,b,c,d,e){var f=Q(0),g=Q(0);J[a+60>>2]=e;J[a+56>>2]=c;J[a+52>>2]=d;J[a+48>>2]=b;J[a+4>>2]=4;J[a+124>>2]=0;J[a+128>>2]=0;J[a>>2]=12852;sb(a+8|0,0,40);N[a+136>>2]=Y(Q(N[b+16>>2]*N[d+16>>2]));f=N[d+20>>2];g=N[b+20>>2];J[a+144>>2]=0;N[a+140>>2]=f>2]=0;J[a+8>>2]=0;J[a+20>>2]=0;J[a+24>>2]=0;J[a>>2]=3;J[a+44>>2]=0;J[a+36>>2]=1065353216;J[a+40>>2]=0;H[a+9|0]=0;H[a+10|0]=0;H[a+11|0]=0;H[a+12|0]=0;H[a+13|0]=0;H[a+14|0]=0;H[a+15|0]=0;H[a+16|0]=0;J[a+28>>2]=0;J[a+32>>2]=0;return a|0}function gi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Ea-48|0;Ea=e;f=J[J[a+48>>2]+12>>2];J[e+36>>2]=0;J[e+40>>2]=0;I[e+44>>1]=0;J[e+28>>2]=0;J[e+32>>2]=0;J[e+4>>2]=1;J[e+8>>2]=1008981770;J[e>>2]=12664;Ad(f,e,J[a+56>>2]);zd(b,e,c,J[J[a+52>>2]+12>>2],d);Ea=e+48|0}function ei(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Ea-48|0;Ea=e;f=J[J[a+48>>2]+12>>2];J[e+36>>2]=0;J[e+40>>2]=0;I[e+44>>1]=0;J[e+28>>2]=0;J[e+32>>2]=0;J[e+4>>2]=1;J[e+8>>2]=1008981770;J[e>>2]=12664;Ad(f,e,J[a+56>>2]);yd(b,e,c,J[J[a+52>>2]+12>>2],d);Ea=e+48|0}function ej(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ea-16|0;Ea=c;J[c+12>>2]=b;b=J[a+8>>2];a=Ea-16|0;Ea=a;if(!(H[23396]&1)){d=ea(2,20188)|0;H[23396]=1;J[5848]=d}d=J[5848];J[a+8>>2]=J[c+12>>2];e=+va(d|0,b|0,4589,a+4|0,a+8|0);ta(J[a+4>>2]);Ea=a+16|0;Ea=c+16|0;return e!=0|0}function Af(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;if(Za(a,J[b+8>>2],0)){kc(b,c,d);return}e=J[a+12>>2];f=a+16|0;Pc(f,b,c,d);a=a+24|0;e=(e<<3)+f|0;a:{if(a>>>0>=e>>>0){break a}while(1){Pc(a,b,c,d);if(K[b+54|0]){break a}a=a+8|0;if(e>>>0>a>>>0){continue}break}}}function Ji(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);d=N[b+12>>2];e=N[a+12>>2];f=N[a+16>>2];g=N[b+8>>2];h=Q(N[c>>2]-Q(N[b>>2]+Q(Q(d*e)-Q(f*g))));d=Q(N[c+4>>2]-Q(N[b+4>>2]+Q(Q(g*e)+Q(d*f))));e=Q(Q(h*h)+Q(d*d));d=N[a+8>>2];return e<=Q(d*d)|0}function Bj(){var a=0;a=Qa(48);J[a+4>>2]=0;J[a+8>>2]=0;J[a+20>>2]=0;J[a+24>>2]=0;J[a>>2]=8;H[a+9|0]=0;H[a+10|0]=0;H[a+11|0]=0;H[a+12|0]=0;H[a+13|0]=0;H[a+14|0]=0;H[a+15|0]=0;H[a+16|0]=0;J[a+28>>2]=0;J[a+32>>2]=0;J[a+36>>2]=0;J[a+40>>2]=0;J[a+44>>2]=0;return a|0}function uk(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=0,f=Q(0);a:{if(J[a>>2]!=2){break a}e=!c;c=L[a+4>>1];if(!(e|c&2)){J[a+144>>2]=0;c=c|2;I[a+4>>1]=c}if(!(c&2)){break a}f=N[b+4>>2];d=N[a+120>>2];N[a+64>>2]=Q(d*N[b>>2])+N[a+64>>2];N[a+68>>2]=Q(d*f)+N[a+68>>2]}}function Ej(){var a=0;a=Qa(40);J[a+4>>2]=0;J[a+8>>2]=0;J[a+36>>2]=0;J[a+28>>2]=1065353216;J[a+32>>2]=0;J[a+20>>2]=-1082130432;J[a+24>>2]=0;J[a>>2]=10;H[a+9|0]=0;H[a+10|0]=0;H[a+11|0]=0;H[a+12|0]=0;H[a+13|0]=0;H[a+14|0]=0;H[a+15|0]=0;H[a+16|0]=0;return a|0}function Db(a,b,c){var d=0,e=0,f=0,g=0;if(b){while(1){c=c-1|0;e=a;a=Cl(a,b,10);d=Fa;f=c,g=e-Bl(a,d,10,0)|48,H[f|0]=g;e=b>>>0>9;b=d;if(e){continue}break}}if(a){while(1){c=c-1|0;b=(a>>>0)/10|0;H[c|0]=a-P(b,10)|48;d=a>>>0>9;a=b;if(d){continue}break}}return c}function Mj(){var a=0;a=Qa(40);J[a+4>>2]=0;J[a+8>>2]=0;J[a+36>>2]=1060320051;J[a+28>>2]=0;J[a+32>>2]=1084227584;J[a+20>>2]=0;J[a+24>>2]=0;J[a>>2]=5;H[a+9|0]=0;H[a+10|0]=0;H[a+11|0]=0;H[a+12|0]=0;H[a+13|0]=0;H[a+14|0]=0;H[a+15|0]=0;H[a+16|0]=0;return a|0}function tb(a,b){var c=0,d=0;c=J[a+1028>>2];a:{if((c|0)!=J[a+1032>>2]){break a}J[a+1032>>2]=c<<1;d=J[a>>2];c=db(c<<3);J[a>>2]=c;Xa(c,d,J[a+1028>>2]<<2);if((a+4|0)==(d|0)){break a}Va(d)}J[J[a>>2]+(J[a+1028>>2]<<2)>>2]=J[b>>2];J[a+1028>>2]=J[a+1028>>2]+1}function kl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=a+16|0;a=J[d>>2];a:{b:{if(!a){break b}c=d;while(1){e=M[a+16>>2]>>0;c=e?c:a;a=J[(e?a+4|0:a)>>2];if(a){continue}break}if((c|0)==(d|0)){break b}if(M[c+16>>2]<=b>>>0){break a}}c=d}return(c|0)!=(d|0)|0}function Xc(a,b){var c=0,d=0,e=0;A(+a);d=v(1)|0;e=v(0)|0;c=d>>>20&2047;if((c|0)!=2047){if(!c){if(a==0){c=0}else{a=Xc(a*0x10000000000000000,b);c=J[b>>2]+-64|0}J[b>>2]=c;return a}J[b>>2]=c-1022;x(0,e|0);x(1,d&-2146435073|1071644672);a=+z()}return a}function Ab(a,b,c){var d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0);e=N[b>>2];f=N[b+16>>2];g=N[b+4>>2];h=N[b+12>>2];d=Q(Q(e*f)-Q(g*h));d=d!=Q(0)?Q(Q(1)/d):d;j=e;e=N[c+4>>2];i=N[c>>2];N[a+4>>2]=d*Q(Q(j*e)-Q(i*g));N[a>>2]=d*Q(Q(f*i)-Q(e*h))}function wb(a,b){var c=0,d=0,e=0;c=J[a+102796>>2];d=P(c,12)+a|0;e=d+102412|0;a:{if(K[d+102408|0]){Va(b);b=J[e-8>>2];c=J[a+102796>>2];break a}b=J[e-8>>2];J[a+102400>>2]=J[a+102400>>2]-b}J[a+102796>>2]=c-1;J[a+102404>>2]=J[a+102404>>2]-b}function mi(a,b){a=a|0;b=b|0;var c=0;b=Ya(b,48);J[b+28>>2]=0;J[b+32>>2]=0;J[b+4>>2]=1;J[b+8>>2]=1008981770;J[b>>2]=12664;J[b+36>>2]=0;J[b+40>>2]=0;I[b+44>>1]=0;c=J[a+8>>2];J[b+4>>2]=J[a+4>>2];J[b+8>>2]=c;Xa(b+12|0,a+12|0,34);return b|0}function Wk(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=Q(0),f=Q(0),g=Q(0);d=N[c>>2];e=N[b>>2];f=N[b+4>>2];g=N[c+4>>2];N[a+4>>2]=f>2]=d>e?e:d;d=N[c+8>>2];e=N[b+8>>2];f=N[b+12>>2];g=N[c+12>>2];N[a+12>>2]=f>g?f:g;N[a+8>>2]=d>2]]-48>>>0>=10){return 0}while(1){d=J[a>>2];c=-1;if(b>>>0<=214748364){c=H[d|0]-48|0;b=P(b,10);c=(c|0)>(b^2147483647)?-1:c+b|0}J[a>>2]=d+1;b=c;if(H[d+1|0]-48>>>0<10){continue}break}return b}function zh(a,b){a=a|0;b=b|0;var c=0;if(!(N[b>>2]==N[a+68>>2]&N[b+4>>2]==N[a+72>>2])){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[b+4>>2];J[a+68>>2]=J[b>>2];J[a+72>>2]=c}}function mj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ea-16|0;Ea=d;e=a;a=J[b>>2];if(J[b+4>>2]-a>>3>>>0>c>>>0){b=Qa(8);c=a+(c<<3)|0;a=J[c+4>>2];J[b>>2]=J[c>>2];J[b+4>>2]=a;J[d+8>>2]=b;a=xa(19288,d+8|0)|0}else{a=1}J[e>>2]=a;Ea=d+16|0}function ie(a,b,c){a=a|0;b=b|0;c=Q(c);var d=0,e=0,f=0;d=Ea-16|0;Ea=d;e=J[a>>2];f=d+8|0;a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){e=J[e+J[b>>2]>>2]}Ga[e|0](f,b,c);a=Qa(8);b=J[d+12>>2];J[a>>2]=J[d+8>>2];J[a+4>>2]=b;Ea=d+16|0;return a|0}function Xg(a,b,c){a=a|0;b=Q(b);c=Q(c);var d=0;if(!(N[a+120>>2]==b&N[a+124>>2]==c)){d=J[a+48>>2];J[d+144>>2]=0;I[d+4>>1]=L[d+4>>1]|2;d=J[a+52>>2];J[d+144>>2]=0;I[d+4>>1]=L[d+4>>1]|2;N[a+124>>2]=c;N[a+120>>2]=b;J[a+112>>2]=0}}function wg(a,b,c){a=a|0;b=Q(b);c=Q(c);var d=0;if(!(N[a+120>>2]==b&N[a+124>>2]==c)){d=J[a+48>>2];J[d+144>>2]=0;I[d+4>>1]=L[d+4>>1]|2;d=J[a+52>>2];J[d+144>>2]=0;I[d+4>>1]=L[d+4>>1]|2;N[a+124>>2]=c;N[a+120>>2]=b;J[a+92>>2]=0}}function ok(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ea-16|0;Ea=d;e=J[a>>2];f=d+8|0;a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){e=J[e+J[b>>2]>>2]}Ga[e|0](f,b,c);a=Qa(8);b=J[d+12>>2];J[a>>2]=J[d+8>>2];J[a+4>>2]=b;Ea=d+16|0;return a|0}function Xk(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0);d=N[b>>2];c=N[a+4>>2];e=N[b+4>>2];N[a+4>>2]=c>2];N[a>>2]=c>2];c=N[a+12>>2];e=N[b+12>>2];N[a+12>>2]=c>e?c:e;c=N[a+8>>2];N[a+8>>2]=c>d?c:d}function Gk(a,b){a=a|0;b=b|0;var c=0;c=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){c=J[c+J[b>>2]>>2]}a=Ga[c|0](b)|0;b=Qa(16);c=J[a+12>>2];J[b+8>>2]=J[a+8>>2];J[b+12>>2]=c;c=J[a+4>>2];J[b>>2]=J[a>>2];J[b+4>>2]=c;return b|0}function pd(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);c=J[b+52>>2];h=N[c+12>>2];d=N[c+20>>2];e=N[b+100>>2];f=N[c+24>>2];g=N[b+104>>2];N[a+4>>2]=Q(Q(d*e)+Q(f*g))+N[c+16>>2];N[a>>2]=h+Q(Q(f*e)-Q(g*d))}function bh(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0),e=Q(0),f=Q(0),g=Q(0);f=N[b+184>>2];g=N[b+192>>2];d=N[b+104>>2];e=Q(N[b+116>>2]+N[b+112>>2]);N[a+4>>2]=Q(Q(d*N[b+196>>2])+Q(e*N[b+188>>2]))*c;N[a>>2]=Q(Q(d*g)+Q(f*e))*c}function Kk(){var a=0;a=Qa(52);J[a+4>>2]=0;J[a+8>>2]=0;J[a+44>>2]=0;J[a+48>>2]=1065353216;J[a+36>>2]=257;H[a+40|0]=1;J[a>>2]=0;J[a+12>>2]=0;J[a+16>>2]=0;J[a+20>>2]=0;J[a+24>>2]=0;J[a+28>>2]=0;J[a+32>>2]=0;return a|0}function Bl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=c>>>16|0;f=a>>>16|0;j=P(e,f);g=c&65535;h=a&65535;i=P(g,h);f=(i>>>16|0)+P(f,g)|0;e=(f&65535)+P(e,h)|0;Fa=(P(b,c)+j|0)+P(a,d)+(f>>>16)+(e>>>16)|0;return i&65535|e<<16}function yk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{if(J[a>>2]!=2){break a}d=!c;c=L[a+4>>1];if(!(d|c&2)){J[a+144>>2]=0;c=c|2;I[a+4>>1]=c}if(!(c&2)){break a}N[a+76>>2]=N[b>>2]+N[a+76>>2];N[a+80>>2]=N[b+4>>2]+N[a+80>>2]}}function wd(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);c=J[b+48>>2];h=N[c+12>>2];d=N[c+20>>2];e=N[b+80>>2];f=N[c+24>>2];g=N[b+84>>2];N[a+4>>2]=Q(Q(d*e)+Q(f*g))+N[c+16>>2];N[a>>2]=h+Q(Q(f*e)-Q(g*d))}function vd(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);c=J[b+52>>2];h=N[c+12>>2];d=N[c+20>>2];e=N[b+88>>2];f=N[c+24>>2];g=N[b+92>>2];N[a+4>>2]=Q(Q(d*e)+Q(f*g))+N[c+16>>2];N[a>>2]=h+Q(Q(f*e)-Q(g*d))}function qd(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);c=J[b+48>>2];h=N[c+12>>2];d=N[c+20>>2];e=N[b+92>>2];f=N[c+24>>2];g=N[b+96>>2];N[a+4>>2]=Q(Q(d*e)+Q(f*g))+N[c+16>>2];N[a>>2]=h+Q(Q(f*e)-Q(g*d))}function oh(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);c=J[b+52>>2];h=N[c+12>>2];d=N[c+20>>2];e=N[b+68>>2];f=N[c+24>>2];g=N[b+72>>2];N[a+4>>2]=Q(Q(d*e)+Q(f*g))+N[c+16>>2];N[a>>2]=h+Q(Q(f*e)-Q(g*d))}function hg(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);c=J[b+48>>2];h=N[c+12>>2];d=N[c+20>>2];e=N[b+76>>2];f=N[c+24>>2];g=N[b+80>>2];N[a+4>>2]=Q(Q(d*e)+Q(f*g))+N[c+16>>2];N[a>>2]=h+Q(Q(f*e)-Q(g*d))}function gg(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);c=J[b+52>>2];h=N[c+12>>2];d=N[c+20>>2];e=N[b+84>>2];f=N[c+24>>2];g=N[b+88>>2];N[a+4>>2]=Q(Q(d*e)+Q(f*g))+N[c+16>>2];N[a>>2]=h+Q(Q(f*e)-Q(g*d))}function Rb(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);c=J[b+48>>2];h=N[c+12>>2];d=N[c+20>>2];e=N[b+68>>2];f=N[c+24>>2];g=N[b+72>>2];N[a+4>>2]=Q(Q(d*e)+Q(f*g))+N[c+16>>2];N[a>>2]=h+Q(Q(f*e)-Q(g*d))}function Qb(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);c=J[b+52>>2];h=N[c+12>>2];d=N[c+20>>2];e=N[b+76>>2];f=N[c+24>>2];g=N[b+80>>2];N[a+4>>2]=Q(Q(d*e)+Q(f*g))+N[c+16>>2];N[a>>2]=h+Q(Q(f*e)-Q(g*d))}function Ki(a,b){a=a|0;b=b|0;var c=0;b=Ya(b,20);J[b+4>>2]=0;J[b+8>>2]=0;J[b>>2]=12332;J[b+12>>2]=0;J[b+16>>2]=0;c=J[a+8>>2];J[b+4>>2]=J[a+4>>2];J[b+8>>2]=c;c=J[a+16>>2];J[b+12>>2]=J[a+12>>2];J[b+16>>2]=c;return b|0}function Kc(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ea-16|0;Ea=c;d=J[a>>2];e=c+8|0;a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){d=J[d+J[b>>2]>>2]}Ga[d|0](e,b);a=Qa(8);b=J[c+12>>2];J[a>>2]=J[c+8>>2];J[a+4>>2]=b;Ea=c+16|0;return a|0}function Di(a,b){a=a|0;b=b|0;var c=0;b=Ya(b,152);J[b+148>>2]=0;J[b+4>>2]=2;J[b+8>>2]=1008981770;J[b>>2]=12420;J[b+12>>2]=0;J[b+16>>2]=0;c=J[a+8>>2];J[b+4>>2]=J[a+4>>2];J[b+8>>2]=c;Xa(b+12|0,a+12|0,140);return b|0}function kc(a,b,c){var d=0;d=J[a+16>>2];if(!d){J[a+36>>2]=1;J[a+24>>2]=c;J[a+16>>2]=b;return}a:{if((b|0)==(d|0)){if(J[a+24>>2]!=2){break a}J[a+24>>2]=c;return}H[a+54|0]=1;J[a+24>>2]=2;J[a+36>>2]=J[a+36>>2]+1}}function Uf(a,b){a=a|0;b=b|0;a:{if(K[a+102972|0]==(b|0)){break a}H[a+102972|0]=b;if(b){break a}b=J[a+102948>>2];if(!b){break a}while(1){J[b+144>>2]=0;I[b+4>>1]=L[b+4>>1]|2;b=J[b+96>>2];if(b){continue}break}}} -function xc(a,b){var c=0,d=0;c=J[a+40>>2];if((c|0)==J[a+36>>2]){J[a+36>>2]=c<<1;d=J[a+32>>2];c=db(c<<3);J[a+32>>2]=c;Xa(c,d,J[a+40>>2]<<2);Va(d);c=J[a+40>>2]}J[J[a+32>>2]+(c<<2)>>2]=b;J[a+40>>2]=J[a+40>>2]+1}function rk(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=0;c=N[a+116>>2];N[b>>2]=c;d=c;c=N[a+28>>2];e=Q(c*c);c=N[a+32>>2];N[b+12>>2]=Q(d*Q(e+Q(c*c)))+N[a+124>>2];f=J[a+32>>2];J[b+4>>2]=J[a+28>>2];J[b+8>>2]=f}function Gf(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=Q(d);e=Q(e);f=Q(f);g=g|0;h=h|0;i=i|0;j=j|0;I[a+22>>1]=h;H[a+20|0]=g;N[a+16>>2]=f;N[a+12>>2]=e;N[a+8>>2]=d;J[a+4>>2]=c;J[a>>2]=b;I[a+26>>1]=j;I[a+24>>1]=i}function bb(a,b,c,d,e){var f=0;f=Ea-256|0;Ea=f;if(!(e&73728|(c|0)<=(d|0))){d=c-d|0;c=d>>>0<256;sb(f,b&255,c?d:256);if(!c){while(1){ab(a,f,256);d=d-256|0;if(d>>>0>255){continue}break}}ab(a,f,d)}Ea=f+256|0}function pk(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);h=N[b+12>>2];d=N[b+20>>2];e=N[c>>2];f=N[b+24>>2];g=N[c+4>>2];N[a+4>>2]=Q(Q(d*e)+Q(f*g))+N[b+16>>2];N[a>>2]=h+Q(Q(f*e)-Q(g*d))}function fg(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0),e=Q(0),f=Q(0),g=Q(0);f=N[b+184>>2];g=N[b+176>>2];d=N[b+108>>2];e=N[b+116>>2];N[a>>2]=Q(Q(d*N[b+180>>2])+Q(e*N[b+172>>2]))*c;N[a+4>>2]=Q(Q(d*f)+Q(e*g))*c}function of(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);h=N[b>>2];d=N[b+8>>2];e=N[c>>2];f=N[b+12>>2];g=N[c+4>>2];N[a+4>>2]=Q(Q(d*e)+Q(f*g))+N[b+4>>2];N[a>>2]=h+Q(Q(f*e)-Q(g*d))}function Ck(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=0;if(J[a>>2]){c=N[b>>2];d=Q(c*c);c=N[b+4>>2];if(Q(d+Q(c*c))>Q(0)){J[a+144>>2]=0;I[a+4>>1]=L[a+4>>1]|2}e=J[b+4>>2];J[a+64>>2]=J[b>>2];J[a+68>>2]=e}}function tk(a,b,c){a=a|0;b=Q(b);c=c|0;var d=0;a:{if(J[a>>2]!=2){break a}d=!c;c=L[a+4>>1];if(!(d|c&2)){J[a+144>>2]=0;c=c|2;I[a+4>>1]=c}if(!(c&2)){break a}N[a+72>>2]=Q(N[a+128>>2]*b)+N[a+72>>2]}}function mk(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=Q(0),f=Q(0),g=Q(0);d=N[b+24>>2];e=Q(N[c+4>>2]-N[b+16>>2]);f=N[b+20>>2];g=Q(N[c>>2]-N[b+12>>2]);N[a+4>>2]=Q(d*e)-Q(f*g);N[a>>2]=Q(d*g)+Q(e*f)}function kk(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=Q(0),f=Q(0),g=Q(0);e=N[b+48>>2];f=N[b+64>>2];g=N[c+4>>2];d=N[b+72>>2];N[a+4>>2]=Q(d*Q(N[c>>2]-N[b+44>>2]))+N[b+68>>2];N[a>>2]=f-Q(d*Q(g-e))}function dk(a,b){a=a|0;b=b|0;var c=0;c=L[a+4>>1];a:{if(b){I[a+4>>1]=c|2;break a}J[a+64>>2]=0;J[a+68>>2]=0;I[a+4>>1]=c&65533;J[a+72>>2]=0;J[a+76>>2]=0;J[a+80>>2]=0;J[a+84>>2]=0}J[a+144>>2]=0}function Wd(a,b,c,d){var e=0;J[a+12>>2]=0;J[a+16>>2]=d;a:{if(b){if(b>>>0>=1073741824){break a}e=Qa(b<<2)}J[a>>2]=e;c=(c<<2)+e|0;J[a+8>>2]=c;J[a+12>>2]=(b<<2)+e;J[a+4>>2]=c;return a}Cc();B()}function Yc(a){var b=0;b=J[a+72>>2];J[a+72>>2]=b-1|b;b=J[a>>2];if(b&8){J[a>>2]=b|32;return-1}J[a+4>>2]=0;J[a+8>>2]=0;b=J[a+44>>2];J[a+28>>2]=b;J[a+20>>2]=b;J[a+16>>2]=b+J[a+48>>2];return 0}function Dc(a,b,c,d){var e=0;J[a+12>>2]=0;J[a+16>>2]=d;a:{if(b){if(b>>>0>=536870912){break a}e=Qa(b<<3)}J[a>>2]=e;c=(c<<3)+e|0;J[a+8>>2]=c;J[a+12>>2]=(b<<3)+e;J[a+4>>2]=c;return a}Cc();B()}function Yg(a,b){a=a|0;b=b|0;var c=0;if(K[a+136|0]!=(b|0)){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;J[a+112>>2]=0;H[a+136|0]=b}}function xg(a,b){a=a|0;b=b|0;var c=0;if(K[a+112|0]!=(b|0)){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;J[a+92>>2]=0;H[a+112|0]=b}}function ii(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0),e=Q(0),f=Q(0);J[b>>2]=0;c=N[a+24>>2];d=N[a+16>>2];e=N[a+20>>2];f=N[a+12>>2];J[b+12>>2]=0;N[b+8>>2]=Q(d+c)*Q(.5);N[b+4>>2]=Q(f+e)*Q(.5)}function qj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ea-16|0;Ea=d;e=J[b+4>>2];b=J[b>>2];if(e-b>>2>>>0>c>>>0){J[d+8>>2]=J[b+(c<<2)>>2];b=xa(18820,d+8|0)|0}else{b=1}J[a>>2]=b;Ea=d+16|0}function vh(a,b){a=a|0;b=b|0;var c=0;if(!(N[b>>2]==N[a+76>>2]&N[b+4>>2]==N[a+80>>2])){c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[b+4>>2];J[a+76>>2]=J[b>>2];J[a+80>>2]=c}}function Cd(a,b){a:{if(!(J[a>>2]|J[b>>2])){break a}a=J[a+108>>2];if(a){while(1){if(!K[J[a+4>>2]+61|0]&J[a>>2]==(b|0)){break a}a=J[a+12>>2];if(a){continue}break}}return 1}return 0}function xk(a,b,c){a=a|0;b=Q(b);c=c|0;var d=0;a:{if(J[a>>2]!=2){break a}d=!c;c=L[a+4>>1];if(!(d|c&2)){J[a+144>>2]=0;c=c|2;I[a+4>>1]=c}if(!(c&2)){break a}N[a+84>>2]=N[a+84>>2]+b}}function Rd(a,b,c,d){var e=0,f=0;e=Ea-16|0;Ea=e;if(!(H[23420]&1)){f=ea(3,20700)|0;H[23420]=1;J[5854]=f}f=J[5854];J[e>>2]=J[c>>2];J[e+8>>2]=J[d>>2];ka(f|0,a|0,b|0,e|0);Ea=e+16|0}function Oc(a,b){var c=0;a:{if(!b){break a}b=kb(b,18628);if(!b|J[b+8>>2]&(J[a+8>>2]^-1)){break a}if(!Za(J[a+12>>2],J[b+12>>2],0)){break a}c=Za(J[a+16>>2],J[b+16>>2],0)}return c}function sj(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Ea-16|0;Ea=e;f=J[a+4>>2];b=(f>>1)+b|0;a=J[a>>2];a=f&1?J[J[b>>2]+a>>2]:a;J[e+12>>2]=d;Ga[a|0](b,c,e+12|0);Ea=e+16|0}function Cb(a){var b=0,c=0;b=J[5840];c=a+7&-8;a=b+c|0;a:{if(a>>>0<=b>>>0?c:0){break a}if(a>>>0>Ha()<<16>>>0){if(!(za(a|0)|0)){break a}}J[5840]=a;return b}J[6350]=48;return-1}function vb(a,b){a=a|0;b=b|0;var c=0;c=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){c=J[c+J[b>>2]>>2]}a=Ga[c|0](b)|0;b=Qa(8);c=J[a+4>>2];J[b>>2]=J[a>>2];J[b+4>>2]=c;return b|0}function cg(a,b){a=a|0;b=b|0;var c=0;if(K[a+128|0]!=(b|0)){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;H[a+128|0]=b}}function Vg(a,b){a=a|0;b=b|0;var c=0;if(K[a+137|0]!=(b|0)){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;H[a+137|0]=b}}function Cg(a,b){a=a|0;b=b|0;var c=0;if(K[a+100|0]!=(b|0)){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;H[a+100|0]=b}}function zg(a,b){a=a|0;b=Q(b);var c=0;if(N[a+104>>2]!=b){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;N[a+104>>2]=b}}function bg(a,b){a=a|0;b=Q(b);var c=0;if(N[a+124>>2]!=b){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;N[a+124>>2]=b}}function ag(a,b){a=a|0;b=Q(b);var c=0;if(N[a+120>>2]!=b){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;N[a+120>>2]=b}}function Ug(a,b){a=a|0;b=Q(b);var c=0;if(N[a+132>>2]!=b){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;N[a+132>>2]=b}}function Tg(a,b){a=a|0;b=Q(b);var c=0;if(N[a+128>>2]!=b){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;N[a+128>>2]=b}}function Ag(a,b){a=a|0;b=Q(b);var c=0;if(N[a+108>>2]!=b){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;N[a+108>>2]=b}}function yh(a,b){a=a|0;b=Q(b);var c=0;if(N[a+76>>2]!=b){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;N[a+76>>2]=b}}function Tf(){var a=0;a=Qa(28);I[a+22>>1]=1;I[a+24>>1]=65535;J[a+12>>2]=0;J[a+16>>2]=0;J[a+8>>2]=1045220557;J[a>>2]=0;J[a+4>>2]=0;I[a+26>>1]=0;H[a+20|0]=0;return a|0}function vj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ea-16|0;Ea=d;e=J[a+4>>2];b=(e>>1)+b|0;a=J[a>>2];a=e&1?J[J[b>>2]+a>>2]:a;J[d+12>>2]=c;Ga[a|0](b,d+12|0);Ea=d+16|0}function pl(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=Q(f);var g=0;g=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){g=J[g+J[b>>2]>>2]}return Q(Q(Ga[g|0](b,c,d,e,f)))}function nk(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=Q(0),f=Q(0),g=Q(0);d=N[b+20>>2];e=N[c>>2];f=N[b+24>>2];g=N[c+4>>2];N[a+4>>2]=Q(d*e)+Q(f*g);N[a>>2]=Q(f*e)-Q(g*d)}function lk(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=Q(0),f=Q(0),g=Q(0);d=N[b+24>>2];e=N[c+4>>2];f=N[b+20>>2];g=N[c>>2];N[a+4>>2]=Q(d*e)-Q(f*g);N[a>>2]=Q(d*g)+Q(f*e)}function Sd(a,b,c){var d=0,e=0;d=Ea-16|0;Ea=d;if(!(H[23412]&1)){e=ea(2,20692)|0;H[23412]=1;J[5852]=e}e=J[5852];J[d+8>>2]=J[c>>2];ka(e|0,a|0,b|0,d+8|0);Ea=d+16|0}function Pc(a,b,c,d){var e=0,f=0;e=J[a+4>>2];f=J[a>>2];a=0;a:{if(!c){break a}a=e>>8;if(!(e&1)){break a}a=J[a+J[c>>2]>>2]}Ga[J[J[f>>2]+28>>2]](f,b,a+c|0,e&2?d:2)}function cf(a,b,c){a=a|0;b=b|0;c=c|0;a=Ga[a|0](b,c)|0;b=Qa(16);c=J[a+12>>2];J[b+8>>2]=J[a+8>>2];J[b+12>>2]=c;c=J[a+4>>2];J[b>>2]=J[a>>2];J[b+4>>2]=c;return b|0}function uj(a,b){a=a|0;b=b|0;var c=0,d=0;c=b;d=a- -64|0;b=J[a+48>>2];a=J[a+52>>2];Ld(c,d,J[b+8>>2]+12|0,N[J[b+12>>2]+8>>2],J[a+8>>2]+12|0,N[J[a+12>>2]+8>>2])}function mb(a){var b=0,c=0;b=a*a;c=b*a;return Q(c*(b*b)*(b*2718311493989822e-21+-.00019839334836096632)+(c*(b*.008333329385889463+-.16666666641626524)+a))}function Kg(a,b){a=a|0;b=b|0;N[a+68>>2]=N[a+68>>2]-N[b>>2];N[a+72>>2]=N[a+72>>2]-N[b+4>>2];N[a+76>>2]=N[a+76>>2]-N[b>>2];N[a+80>>2]=N[a+80>>2]-N[b+4>>2]}function $f(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ea-16|0;Ea=d;Ga[a|0](d+8|0,b,c);a=Qa(8);b=J[d+12>>2];J[a>>2]=J[d+8>>2];J[a+4>>2]=b;Ea=d+16|0;return a|0}function fl(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=Q(d);e=e|0;f=f|0;var g=0;g=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){g=J[g+J[b>>2]>>2]}Ga[g|0](b,c,d,e,f)}function Vk(a,b){a=a|0;b=b|0;var c=0;if(!(!(N[b+8>>2]<=N[a+8>>2])|(!(N[a>>2]<=N[b>>2])|!(N[a+4>>2]<=N[b+4>>2])))){c=N[b+12>>2]<=N[a+12>>2]}return c|0}function tf(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(Za(a,J[b+8>>2],f)){jc(b,c,d,e);return}a=J[a+8>>2];Ga[J[J[a>>2]+20>>2]](a,b,c,d,e,f)}function il(a){a=a|0;var b=0;b=Qa(24);H[b+4|0]=0;J[b+8>>2]=J[a>>2];J[a>>2]=0;a=b+16|0;J[a>>2]=0;J[a+4>>2]=0;J[b>>2]=20636;J[b+12>>2]=a;return b|0}function nb(a){var b=0;a=a*a;b=a*a;return Q(a*b*(a*2439044879627741e-20+-.001388676377460993)+(b*.04166662332373906+(a*-.499999997251031+1)))}function Vd(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ea-16|0;Ea=d;Ga[J[a>>2]](d+12|0,b,c);wa(J[d+12>>2]);a=J[d+12>>2];la(a|0);Ea=d+16|0;return a|0}function Tj(a,b){a=a|0;b=b|0;var c=0;c=Ea-16|0;Ea=c;Ga[a|0](c+8|0,b);a=Qa(8);b=J[c+12>>2];J[a>>2]=J[c+8>>2];J[a+4>>2]=b;Ea=c+16|0;return a|0}function Mh(){var a=0;a=Qa(32);J[a>>2]=0;J[a+4>>2]=0;J[a+24>>2]=0;J[a+28>>2]=0;J[a+16>>2]=0;J[a+20>>2]=0;J[a+8>>2]=0;J[a+12>>2]=0;return a|0}function gl(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=Q(d);e=e|0;var f=0;f=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){f=J[f+J[b>>2]>>2]}Ga[f|0](b,c,d,e)}function Pk(a,b,c,d,e){a=a|0;b=b|0;c=Q(c);d=d|0;e=e|0;var f=0;f=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){f=J[f+J[b>>2]>>2]}Ga[f|0](b,c,d,e)}function ac(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){f=J[f+J[b>>2]>>2]}Ga[f|0](b,c,d,e)}function Qk(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ea-16|0;Ea=c;d=J[b+4>>2];J[c+8>>2]=J[b>>2];J[c+12>>2]=d;a=Ga[a|0](c+8|0)|0;Ea=c+16|0;return a|0}function Uk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){e=J[e+J[b>>2]>>2]}return Ga[e|0](b,c,d)|0}function Ti(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ea-16|0;Ea=e;J[e+8>>2]=c;J[e+12>>2]=b;Od(J[a+12>>2],3488,e+12|0,e+8|0,d);Ea=e+16|0}function Si(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ea-16|0;Ea=e;J[e+8>>2]=c;J[e+12>>2]=b;Od(J[a+12>>2],3500,e+12|0,e+8|0,d);Ea=e+16|0}function ij(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ea-16|0;Ea=e;a=J[a>>2];J[e+12>>2]=d;a=Ga[a|0](b,c,e+12|0)|0;Ea=e+16|0;return a|0}function ic(a,b,c,d,e,f){var g=0,h=0;g=J[a+4>>2];h=g>>8;a=J[a>>2];if(g&1){h=J[J[d>>2]+h>>2]}Ga[J[J[a>>2]+20>>2]](a,b,c,d+h|0,g&2?e:2,f)}function pf(a,b){a=a|0;b=b|0;a=Ga[a|0](b)|0;b=Qa(6);I[b+4>>1]=L[a+4>>1];a=L[a>>1]|L[a+2>>1]<<16;I[b>>1]=a;I[b+2>>1]=a>>>16;return b|0}function Kf(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=Q(e);f=Q(f);g=Q(g);h=h|0;i=i|0;j=j|0;k=k|0;Ga[a|0](b,c,d,e,f,g,h,i,j,k)}function Jb(a,b,c){a=a|0;b=b|0;c=Q(c);var d=0;d=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){d=J[d+J[b>>2]>>2]}return Q(Q(Ga[d|0](b,c)))}function Ob(a,b,c,d,e){var f=0,g=0;f=J[a+4>>2];g=f>>8;a=J[a>>2];if(f&1){g=J[J[c>>2]+g>>2]}Ga[J[J[a>>2]+24>>2]](a,b,c+g|0,f&2?d:2,e)}function ce(a,b,c,d){a=a|0;b=b|0;c=Q(c);d=Q(d);var e=0;e=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){e=J[e+J[b>>2]>>2]}Ga[e|0](b,c,d)}function Qa(a){var b=0;a=a>>>0<=1?1:a;a:{while(1){b=db(a);if(b){break a}b=J[6522];if(b){Ga[b|0]();continue}break}ma();B()}return b}function ye(a,b,c){var d=0,e=0;d=Qa(4);J[d>>2]=c;e=Qa(4);J[e>>2]=c;da(19968,b|0,19288,10053,640,d|0,19288,10048,639,e|0);return a}function wk(a,b,c,d){a=a|0;b=b|0;c=Q(c);d=d|0;var e=0;e=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){e=J[e+J[b>>2]>>2]}Ga[e|0](b,c,d)}function we(a,b,c){var d=0,e=0;d=Qa(4);J[d>>2]=c;e=Qa(4);J[e>>2]=c;da(19984,b|0,18892,10062,648,d|0,18892,10057,647,e|0);return a}function ve(a,b,c){var d=0,e=0;d=Qa(4);J[d>>2]=c;e=Qa(4);J[e>>2]=c;da(19464,b|0,18808,10053,652,d|0,18808,10048,651,e|0);return a}function dc(a,b,c){var d=0,e=0;d=Qa(4);J[d>>2]=c;e=Qa(4);J[e>>2]=c;da(19960,b|0,18892,10062,638,d|0,18892,10057,637,e|0);return a}function _k(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0);c=N[b+12>>2];d=N[b+4>>2];N[a>>2]=Q(N[b>>2]+N[b+8>>2])*Q(.5);N[a+4>>2]=Q(d+c)*Q(.5)}function Zk(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0);c=N[b+12>>2];d=N[b+4>>2];N[a>>2]=Q(N[b+8>>2]-N[b>>2])*Q(.5);N[a+4>>2]=Q(c-d)*Q(.5)}function Sh(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0),e=Q(0);e=N[b+244>>2];d=N[b+156>>2];N[a>>2]=Q(d*N[b+240>>2])*c;N[a+4>>2]=Q(d*e)*c}function Se(){var a=0;a=Qa(152);J[a+148>>2]=0;J[a+4>>2]=2;J[a+8>>2]=1008981770;J[a>>2]=12420;J[a+12>>2]=0;J[a+16>>2]=0;return a|0}function Mg(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0),e=Q(0);e=N[b+140>>2];d=N[b+116>>2];N[a>>2]=Q(d*N[b+136>>2])*c;N[a+4>>2]=Q(d*e)*c}function Hk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=Q(d);var e=0;e=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){e=J[e+J[b>>2]>>2]}Ga[e|0](b,c,d)}function Be(a,b,c){var d=0,e=0;d=Qa(4);J[d>>2]=c;e=Qa(4);J[e>>2]=c;da(19288,b|0,18892,10062,618,d|0,18892,10057,617,e|0);return a}function Ae(a,b,c){var d=0,e=0;d=Qa(4);J[d>>2]=c;e=Qa(4);J[e>>2]=c;da(19952,b|0,18892,10062,632,d|0,18892,10057,631,e|0);return a}function dl(a){a=a|0;var b=0;b=Qa(16);J[b+4>>2]=0;J[b>>2]=12560;H[b+8|0]=0;J[b+12>>2]=J[a>>2];J[a>>2]=0;J[b>>2]=21012;return b|0}function dd(a){wb(J[a>>2],J[a+20>>2]);wb(J[a>>2],J[a+24>>2]);wb(J[a>>2],J[a+16>>2]);wb(J[a>>2],J[a+12>>2]);wb(J[a>>2],J[a+8>>2])}function bc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){e=J[e+J[b>>2]>>2]}Ga[e|0](b,c,d)}function Mb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){d=J[d+J[b>>2]>>2]}return Ga[d|0](b,c)|0}function sk(a){a=a|0;var b=Q(0),c=Q(0);b=N[a+28>>2];c=Q(b*b);b=N[a+32>>2];return Q(Q(Q(N[a+116>>2]*Q(c+Q(b*b)))+N[a+124>>2]))}function Bf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(Za(a,J[b+8>>2],0)){kc(b,c,d);return}a=J[a+8>>2];Ga[J[J[a>>2]+28>>2]](a,b,c,d)}function Ri(a,b,c,d){a=a|0;b=b|0;c=Q(c);d=d|0;var e=0;e=Ea-16|0;Ea=e;N[e+12>>2]=c;Nd(J[a+12>>2],4896,b,e+12|0,d);Ea=e+16|0}function Mi(a,b,c,d){a=a|0;b=b|0;c=Q(c);d=d|0;var e=0;e=Ea-16|0;Ea=e;N[e+12>>2]=c;Nd(J[a+12>>2],1708,b,e+12|0,d);Ea=e+16|0}function rb(a,b){a=a|0;b=b|0;var c=0;c=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){c=J[c+J[b>>2]>>2]}return Q(Q(Ga[c|0](b)))}function oi(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=Ya(e,148);f=yb(b,a,0,c,0),g=12612,J[f>>2]=g;return b|0}function jh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=Ya(e,148);f=yb(b,a,0,c,0),g=13548,J[f>>2]=g;return b|0}function hi(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;e=Ya(e,148);f=yb(e,a,b,c,d),g=12732,J[f>>2]=g;return e|0}function gh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=Ya(e,148);f=yb(b,a,0,c,0),g=13608,J[f>>2]=g;return b|0}function fi(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;e=Ya(e,148);f=yb(e,a,b,c,d),g=12792,J[f>>2]=g;return e|0}function _h(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=Ya(e,148);f=yb(b,a,0,c,0),g=13008,J[f>>2]=g;return b|0}function Yh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=Ya(e,148);f=yb(b,a,0,c,0),g=13068,J[f>>2]=g;return b|0}function cc(a,b){a=a|0;b=b|0;var c=0;c=Ea-16|0;Ea=c;J[c+12>>2]=b;a=Ga[a|0](c+12|0)|0;la(J[c+12>>2]);Ea=c+16|0;return a|0}function ub(a,b,c){a=a|0;b=b|0;c=Q(c);var d=0;d=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){d=J[d+J[b>>2]>>2]}Ga[d|0](b,c)}function zl(a,b,c,d){a=a|0;b=b|0;c=Q(c);d=Q(d);var e=0;e=Ea-16|0;Ea=e;N[e+12>>2]=d;N[e+8>>2]=c;Zd(a,b,e+8|0);Ea=e+16|0}function qf(a,b){a=a|0;b=b|0;var c=0;c=L[b>>1]|L[b+2>>1]<<16;I[a+32>>1]=c;I[a+34>>1]=c>>>16;I[a+36>>1]=L[b+4>>1];sd(a)}function Df(a,b){a=a|0;b=b|0;var c=0;if(K[a+38|0]!=(b|0)){c=J[a+8>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;H[a+38|0]=b}}function $a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){d=J[d+J[b>>2]>>2]}Ga[d|0](b,c)}function jb(a,b){a=a|0;b=b|0;var c=0;c=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){c=J[c+J[b>>2]>>2]}return Ga[c|0](b)|0}function ai(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0);d=N[b+116>>2];c=Q(N[b+100>>2]*c);N[a+4>>2]=c*N[b+120>>2];N[a>>2]=c*d}function rg(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0);d=N[b+104>>2];c=Q(N[b+92>>2]*c);N[a+4>>2]=c*N[b+108>>2];N[a>>2]=c*d}function gb(a,b){a=a|0;b=b|0;var c=0;c=J[a>>2];a=Qa(8);b=b+c|0;c=J[b+4>>2];J[a>>2]=J[b>>2];J[a+4>>2]=c;return a|0}function pi(a,b){a=a|0;b=b|0;var c=0;c=L[a+4>>1];if(!(!(c&16)^b)){J[a+72>>2]=0;I[a+4>>1]=c&65519|(b?16:0);Hb(a)}}function He(a,b,c){a=a|0;b=b|0;c=c|0;a=Ga[a|0](b,c)|0;b=Qa(8);c=J[a+4>>2];J[b>>2]=J[a>>2];J[b+4>>2]=c;return b|0}function rl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=a,e=na((H[b+11|0]<0?J[b>>2]:b)|0,20084,J[c>>2])|0,J[d>>2]=e}function nl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=a,e=na((H[b+11|0]<0?J[b>>2]:b)|0,20312,J[c>>2])|0,J[d>>2]=e}function hl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=a,e=na((H[b+11|0]<0?J[b>>2]:b)|0,20544,J[c>>2])|0,J[d>>2]=e}function cl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=a,e=na((H[b+11|0]<0?J[b>>2]:b)|0,20944,J[c>>2])|0,J[d>>2]=e}function Te(a,b){a=a|0;b=b|0;var c=0;a=Ga[a|0](b)|0;b=Qa(8);c=J[a+4>>2];J[b>>2]=J[a>>2];J[b+4>>2]=c;return b|0}function fk(a,b){a=a|0;b=b|0;var c=0;c=L[a+4>>1];if(b){I[a+4>>1]=c|4;return}J[a+144>>2]=0;I[a+4>>1]=c&65529|2}function Bb(a,b,c){if(c){if((c|0)>=641){Va(b);return}a=(K[c+23476|0]<<2)+a|0;J[b>>2]=J[a+12>>2];J[a+12>>2]=b}}function pb(a,b){a=a|0;b=b|0;var c=0;c=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){c=J[c+J[b>>2]>>2]}Ga[c|0](b)}function Bk(a,b){a=a|0;b=Q(b);if(J[a>>2]){if(Q(b*b)>Q(0)){J[a+144>>2]=0;I[a+4>>1]=L[a+4>>1]|2}N[a+72>>2]=b}}function Xe(){var a=0;a=Qa(20);J[a+4>>2]=0;J[a+8>>2]=0;J[a>>2]=12332;J[a+12>>2]=0;J[a+16>>2]=0;return a|0}function lj(a,b,c){a=a|0;b=b|0;c=c|0;a=J[a>>2]+(b<<3)|0;b=J[c+4>>2];J[a>>2]=J[c>>2];J[a+4>>2]=b;return 1}function _j(a){a=a|0;var b=Q(0),c=Q(0);b=N[J[a+48>>2]+20>>2];c=N[J[a+52>>2]+20>>2];N[a+140>>2]=b>c?b:c}function xl(){var a=0;a=Qa(20);J[a>>2]=0;J[a+4>>2]=0;J[a+16>>2]=0;J[a+8>>2]=0;J[a+12>>2]=0;return a|0}function tl(a){a=a|0;var b=0;b=Qa(12);H[b+4|0]=0;J[b+8>>2]=J[a>>2];J[a>>2]=0;J[b>>2]=20152;return b|0}function ol(a){a=a|0;var b=0;b=Qa(12);H[b+4|0]=0;J[b+8>>2]=J[a>>2];J[a>>2]=0;J[b>>2]=20380;return b|0}function Yb(a){var b=0;if(!(H[23388]&1)){b=ea(1,20184)|0;H[23388]=1;J[5846]=b}ka(J[5846],a|0,2244,0)}function Xj(){var a=0;a=Qa(20);J[a>>2]=0;J[a+4>>2]=0;H[a+16|0]=0;J[a+8>>2]=0;J[a+12>>2]=0;return a|0}function jf(a,b){a=a|0;b=b|0;var c=0;c=J[a+12>>2];return Ga[J[J[c>>2]+16>>2]](c,J[a+8>>2]+12|0,b)|0}function mg(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0);d=N[b+108>>2];N[a>>2]=N[b+104>>2]*c;N[a+4>>2]=d*c}function Yk(a){a=a|0;var b=Q(0);b=Q(Q(N[a+8>>2]-N[a>>2])+Q(N[a+12>>2]-N[a+4>>2]));return Q(Q(b+b))}function nh(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0);d=N[b+100>>2];N[a>>2]=N[b+96>>2]*c;N[a+4>>2]=d*c}function nd(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0);d=N[b+88>>2];N[a>>2]=N[b+84>>2]*c;N[a+4>>2]=d*c}function Gh(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0);d=N[b+84>>2];N[a>>2]=N[b+80>>2]*c;N[a+4>>2]=d*c}function sf(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(Za(a,J[b+8>>2],f)){jc(b,c,d,e)}}function Lf(){var a=0;a=J[6088];if(a){while(1){Ga[J[a>>2]]();a=J[a+4>>2];if(a){continue}break}}}function Zh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;zd(b,J[J[a+48>>2]+12>>2],c,J[J[a+52>>2]+12>>2],d)}function Xh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;yd(b,J[J[a+48>>2]+12>>2],c,J[J[a+52>>2]+12>>2],d)}function Oe(a,b,c,d,e,f,g){a=a|0;b=b|0;c=Q(c);d=Q(d);e=Q(e);f=Q(f);g=Q(g);Ga[a|0](b,c,d,e,f,g)}function Ih(a,b){a=a|0;b=b|0;var c=0;b=J[b+48>>2];c=J[b+16>>2];J[a>>2]=J[b+12>>2];J[a+4>>2]=c}function Hh(a,b){a=a|0;b=b|0;var c=0;b=J[b+52>>2];c=J[b+16>>2];J[a>>2]=J[b+12>>2];J[a+4>>2]=c}function lh(a,b){a=a|0;b=b|0;N[a+76>>2]=N[a+76>>2]-N[b>>2];N[a+80>>2]=N[a+80>>2]-N[b+4>>2]}function hb(a,b,c){a=a|0;b=b|0;c=c|0;a=J[a>>2]+b|0;b=J[c+4>>2];J[a>>2]=J[c>>2];J[a+4>>2]=b}function xe(){var a=0;a=Qa(16);J[a>>2]=0;J[a+4>>2]=0;J[a+8>>2]=0;J[a+12>>2]=0;return a|0}function Pd(a){a=a|0;J[a>>2]=21056;if(K[a+8|0]){Yb(J[a+12>>2])}la(J[a+12>>2]);return a|0}function Nk(a,b){a=a|0;b=b|0;var c=0;c=J[b+4>>2];J[a+102964>>2]=J[b>>2];J[a+102968>>2]=c}function Mk(a,b){a=a|0;b=b|0;var c=0;c=J[b+102968>>2];J[a>>2]=J[b+102964>>2];J[a+4>>2]=c}function Gg(a){a=a|0;return Q(Q(Q(N[J[a+52>>2]+56>>2]-N[J[a+48>>2]+56>>2])-N[a+116>>2]))}function Wb(a){a=a|0;J[a>>2]=20668;if(K[a+4|0]){Yb(J[a+8>>2])}la(J[a+8>>2]);return a|0}function Ud(a){a=a|0;J[a>>2]=20172;if(K[a+4|0]){Yb(J[a+8>>2])}la(J[a+8>>2]);return a|0}function Td(a){a=a|0;J[a>>2]=20400;if(K[a+4|0]){Yb(J[a+8>>2])}la(J[a+8>>2]);return a|0}function Pj(a,b){a=a|0;b=b|0;var c=0;c=J[b+48>>2];N[a+4>>2]=M[b+52>>2];N[a>>2]=c>>>0}function le(a,b){var c=0;c=Qa(4);J[c>>2]=b;Z(21420,a|0,2,21924,10053,662,c|0,0,0)}function ke(a,b){var c=0;c=Qa(4);J[c>>2]=b;Z(21516,a|0,3,21968,10048,663,c|0,0,0)}function je(a,b){var c=0;c=Qa(4);J[c>>2]=b;Z(21516,a|0,2,21980,10053,664,c|0,0,0)}function ph(a,b){a=a|0;b=b|0;var c=0;c=J[b+80>>2];J[a>>2]=J[b+76>>2];J[a+4>>2]=c}function ul(){var a=0;a=Qa(6);I[a+4>>1]=0;I[a>>1]=1;I[a+2>>1]=65535;return a|0}function rf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Ga[a|0](b,c,d,e)|0}function Ak(a){a=a|0;N[a+136>>2]=Y(Q(N[J[a+48>>2]+16>>2]*N[J[a+52>>2]+16>>2]))}function Cf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(Za(a,J[b+8>>2],0)){kc(b,c,d)}}function wl(){var a=0;a=Qa(12);J[a>>2]=0;J[a+4>>2]=0;J[a+8>>2]=0;return a|0}function fc(){var a=0;a=Qa(12);J[a+8>>2]=0;J[a>>2]=0;J[a+4>>2]=0;return a|0}function ec(a){a=a|0;var b=0;if(a){b=J[a>>2];if(b){J[a+4>>2]=b;Va(b)}Va(a)}}function Dl(a){var b=0;b=a&31;a=0-a&31;return(-1>>>b&-2)<>>a} -function pj(a,b,c){a=a|0;b=b|0;c=c|0;J[J[a>>2]+(b<<2)>>2]=J[c>>2];return 1}function Ye(a,b,c){a=a|0;b=b|0;c=c|0;return Ga[J[J[a>>2]+16>>2]](a,b,c)|0}function Fg(a){a=a|0;return Q(Q(N[J[a+52>>2]+72>>2]-N[J[a+48>>2]+72>>2]))}function hj(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ga[J[a>>2]](b,c,d)|0}function bj(a){a=a|0;J[a>>2]=20636;Xb(a+12|0,J[a+16>>2]);return Wb(a)|0}function Rh(a,b){a=a|0;b=Q(b);return Q(Q(Q(N[a+156>>2]*N[a+256>>2])*b))}function Fe(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=Q(d);e=Q(e);Ga[a|0](b,c,d,e)}function Ze(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ga[a|0](b,c,d)|0}function id(a){wb(J[a+32>>2],J[a+40>>2]);wb(J[a+32>>2],J[a+36>>2])}function $i(a){a=a|0;J[a>>2]=20636;Xb(a+12|0,J[a+16>>2]);Va(Wb(a))}function zb(a,b){a=a|0;b=b|0;Ga[J[J[a>>2]+4>>2]](a)|0;Bb(b,a,148)}function Ie(a,b){a=a|0;b=b|0;return Q(N[(J[a>>2]+(b<<3)|0)+4>>2])}function Ue(a,b,c){a=a|0;b=Q(b);c=Q(c);N[a+12>>2]=b;N[a+16>>2]=c}function Li(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ga[J[a>>2]](b,c,d)}function hk(a,b){a=a|0;b=b|0;I[a+4>>1]=L[a+4>>1]&65527|(b?8:0)}function Vi(a,b,c){a=a|0;b=b|0;c=c|0;return Q(Q(Ga[a|0](b,c)))}function We(a,b,c,d){a=a|0;b=b|0;c=Q(c);d=Q(d);Ga[a|0](b,c,d)}function rh(a,b){a=a|0;b=b|0;return Q(N[((b<<3)+a|0)+12>>2])}function hh(a,b){a=a|0;b=b|0;return Q(N[((b<<2)+a|0)+24>>2])}function Xb(a,b){if(b){Xb(a,J[b>>2]);Xb(a,J[b+4>>2]);Va(b)}}function Ve(a,b){a=a|0;b=b|0;J[a+4>>2]=J[a+4>>2]&-5|(b?4:0)}function Re(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ga[a|0](b,c,d)}function Og(a,b){a=a|0;b=b|0;return Q(N[((b<<2)+a|0)+8>>2])}function Je(a,b){a=a|0;b=b|0;return Q(N[J[a>>2]+(b<<3)>>2])}function Bh(a,b){a=a|0;b=b|0;return Q(N[((b<<3)+a|0)+8>>2])}function Hf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Fa=0;return 0}function Ac(a,b,c){a=a|0;b=b|0;c=c|0;return Ga[a|0](b,c)|0}function nc(a,b){a=a|0;b=Q(b);return Q(Q(N[a+112>>2]*b))}function bf(a,b){a=a|0;b=b|0;return J[a+24>>2]+P(b,28)|0}function ah(a,b){a=a|0;b=Q(b);return Q(Q(N[a+108>>2]*b))}function Sg(a,b){a=a|0;b=Q(b);return Q(Q(N[a+116>>2]*b))}function vi(a,b){a=a|0;b=b|0;J[a+4>>2]=J[a+4>>2]&(b^-1)}function md(a,b){a=a|0;b=Q(b);return Q(Q(N[a+92>>2]*b))}function fb(a,b,c){a=a|0;b=b|0;c=Q(c);N[J[a>>2]+b>>2]=c}function Qc(a,b,c){a=a|0;b=b|0;c=c|0;return Za(a,b,0)|0}function Fh(a,b){a=a|0;b=Q(b);return Q(Q(N[a+88>>2]*b))}function Bg(a,b){a=a|0;b=Q(b);return Q(Q(N[a+96>>2]*b))}function se(a,b,c){a=a|0;b=b|0;c=c|0;J[J[a>>2]+b>>2]=c}function eb(a,b){a=a|0;b=b|0;return Q(N[J[a>>2]+b>>2])}function Yd(a,b,c){a=a|0;b=b|0;c=c|0;I[J[a>>2]+b>>1]=c}function zc(a,b,c){a=a|0;b=b|0;c=c|0;Ga[J[a>>2]](b,c)}function od(a,b){a=a|0;b=b|0;return Q(N[(b<<2)+a>>2])}function _e(a){a=a|0;return Ga[J[J[a>>2]+12>>2]](a)|0}function Lb(a,b,c){a=a|0;b=b|0;c=c|0;H[J[a>>2]+b|0]=c}function jl(a,b){a=a|0;b=b|0;return Q(Q(Ga[a|0](b)))}function Md(a,b){a=a|0;b=b|0;return Ga[J[a>>2]](b)|0}function Ge(a,b){a=a|0;b=b|0;return J[a>>2]+(b<<3)|0}function re(a,b){a=a|0;b=b|0;return J[J[a>>2]+b>>2]}function kj(a,b){a=a|0;b=b|0;return L[J[a>>2]+b>>1]}function jj(a,b){a=a|0;b=b|0;return I[J[a>>2]+b>>1]}function Dj(a){a=a|0;if(a){Ga[J[J[a>>2]+28>>2]](a)}}function Al(a){if(a){return 31-S(a-1^a)|0}return 32}function wi(a,b){a=a|0;b=b|0;J[a+4>>2]=J[a+4>>2]|b}function vl(a,b,c){a=a|0;b=b|0;c=Q(c);Ga[a|0](b,c)}function qb(a){a=a|0;if(a){Ga[J[J[a>>2]+4>>2]](a)}}function Kb(a,b){a=a|0;b=b|0;return K[J[a>>2]+b|0]}function mh(a,b){a=a|0;b=Q(b);return Q(Q(b*Q(0)))}function Nb(a,b,c){a=a|0;b=b|0;c=c|0;Ga[a|0](b,c)}function rj(a){a=a|0;return J[a+4>>2]-J[a>>2]>>2}function gc(a,b){a=a|0;b=b|0;return Ga[a|0](b)|0}function Mc(a){a=a|0;return J[a+4>>2]-J[a>>2]>>3}function Ni(a,b){a=a|0;b=b|0;return P(b,20)+a|0}function Nc(a,b,c,d){ya(a|0,b|0,8,0,c|0,-1,d|0)}function ck(a){a=a|0;return(K[a+4|0]&32)>>>5|0}function bk(a){a=a|0;return(K[a+4|0]&16)>>>4|0}function Ff(a){a=a|0;return J[J[a+12>>2]+4>>2]}function li(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function gk(a){a=a|0;return(K[a+4|0]&8)>>>3|0}function ek(a){a=a|0;return(K[a+4|0]&4)>>>2|0}function Zf(a,b){a=a|0;b=b|0;J[a+102940>>2]=b}function Yf(a,b){a=a|0;b=b|0;J[a+102980>>2]=b}function De(a){a=a|0;return(K[a+4|0]&2)>>>1|0}function tc(a,b){a=a|0;b=Q(b);return Q(Q(0))}function ue(a,b){a=a|0;b=Q(b);N[a+136>>2]=b}function sl(a,b){a=a|0;b=Q(b);N[a+144>>2]=b}function pe(a,b){a=a|0;b=Q(b);N[a+140>>2]=b}function ik(a,b){a=a|0;b=Q(b);N[a+132>>2]=b}function fe(a,b){a=a|0;b=Q(b);N[a+104>>2]=b}function cb(a){a=a|0;return J[J[a>>2]-4>>2]}function Zb(a,b){a=a|0;b=b|0;Ga[J[a>>2]](b)}function Ah(a,b){a=a|0;b=Q(b);N[a+100>>2]=b}function uh(a,b){a=a|0;b=Q(b);N[a+88>>2]=b}function te(a){a=a|0;return Q(N[a+136>>2])}function qe(a){a=a|0;return Q(N[a+116>>2])}function oe(a){a=a|0;return Q(N[a+132>>2])}function me(a){a=a|0;return Q(N[a+140>>2])}function ff(a,b){a=a|0;b=Q(b);N[a+16>>2]=b}function df(a,b){a=a|0;b=Q(b);N[a+20>>2]=b}function de(a){a=a|0;return Q(N[a+100>>2])}function al(a){a=a|0;return Q(N[a+144>>2])}function ae(a,b){a=a|0;b=Q(b);N[a+84>>2]=b}function Jj(a){a=a|0;return Q(N[a+128>>2])}function Jc(a){a=a|0;return Q(N[a+104>>2])}function Ic(a,b){a=a|0;b=Q(b);N[a+68>>2]=b}function Gj(a){a=a|0;return Q(N[a+108>>2])}function Gc(a,b){a=a|0;b=Q(b);N[a+72>>2]=b}function Fc(a){a=a|0;return Q(N[a+124>>2])}function Eh(a,b){a=a|0;b=Q(b);N[a+92>>2]=b}function Ec(a){a=a|0;return Q(N[a+120>>2])}function Ch(a,b){a=a|0;b=Q(b);N[a+96>>2]=b}function xh(a){a=a|0;return Q(N[a+76>>2])}function ui(a){a=a|0;return Q(N[a+40>>2])}function th(a){a=a|0;return Q(N[a+88>>2])}function si(a){a=a|0;return Q(N[a+44>>2])}function ld(a){a=a|0;return Q(N[a+84>>2])}function kf(a,b){a=a|0;b=b|0;J[a+40>>2]=b}function gf(a){a=a|0;return Q(N[a+16>>2])}function ef(a){a=a|0;return Q(N[a+20>>2])}function _d(a){a=a|0;return Q(N[a+96>>2])}function Wh(a){a=a|0;return Q(N[a+12>>2])}function Vj(a,b){a=a|0;b=b|0;J[a+12>>2]=b}function Ok(a){a=a|0;return K[a+102972|0]}function Hc(a){a=a|0;return Q(N[a+68>>2])}function Fk(a){a=a|0;return Q(N[a+56>>2])}function Fi(a){a=a|0;return Q(N[a+48>>2])}function Dh(a){a=a|0;return Q(N[a+92>>2])}function Ai(a){a=a|0;return Q(N[a+52>>2])}function $e(a,b){a=a|0;b=Q(b);N[a+8>>2]=b}function $b(a){a=a|0;return Q(N[a+72>>2])}function xi(a,b){a=a|0;b=b|0;J[a+4>>2]=b}function xd(a){a=a|0;return Q(N[a+4>>2])}function ud(a){a=a|0;return Q(N[a+8>>2])}function Wj(a,b){a=a|0;b=b|0;J[a+8>>2]=b}function ib(a){a=a|0;return Ga[a|0]()|0}function hf(a,b){a=a|0;b=Q(b);N[a>>2]=b}function ak(a){a=a|0;return J[a+100>>2]}function Ik(a,b){a=a|0;b=b|0;Ga[a|0](b)}function $j(a){a=a|0;return J[a+108>>2]}function yl(a){a=a|0;J[a+4>>2]=J[a>>2]}function yg(a){a=a|0;return K[a+112|0]}function vc(a){a=a|0;return Q(N[a>>2])}function lf(a){a=a|0;return J[a+40>>2]}function lc(a){a=a|0;return J[a+12>>2]}function gj(a){a=a|0;return J[a+56>>2]}function dg(a){a=a|0;return K[a+128|0]}function be(a){a=a|0;return J[a+48>>2]}function aj(a){a=a|0;return J[a+60>>2]}function Zj(a){a=a|0;return J[a+88>>2]}function Zg(a){a=a|0;return K[a+136|0]}function Wg(a){a=a|0;return K[a+137|0]}function Eg(a){a=a|0;return K[a+100|0]}function Dg(a){a=a|0;return J[a+16>>2]}function $d(a){a=a|0;return J[a+52>>2]}function xf(a){a=a|0;return K[a+38|0]}function pc(a,b){a=a|0;b=b|0;return 1}function mc(a){a=a|0;return J[a+8>>2]}function Uj(a){a=a|0;return K[a+61|0]}function Fb(a){a=a|0;return J[a+4>>2]}function af(a,b){a=a|0;b=b|0;rd(a,b)}function Xd(a){a=a|0;return a- -64|0}function Qd(a,b,c){a=a|0;b=b|0;c=c|0}function oc(a){a=a|0;return J[a>>2]}function yj(a){a=a|0;return a+92|0}function nf(a){a=a|0;return a+32|0}function he(a){a=a|0;return a+80|0}function hc(a){a=a|0;return a+12|0}function ge(a){a=a|0;return a+88|0}function ee(a){a=a|0;return a+84|0}function _b(a){a=a|0;return a+68|0}function Ib(a){a=a|0;return a+76|0}function Ek(a){a=a|0;return a+44|0}function Dk(a){a=a|0;return a+28|0}function xj(a){a=a|0;return 19700}function oj(a){a=a|0;return 19824}function bl(a){a=a|0;return 19504}function _a(a){a=a|0;if(a){Va(a)}}function Yj(a){a=a|0;return 21516}function Sk(a){a=a|0;return 21328}function Sj(a){a=a|0;return 22068}function Qj(a){a=a|0;return 22184}function Nj(a){a=a|0;return 22312}function Lk(a){a=a|0;return 21444}function Lj(a){a=a|0;return 22440}function Jk(a){a=a|0;return 21420}function Ij(a){a=a|0;return 22608}function Fj(a){a=a|0;return 22784}function Cj(a){a=a|0;return 22924}function Aj(a){a=a|0;return 23040}function kh(a){a=a|0;Ra(9977,0)}function el(a){a=a|0;H[a+8|0]=1}function Ua(a){a=a|0;return a|0}function Lh(a){a=a|0;Ra(9930,0)}function Lc(a){a=a|0;H[a+4|0]=1}function fj(a){a=a|0;Va(Ud(a))}function dj(a){a=a|0;Va(Td(a))}function Wi(a){a=a|0;Va(Wb(a))}function Ui(a){a=a|0;Va(Pd(a))}function ze(){return Qa(16)|0}function yc(a){a=a|0;return 1}function If(a){a=a|0;return 0}function Ce(){return Qa(8)|0}function Bc(a,b){a=a|0;b=b|0}function mf(a){a=a|0;sd(a)}function Wa(a){a=a|0;Va(a)}function Eb(a){a=a|0;B()}function Dd(a,b){xc(a,b)}function Cc(){ma();B()}function lb(a){a=a|0} -// EMSCRIPTEN_END_FUNCS -e=K;p(q);var Ga=c([null,Vi,od,$f,of,Nb,Ve,gc,De,vl,sl,jl,al,ue,te,Ik,Ak,pe,me,_j,Tj,Pj,gc,be,$d,Nb,uj,Xd,gj,aj,Ac,Ni,Fi,Ai,ui,si,vc,xd,ud,Wh,ib,Mh,Bh,rh,hh,vc,xd,_a,od,Og,gc,Dg,oc,Fb,mc,lc,Tf,_a,Kf,Gf,Ff,lc,Df,xf,Nb,qf,pf,nf,mf,mc,Fb,lf,kf,Ac,jf,hf,vc,gf,ff,ef,df,cf,bf,Nb,af,ud,$e,Fb,_e,Ze,Ye,Xe,qb,We,Ue,Te,hc,Se,qb,Re,Qe,Pe,Oe,Ne,Ac,Me,Le,fc,ec,Ke,Mc,Je,Ie,He,Ge,oc,Fe,zl,yl,_a,Ce,_a,Ce,_a,ze,_a,ze,_a,xl,_a,wl,_a,xe,_a,ul,qb,cb,Mb,qb,Ua,Ua,cb,Lc,tl,cc,rl,ql,qb,cb,pl,qb,Ua,Ua,cb,Lc,ol,cc,nl,qb,cb,$a,bc,ml,$a,ll,kl,Mb,qb,Ua,Ua,cb,Lc,il,cc,hl,qb,cb,xi,$a,Fb,jb,wi,vi,ac,gl,fl,ac,$a,qb,Ua,Ua,cb,el,dl,cc,cl,_a,bl,xe,ib,$k,jb,_k,Kc,Zk,Yk,rb,Xk,Wk,Vk,Mb,Ei,Uk,hb,gb,Tk,Sk,Rk,Qk,Zf,$a,Yf,$a,Pf,pb,Xf,Mb,Wf,$a,Vf,Mb,$c,$a,Sf,Pk,Rf,bc,Qf,ac,Uf,$a,Ok,jb,Nk,$a,Mk,Kc,Of,lb,Lk,Kk,ib,se,re,hb,gb,fb,eb,Lb,Kb,lb,Jk,ri,Hk,hc,Gk,hc,vb,Fk,rb,Ek,Dk,Ck,$a,Xd,Bk,ub,$b,zk,ac,yk,bc,xk,wk,vk,uk,tk,qe,sk,rk,$a,qk,Hb,pb,pk,ok,nk,mk,lk,kk,jk,oe,ik,te,ue,me,pe,ti,$a,oc,jb,hk,$a,gk,jb,fk,ek,dk,De,qi,ck,pi,bk,ak,$j,Zj,jb,Bd,_a,Yj,Xj,ib,se,re,Wj,mc,Vj,lc,Lb,Kb,lb,cb,Fb,jb,be,jb,$d,Kc,ie,Jb,Uj,jb,pb,_a,Ua,Ua,Sj,Rj,ib,hb,gb,fb,eb,lb,Ua,Ua,cb,he,vb,ge,fe,ub,Jc,rb,Ic,Hc,Gc,$b,pb,_a,Ua,Ua,Qj,Oj,ib,hb,gb,fb,eb,lb,Ua,Ua,cb,zh,$a,_b,vb,yh,ub,xh,rb,Eh,Dh,Ch,_d,Ah,de,pb,_a,Ua,Ua,Nj,Mj,ib,hb,gb,fb,eb,lb,Ua,Ua,cb,vh,$a,Ib,vb,fe,ub,Jc,rb,ae,ld,uh,th,pb,_a,Ua,Ua,Lj,Kj,ib,hb,gb,fb,eb,Lb,Kb,lb,Ua,Ua,cb,_b,vb,Ib,ee,de,rb,$g,_g,Zg,jb,Yg,$a,Ec,Fc,Xg,ce,Wg,Vg,Ug,ub,oe,Tg,Jj,Sg,Jb,pb,_a,Ua,Ua,Ij,Hj,ib,hb,gb,fb,eb,Lb,Kb,lb,Ua,Ua,cb,_b,vb,Ib,qe,rb,Gg,Fg,yg,jb,xg,$a,Ec,Fc,wg,ce,Eg,Cg,Ag,ub,Gj,zg,Jc,Bg,Jb,pb,_a,Ua,Ua,Fj,Ej,ib,hb,gb,fb,eb,Dj,Ua,Ua,cb,_b,vb,Ib,ie,Jb,ae,ub,ld,rb,pb,_a,Ua,Ua,Cj,Bj,ib,hb,gb,fb,eb,lb,Ua,Ua,cb,he,vb,ge,_d,rb,Ic,ub,Hc,Gc,$b,pb,_a,Ua,Ua,Aj,zj,ib,hb,gb,Lb,Kb,fb,eb,lb,Ua,Ua,cb,Ib,vb,ee,yj,eg,rb,dg,jb,cg,$a,bg,ub,Fc,ag,Ec,nc,Jb,Ic,Hc,Gc,$b,pb,ec,xj,fc,ib,wj,vj,tj,sj,rj,jb,qj,pj,fb,eb,ec,oj,fc,ib,nj,$a,Zd,bc,Mc,jb,mj,lj,fb,eb,hb,gb,hb,gb,fb,eb,hb,gb,fb,eb,hb,gb,fb,eb,fb,eb,hb,gb,Yd,kj,Yd,jj,Zb,Zb,Zb,Zb,zc,Li,zc,Md,zc,Md,Vd,ij,Vd,hj,ne,Ud,fj,ej,Eb,Cc,Td,dj,cj,Eb,bj,$i,_i,Zi,Yi,Xi,Wb,Wi,Bc,Bc,Qd,Qd,Pd,Ui,Ti,Si,Ri,Qi,Pi,Oi,Mi,Eb,Ua,Wa,Ki,yc,Ji,Ii,Hi,Gi,Wa,Di,yc,Ci,Bi,zi,yi,Ua,Eb,ni,Ua,Wa,Wa,mi,yc,li,ki,ji,ii,gi,Wa,ei,Wa,jh,zb,oi,_h,hi,zb,zb,gh,zb,zb,zb,Yh,zb,fi,Eb,Ua,Wa,wd,vd,ai,tc,$h,Bc,Ua,Wa,di,ci,bi,Zh,Wa,Xh,Wa,qd,pd,Sh,Rh,Qh,Wa,Vh,Uh,Th,Rb,Qb,nd,md,Nh,Wa,Ph,Oh,pc,Lh,Eb,Ih,Hh,Gh,Fh,wh,Wa,Kh,Jh,pc,ph,oh,nh,mh,kh,lh,Wa,sh,qh,pc,ih,Wa,fh,Wa,Rb,Qb,bh,ah,Rg,Wa,eh,dh,ch,qd,pd,Mg,tc,Lg,Kg,Wa,Qg,Pg,Ng,Rb,Qb,nd,md,vg,Wa,Jg,Ig,Hg,Rb,Qb,rg,tc,qg,Wa,ug,tg,sg,wd,vd,mg,nc,lg,Wa,pg,og,ng,hg,gg,fg,nc,_f,Wa,kg,jg,ig,Ua,Wa,Nf,_c,If,Jf,Hf,Tc,Sc,Ua,Wa,lb,lb,Qc,Wa,Qc,Wa,Ef,sf,vf,Cf,Wa,tf,wf,Bf,Wa,uf,yf,Af,Wa,zf]);function Ha(){return G.byteLength/65536|0}function Ma(Na){Na=Na|0;var Ia=Ha()|0;var Ja=Ia+Na|0;if(Ia=65536,"INITIAL_MEMORY should be larger than STACK_SIZE, was "+INITIAL_MEMORY+"! (STACK_SIZE="+65536+")");if(Module["wasmMemory"]){wasmMemory=Module["wasmMemory"]}else{wasmMemory=new WebAssembly.Memory({"initial":INITIAL_MEMORY/65536,"maximum":2147483648/65536})}updateMemoryViews();INITIAL_MEMORY=wasmMemory.buffer.byteLength;var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function postRun(){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)}function addOnInit(cb){__ATINIT__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}function abort(what){if(Module["onAbort"]){Module["onAbort"](what)}what="Aborted("+what+")";err(what);ABORT=true;EXITSTATUS=1;what+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(what);readyPromiseReject(e);throw e}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return filename.startsWith(dataURIPrefix)}var wasmBinaryFile;wasmBinaryFile="<<< WASM_BINARY_FILE >>>";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(file){try{if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}var binary=tryParseAsDataURI(file);if(binary){return binary}if(readBinary){return readBinary(file)}throw"both async and sync fetching of the wasm failed"}catch(err){abort(err)}}function getBinaryPromise(binaryFile){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if(typeof fetch=="function"){return fetch(binaryFile,{credentials:"same-origin"}).then(response=>{if(!response["ok"]){throw"failed to load wasm binary file at '"+binaryFile+"'"}return response["arrayBuffer"]()}).catch(()=>getBinary(binaryFile))}}return Promise.resolve().then(()=>getBinary(binaryFile))}function instantiateArrayBuffer(binaryFile,imports,receiver){return getBinaryPromise(binaryFile).then(binary=>{return WebAssembly.instantiate(binary,imports)}).then(instance=>{return instance}).then(receiver,reason=>{err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(binary,binaryFile,imports,callback){if(!binary&&typeof WebAssembly.instantiateStreaming=="function"&&!isDataURI(binaryFile)&&typeof fetch=="function"){return fetch(binaryFile,{credentials:"same-origin"}).then(response=>{var result=WebAssembly.instantiateStreaming(response,imports);return result.then(callback,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(binaryFile,imports,callback)})})}else{return instantiateArrayBuffer(binaryFile,imports,callback)}}function createWasm(){var info={"a":wasmImports};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;wasmTable=Module["asm"]["J"];addOnInit(Module["asm"]["I"]);removeRunDependency("wasm-instantiate");return exports}addRunDependency("wasm-instantiate");function receiveInstantiationResult(result){receiveInstance(result["instance"])}if(Module["instantiateWasm"]){try{return Module["instantiateWasm"](info,receiveInstance)}catch(e){err("Module.instantiateWasm callback failed with error: "+e);readyPromiseReject(e)}}instantiateAsync(wasmBinary,wasmBinaryFile,info,receiveInstantiationResult).catch(readyPromiseReject);return{}}function callRuntimeCallbacks(callbacks){while(callbacks.length>0){callbacks.shift()(Module)}}function intArrayToString(array){var ret=[];for(var i=0;i255){chr&=255}ret.push(String.fromCharCode(chr))}return ret.join("")}var char_0=48;var char_9=57;function makeLegalFunctionName(name){if(undefined===name){return"_unknown"}name=name.replace(/[^a-zA-Z0-9_]/g,"$");var f=name.charCodeAt(0);if(f>=char_0&&f<=char_9){return`_${name}`}return name}function createNamedFunction(name,body){name=makeLegalFunctionName(name);return{[name]:function(){return body.apply(this,arguments)}}[name]}function HandleAllocator(){this.allocated=[undefined];this.freelist=[];this.get=function(id){return this.allocated[id]};this.has=function(id){return this.allocated[id]!==undefined};this.allocate=function(handle){var id=this.freelist.pop()||this.allocated.length;this.allocated[id]=handle;return id};this.free=function(id){this.allocated[id]=undefined;this.freelist.push(id)}}var emval_handles=new HandleAllocator;function extendError(baseErrorType,errorName){var errorClass=createNamedFunction(errorName,function(message){this.name=errorName;this.message=message;var stack=new Error(message).stack;if(stack!==undefined){this.stack=this.toString()+"\n"+stack.replace(/^Error(:[^\n]*)?\n/,"")}});errorClass.prototype=Object.create(baseErrorType.prototype);errorClass.prototype.constructor=errorClass;errorClass.prototype.toString=function(){if(this.message===undefined){return this.name}else{return`${this.name}: ${this.message}`}};return errorClass}var BindingError=undefined;function throwBindingError(message){throw new BindingError(message)}function count_emval_handles(){var count=0;for(var i=emval_handles.reserved;i{if(!handle){throwBindingError("Cannot use deleted val. handle = "+handle)}return emval_handles.get(handle).value},toHandle:value=>{switch(value){case undefined:return 1;case null:return 2;case true:return 3;case false:return 4;default:{return emval_handles.allocate({refcount:1,value:value})}}}};var PureVirtualError=undefined;function embind_init_charCodes(){var codes=new Array(256);for(var i=0;i<256;++i){codes[i]=String.fromCharCode(i)}embind_charCodes=codes}var embind_charCodes=undefined;function readLatin1String(ptr){var ret="";var c=ptr;while(HEAPU8[c]){ret+=embind_charCodes[HEAPU8[c++]]}return ret}function getInheritedInstanceCount(){return Object.keys(registeredInstances).length}function getLiveInheritedInstances(){var rv=[];for(var k in registeredInstances){if(registeredInstances.hasOwnProperty(k)){rv.push(registeredInstances[k])}}return rv}var deletionQueue=[];function flushPendingDeletes(){while(deletionQueue.length){var obj=deletionQueue.pop();obj.$$.deleteScheduled=false;obj["delete"]()}}var delayFunction=undefined;function setDelayFunction(fn){delayFunction=fn;if(deletionQueue.length&&delayFunction){delayFunction(flushPendingDeletes)}}function init_embind(){Module["getInheritedInstanceCount"]=getInheritedInstanceCount;Module["getLiveInheritedInstances"]=getLiveInheritedInstances;Module["flushPendingDeletes"]=flushPendingDeletes;Module["setDelayFunction"]=setDelayFunction}var registeredInstances={};function getBasestPointer(class_,ptr){if(ptr===undefined){throwBindingError("ptr should not be undefined")}while(class_.baseClass){ptr=class_.upcast(ptr);class_=class_.baseClass}return ptr}function registerInheritedInstance(class_,ptr,instance){ptr=getBasestPointer(class_,ptr);if(registeredInstances.hasOwnProperty(ptr)){throwBindingError(`Tried to register registered instance: ${ptr}`)}else{registeredInstances[ptr]=instance}}var registeredTypes={};function getTypeName(type){var ptr=___getTypeName(type);var rv=readLatin1String(ptr);_free(ptr);return rv}function requireRegisteredType(rawType,humanName){var impl=registeredTypes[rawType];if(undefined===impl){throwBindingError(humanName+" has unknown type "+getTypeName(rawType))}return impl}function unregisterInheritedInstance(class_,ptr){ptr=getBasestPointer(class_,ptr);if(registeredInstances.hasOwnProperty(ptr)){delete registeredInstances[ptr]}else{throwBindingError(`Tried to unregister unregistered instance: ${ptr}`)}}function detachFinalizer(handle){}var finalizationRegistry=false;function runDestructor($$){if($$.smartPtr){$$.smartPtrType.rawDestructor($$.smartPtr)}else{$$.ptrType.registeredClass.rawDestructor($$.ptr)}}function releaseClassHandle($$){$$.count.value-=1;var toDelete=0===$$.count.value;if(toDelete){runDestructor($$)}}function downcastPointer(ptr,ptrClass,desiredClass){if(ptrClass===desiredClass){return ptr}if(undefined===desiredClass.baseClass){return null}var rv=downcastPointer(ptr,ptrClass,desiredClass.baseClass);if(rv===null){return null}return desiredClass.downcast(rv)}var registeredPointers={};function getInheritedInstance(class_,ptr){ptr=getBasestPointer(class_,ptr);return registeredInstances[ptr]}var InternalError=undefined;function throwInternalError(message){throw new InternalError(message)}function makeClassHandle(prototype,record){if(!record.ptrType||!record.ptr){throwInternalError("makeClassHandle requires ptr and ptrType")}var hasSmartPtrType=!!record.smartPtrType;var hasSmartPtr=!!record.smartPtr;if(hasSmartPtrType!==hasSmartPtr){throwInternalError("Both smartPtrType and smartPtr must be specified")}record.count={value:1};return attachFinalizer(Object.create(prototype,{$$:{value:record}}))}function RegisteredPointer_fromWireType(ptr){var rawPointer=this.getPointee(ptr);if(!rawPointer){this.destructor(ptr);return null}var registeredInstance=getInheritedInstance(this.registeredClass,rawPointer);if(undefined!==registeredInstance){if(0===registeredInstance.$$.count.value){registeredInstance.$$.ptr=rawPointer;registeredInstance.$$.smartPtr=ptr;return registeredInstance["clone"]()}else{var rv=registeredInstance["clone"]();this.destructor(ptr);return rv}}function makeDefaultHandle(){if(this.isSmartPointer){return makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:rawPointer,smartPtrType:this,smartPtr:ptr})}else{return makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this,ptr:ptr})}}var actualType=this.registeredClass.getActualType(rawPointer);var registeredPointerRecord=registeredPointers[actualType];if(!registeredPointerRecord){return makeDefaultHandle.call(this)}var toType;if(this.isConst){toType=registeredPointerRecord.constPointerType}else{toType=registeredPointerRecord.pointerType}var dp=downcastPointer(rawPointer,this.registeredClass,toType.registeredClass);if(dp===null){return makeDefaultHandle.call(this)}if(this.isSmartPointer){return makeClassHandle(toType.registeredClass.instancePrototype,{ptrType:toType,ptr:dp,smartPtrType:this,smartPtr:ptr})}else{return makeClassHandle(toType.registeredClass.instancePrototype,{ptrType:toType,ptr:dp})}}function attachFinalizer(handle){if("undefined"===typeof FinalizationRegistry){attachFinalizer=handle=>handle;return handle}finalizationRegistry=new FinalizationRegistry(info=>{releaseClassHandle(info.$$)});attachFinalizer=handle=>{var $$=handle.$$;var hasSmartPtr=!!$$.smartPtr;if(hasSmartPtr){var info={$$:$$};finalizationRegistry.register(handle,info,handle)}return handle};detachFinalizer=handle=>finalizationRegistry.unregister(handle);return attachFinalizer(handle)}function __embind_create_inheriting_constructor(constructorName,wrapperType,properties){constructorName=readLatin1String(constructorName);wrapperType=requireRegisteredType(wrapperType,"wrapper");properties=Emval.toValue(properties);var arraySlice=[].slice;var registeredClass=wrapperType.registeredClass;var wrapperPrototype=registeredClass.instancePrototype;var baseClass=registeredClass.baseClass;var baseClassPrototype=baseClass.instancePrototype;var baseConstructor=registeredClass.baseClass.constructor;var ctor=createNamedFunction(constructorName,function(){registeredClass.baseClass.pureVirtualFunctions.forEach(function(name){if(this[name]===baseClassPrototype[name]){throw new PureVirtualError(`Pure virtual function ${name} must be implemented in JavaScript`)}}.bind(this));Object.defineProperty(this,"__parent",{value:wrapperPrototype});this["__construct"].apply(this,arraySlice.call(arguments))});wrapperPrototype["__construct"]=function __construct(){if(this===wrapperPrototype){throwBindingError("Pass correct 'this' to __construct")}var inner=baseConstructor["implement"].apply(undefined,[this].concat(arraySlice.call(arguments)));detachFinalizer(inner);var $$=inner.$$;inner["notifyOnDestruction"]();$$.preservePointerOnDelete=true;Object.defineProperties(this,{$$:{value:$$}});attachFinalizer(this);registerInheritedInstance(registeredClass,$$.ptr,this)};wrapperPrototype["__destruct"]=function __destruct(){if(this===wrapperPrototype){throwBindingError("Pass correct 'this' to __destruct")}detachFinalizer(this);unregisterInheritedInstance(registeredClass,this.$$.ptr)};ctor.prototype=Object.create(wrapperPrototype);for(var p in properties){ctor.prototype[p]=properties[p]}return Emval.toHandle(ctor)}var structRegistrations={};function runDestructors(destructors){while(destructors.length){var ptr=destructors.pop();var del=destructors.pop();del(ptr)}}function simpleReadValueFromPointer(pointer){return this["fromWireType"](HEAP32[pointer>>2])}var awaitingDependencies={};var typeDependencies={};function whenDependentTypesAreResolved(myTypes,dependentTypes,getTypeConverters){myTypes.forEach(function(type){typeDependencies[type]=dependentTypes});function onComplete(typeConverters){var myTypeConverters=getTypeConverters(typeConverters);if(myTypeConverters.length!==myTypes.length){throwInternalError("Mismatched type converter count")}for(var i=0;i{if(registeredTypes.hasOwnProperty(dt)){typeConverters[i]=registeredTypes[dt]}else{unregisteredTypes.push(dt);if(!awaitingDependencies.hasOwnProperty(dt)){awaitingDependencies[dt]=[]}awaitingDependencies[dt].push(()=>{typeConverters[i]=registeredTypes[dt];++registered;if(registered===unregisteredTypes.length){onComplete(typeConverters)}})}});if(0===unregisteredTypes.length){onComplete(typeConverters)}}function __embind_finalize_value_object(structType){var reg=structRegistrations[structType];delete structRegistrations[structType];var rawConstructor=reg.rawConstructor;var rawDestructor=reg.rawDestructor;var fieldRecords=reg.fields;var fieldTypes=fieldRecords.map(field=>field.getterReturnType).concat(fieldRecords.map(field=>field.setterArgumentType));whenDependentTypesAreResolved([structType],fieldTypes,fieldTypes=>{var fields={};fieldRecords.forEach((field,i)=>{var fieldName=field.fieldName;var getterReturnType=fieldTypes[i];var getter=field.getter;var getterContext=field.getterContext;var setterArgumentType=fieldTypes[i+fieldRecords.length];var setter=field.setter;var setterContext=field.setterContext;fields[fieldName]={read:ptr=>{return getterReturnType["fromWireType"](getter(getterContext,ptr))},write:(ptr,o)=>{var destructors=[];setter(setterContext,ptr,setterArgumentType["toWireType"](destructors,o));runDestructors(destructors)}}});return[{name:reg.name,"fromWireType":function(ptr){var rv={};for(var i in fields){rv[i]=fields[i].read(ptr)}rawDestructor(ptr);return rv},"toWireType":function(destructors,o){for(var fieldName in fields){if(!(fieldName in o)){throw new TypeError(`Missing field: "${fieldName}"`)}}var ptr=rawConstructor();for(fieldName in fields){fields[fieldName].write(ptr,o[fieldName])}if(destructors!==null){destructors.push(rawDestructor,ptr)}return ptr},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:rawDestructor}]})}function __embind_register_bigint(primitiveType,name,size,minRange,maxRange){}function getShiftFromSize(size){switch(size){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError(`Unknown type size: ${size}`)}}function registerType(rawType,registeredInstance,options={}){if(!("argPackAdvance"in registeredInstance)){throw new TypeError("registerType registeredInstance requires argPackAdvance")}var name=registeredInstance.name;if(!rawType){throwBindingError(`type "${name}" must have a positive integer typeid pointer`)}if(registeredTypes.hasOwnProperty(rawType)){if(options.ignoreDuplicateRegistrations){return}else{throwBindingError(`Cannot register type '${name}' twice`)}}registeredTypes[rawType]=registeredInstance;delete typeDependencies[rawType];if(awaitingDependencies.hasOwnProperty(rawType)){var callbacks=awaitingDependencies[rawType];delete awaitingDependencies[rawType];callbacks.forEach(cb=>cb())}}function __embind_register_bool(rawType,name,size,trueValue,falseValue){var shift=getShiftFromSize(size);name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(wt){return!!wt},"toWireType":function(destructors,o){return o?trueValue:falseValue},"argPackAdvance":8,"readValueFromPointer":function(pointer){var heap;if(size===1){heap=HEAP8}else if(size===2){heap=HEAP16}else if(size===4){heap=HEAP32}else{throw new TypeError("Unknown boolean type size: "+name)}return this["fromWireType"](heap[pointer>>shift])},destructorFunction:null})}function ClassHandle_isAliasOf(other){if(!(this instanceof ClassHandle)){return false}if(!(other instanceof ClassHandle)){return false}var leftClass=this.$$.ptrType.registeredClass;var left=this.$$.ptr;var rightClass=other.$$.ptrType.registeredClass;var right=other.$$.ptr;while(leftClass.baseClass){left=leftClass.upcast(left);leftClass=leftClass.baseClass}while(rightClass.baseClass){right=rightClass.upcast(right);rightClass=rightClass.baseClass}return leftClass===rightClass&&left===right}function shallowCopyInternalPointer(o){return{count:o.count,deleteScheduled:o.deleteScheduled,preservePointerOnDelete:o.preservePointerOnDelete,ptr:o.ptr,ptrType:o.ptrType,smartPtr:o.smartPtr,smartPtrType:o.smartPtrType}}function throwInstanceAlreadyDeleted(obj){function getInstanceTypeName(handle){return handle.$$.ptrType.registeredClass.name}throwBindingError(getInstanceTypeName(obj)+" instance already deleted")}function ClassHandle_clone(){if(!this.$$.ptr){throwInstanceAlreadyDeleted(this)}if(this.$$.preservePointerOnDelete){this.$$.count.value+=1;return this}else{var clone=attachFinalizer(Object.create(Object.getPrototypeOf(this),{$$:{value:shallowCopyInternalPointer(this.$$)}}));clone.$$.count.value+=1;clone.$$.deleteScheduled=false;return clone}}function ClassHandle_delete(){if(!this.$$.ptr){throwInstanceAlreadyDeleted(this)}if(this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete){throwBindingError("Object already scheduled for deletion")}detachFinalizer(this);releaseClassHandle(this.$$);if(!this.$$.preservePointerOnDelete){this.$$.smartPtr=undefined;this.$$.ptr=undefined}}function ClassHandle_isDeleted(){return!this.$$.ptr}function ClassHandle_deleteLater(){if(!this.$$.ptr){throwInstanceAlreadyDeleted(this)}if(this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete){throwBindingError("Object already scheduled for deletion")}deletionQueue.push(this);if(deletionQueue.length===1&&delayFunction){delayFunction(flushPendingDeletes)}this.$$.deleteScheduled=true;return this}function init_ClassHandle(){ClassHandle.prototype["isAliasOf"]=ClassHandle_isAliasOf;ClassHandle.prototype["clone"]=ClassHandle_clone;ClassHandle.prototype["delete"]=ClassHandle_delete;ClassHandle.prototype["isDeleted"]=ClassHandle_isDeleted;ClassHandle.prototype["deleteLater"]=ClassHandle_deleteLater}function ClassHandle(){}function ensureOverloadTable(proto,methodName,humanName){if(undefined===proto[methodName].overloadTable){var prevFunc=proto[methodName];proto[methodName]=function(){if(!proto[methodName].overloadTable.hasOwnProperty(arguments.length)){throwBindingError(`Function '${humanName}' called with an invalid number of arguments (${arguments.length}) - expects one of (${proto[methodName].overloadTable})!`)}return proto[methodName].overloadTable[arguments.length].apply(this,arguments)};proto[methodName].overloadTable=[];proto[methodName].overloadTable[prevFunc.argCount]=prevFunc}}function exposePublicSymbol(name,value,numArguments){if(Module.hasOwnProperty(name)){if(undefined===numArguments||undefined!==Module[name].overloadTable&&undefined!==Module[name].overloadTable[numArguments]){throwBindingError(`Cannot register public name '${name}' twice`)}ensureOverloadTable(Module,name,name);if(Module.hasOwnProperty(numArguments)){throwBindingError(`Cannot register multiple overloads of a function with the same number of arguments (${numArguments})!`)}Module[name].overloadTable[numArguments]=value}else{Module[name]=value;if(undefined!==numArguments){Module[name].numArguments=numArguments}}}function RegisteredClass(name,constructor,instancePrototype,rawDestructor,baseClass,getActualType,upcast,downcast){this.name=name;this.constructor=constructor;this.instancePrototype=instancePrototype;this.rawDestructor=rawDestructor;this.baseClass=baseClass;this.getActualType=getActualType;this.upcast=upcast;this.downcast=downcast;this.pureVirtualFunctions=[]}function upcastPointer(ptr,ptrClass,desiredClass){while(ptrClass!==desiredClass){if(!ptrClass.upcast){throwBindingError(`Expected null or instance of ${desiredClass.name}, got an instance of ${ptrClass.name}`)}ptr=ptrClass.upcast(ptr);ptrClass=ptrClass.baseClass}return ptr}function constNoSmartPtrRawPointerToWireType(destructors,handle){if(handle===null){if(this.isReference){throwBindingError(`null is not a valid ${this.name}`)}return 0}if(!handle.$$){throwBindingError(`Cannot pass "${embindRepr(handle)}" as a ${this.name}`)}if(!handle.$$.ptr){throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`)}var handleClass=handle.$$.ptrType.registeredClass;var ptr=upcastPointer(handle.$$.ptr,handleClass,this.registeredClass);return ptr}function genericPointerToWireType(destructors,handle){var ptr;if(handle===null){if(this.isReference){throwBindingError(`null is not a valid ${this.name}`)}if(this.isSmartPointer){ptr=this.rawConstructor();if(destructors!==null){destructors.push(this.rawDestructor,ptr)}return ptr}else{return 0}}if(!handle.$$){throwBindingError(`Cannot pass "${embindRepr(handle)}" as a ${this.name}`)}if(!handle.$$.ptr){throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`)}if(!this.isConst&&handle.$$.ptrType.isConst){throwBindingError(`Cannot convert argument of type ${handle.$$.smartPtrType?handle.$$.smartPtrType.name:handle.$$.ptrType.name} to parameter type ${this.name}`)}var handleClass=handle.$$.ptrType.registeredClass;ptr=upcastPointer(handle.$$.ptr,handleClass,this.registeredClass);if(this.isSmartPointer){if(undefined===handle.$$.smartPtr){throwBindingError("Passing raw pointer to smart pointer is illegal")}switch(this.sharingPolicy){case 0:if(handle.$$.smartPtrType===this){ptr=handle.$$.smartPtr}else{throwBindingError(`Cannot convert argument of type ${handle.$$.smartPtrType?handle.$$.smartPtrType.name:handle.$$.ptrType.name} to parameter type ${this.name}`)}break;case 1:ptr=handle.$$.smartPtr;break;case 2:if(handle.$$.smartPtrType===this){ptr=handle.$$.smartPtr}else{var clonedHandle=handle["clone"]();ptr=this.rawShare(ptr,Emval.toHandle(function(){clonedHandle["delete"]()}));if(destructors!==null){destructors.push(this.rawDestructor,ptr)}}break;default:throwBindingError("Unsupporting sharing policy")}}return ptr}function nonConstNoSmartPtrRawPointerToWireType(destructors,handle){if(handle===null){if(this.isReference){throwBindingError(`null is not a valid ${this.name}`)}return 0}if(!handle.$$){throwBindingError(`Cannot pass "${embindRepr(handle)}" as a ${this.name}`)}if(!handle.$$.ptr){throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`)}if(handle.$$.ptrType.isConst){throwBindingError(`Cannot convert argument of type ${handle.$$.ptrType.name} to parameter type ${this.name}`)}var handleClass=handle.$$.ptrType.registeredClass;var ptr=upcastPointer(handle.$$.ptr,handleClass,this.registeredClass);return ptr}function RegisteredPointer_getPointee(ptr){if(this.rawGetPointee){ptr=this.rawGetPointee(ptr)}return ptr}function RegisteredPointer_destructor(ptr){if(this.rawDestructor){this.rawDestructor(ptr)}}function RegisteredPointer_deleteObject(handle){if(handle!==null){handle["delete"]()}}function init_RegisteredPointer(){RegisteredPointer.prototype.getPointee=RegisteredPointer_getPointee;RegisteredPointer.prototype.destructor=RegisteredPointer_destructor;RegisteredPointer.prototype["argPackAdvance"]=8;RegisteredPointer.prototype["readValueFromPointer"]=simpleReadValueFromPointer;RegisteredPointer.prototype["deleteObject"]=RegisteredPointer_deleteObject;RegisteredPointer.prototype["fromWireType"]=RegisteredPointer_fromWireType}function RegisteredPointer(name,registeredClass,isReference,isConst,isSmartPointer,pointeeType,sharingPolicy,rawGetPointee,rawConstructor,rawShare,rawDestructor){this.name=name;this.registeredClass=registeredClass;this.isReference=isReference;this.isConst=isConst;this.isSmartPointer=isSmartPointer;this.pointeeType=pointeeType;this.sharingPolicy=sharingPolicy;this.rawGetPointee=rawGetPointee;this.rawConstructor=rawConstructor;this.rawShare=rawShare;this.rawDestructor=rawDestructor;if(!isSmartPointer&®isteredClass.baseClass===undefined){if(isConst){this["toWireType"]=constNoSmartPtrRawPointerToWireType;this.destructorFunction=null}else{this["toWireType"]=nonConstNoSmartPtrRawPointerToWireType;this.destructorFunction=null}}else{this["toWireType"]=genericPointerToWireType}}function replacePublicSymbol(name,value,numArguments){if(!Module.hasOwnProperty(name)){throwInternalError("Replacing nonexistant public symbol")}if(undefined!==Module[name].overloadTable&&undefined!==numArguments){Module[name].overloadTable[numArguments]=value}else{Module[name]=value;Module[name].argCount=numArguments}}function dynCallLegacy(sig,ptr,args){var f=Module["dynCall_"+sig];return args&&args.length?f.apply(null,[ptr].concat(args)):f.call(null,ptr)}var wasmTableMirror=[];function getWasmTableEntry(funcPtr){var func=wasmTableMirror[funcPtr];if(!func){if(funcPtr>=wasmTableMirror.length)wasmTableMirror.length=funcPtr+1;wasmTableMirror[funcPtr]=func=wasmTable.get(funcPtr)}return func}function dynCall(sig,ptr,args){if(sig.includes("j")){return dynCallLegacy(sig,ptr,args)}var rtn=getWasmTableEntry(ptr).apply(null,args);return rtn}function getDynCaller(sig,ptr){var argCache=[];return function(){argCache.length=0;Object.assign(argCache,arguments);return dynCall(sig,ptr,argCache)}}function embind__requireFunction(signature,rawFunction){signature=readLatin1String(signature);function makeDynCaller(){if(signature.includes("j")){return getDynCaller(signature,rawFunction)}return getWasmTableEntry(rawFunction)}var fp=makeDynCaller();if(typeof fp!="function"){throwBindingError(`unknown function pointer with signature ${signature}: ${rawFunction}`)}return fp}var UnboundTypeError=undefined;function throwUnboundTypeError(message,types){var unboundTypes=[];var seen={};function visit(type){if(seen[type]){return}if(registeredTypes[type]){return}if(typeDependencies[type]){typeDependencies[type].forEach(visit);return}unboundTypes.push(type);seen[type]=true}types.forEach(visit);throw new UnboundTypeError(`${message}: `+unboundTypes.map(getTypeName).join([", "]))}function __embind_register_class(rawType,rawPointerType,rawConstPointerType,baseClassRawType,getActualTypeSignature,getActualType,upcastSignature,upcast,downcastSignature,downcast,name,destructorSignature,rawDestructor){name=readLatin1String(name);getActualType=embind__requireFunction(getActualTypeSignature,getActualType);if(upcast){upcast=embind__requireFunction(upcastSignature,upcast)}if(downcast){downcast=embind__requireFunction(downcastSignature,downcast)}rawDestructor=embind__requireFunction(destructorSignature,rawDestructor);var legalFunctionName=makeLegalFunctionName(name);exposePublicSymbol(legalFunctionName,function(){throwUnboundTypeError(`Cannot construct ${name} due to unbound types`,[baseClassRawType])});whenDependentTypesAreResolved([rawType,rawPointerType,rawConstPointerType],baseClassRawType?[baseClassRawType]:[],function(base){base=base[0];var baseClass;var basePrototype;if(baseClassRawType){baseClass=base.registeredClass;basePrototype=baseClass.instancePrototype}else{basePrototype=ClassHandle.prototype}var constructor=createNamedFunction(legalFunctionName,function(){if(Object.getPrototypeOf(this)!==instancePrototype){throw new BindingError("Use 'new' to construct "+name)}if(undefined===registeredClass.constructor_body){throw new BindingError(name+" has no accessible constructor")}var body=registeredClass.constructor_body[arguments.length];if(undefined===body){throw new BindingError(`Tried to invoke ctor of ${name} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(registeredClass.constructor_body).toString()}) parameters instead!`)}return body.apply(this,arguments)});var instancePrototype=Object.create(basePrototype,{constructor:{value:constructor}});constructor.prototype=instancePrototype;var registeredClass=new RegisteredClass(name,constructor,instancePrototype,rawDestructor,baseClass,getActualType,upcast,downcast);if(registeredClass.baseClass){if(registeredClass.baseClass.__derivedClasses===undefined){registeredClass.baseClass.__derivedClasses=[]}registeredClass.baseClass.__derivedClasses.push(registeredClass)}var referenceConverter=new RegisteredPointer(name,registeredClass,true,false,false);var pointerConverter=new RegisteredPointer(name+"*",registeredClass,false,false,false);var constPointerConverter=new RegisteredPointer(name+" const*",registeredClass,false,true,false);registeredPointers[rawType]={pointerType:pointerConverter,constPointerType:constPointerConverter};replacePublicSymbol(legalFunctionName,constructor);return[referenceConverter,pointerConverter,constPointerConverter]})}function craftInvokerFunction(humanName,argTypes,classType,cppInvokerFunc,cppTargetFunc,isAsync){var argCount=argTypes.length;if(argCount<2){throwBindingError("argTypes array size mismatch! Must at least get return value and 'this' types!")}var isClassMethodFunc=argTypes[1]!==null&&classType!==null;var needsDestructorStack=false;for(var i=1;i>2])}return array}function __embind_register_class_class_function(rawClassType,methodName,argCount,rawArgTypesAddr,invokerSignature,rawInvoker,fn,isAsync){var rawArgTypes=heap32VectorToArray(argCount,rawArgTypesAddr);methodName=readLatin1String(methodName);rawInvoker=embind__requireFunction(invokerSignature,rawInvoker);whenDependentTypesAreResolved([],[rawClassType],function(classType){classType=classType[0];var humanName=`${classType.name}.${methodName}`;function unboundTypesHandler(){throwUnboundTypeError(`Cannot call ${humanName} due to unbound types`,rawArgTypes)}if(methodName.startsWith("@@")){methodName=Symbol[methodName.substring(2)]}var proto=classType.registeredClass.constructor;if(undefined===proto[methodName]){unboundTypesHandler.argCount=argCount-1;proto[methodName]=unboundTypesHandler}else{ensureOverloadTable(proto,methodName,humanName);proto[methodName].overloadTable[argCount-1]=unboundTypesHandler}whenDependentTypesAreResolved([],rawArgTypes,function(argTypes){var invokerArgsArray=[argTypes[0],null].concat(argTypes.slice(1));var func=craftInvokerFunction(humanName,invokerArgsArray,null,rawInvoker,fn,isAsync);if(undefined===proto[methodName].overloadTable){func.argCount=argCount-1;proto[methodName]=func}else{proto[methodName].overloadTable[argCount-1]=func}if(classType.registeredClass.__derivedClasses){for(const derivedClass of classType.registeredClass.__derivedClasses){if(!derivedClass.constructor.hasOwnProperty(methodName)){derivedClass.constructor[methodName]=func}}}return[]});return[]})}function __embind_register_class_constructor(rawClassType,argCount,rawArgTypesAddr,invokerSignature,invoker,rawConstructor){assert(argCount>0);var rawArgTypes=heap32VectorToArray(argCount,rawArgTypesAddr);invoker=embind__requireFunction(invokerSignature,invoker);whenDependentTypesAreResolved([],[rawClassType],function(classType){classType=classType[0];var humanName=`constructor ${classType.name}`;if(undefined===classType.registeredClass.constructor_body){classType.registeredClass.constructor_body=[]}if(undefined!==classType.registeredClass.constructor_body[argCount-1]){throw new BindingError(`Cannot register multiple constructors with identical number of parameters (${argCount-1}) for class '${classType.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`)}classType.registeredClass.constructor_body[argCount-1]=()=>{throwUnboundTypeError(`Cannot construct ${classType.name} due to unbound types`,rawArgTypes)};whenDependentTypesAreResolved([],rawArgTypes,function(argTypes){argTypes.splice(1,0,null);classType.registeredClass.constructor_body[argCount-1]=craftInvokerFunction(humanName,argTypes,null,invoker,rawConstructor);return[]});return[]})}function __embind_register_class_function(rawClassType,methodName,argCount,rawArgTypesAddr,invokerSignature,rawInvoker,context,isPureVirtual,isAsync){var rawArgTypes=heap32VectorToArray(argCount,rawArgTypesAddr);methodName=readLatin1String(methodName);rawInvoker=embind__requireFunction(invokerSignature,rawInvoker);whenDependentTypesAreResolved([],[rawClassType],function(classType){classType=classType[0];var humanName=`${classType.name}.${methodName}`;if(methodName.startsWith("@@")){methodName=Symbol[methodName.substring(2)]}if(isPureVirtual){classType.registeredClass.pureVirtualFunctions.push(methodName)}function unboundTypesHandler(){throwUnboundTypeError(`Cannot call ${humanName} due to unbound types`,rawArgTypes)}var proto=classType.registeredClass.instancePrototype;var method=proto[methodName];if(undefined===method||undefined===method.overloadTable&&method.className!==classType.name&&method.argCount===argCount-2){unboundTypesHandler.argCount=argCount-2;unboundTypesHandler.className=classType.name;proto[methodName]=unboundTypesHandler}else{ensureOverloadTable(proto,methodName,humanName);proto[methodName].overloadTable[argCount-2]=unboundTypesHandler}whenDependentTypesAreResolved([],rawArgTypes,function(argTypes){var memberFunction=craftInvokerFunction(humanName,argTypes,classType,rawInvoker,context,isAsync);if(undefined===proto[methodName].overloadTable){memberFunction.argCount=argCount-2;proto[methodName]=memberFunction}else{proto[methodName].overloadTable[argCount-2]=memberFunction}return[]});return[]})}function validateThis(this_,classType,humanName){if(!(this_ instanceof Object)){throwBindingError(`${humanName} with invalid "this": ${this_}`)}if(!(this_ instanceof classType.registeredClass.constructor)){throwBindingError(`${humanName} incompatible with "this" of type ${this_.constructor.name}`)}if(!this_.$$.ptr){throwBindingError(`cannot call emscripten binding method ${humanName} on deleted object`)}return upcastPointer(this_.$$.ptr,this_.$$.ptrType.registeredClass,classType.registeredClass)}function __embind_register_class_property(classType,fieldName,getterReturnType,getterSignature,getter,getterContext,setterArgumentType,setterSignature,setter,setterContext){fieldName=readLatin1String(fieldName);getter=embind__requireFunction(getterSignature,getter);whenDependentTypesAreResolved([],[classType],function(classType){classType=classType[0];var humanName=`${classType.name}.${fieldName}`;var desc={get:function(){throwUnboundTypeError(`Cannot access ${humanName} due to unbound types`,[getterReturnType,setterArgumentType])},enumerable:true,configurable:true};if(setter){desc.set=()=>{throwUnboundTypeError(`Cannot access ${humanName} due to unbound types`,[getterReturnType,setterArgumentType])}}else{desc.set=v=>{throwBindingError(humanName+" is a read-only property")}}Object.defineProperty(classType.registeredClass.instancePrototype,fieldName,desc);whenDependentTypesAreResolved([],setter?[getterReturnType,setterArgumentType]:[getterReturnType],function(types){var getterReturnType=types[0];var desc={get:function(){var ptr=validateThis(this,classType,humanName+" getter");return getterReturnType["fromWireType"](getter(getterContext,ptr))},enumerable:true};if(setter){setter=embind__requireFunction(setterSignature,setter);var setterArgumentType=types[1];desc.set=function(v){var ptr=validateThis(this,classType,humanName+" setter");var destructors=[];setter(setterContext,ptr,setterArgumentType["toWireType"](destructors,v));runDestructors(destructors)}}Object.defineProperty(classType.registeredClass.instancePrototype,fieldName,desc);return[]});return[]})}function __embind_register_constant(name,type,value){name=readLatin1String(name);whenDependentTypesAreResolved([],[type],function(type){type=type[0];Module[name]=type["fromWireType"](value);return[]})}function __emval_decref(handle){if(handle>=emval_handles.reserved&&0===--emval_handles.get(handle).refcount){emval_handles.free(handle)}}function __embind_register_emval(rawType,name){name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(handle){var rv=Emval.toValue(handle);__emval_decref(handle);return rv},"toWireType":function(destructors,value){return Emval.toHandle(value)},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:null})}function enumReadValueFromPointer(name,shift,signed){switch(shift){case 0:return function(pointer){var heap=signed?HEAP8:HEAPU8;return this["fromWireType"](heap[pointer])};case 1:return function(pointer){var heap=signed?HEAP16:HEAPU16;return this["fromWireType"](heap[pointer>>1])};case 2:return function(pointer){var heap=signed?HEAP32:HEAPU32;return this["fromWireType"](heap[pointer>>2])};default:throw new TypeError("Unknown integer type: "+name)}}function __embind_register_enum(rawType,name,size,isSigned){var shift=getShiftFromSize(size);name=readLatin1String(name);function ctor(){}ctor.values={};registerType(rawType,{name:name,constructor:ctor,"fromWireType":function(c){return this.constructor.values[c]},"toWireType":function(destructors,c){return c.value},"argPackAdvance":8,"readValueFromPointer":enumReadValueFromPointer(name,shift,isSigned),destructorFunction:null});exposePublicSymbol(name,ctor)}function __embind_register_enum_value(rawEnumType,name,enumValue){var enumType=requireRegisteredType(rawEnumType,"enum");name=readLatin1String(name);var Enum=enumType.constructor;var Value=Object.create(enumType.constructor.prototype,{value:{value:enumValue},constructor:{value:createNamedFunction(`${enumType.name}_${name}`,function(){})}});Enum.values[enumValue]=Value;Enum[name]=Value}function embindRepr(v){if(v===null){return"null"}var t=typeof v;if(t==="object"||t==="array"||t==="function"){return v.toString()}else{return""+v}}function floatReadValueFromPointer(name,shift){switch(shift){case 2:return function(pointer){return this["fromWireType"](HEAPF32[pointer>>2])};case 3:return function(pointer){return this["fromWireType"](HEAPF64[pointer>>3])};default:throw new TypeError("Unknown float type: "+name)}}function __embind_register_float(rawType,name,size){var shift=getShiftFromSize(size);name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(value){return value},"toWireType":function(destructors,value){return value},"argPackAdvance":8,"readValueFromPointer":floatReadValueFromPointer(name,shift),destructorFunction:null})}function __embind_register_function(name,argCount,rawArgTypesAddr,signature,rawInvoker,fn,isAsync){var argTypes=heap32VectorToArray(argCount,rawArgTypesAddr);name=readLatin1String(name);rawInvoker=embind__requireFunction(signature,rawInvoker);exposePublicSymbol(name,function(){throwUnboundTypeError(`Cannot call ${name} due to unbound types`,argTypes)},argCount-1);whenDependentTypesAreResolved([],argTypes,function(argTypes){var invokerArgsArray=[argTypes[0],null].concat(argTypes.slice(1));replacePublicSymbol(name,craftInvokerFunction(name,invokerArgsArray,null,rawInvoker,fn,isAsync),argCount-1);return[]})}function integerReadValueFromPointer(name,shift,signed){switch(shift){case 0:return signed?function readS8FromPointer(pointer){return HEAP8[pointer]}:function readU8FromPointer(pointer){return HEAPU8[pointer]};case 1:return signed?function readS16FromPointer(pointer){return HEAP16[pointer>>1]}:function readU16FromPointer(pointer){return HEAPU16[pointer>>1]};case 2:return signed?function readS32FromPointer(pointer){return HEAP32[pointer>>2]}:function readU32FromPointer(pointer){return HEAPU32[pointer>>2]};default:throw new TypeError("Unknown integer type: "+name)}}function __embind_register_integer(primitiveType,name,size,minRange,maxRange){name=readLatin1String(name);if(maxRange===-1){maxRange=4294967295}var shift=getShiftFromSize(size);var fromWireType=value=>value;if(minRange===0){var bitshift=32-8*size;fromWireType=value=>value<>>bitshift}var isUnsignedType=name.includes("unsigned");var checkAssertions=(value,toTypeName)=>{};var toWireType;if(isUnsignedType){toWireType=function(destructors,value){checkAssertions(value,this.name);return value>>>0}}else{toWireType=function(destructors,value){checkAssertions(value,this.name);return value}}registerType(primitiveType,{name:name,"fromWireType":fromWireType,"toWireType":toWireType,"argPackAdvance":8,"readValueFromPointer":integerReadValueFromPointer(name,shift,minRange!==0),destructorFunction:null})}function __embind_register_memory_view(rawType,dataTypeIndex,name){var typeMapping=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];var TA=typeMapping[dataTypeIndex];function decodeMemoryView(handle){handle=handle>>2;var heap=HEAPU32;var size=heap[handle];var data=heap[handle+1];return new TA(heap.buffer,data,size)}name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":decodeMemoryView,"argPackAdvance":8,"readValueFromPointer":decodeMemoryView},{ignoreDuplicateRegistrations:true})}function stringToUTF8Array(str,heap,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6;heap[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18;heap[outIdx++]=128|u>>12&63;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}}heap[outIdx]=0;return outIdx-startIdx}function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&c<=57343){len+=4;++i}else{len+=3}}return len}var UTF8Decoder=typeof TextDecoder!="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(heapOrArray,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heapOrArray[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heapOrArray.buffer&&UTF8Decoder){return UTF8Decoder.decode(heapOrArray.subarray(idx,endPtr))}var str="";while(idx>10,56320|ch&1023)}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function __embind_register_std_string(rawType,name){name=readLatin1String(name);var stdStringIsUTF8=name==="std::string";registerType(rawType,{name:name,"fromWireType":function(value){var length=HEAPU32[value>>2];var payload=value+4;var str;if(stdStringIsUTF8){var decodeStartPtr=payload;for(var i=0;i<=length;++i){var currentBytePtr=payload+i;if(i==length||HEAPU8[currentBytePtr]==0){var maxRead=currentBytePtr-decodeStartPtr;var stringSegment=UTF8ToString(decodeStartPtr,maxRead);if(str===undefined){str=stringSegment}else{str+=String.fromCharCode(0);str+=stringSegment}decodeStartPtr=currentBytePtr+1}}}else{var a=new Array(length);for(var i=0;i>2]=length;if(stdStringIsUTF8&&valueIsOfTypeString){stringToUTF8(value,ptr,length+1)}else{if(valueIsOfTypeString){for(var i=0;i255){_free(ptr);throwBindingError("String has UTF-16 code units that do not fit in 8 bits")}HEAPU8[ptr+i]=charCode}}else{for(var i=0;i>1;var maxIdx=idx+maxBytesToRead/2;while(!(idx>=maxIdx)&&HEAPU16[idx])++idx;endPtr=idx<<1;if(endPtr-ptr>32&&UTF16Decoder)return UTF16Decoder.decode(HEAPU8.subarray(ptr,endPtr));var str="";for(var i=0;!(i>=maxBytesToRead/2);++i){var codeUnit=HEAP16[ptr+i*2>>1];if(codeUnit==0)break;str+=String.fromCharCode(codeUnit)}return str}function stringToUTF16(str,outPtr,maxBytesToWrite){if(maxBytesToWrite===undefined){maxBytesToWrite=2147483647}if(maxBytesToWrite<2)return 0;maxBytesToWrite-=2;var startPtr=outPtr;var numCharsToWrite=maxBytesToWrite>1]=codeUnit;outPtr+=2}HEAP16[outPtr>>1]=0;return outPtr-startPtr}function lengthBytesUTF16(str){return str.length*2}function UTF32ToString(ptr,maxBytesToRead){var i=0;var str="";while(!(i>=maxBytesToRead/4)){var utf32=HEAP32[ptr+i*4>>2];if(utf32==0)break;++i;if(utf32>=65536){var ch=utf32-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}else{str+=String.fromCharCode(utf32)}}return str}function stringToUTF32(str,outPtr,maxBytesToWrite){if(maxBytesToWrite===undefined){maxBytesToWrite=2147483647}if(maxBytesToWrite<4)return 0;var startPtr=outPtr;var endPtr=startPtr+maxBytesToWrite-4;for(var i=0;i=55296&&codeUnit<=57343){var trailSurrogate=str.charCodeAt(++i);codeUnit=65536+((codeUnit&1023)<<10)|trailSurrogate&1023}HEAP32[outPtr>>2]=codeUnit;outPtr+=4;if(outPtr+4>endPtr)break}HEAP32[outPtr>>2]=0;return outPtr-startPtr}function lengthBytesUTF32(str){var len=0;for(var i=0;i=55296&&codeUnit<=57343)++i;len+=4}return len}function __embind_register_std_wstring(rawType,charSize,name){name=readLatin1String(name);var decodeString,encodeString,getHeap,lengthBytesUTF,shift;if(charSize===2){decodeString=UTF16ToString;encodeString=stringToUTF16;lengthBytesUTF=lengthBytesUTF16;getHeap=()=>HEAPU16;shift=1}else if(charSize===4){decodeString=UTF32ToString;encodeString=stringToUTF32;lengthBytesUTF=lengthBytesUTF32;getHeap=()=>HEAPU32;shift=2}registerType(rawType,{name:name,"fromWireType":function(value){var length=HEAPU32[value>>2];var HEAP=getHeap();var str;var decodeStartPtr=value+4;for(var i=0;i<=length;++i){var currentBytePtr=value+4+i*charSize;if(i==length||HEAP[currentBytePtr>>shift]==0){var maxReadBytes=currentBytePtr-decodeStartPtr;var stringSegment=decodeString(decodeStartPtr,maxReadBytes);if(str===undefined){str=stringSegment}else{str+=String.fromCharCode(0);str+=stringSegment}decodeStartPtr=currentBytePtr+charSize}}_free(value);return str},"toWireType":function(destructors,value){if(!(typeof value=="string")){throwBindingError(`Cannot pass non-string to C++ string type ${name}`)}var length=lengthBytesUTF(value);var ptr=_malloc(4+length+charSize);HEAPU32[ptr>>2]=length>>shift;encodeString(value,ptr+4,length+charSize);if(destructors!==null){destructors.push(_free,ptr)}return ptr},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:function(ptr){_free(ptr)}})}function __embind_register_value_object(rawType,name,constructorSignature,rawConstructor,destructorSignature,rawDestructor){structRegistrations[rawType]={name:readLatin1String(name),rawConstructor:embind__requireFunction(constructorSignature,rawConstructor),rawDestructor:embind__requireFunction(destructorSignature,rawDestructor),fields:[]}}function __embind_register_value_object_field(structType,fieldName,getterReturnType,getterSignature,getter,getterContext,setterArgumentType,setterSignature,setter,setterContext){structRegistrations[structType].fields.push({fieldName:readLatin1String(fieldName),getterReturnType:getterReturnType,getter:embind__requireFunction(getterSignature,getter),getterContext:getterContext,setterArgumentType:setterArgumentType,setter:embind__requireFunction(setterSignature,setter),setterContext:setterContext})}function __embind_register_void(rawType,name){name=readLatin1String(name);registerType(rawType,{isVoid:true,name:name,"argPackAdvance":0,"fromWireType":function(){return undefined},"toWireType":function(destructors,o){return undefined}})}function emval_allocateDestructors(destructorsRef){var destructors=[];HEAPU32[destructorsRef>>2]=Emval.toHandle(destructors);return destructors}var emval_symbols={};function getStringOrSymbol(address){var symbol=emval_symbols[address];if(symbol===undefined){return readLatin1String(address)}return symbol}var emval_methodCallers=[];function __emval_call_method(caller,handle,methodName,destructorsRef,args){caller=emval_methodCallers[caller];handle=Emval.toValue(handle);methodName=getStringOrSymbol(methodName);return caller(handle,methodName,emval_allocateDestructors(destructorsRef),args)}function __emval_call_void_method(caller,handle,methodName,args){caller=emval_methodCallers[caller];handle=Emval.toValue(handle);methodName=getStringOrSymbol(methodName);caller(handle,methodName,null,args)}function emval_addMethodCaller(caller){var id=emval_methodCallers.length;emval_methodCallers.push(caller);return id}function emval_lookupTypes(argCount,argTypes){var a=new Array(argCount);for(var i=0;i>2],"parameter "+i)}return a}var emval_registeredMethods=[];function __emval_get_method_caller(argCount,argTypes){var types=emval_lookupTypes(argCount,argTypes);var retType=types[0];var signatureName=retType.name+"_$"+types.slice(1).map(function(t){return t.name}).join("_")+"$";var returnId=emval_registeredMethods[signatureName];if(returnId!==undefined){return returnId}var argN=new Array(argCount-1);var invokerFunction=(handle,name,destructors,args)=>{var offset=0;for(var i=0;i4){emval_handles.get(handle).refcount+=1}}function __emval_run_destructors(handle){var destructors=Emval.toValue(handle);runDestructors(destructors);__emval_decref(handle)}function __emval_take_value(type,arg){type=requireRegisteredType(type,"_emval_take_value");var v=type["readValueFromPointer"](arg);return Emval.toHandle(v)}function _abort(){abort("")}function _emscripten_memcpy_big(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}function getHeapMax(){return 2147483648}function emscripten_realloc_buffer(size){var b=wasmMemory.buffer;var pages=size-b.byteLength+65535>>>16;try{wasmMemory.grow(pages);updateMemoryViews();return 1}catch(e){}}function _emscripten_resize_heap(requestedSize){var oldSize=HEAPU8.length;requestedSize=requestedSize>>>0;var maxHeapSize=getHeapMax();if(requestedSize>maxHeapSize){return false}var alignUp=(x,multiple)=>x+(multiple-x%multiple)%multiple;for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignUp(Math.max(requestedSize,overGrownHeapSize),65536));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}var printCharBuffers=[null,[],[]];function printChar(stream,curr){var buffer=printCharBuffers[stream];if(curr===0||curr===10){(stream===1?out:err)(UTF8ArrayToString(buffer,0));buffer.length=0}else{buffer.push(curr)}}var SYSCALLS={varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret}};function _fd_write(fd,iov,iovcnt,pnum){var num=0;for(var i=0;i>2];var len=HEAPU32[iov+4>>2];iov+=8;for(var j=0;j>2]=num;return 0}BindingError=Module["BindingError"]=extendError(Error,"BindingError");init_emval();PureVirtualError=Module["PureVirtualError"]=extendError(Error,"PureVirtualError");embind_init_charCodes();init_embind();InternalError=Module["InternalError"]=extendError(Error,"InternalError");init_ClassHandle();init_RegisteredPointer();UnboundTypeError=Module["UnboundTypeError"]=extendError(Error,"UnboundTypeError");var decodeBase64=typeof atob=="function"?atob:function(input){var keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var output="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;input=input.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{enc1=keyStr.indexOf(input.charAt(i++));enc2=keyStr.indexOf(input.charAt(i++));enc3=keyStr.indexOf(input.charAt(i++));enc4=keyStr.indexOf(input.charAt(i++));chr1=enc1<<2|enc2>>4;chr2=(enc2&15)<<4|enc3>>2;chr3=(enc3&3)<<6|enc4;output=output+String.fromCharCode(chr1);if(enc3!==64){output=output+String.fromCharCode(chr2)}if(enc4!==64){output=output+String.fromCharCode(chr3)}}while(i0){return}preRun();if(runDependencies>0){return}function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();readyPromiseResolve(Module);if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else{doRun()}}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}run(); - - - return BOX2D.ready -} - -); -})(); -if (typeof exports === 'object' && typeof module === 'object') - module.exports = BOX2D; -else if (typeof define === 'function' && define['amd']) - define([], function() { return BOX2D; }); -else if (typeof exports === 'object') - exports["BOX2D"] = BOX2D; + +var BOX2D = (() => { + var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined; + + return ( +function(BOX2D = {}) { + +var Module=typeof BOX2D!="undefined"?BOX2D:{};var readyPromiseResolve,readyPromiseReject;Module["ready"]=new Promise((resolve,reject)=>{readyPromiseResolve=resolve;readyPromiseReject=reject});var moduleOverrides=Object.assign({},Module);var arguments_=[];var thisProgram="./this.program";var quit_=(status,toThrow)=>{throw toThrow};var ENVIRONMENT_IS_WEB=true;var ENVIRONMENT_IS_WORKER=false;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(typeof document!="undefined"&&document.currentScript){scriptDirectory=document.currentScript.src}if(_scriptDir){scriptDirectory=_scriptDir}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=url=>{try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText}catch(err){var data=tryParseAsDataURI(url);if(data){return intArrayToString(data)}throw err}};if(ENVIRONMENT_IS_WORKER){readBinary=url=>{try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}catch(err){var data=tryParseAsDataURI(url);if(data){return data}throw err}}}readAsync=(url,onload,onerror)=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=()=>{if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}var data=tryParseAsDataURI(url);if(data){onload(data.buffer);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=title=>document.title=title}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.error.bind(console);Object.assign(Module,moduleOverrides);moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime=Module["noExitRuntime"]||true;var WebAssembly={Memory:function(opts){this.buffer=new ArrayBuffer(opts["initial"]*65536)},Module:function(binary){},Instance:function(module,info){this.exports=( +// EMSCRIPTEN_START_ASM +function instantiate(Qa){function c(d){d.set=function(a,b){this[a]=b};d.get=function(a){return this[a]};return d}var e;var f=new Uint8Array(123);for(var a=25;a>=0;--a){f[48+a]=52+a;f[65+a]=a;f[97+a]=26+a}f[43]=62;f[47]=63;function l(m,n,o){var g,h,a=0,i=n,j=o.length,k=n+(j*3>>2)-(o[j-2]=="=")-(o[j-1]=="=");for(;a>4;if(i>2;if(i>2]=0;J[a>>2]=646;Z(19844,3689,3,19888,10203,647,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=648;Z(19844,4240,4,19904,10271,649,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=650;Z(19844,4259,2,19920,10208,651,a|0,0,0);a=Ra(4);J[a>>2]=652;Z(19844,2255,3,19928,10198,653,a|0,0,0);a=Ra(4);J[a>>2]=654;Z(19844,2202,4,19952,10259,655,a|0,0,0);ka(19432,7009,10457,120,10435,119);a=Ra(4);J[a>>2]=0;b=Ra(4);J[b>>2]=0;ca(19432,1410,19036,10217,122,a|0,19036,10212,121,b|0);a=Ra(4);J[a>>2]=4;b=Ra(4);J[b>>2]=4;ca(19432,1349,19036,10217,122,a|0,19036,10212,121,b|0);ja(19432);aa(19968,19976,19992,0,10225,657,10433,0,10433,0,2593,10435,656);ga(19968,1,20008,10225,659,658);a=Ra(8);J[a+4>>2]=0;J[a>>2]=660;Z(19968,3689,3,20012,10203,661,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=662;Z(19968,4240,4,20032,10271,663,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=664;Z(19968,4259,2,20048,10208,665,a|0,0,0);a=Ra(4);J[a>>2]=666;Z(19968,2255,3,20056,10198,667,a|0,0,0);a=Ra(4);J[a>>2]=668;Z(19968,2202,4,20080,10259,669,a|0,0,0);ka(20096,1628,10457,124,10435,123);a=Ra(4);J[a>>2]=0;b=Ra(4);J[b>>2]=0;ca(20096,2492,19036,10217,126,a|0,19036,10212,125,b|0);a=Ra(4);J[a>>2]=4;b=Ra(4);J[b>>2]=4;ca(20096,5608,19036,10217,126,a|0,19036,10212,125,b|0);ja(20096);ka(19440,3604,10457,128,10435,127);a=Ra(4);J[a>>2]=0;b=Ra(4);J[b>>2]=0;ca(19440,3015,19432,10208,130,a|0,19432,10203,129,b|0);a=Ra(4);J[a>>2]=8;b=Ra(4);J[b>>2]=8;ca(19440,2987,20096,10208,132,a|0,20096,10203,131,b|0);ja(19440);ka(20104,2706,10457,134,10435,133);a=Ra(4);J[a>>2]=0;b=Ra(4);J[b>>2]=0;ca(20104,2985,19036,10217,136,a|0,19036,10212,135,b|0);a=Ra(4);J[a>>2]=4;b=Ra(4);J[b>>2]=4;ca(20104,4058,19036,10217,136,a|0,19036,10212,135,b|0);a=Ra(4);J[a>>2]=8;b=Ra(4);J[b>>2]=8;ca(20104,5610,19036,10217,136,a|0,19036,10212,135,b|0);a=Ra(4);J[a>>2]=12;b=Ra(4);J[b>>2]=12;ca(20104,5739,19036,10217,136,a|0,19036,10212,135,b|0);ja(20104);ka(20112,1564,10457,138,10435,137);a=Ra(4);J[a>>2]=0;b=Ra(4);J[b>>2]=0;ca(20112,7025,19432,10208,140,a|0,19432,10203,139,b|0);a=Ra(4);J[a>>2]=8;b=Ra(4);J[b>>2]=8;ca(20112,7006,19432,10208,140,a|0,19432,10203,139,b|0);a=Ra(4);J[a>>2]=16;b=Ra(4);J[b>>2]=16;ca(20112,3410,19036,10217,142,a|0,19036,10212,141,b|0);ja(20112);ka(20120,1550,10457,144,10435,143);a=Ra(4);J[a>>2]=0;b=Ra(4);J[b>>2]=0;ca(20120,3652,19432,10208,146,a|0,19432,10203,145,b|0);a=Ra(4);J[a>>2]=8;b=Ra(4);J[b>>2]=8;ca(20120,3401,19036,10217,148,a|0,19036,10212,147,b|0);ja(20120);ka(20128,5641,10457,150,10435,149);a=Ra(4);J[a>>2]=0;b=Ra(4);J[b>>2]=0;ca(20128,2412,19036,10217,152,a|0,19036,10212,151,b|0);a=Ra(4);J[a>>2]=4;b=Ra(4);J[b>>2]=4;ca(20128,2712,19432,10208,154,a|0,19432,10203,153,b|0);a=Ra(4);J[a>>2]=12;b=Ra(4);J[b>>2]=12;ca(20128,6104,19036,10217,152,a|0,19036,10212,151,b|0);ja(20128);ka(19608,2821,10457,156,10435,155);a=Ra(4);J[a>>2]=0;b=Ra(4);J[b>>2]=0;ca(19608,2390,18952,10208,158,a|0,18952,10203,157,b|0);a=Ra(4);J[a>>2]=2;b=Ra(4);J[b>>2]=2;ca(19608,2403,18952,10208,158,a|0,18952,10203,157,b|0);a=Ra(4);J[a>>2]=4;b=Ra(4);J[b>>2]=4;ca(19608,1372,18940,10208,160,a|0,18940,10203,159,b|0);ja(19608);aa(20136,20144,20160,0,10225,162,10433,0,10433,0,3659,10435,161);a=Ra(8);J[a>>2]=8;J[a+4>>2]=1;Z(20136,4735,3,20176,10198,163,a|0,0,0);aa(20228,20240,20256,20136,10225,167,10225,166,10225,165,2876,10435,164);a=Ra(4);J[a>>2]=168;Z(20228,3284,2,20272,10221,169,a|0,0,0);ia(20136,2051,2,20280,10208,171,170,0);ia(20136,5296,3,20340,10198,173,172,0);aa(20360,20368,20384,0,10225,175,10433,0,10433,0,3673,10435,174);a=Ra(8);J[a>>2]=8;J[a+4>>2]=1;Z(20360,4735,6,20400,10998,176,a|0,1,0);aa(20456,20468,20484,20360,10225,180,10225,179,10225,178,2897,10435,177);a=Ra(4);J[a>>2]=181;Z(20456,3284,2,20500,10221,182,a|0,0,0);ia(20360,2051,2,20508,10208,184,183,0);ia(20360,5296,3,20340,10198,173,185,0);aa(20580,20588,20604,0,10225,187,10433,0,10433,0,2923,10435,186);a=Ra(8);J[a>>2]=8;J[a+4>>2]=1;Z(20580,2300,3,20620,10203,188,a|0,0,0);a=Ra(8);J[a>>2]=12;J[a+4>>2]=1;Z(20580,2313,3,20620,10203,188,a|0,0,0);a=Ra(8);J[a>>2]=16;J[a+4>>2]=1;Z(20580,4289,4,20640,10271,189,a|0,0,0);a=Ra(8);J[a>>2]=20;J[a+4>>2]=1;Z(20580,4279,4,20640,10271,189,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=190;Z(20688,4769,3,20700,10203,191,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=192;Z(20688,4767,3,20700,10203,191,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=193;Z(20688,4192,3,20728,10198,194,a|0,0,0);aa(20688,20712,20740,20580,10225,198,10225,197,10225,196,2853,10435,195);a=Ra(4);J[a>>2]=199;Z(20688,3284,2,20756,10221,200,a|0,0,0);ia(20580,2051,2,20764,10208,202,201,0);ia(20580,5296,3,20340,10198,173,203,0);aa(20856,20864,20880,0,10225,205,10433,0,10433,0,1496,10435,204);a=Ra(8);J[a+4>>2]=0;J[a>>2]=206;Z(20856,2434,3,20896,10203,207,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=208;Z(20856,2443,2,20908,10208,209,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=210;Z(20856,2463,3,20896,10203,207,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=211;Z(20856,2452,3,20896,10203,207,a|0,0,0);a=Ra(8);J[a>>2]=8;J[a+4>>2]=1;Z(20856,3533,5,20928,11352,212,a|0,0,0);a=Ra(8);J[a>>2]=12;J[a+4>>2]=1;Z(20856,3545,5,20928,11352,212,a|0,0,0);a=Ra(8);J[a>>2]=16;J[a+4>>2]=1;Z(20856,5042,5,20960,11359,213,a|0,0,0);a=Ra(8);J[a>>2]=20;J[a+4>>2]=1;Z(20856,5053,6,20992,11366,214,a|0,0,0);a=Ra(8);J[a>>2]=24;J[a+4>>2]=1;Z(20856,2039,5,21024,11352,215,a|0,0,0);a=Ra(8);J[a>>2]=28;J[a+4>>2]=1;Z(20856,3574,3,21044,10203,216,a|0,0,0);a=Ra(8);J[a>>2]=32;J[a+4>>2]=1;Z(20856,1753,5,20960,11359,213,a|0,0,0);aa(21088,21100,21116,20856,10225,220,10225,219,10225,218,2841,10435,217);a=Ra(4);J[a>>2]=221;Z(21088,3284,2,21132,10221,222,a|0,0,0);ia(20856,2051,2,21140,10208,224,223,0);ia(20856,5296,3,20340,10198,173,225,0);aa(19648,21336,21352,0,10225,227,10433,0,10433,0,6207,10435,226);ga(19648,1,21368,10225,229,228);a=Ra(8);J[a+4>>2]=0;J[a>>2]=230;Z(19648,5360,2,21372,10208,231,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=232;Z(19648,2719,2,21380,10208,233,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=234;Z(19648,2369,2,21380,10208,233,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=235;Z(19648,2828,2,21388,10217,236,a|0,0,0);a=Ra(4);J[a>>2]=237;Z(19648,4902,3,21396,10203,238,a|0,0,0);a=Ra(4);J[a>>2]=239;Z(19648,3017,4,21408,10271,240,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=241;Z(19648,2425,3,21424,10198,242,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=243;Z(19648,1605,4,21440,10259,244,a|0,0,0);a=Ra(4);J[a>>2]=0;b=Ra(4);J[b>>2]=0;$(19648,5274,19432,10208,246,a|0,19432,10203,245,b|0);a=Ra(4);J[a>>2]=8;b=Ra(4);J[b>>2]=8;$(19648,5285,19432,10208,246,a|0,19432,10203,245,b|0);aa(21472,21480,21496,0,10225,248,10433,0,10433,0,5306,10435,247);ga(21472,2,21512,10208,250,249);a=Ra(8);J[a+4>>2]=0;J[a>>2]=251;Z(21472,2920,3,21520,10203,252,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=253;Z(21472,1488,3,21532,10203,254,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=255;Z(21472,1491,2,21544,10221,256,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=257;Z(21472,1268,3,21552,10198,258,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=259;Z(21472,1241,3,21612,10203,260,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=261;Z(21472,1954,3,21624,10198,262,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=263;Z(21472,1887,3,21684,10203,264,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=265;Z(21472,3001,5,21696,11613,266,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=267;Z(21472,6187,4,21728,10271,268,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=269;Z(21472,1605,5,21744,11352,270,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=271;Z(21472,4008,3,21764,10203,272,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=273;Z(21472,4025,2,21776,10208,274,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=275;Z(21472,1078,3,21784,10203,276,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=277;Z(21472,1089,2,21796,10208,278,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=279;Z(21472,5500,2,21776,10208,274,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=280;Z(21472,2996,2,21544,10221,256,a|0,0,0);aa(21588,21804,21596,0,10225,282,10433,0,10433,0,4064,10435,281);ga(21588,1,21820,10225,284,283);a=Ra(4);J[a>>2]=0;b=Ra(4);J[b>>2]=0;$(21588,4810,19836,10208,286,a|0,19836,10203,285,b|0);a=Ra(4);J[a>>2]=4;b=Ra(4);J[b>>2]=4;$(21588,3229,19432,10208,288,a|0,19432,10203,287,b|0);a=Ra(4);J[a>>2]=12;b=Ra(4);J[b>>2]=12;$(21588,4910,19036,10217,290,a|0,19036,10212,289,b|0);a=Ra(4);J[a>>2]=16;b=Ra(4);J[b>>2]=16;$(21588,1190,19432,10208,288,a|0,19432,10203,287,b|0);a=Ra(4);J[a>>2]=24;b=Ra(4);J[b>>2]=24;$(21588,1136,19036,10217,290,a|0,19036,10212,289,b|0);a=Ra(4);J[a>>2]=28;b=Ra(4);J[b>>2]=28;$(21588,3960,19036,10217,290,a|0,19036,10212,289,b|0);a=Ra(4);J[a>>2]=32;b=Ra(4);J[b>>2]=32;$(21588,3909,19036,10217,290,a|0,19036,10212,289,b|0);a=Ra(4);J[a>>2]=36;b=Ra(4);J[b>>2]=36;$(21588,3006,18892,10208,292,a|0,18892,10203,291,b|0);a=Ra(4);J[a>>2]=37;b=Ra(4);J[b>>2]=37;$(21588,5121,18892,10208,292,a|0,18892,10203,291,b|0);a=Ra(4);J[a>>2]=38;b=Ra(4);J[b>>2]=38;$(21588,3422,18892,10208,292,a|0,18892,10203,291,b|0);a=Ra(4);J[a>>2]=39;b=Ra(4);J[b>>2]=39;$(21588,2206,18892,10208,292,a|0,18892,10203,291,b|0);a=Ra(4);J[a>>2]=48;b=Ra(4);J[b>>2]=48;$(21588,5076,19036,10217,290,a|0,19036,10212,289,b|0);aa(21564,21572,21824,0,10225,294,10433,0,10433,0,1320,10435,293);a=Ra(8);J[a+4>>2]=0;J[a>>2]=295;Z(21564,3588,4,21840,11642,296,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=297;Z(21564,3601,2,21856,10208,298,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=299;Z(21564,3272,2,21864,10208,300,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=301;Z(21564,4930,2,21872,10217,302,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=303;Z(21564,2790,2,21864,10208,300,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=304;Z(21564,2775,2,21864,10208,300,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=305;Z(21564,1205,3,21880,10203,306,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=307;Z(21564,1223,2,21864,10208,300,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=308;Z(21564,1152,3,21892,10212,309,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=310;Z(21564,1171,2,21872,10217,302,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=311;Z(21564,5151,5,21904,11352,312,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=313;Z(21564,2756,4,21936,10271,314,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=315;Z(21564,4298,4,21952,11648,316,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=317;Z(21564,4636,5,21904,11352,312,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=318;Z(21564,2729,4,21936,10271,314,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=319;Z(21564,4616,4,21952,11648,316,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=320;Z(21564,2417,2,21872,10217,302,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=321;Z(21564,5730,2,21872,10217,302,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=322;Z(21564,5638,3,21968,10203,323,a|0,0,0);a=Ra(4);J[a>>2]=324;Z(21564,5626,3,21996,10203,325,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=326;Z(21564,5612,2,22008,10221,327,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=328;Z(21564,1841,3,22016,10198,329,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=330;Z(21564,2578,3,22016,10198,329,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=331;Z(21564,1795,3,22016,10198,329,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=332;Z(21564,2563,3,22016,10198,329,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=333;Z(21564,1855,3,22016,10198,329,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=334;Z(21564,1809,3,22016,10198,329,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=335;Z(21564,3991,2,21872,10217,302,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=336;Z(21564,3974,3,21892,10212,309,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=337;Z(21564,3942,2,21872,10217,302,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=338;Z(21564,3924,3,21892,10212,309,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=339;Z(21564,5105,2,21872,10217,302,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=340;Z(21564,5089,3,21892,10212,309,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=341;Z(21564,4824,3,22028,10203,342,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=343;Z(21564,4868,2,22040,10208,344,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=345;Z(21564,2213,3,22048,10203,346,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=347;Z(21564,2223,2,22060,10208,348,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=349;Z(21564,5368,3,22048,10203,346,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=350;Z(21564,5387,2,22060,10208,348,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=351;Z(21564,5127,3,22048,10203,346,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=352;Z(21564,5136,2,22060,10208,348,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=353;Z(21564,5464,3,22048,10203,346,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=354;Z(21564,5475,2,22060,10208,348,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=355;Z(21564,3436,3,22048,10203,346,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=356;Z(21564,3453,2,22060,10208,348,a|0,0,0);a=Ra(4);J[a>>2]=357;Z(21564,1590,2,22068,10208,358,a|0,0,0);a=Ra(4);J[a>>2]=359;Z(21564,1577,2,22068,10208,358,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=360;Z(21564,5303,2,22076,10208,361,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=362;Z(21564,2996,2,22008,10221,327,a|0,0,0);aa(21660,22084,21668,0,10225,364,10433,0,10433,0,4183,10435,363);ga(21660,1,22100,10225,366,365);a=Ra(4);J[a>>2]=0;b=Ra(4);J[b>>2]=0;$(21660,4810,22104,10208,368,a|0,22104,10203,367,b|0);a=Ra(4);J[a>>2]=369;Z(21660,6212,3,22112,10203,370,a|0,0,0);a=Ra(4);J[a>>2]=371;Z(21660,6221,2,22124,10208,372,a|0,0,0);a=Ra(4);J[a>>2]=373;Z(21660,6110,3,22112,10203,370,a|0,0,0);a=Ra(4);J[a>>2]=374;Z(21660,6119,2,22124,10208,372,a|0,0,0);a=Ra(4);J[a>>2]=16;b=Ra(4);J[b>>2]=16;$(21660,5405,18892,10208,376,a|0,18892,10203,375,b|0);aa(21636,21644,22132,0,10225,378,10433,0,10433,0,2020,10435,377);a=Ra(8);J[a+4>>2]=0;J[a>>2]=379;Z(21636,4868,2,22148,10208,380,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=381;Z(21636,6221,2,22156,10208,382,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=383;Z(21636,6119,2,22156,10208,382,a|0,0,0);a=Ra(8);J[a+4>>2]=1;J[a>>2]=0;Z(21636,6255,2,22164,10208,384,a|0,0,0);a=Ra(8);J[a+4>>2]=1;J[a>>2]=4;Z(21636,6128,2,22164,10208,384,a|0,0,0);a=Ra(8);J[a+4>>2]=1;J[a>>2]=8;Z(21636,5257,3,22172,11707,385,a|0,0,0);a=Ra(8);J[a+4>>2]=1;J[a>>2]=12;Z(21636,4412,3,22184,11712,386,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=387;Z(21636,5422,2,22196,10208,388,a|0,0,0);a=Ra(8);J[a+4>>2]=1;J[a>>2]=16;Z(21636,2996,2,22204,10221,389,a|0,0,0);aa(22212,22224,22240,21660,10225,393,10225,392,10225,391,4144,10435,390);ga(22212,1,22256,10225,395,394);a=Ra(4);J[a>>2]=20;b=Ra(4);J[b>>2]=20;$(22212,6266,19432,10208,397,a|0,19432,10203,396,b|0);a=Ra(4);J[a>>2]=28;b=Ra(4);J[b>>2]=28;$(22212,6139,19432,10208,397,a|0,19432,10203,396,b|0);a=Ra(4);J[a>>2]=36;b=Ra(4);J[b>>2]=36;$(22212,3699,19036,10217,399,a|0,19036,10212,398,b|0);a=Ra(4);J[a>>2]=40;b=Ra(4);J[b>>2]=40;$(22212,1024,19036,10217,399,a|0,19036,10212,398,b|0);a=Ra(4);J[a>>2]=44;b=Ra(4);J[b>>2]=44;$(22212,3028,19036,10217,399,a|0,19036,10212,398,b|0);aa(13132,22260,22276,21636,10225,403,10225,402,10225,401,1987,10435,400);a=Ra(8);J[a+4>>2]=0;J[a>>2]=404;Z(13132,6279,2,22292,10208,405,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=406;Z(13132,6152,2,22292,10208,405,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=407;Z(13132,3742,3,22300,10212,408,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=409;Z(13132,3752,2,22312,10217,410,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=411;Z(13132,1325,3,22300,10212,408,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=412;Z(13132,1338,2,22312,10217,410,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=413;Z(13132,3041,3,22300,10212,408,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=414;Z(13132,3057,2,22312,10217,410,a|0,0,0);a=Ra(8);J[a+4>>2]=1;J[a>>2]=16;Z(13132,2996,2,22320,10221,415,a|0,0,0);aa(22328,22340,22356,21660,10225,419,10225,418,10225,417,4072,10435,416);ga(22328,1,22372,10225,421,420);a=Ra(4);J[a>>2]=20;b=Ra(4);J[b>>2]=20;$(22328,2161,19432,10208,423,a|0,19432,10203,422,b|0);a=Ra(4);J[a>>2]=28;b=Ra(4);J[b>>2]=28;$(22328,2113,19036,10217,425,a|0,19036,10212,424,b|0);a=Ra(4);J[a>>2]=32;b=Ra(4);J[b>>2]=32;$(22328,5162,19036,10217,425,a|0,19036,10212,424,b|0);a=Ra(4);J[a>>2]=36;b=Ra(4);J[b>>2]=36;$(22328,4310,19036,10217,425,a|0,19036,10212,424,b|0);a=Ra(4);J[a>>2]=40;b=Ra(4);J[b>>2]=40;$(22328,2616,19036,10217,425,a|0,19036,10212,424,b|0);aa(13592,22376,22392,21636,10225,429,10225,428,10225,427,1918,10435,426);a=Ra(8);J[a+4>>2]=0;J[a>>2]=430;Z(13592,2174,3,22408,10203,431,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=432;Z(13592,2190,2,22420,10208,433,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=434;Z(13592,2127,3,22428,10212,435,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=436;Z(13592,2144,2,22440,10217,437,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=438;Z(13592,5171,3,22428,10212,435,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=439;Z(13592,5183,2,22440,10217,437,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=440;Z(13592,4320,3,22428,10212,435,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=441;Z(13592,4333,2,22440,10217,437,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=442;Z(13592,2633,3,22428,10212,435,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=443;Z(13592,2653,2,22440,10217,437,a|0,0,0);a=Ra(8);J[a+4>>2]=1;J[a>>2]=16;Z(13592,2996,2,22448,10221,444,a|0,0,0);aa(22456,22468,22484,21660,10225,448,10225,447,10225,446,4117,10435,445);ga(22456,1,22500,10225,450,449);a=Ra(4);J[a>>2]=20;b=Ra(4);J[b>>2]=20;$(22456,2232,19432,10208,452,a|0,19432,10203,451,b|0);a=Ra(4);J[a>>2]=28;b=Ra(4);J[b>>2]=28;$(22456,5162,19036,10217,454,a|0,19036,10212,453,b|0);a=Ra(4);J[a>>2]=32;b=Ra(4);J[b>>2]=32;$(22456,1024,19036,10217,454,a|0,19036,10212,453,b|0);a=Ra(4);J[a>>2]=36;b=Ra(4);J[b>>2]=36;$(22456,3028,19036,10217,454,a|0,19036,10212,453,b|0);aa(13672,22504,22520,21636,10225,458,10225,457,10225,456,1966,10435,455);a=Ra(8);J[a+4>>2]=0;J[a>>2]=459;Z(13672,2239,3,22536,10203,460,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=461;Z(13672,2249,2,22548,10208,462,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=463;Z(13672,5171,3,22556,10212,464,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=465;Z(13672,5183,2,22568,10217,466,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=467;Z(13672,1325,3,22556,10212,464,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=468;Z(13672,1338,2,22568,10217,466,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=469;Z(13672,3041,3,22556,10212,464,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=470;Z(13672,3057,2,22568,10217,466,a|0,0,0);a=Ra(8);J[a+4>>2]=1;J[a>>2]=16;Z(13672,2996,2,22576,10221,471,a|0,0,0);aa(22584,22596,22612,21660,10225,475,10225,474,10225,473,4174,10435,472);ga(22584,1,22628,10225,477,476);a=Ra(4);J[a>>2]=20;b=Ra(4);J[b>>2]=20;$(22584,6266,19432,10208,479,a|0,19432,10203,478,b|0);a=Ra(4);J[a>>2]=28;b=Ra(4);J[b>>2]=28;$(22584,6139,19432,10208,479,a|0,19432,10203,478,b|0);a=Ra(4);J[a>>2]=36;b=Ra(4);J[b>>2]=36;$(22584,6230,19432,10208,479,a|0,19432,10203,478,b|0);a=Ra(4);J[a>>2]=44;b=Ra(4);J[b>>2]=44;$(22584,4961,19036,10217,481,a|0,19036,10212,480,b|0);a=Ra(4);J[a>>2]=48;b=Ra(4);J[b>>2]=48;$(22584,2089,18892,10208,483,a|0,18892,10203,482,b|0);a=Ra(4);J[a>>2]=52;b=Ra(4);J[b>>2]=52;$(22584,3489,19036,10217,481,a|0,19036,10212,480,b|0);a=Ra(4);J[a>>2]=56;b=Ra(4);J[b>>2]=56;$(22584,3506,19036,10217,481,a|0,19036,10212,480,b|0);a=Ra(4);J[a>>2]=60;b=Ra(4);J[b>>2]=60;$(22584,2539,18892,10208,483,a|0,18892,10203,482,b|0);a=Ra(4);J[a>>2]=68;b=Ra(4);J[b>>2]=68;$(22584,5569,19036,10217,481,a|0,19036,10212,480,b|0);a=Ra(4);J[a>>2]=64;b=Ra(4);J[b>>2]=64;$(22584,5195,19036,10217,481,a|0,19036,10212,480,b|0);aa(13868,22632,22648,21636,10225,487,10225,486,10225,485,2011,10435,484);a=Ra(8);J[a+4>>2]=0;J[a>>2]=488;Z(13868,6279,2,22664,10208,489,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=490;Z(13868,6152,2,22664,10208,489,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=491;Z(13868,6241,2,22664,10208,489,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=492;Z(13868,4976,2,22672,10217,493,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=494;Z(13868,3469,2,22672,10217,493,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=495;Z(13868,5509,2,22672,10217,493,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=496;Z(13868,5442,2,22680,10208,497,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=498;Z(13868,2101,3,22688,10203,499,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=500;Z(13868,2061,2,22672,10217,493,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=501;Z(13868,2075,2,22672,10217,493,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=502;Z(13868,2380,4,22704,10265,503,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=504;Z(13868,5485,2,22680,10208,497,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=505;Z(13868,2551,3,22688,10203,499,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=506;Z(13868,5580,3,22720,10212,507,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=508;Z(13868,5594,2,22672,10217,493,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=509;Z(13868,5209,3,22720,10212,507,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=510;Z(13868,5226,2,22672,10217,493,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=511;Z(13868,5243,3,22732,11712,512,a|0,0,0);a=Ra(8);J[a+4>>2]=1;J[a>>2]=16;Z(13868,2996,2,22744,10221,513,a|0,0,0);aa(22752,22764,22780,21660,10225,517,10225,516,10225,515,4100,10435,514);ga(22752,1,22796,10225,519,518);a=Ra(4);J[a>>2]=20;b=Ra(4);J[b>>2]=20;$(22752,6266,19432,10208,521,a|0,19432,10203,520,b|0);a=Ra(4);J[a>>2]=28;b=Ra(4);J[b>>2]=28;$(22752,6139,19432,10208,521,a|0,19432,10203,520,b|0);a=Ra(4);J[a>>2]=36;b=Ra(4);J[b>>2]=36;$(22752,4961,19036,10217,523,a|0,19036,10212,522,b|0);a=Ra(4);J[a>>2]=40;b=Ra(4);J[b>>2]=40;$(22752,2089,18892,10208,525,a|0,18892,10203,524,b|0);a=Ra(4);J[a>>2]=44;b=Ra(4);J[b>>2]=44;$(22752,4939,19036,10217,523,a|0,19036,10212,522,b|0);a=Ra(4);J[a>>2]=48;b=Ra(4);J[b>>2]=48;$(22752,4950,19036,10217,523,a|0,19036,10212,522,b|0);a=Ra(4);J[a>>2]=52;b=Ra(4);J[b>>2]=52;$(22752,2539,18892,10208,525,a|0,18892,10203,524,b|0);a=Ra(4);J[a>>2]=56;b=Ra(4);J[b>>2]=56;$(22752,5569,19036,10217,523,a|0,19036,10212,522,b|0);a=Ra(4);J[a>>2]=60;b=Ra(4);J[b>>2]=60;$(22752,4346,19036,10217,523,a|0,19036,10212,522,b|0);aa(14032,22800,22816,21636,10225,529,10225,528,10225,527,1940,10435,526);a=Ra(8);J[a+4>>2]=0;J[a>>2]=530;Z(14032,6279,2,22832,10208,531,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=532;Z(14032,6152,2,22832,10208,531,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=533;Z(14032,4976,2,22840,10217,534,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=535;Z(14032,4916,2,22840,10217,534,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=536;Z(14032,5509,2,22840,10217,534,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=537;Z(14032,5442,2,22848,10208,538,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=539;Z(14032,2101,3,22856,10203,540,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=541;Z(14032,2061,2,22840,10217,534,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=542;Z(14032,2075,2,22840,10217,534,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=543;Z(14032,2380,4,22880,10265,544,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=545;Z(14032,5485,2,22848,10208,538,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=546;Z(14032,2551,3,22856,10203,540,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=547;Z(14032,5580,3,22896,10212,548,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=549;Z(14032,5594,2,22840,10217,534,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=550;Z(14032,4361,3,22896,10212,548,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=551;Z(14032,4379,2,22840,10217,534,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=552;Z(14032,4397,3,22908,11712,553,a|0,0,0);a=Ra(8);J[a+4>>2]=1;J[a>>2]=16;Z(14032,2996,2,22920,10221,554,a|0,0,0);aa(22928,22940,22956,21660,10225,558,10225,557,10225,556,4131,10435,555);ga(22928,1,22972,10225,560,559);a=Ra(4);J[a>>2]=20;b=Ra(4);J[b>>2]=20;$(22928,6266,19432,10208,562,a|0,19432,10203,561,b|0);a=Ra(4);J[a>>2]=28;b=Ra(4);J[b>>2]=28;$(22928,6139,19432,10208,562,a|0,19432,10203,561,b|0);a=Ra(4);J[a>>2]=36;b=Ra(4);J[b>>2]=36;$(22928,3706,19036,10217,564,a|0,19036,10212,563,b|0);aa(14112,22976,22992,21636,10225,568,10225,567,10225,566,1977,10435,565);a=Ra(8);J[a+4>>2]=0;J[a>>2]=569;Z(14112,6279,2,23008,10208,570,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=571;Z(14112,6152,2,23008,10208,570,a|0,0,0);a=Ra(8);J[a+4>>2]=1;J[a>>2]=8;Z(14112,5257,3,23016,11707,572,a|0,0,0);a=Ra(8);J[a+4>>2]=1;J[a>>2]=12;Z(14112,4412,3,23028,11712,573,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=574;Z(14112,3716,3,23040,10212,575,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=576;Z(14112,3729,2,23052,10217,577,a|0,0,0);a=Ra(8);J[a+4>>2]=1;J[a>>2]=16;Z(14112,2996,2,23060,10221,578,a|0,0,0);aa(23068,23080,23096,21660,10225,582,10225,581,10225,580,4161,10435,579);ga(23068,1,23112,10225,584,583);a=Ra(4);J[a>>2]=20;b=Ra(4);J[b>>2]=20;$(23068,6266,19432,10208,586,a|0,19432,10203,585,b|0);a=Ra(4);J[a>>2]=28;b=Ra(4);J[b>>2]=28;$(23068,6139,19432,10208,586,a|0,19432,10203,585,b|0);a=Ra(4);J[a>>2]=36;b=Ra(4);J[b>>2]=36;$(23068,4961,19036,10217,588,a|0,19036,10212,587,b|0);a=Ra(4);J[a>>2]=40;b=Ra(4);J[b>>2]=40;$(23068,1024,19036,10217,588,a|0,19036,10212,587,b|0);a=Ra(4);J[a>>2]=44;b=Ra(4);J[b>>2]=44;$(23068,3028,19036,10217,588,a|0,19036,10212,587,b|0);aa(14192,23116,23132,21636,10225,592,10225,591,10225,590,2001,10435,589);a=Ra(8);J[a+4>>2]=0;J[a>>2]=593;Z(14192,6279,2,23148,10208,594,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=595;Z(14192,6152,2,23148,10208,594,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=596;Z(14192,4976,2,23156,10217,597,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=598;Z(14192,1325,3,23164,10212,599,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=600;Z(14192,1338,2,23156,10217,597,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=601;Z(14192,3041,3,23164,10212,599,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=602;Z(14192,3057,2,23156,10217,597,a|0,0,0);a=Ra(8);J[a+4>>2]=1;J[a>>2]=16;Z(14192,2996,2,23176,10221,603,a|0,0,0);aa(23184,23196,23212,21660,10225,607,10225,606,10225,605,4086,10435,604);ga(23184,1,23228,10225,609,608);a=Ra(4);J[a>>2]=20;b=Ra(4);J[b>>2]=20;$(23184,6266,19432,10208,611,a|0,19432,10203,610,b|0);a=Ra(4);J[a>>2]=28;b=Ra(4);J[b>>2]=28;$(23184,6139,19432,10208,611,a|0,19432,10203,610,b|0);a=Ra(4);J[a>>2]=36;b=Ra(4);J[b>>2]=36;$(23184,6230,19432,10208,611,a|0,19432,10203,610,b|0);a=Ra(4);J[a>>2]=44;b=Ra(4);J[b>>2]=44;$(23184,2539,18892,10208,613,a|0,18892,10203,612,b|0);a=Ra(4);J[a>>2]=48;b=Ra(4);J[b>>2]=48;$(23184,4346,19036,10217,615,a|0,19036,10212,614,b|0);a=Ra(4);J[a>>2]=52;b=Ra(4);J[b>>2]=52;$(23184,5569,19036,10217,615,a|0,19036,10212,614,b|0);a=Ra(4);J[a>>2]=56;b=Ra(4);J[b>>2]=56;$(23184,1024,19036,10217,615,a|0,19036,10212,614,b|0);a=Ra(4);J[a>>2]=60;b=Ra(4);J[b>>2]=60;$(23184,3028,19036,10217,615,a|0,19036,10212,614,b|0);aa(14272,23232,23248,21636,10225,619,10225,618,10225,617,1929,10435,616);a=Ra(8);J[a+4>>2]=0;J[a>>2]=620;Z(14272,6279,2,23264,10208,621,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=622;Z(14272,6152,2,23264,10208,621,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=623;Z(14272,6241,2,23264,10208,621,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=624;Z(14272,3469,2,23272,10217,625,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=626;Z(14272,5485,2,23280,10208,627,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=628;Z(14272,2551,3,23288,10203,629,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=630;Z(14272,5580,3,23300,10212,631,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=632;Z(14272,5594,2,23272,10217,625,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=633;Z(14272,4361,3,23300,10212,631,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=634;Z(14272,4379,2,23272,10217,625,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=635;Z(14272,4397,3,23312,11712,636,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=637;Z(14272,1036,3,23300,10212,631,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=638;Z(14272,1057,2,23272,10217,625,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=639;Z(14272,3073,3,23300,10212,631,a|0,0,0);a=Ra(8);J[a+4>>2]=0;J[a>>2]=640;Z(14272,3095,2,23272,10217,625,a|0,0,0);a=Ra(8);J[a+4>>2]=1;J[a>>2]=16;Z(14272,2996,2,23324,10221,641,a|0,0,0)}function vf(a,b,c,d){a=a|0;b=Q(b);c=c|0;d=d|0;var e=0,f=0,g=Q(0),h=0,i=0,j=0,k=Q(0),l=0,m=0,n=Q(0),o=Q(0),p=0,q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=0,x=0,y=Q(0),z=0,A=0,B=Q(0),C=Q(0),D=Q(0),E=Q(0),F=Q(0),G=Q(0),M=Q(0),O=0,R=Q(0),S=0,T=0,U=Q(0),W=Q(0),X=Q(0),Z=0,_=Q(0),$=0,aa=0,ba=0,ca=Q(0),da=Q(0),ea=Q(0),fa=Q(0),ga=0,ha=0,ia=Q(0);w=Fa-32|0;Fa=w;if(K[a+102988|0]){Ub(a+102868|0);H[a+102988|0]=0}H[a+102989|0]=1;J[w+20>>2]=d;J[w+16>>2]=c;N[w+4>>2]=b;m=b>Q(0);N[w+8>>2]=m?Q(Q(1)/b):Q(0);N[w+12>>2]=N[a+102984>>2]*b;H[w+24|0]=K[a+102991|0];f=a+102868|0;c=J[f+60>>2];if(c){while(1){d=c;l=J[c+60>>2];p=J[c+56>>2];h=J[c+52>>2];e=J[h+8>>2];j=J[c+48>>2];i=J[j+8>>2];a:{b:{if(K[c+4|0]&8){if(!vd(e,i)){break b}c=J[f+68>>2];if(c){if(!(Ha[J[J[c>>2]+8>>2]](c,j,h)|0)){break b}}J[d+4>>2]=J[d+4>>2]&-9}c=0;if((K[i+4|0]&2?J[i>>2]:c)|(K[e+4|0]&2?J[e>>2]:0)){e=J[f+4>>2];c=e+P(J[(J[h+24>>2]+P(l,28)|0)+24>>2],40)|0;e=e+P(J[(J[j+24>>2]+P(p,28)|0)+24>>2],40)|0;if(Q(N[c>>2]-N[e+8>>2])>Q(0)|Q(N[c+4>>2]-N[e+12>>2])>Q(0)|(Q(N[e>>2]-N[c+8>>2])>Q(0)|Q(N[e+4>>2]-N[c+12>>2])>Q(0))){break b}tc(d,J[f+72>>2])}c=J[d+12>>2];break a}c=J[d+12>>2];Ib(f,d)}if(c){continue}break}}N[a+103e3>>2]=0;if(!(!K[a+102994|0]|!m)){p=Fa-96|0;Fa=p;J[a+103016>>2]=0;c=a+103008|0;J[c>>2]=0;J[c+4>>2]=0;Z=a+68|0;e=_c(p+44|0,J[a+102956>>2],J[a+102932>>2],J[a+102960>>2],Z,J[a+102940>>2]);d=J[a+102948>>2];if(d){while(1){I[d+4>>1]=L[d+4>>1]&65534;d=J[d+96>>2];if(d){continue}break}}d=J[a+102928>>2];if(d){while(1){J[d+4>>2]=J[d+4>>2]&-2;d=J[d+12>>2];if(d){continue}break}}d=J[a+102952>>2];if(d){while(1){H[d+60|0]=0;d=J[d+12>>2];if(d){continue}break}}S=wb(Z,J[a+102956>>2]<<2);A=J[a+102948>>2];if(A){T=a+102964|0;while(1){c=L[A+4>>1];c:{if(!J[A>>2]|(c&35)!=34){break c}J[S>>2]=A;f=1;I[A+4>>1]=c|1;l=0;h=0;i=0;while(1){f=f-1|0;c=J[S+(f<<2)>>2];J[c+8>>2]=l;J[J[e+8>>2]+(l<<2)>>2]=c;I[c+4>>1]=L[c+4>>1]|2;d:{if(!J[c>>2]){break d}d=J[c+112>>2];if(d){while(1){j=J[d+4>>2];m=J[j+4>>2];e:{if((m&7)!=6|K[J[j+48>>2]+38|0]|K[J[j+52>>2]+38|0]){break e}J[J[e+12>>2]+(h<<2)>>2]=j;J[j+4>>2]=m|1;h=h+1|0;j=J[d>>2];m=L[j+4>>1];if(m&1){break e}J[S+(f<<2)>>2]=j;I[j+4>>1]=m|1;f=f+1|0}d=J[d+12>>2];if(d){continue}break}}d=J[c+108>>2];if(!d){break d}while(1){m=J[d+4>>2];f:{if(K[m+60|0]){break f}c=J[d>>2];j=L[c+4>>1];if(!(j&32)){break f}J[J[e+16>>2]+(i<<2)>>2]=m;H[J[d+4>>2]+60|0]=1;i=i+1|0;if(j&1){break f}J[S+(f<<2)>>2]=c;I[c+4>>1]=j|1;f=f+1|0}d=J[d+12>>2];if(d){continue}break}}l=l+1|0;if((f|0)>0){continue}break}J[e+36>>2]=h;J[e+28>>2]=l;J[e+32>>2]=i;ga=K[a+102972|0];i=0;f=0;h=Fa-160|0;Fa=h;o=N[w+4>>2];if(J[e+28>>2]>0){while(1){d=J[J[e+8>>2]+(i<<2)>>2];r=N[d+56>>2];N[d+52>>2]=r;j=J[d+48>>2];c=J[d+44>>2];J[d+36>>2]=c;J[d+40>>2]=j;b=N[d+72>>2];k=N[d+64>>2];g=N[d+68>>2];if(J[d>>2]==2){n=Q(o*N[d+120>>2]);q=Q(N[d+140>>2]*N[d+116>>2]);B=Q(Q(1)/Q(Q(o*N[d+132>>2])+Q(1)));g=Q(Q(g+Q(n*Q(Q(q*N[T+4>>2])+N[d+80>>2])))*B);k=Q(Q(k+Q(n*Q(Q(N[T>>2]*q)+N[d+76>>2])))*B);b=Q(Q(Q(Q(o*N[d+128>>2])*N[d+84>>2])+b)*Q(Q(1)/Q(Q(o*N[d+136>>2])+Q(1))))}d=P(i,12);m=d+J[e+20>>2]|0;J[m>>2]=c;J[m+4>>2]=j;N[(d+J[e+20>>2]|0)+8>>2]=r;c=d+J[e+24>>2]|0;N[c+4>>2]=g;N[c>>2]=k;N[(d+J[e+24>>2]|0)+8>>2]=b;i=i+1|0;if((i|0)>2]){continue}break}}c=J[w+24>>2];J[h+120>>2]=J[w+20>>2];J[h+124>>2]=c;c=J[w+16>>2];J[h+112>>2]=J[w+12>>2];J[h+116>>2]=c;c=J[w+8>>2];J[h+104>>2]=J[w+4>>2];J[h+108>>2]=c;c=J[e+20>>2];J[h+128>>2]=c;d=J[e+24>>2];J[h+132>>2]=d;i=J[w+24>>2];J[h+72>>2]=J[w+20>>2];J[h+76>>2]=i;j=J[w+16>>2];i=h- -64|0;J[i>>2]=J[w+12>>2];J[i+4>>2]=j;i=J[w+8>>2];J[h+56>>2]=J[w+4>>2];J[h+60>>2]=i;J[h+80>>2]=J[e+12>>2];i=J[e+36>>2];J[h+92>>2]=d;J[h+88>>2]=c;J[h+84>>2]=i;J[h+96>>2]=J[e>>2];m=dd(h+4|0,h+56|0);bd(m);if(J[m+48>>2]>0?K[w+24|0]:0){i=J[m+28>>2];while(1){c=J[m+40>>2]+P(f,156)|0;j=P(J[c+116>>2],12);d=j+i|0;b=N[d+8>>2];k=N[d+4>>2];g=N[d>>2];x=P(J[c+112>>2],12);i=x+i|0;n=N[i+8>>2];q=N[i+4>>2];s=N[i>>2];z=J[c+148>>2];if((z|0)>0){t=N[c+72>>2];D=N[c+132>>2];v=N[c+124>>2];y=N[c+120>>2];E=N[c+76>>2];U=Q(-N[c+128>>2]);l=0;while(1){d=c+P(l,36)|0;B=N[d+16>>2];W=N[d+20>>2];r=Q(Q(E*B)-Q(t*W));B=Q(Q(t*B)+Q(E*W));b=Q(Q(D*Q(Q(N[d+8>>2]*r)-Q(B*N[d+12>>2])))+b);n=Q(Q(U*Q(Q(N[d>>2]*r)-Q(B*N[d+4>>2])))+n);k=Q(k+Q(v*r));g=Q(g+Q(v*B));q=Q(q-Q(y*r));s=Q(s-Q(y*B));l=l+1|0;if((z|0)!=(l|0)){continue}break}}N[i+4>>2]=q;N[i>>2]=s;c=J[m+28>>2];N[(c+x|0)+8>>2]=n;c=c+j|0;N[c+4>>2]=k;N[c>>2]=g;i=J[m+28>>2];N[(j+i|0)+8>>2]=b;f=f+1|0;if((f|0)>2]){continue}break}}if(J[e+32>>2]>0){d=0;while(1){c=J[J[e+16>>2]+(d<<2)>>2];Ha[J[J[c>>2]+32>>2]](c,h+104|0);d=d+1|0;if((d|0)>2]){continue}break}}N[p+24>>2]=0;if(J[w+16>>2]>0){j=0;while(1){d=0;if(J[e+32>>2]>0){while(1){c=J[J[e+16>>2]+(d<<2)>>2];Ha[J[J[c>>2]+36>>2]](c,h+104|0);d=d+1|0;if((d|0)>2]){continue}break}}ad(m);j=j+1|0;if((j|0)>2]){continue}break}}j=0;x=J[m+48>>2];if((x|0)>0){z=J[m+44>>2];ba=J[m+40>>2];while(1){c=ba+P(j,156)|0;i=J[c+148>>2];g:{if((i|0)<=0){break g}l=J[z+(J[c+152>>2]<<2)>>2]- -64|0;d=0;if((i|0)!=1){$=i&-2;f=0;while(1){O=l+P(d,20)|0;aa=c+P(d,36)|0;N[O+8>>2]=N[aa+16>>2];N[O+12>>2]=N[aa+20>>2];O=d|1;aa=l+P(O,20)|0;O=c+P(O,36)|0;N[aa+8>>2]=N[O+16>>2];N[aa+12>>2]=N[O+20>>2];d=d+2|0;f=f+2|0;if(($|0)!=(f|0)){continue}break}}if(!(i&1)){break g}f=l+P(d,20)|0;c=c+P(d,36)|0;N[f+8>>2]=N[c+16>>2];N[f+12>>2]=N[c+20>>2]}j=j+1|0;if((x|0)!=(j|0)){continue}break}}N[p+28>>2]=0;f=1;if(J[e+28>>2]>0){i=J[e+24>>2];j=0;while(1){c=P(j,12);i=c+i|0;b=N[i>>2];g=Q(o*b);r=Q(g*g);k=N[i+4>>2];g=Q(o*k);g=Q(r+Q(g*g));if(g>Q(4)){g=Q(Q(2)/Q(Y(g)));k=Q(k*g);b=Q(b*g)}d=c+J[e+20>>2]|0;n=N[d+8>>2];q=N[d+4>>2];B=N[d>>2];g=N[i+8>>2];r=Q(o*g);if(Q(r*r)>Q(2.4674012660980225)){g=Q(g*Q(Q(1.5707963705062866)/(r>Q(0)?r:Q(-r))))}N[d+4>>2]=q+Q(o*k);N[d>>2]=B+Q(o*b);N[(c+J[e+20>>2]|0)+8>>2]=Q(o*g)+n;d=c+J[e+24>>2]|0;N[d+4>>2]=k;N[d>>2]=b;i=J[e+24>>2];N[(c+i|0)+8>>2]=g;j=j+1|0;if((j|0)>2]){continue}break}}if(J[w+20>>2]>0){j=0;while(1){B=Q(0);l=0;c=Fa+-64|0;Fa=c;if(J[m+48>>2]>0){f=J[m+24>>2];while(1){d=J[m+36>>2]+P(l,88)|0;i=P(J[d+36>>2],12);x=i+f|0;b=N[x+8>>2];k=N[x+4>>2];g=N[x>>2];x=P(J[d+32>>2],12);z=x+f|0;n=N[z+8>>2];q=N[z+4>>2];s=N[z>>2];z=J[d+84>>2];if((z|0)>0){v=N[d+68>>2];y=N[d+56>>2];E=N[d+48>>2];D=N[d+60>>2];U=N[d+52>>2];W=N[d+40>>2];_=N[d+44>>2];ca=Q(W+_);R=N[d+64>>2];F=Q(-R);f=0;while(1){r=Ua(n);N[c+60>>2]=r;t=Ta(n);N[c+56>>2]=t;C=Ua(b);N[c+44>>2]=C;G=Ta(b);N[c+40>>2]=G;N[c+52>>2]=q-Q(Q(t*E)+Q(U*r));N[c+48>>2]=s-Q(Q(r*E)-Q(U*t));N[c+36>>2]=k-Q(Q(G*y)+Q(D*C));N[c+32>>2]=g-Q(Q(C*y)-Q(D*G));$c(c+8|0,d,c+48|0,c+32|0,f);t=Q(0);r=N[c+24>>2];ba=r>B;C=N[c+20>>2];u=Q(C-k);M=Q(-u);X=Q(C-q);ea=Q(-X);da=N[c+16>>2];fa=Q(da-g);C=N[c+12>>2];G=N[c+8>>2];u=Q(Q(fa*C)-Q(G*u));ia=Q(Q(v*u)*u);u=Q(da-s);X=Q(Q(u*C)-Q(G*X));X=Q(ia+Q(Q(Q(R*X)*X)+ca));if(X>Q(0)){t=Q(Q(r+Q(.004999999888241291))*Q(.20000000298023224));t=t>2]}d=f+x|0;N[d+4>>2]=q;N[d>>2]=s;d=J[m+24>>2];N[(d+x|0)+8>>2]=n;d=d+i|0;N[d+4>>2]=k;N[d>>2]=g;f=J[m+24>>2];N[(i+f|0)+8>>2]=b;l=l+1|0;if((l|0)>2]){continue}break}}Fa=c- -64|0;i=1;d=0;if(J[e+32>>2]>0){while(1){c=J[J[e+16>>2]+(d<<2)>>2];i=Ha[J[J[c>>2]+40>>2]](c,h+104|0)&i;d=d+1|0;if((d|0)>2]){continue}break}}c=B>=Q(-.014999999664723873)&i;if(!c){j=j+1|0;if((j|0)>2]){continue}}break}f=!c}if(J[e+28>>2]>0){i=0;while(1){l=P(i,12);d=l+J[e+20>>2]|0;c=d;n=N[c>>2];c=J[c>>2];q=N[d+4>>2];d=J[d+4>>2];j=J[J[e+8>>2]+(i<<2)>>2];J[j+44>>2]=c;J[j+48>>2]=d;b=N[(l+J[e+20>>2]|0)+8>>2];N[j+56>>2]=b;c=l+J[e+24>>2]|0;x=J[c+4>>2];J[j+64>>2]=J[c>>2];J[j+68>>2]=x;k=N[(l+J[e+24>>2]|0)+8>>2];g=Ua(b);N[j+24>>2]=g;b=Ta(b);N[j+20>>2]=b;N[j+72>>2]=k;k=N[j+28>>2];r=N[j+32>>2];N[j+16>>2]=q-Q(Q(b*k)+Q(g*r));N[j+12>>2]=n-Q(Q(g*k)-Q(r*b));i=i+1|0;if((i|0)>2]){continue}break}}N[p+32>>2]=0;if(!(!J[e+4>>2]|J[e+36>>2]<=0)){x=J[m+40>>2];i=0;while(1){z=J[J[e+12>>2]+(i<<2)>>2];l=x+P(i,156)|0;c=J[l+148>>2];J[h+156>>2]=c;h:{if((c|0)<=0){break h}d=0;if((c|0)!=1){ba=c&-2;j=0;while(1){$=d<<2;O=h+140|0;aa=l+P(d,36)|0;N[$+O>>2]=N[aa+16>>2];ha=h+148|0;N[$+ha>>2]=N[aa+20>>2];aa=O;$=d|1;O=$<<2;$=l+P($,36)|0;N[aa+O>>2]=N[$+16>>2];N[O+ha>>2]=N[$+20>>2];d=d+2|0;j=j+2|0;if((ba|0)!=(j|0)){continue}break}}if(!(c&1)){break h}c=(h+140|0)+(d<<2)|0;d=l+P(d,36)|0;N[c>>2]=N[d+16>>2];N[c+8>>2]=N[d+20>>2]}c=J[e+4>>2];Ha[J[J[c>>2]+20>>2]](c,z,h+140|0);i=i+1|0;if((i|0)>2]){continue}break}}i:{if(!ga){break i}i=J[e+28>>2];if((i|0)<=0){break i}j=J[e+8>>2];b=Q(34028234663852886e22);d=0;while(1){c=J[j+(d<<2)>>2];j:{if(!J[c>>2]){break j}k:{l:{if(!(K[c+4|0]&4)){break l}g=N[c+72>>2];if(Q(g*g)>Q(.001218469929881394)){break l}g=N[c+64>>2];k=Q(g*g);g=N[c+68>>2];if(!(Q(k+Q(g*g))>Q(9999999747378752e-20))){break k}}J[c+144>>2]=0;b=Q(0);break j}g=Q(o+N[c+144>>2]);N[c+144>>2]=g;b=b=Q(.5))|f|J[e+28>>2]<=0){break i}i=0;while(1){c=J[J[e+8>>2]+(i<<2)>>2];J[c+64>>2]=0;J[c+68>>2]=0;J[c+144>>2]=0;J[c+72>>2]=0;J[c+76>>2]=0;J[c+80>>2]=0;J[c+84>>2]=0;I[c+4>>1]=L[c+4>>1]&65533;i=i+1|0;if((i|0)>2]){continue}break}}cd(m);Fa=h+160|0;N[a+103008>>2]=N[p+24>>2]+N[a+103008>>2];N[a+103012>>2]=N[p+28>>2]+N[a+103012>>2];N[a+103016>>2]=N[p+32>>2]+N[a+103016>>2];c=J[e+28>>2];if((c|0)<=0){break c}f=J[e+8>>2];d=0;if((c|0)!=1){h=c&-2;l=0;while(1){j=d<<2;i=J[j+f>>2];if(!J[i>>2]){I[i+4>>1]=L[i+4>>1]&65534}i=J[f+(j|4)>>2];if(!J[i>>2]){I[i+4>>1]=L[i+4>>1]&65534}d=d+2|0;l=l+2|0;if((h|0)!=(l|0)){continue}break}}if(!(c&1)){break c}c=J[f+(d<<2)>>2];if(J[c>>2]){break c}I[c+4>>1]=L[c+4>>1]&65534}A=J[A+96>>2];if(A){continue}break}}vb(Z,S);d=J[a+102948>>2];if(d){while(1){if(!(!(H[d+4|0]&1)|!J[d>>2])){wd(d)}d=J[d+96>>2];if(d){continue}break}}Ub(a+102868|0);N[a+103020>>2]=0;Zc(e);Fa=p+96|0;N[a+103004>>2]=0;b=N[w+4>>2]}if(!(!K[a+102992|0]|!(b>Q(0)))){i=Fa-272|0;Fa=i;m=_c(i+220|0,64,32,0,a+68|0,J[a+102940>>2]);m:{if(!K[a+102994|0]){break m}j=J[a+102948>>2];if(j){while(1){J[j+60>>2]=0;I[j+4>>1]=L[j+4>>1]&65534;j=J[j+96>>2];if(j){continue}break}}j=J[a+102928>>2];if(!j){break m}while(1){J[j+128>>2]=0;J[j+132>>2]=1065353216;J[j+4>>2]=J[j+4>>2]&-34;j=J[j+12>>2];if(j){continue}break}}ga=a+102868|0;ba=i+116|0;while(1){n:{d=0;t=Q(1);o:{j=J[a+102928>>2];p:{if(!j){break p}while(1){c=J[j+4>>2];q:{if(!(c&4)|J[j+128>>2]>8){break q}r:{if(c&32){g=N[j+132>>2];break r}h=J[j+48>>2];if(K[h+38|0]){break q}l=J[j+52>>2];if(K[l+38|0]){break q}f=J[l+8>>2];c=J[f>>2];e=J[h+8>>2];p=L[e+4>>1];A=J[e>>2];S=L[f+4>>1];if(!(p>>>1&(A|0)!=0|S>>>1&(c|0)!=0)){break q}if(!(S&8|(p&8|(A|0)!=2))){if((c|0)==2){break q}}b=N[f+60>>2];g=N[e+60>>2];s:{if(b>g){N[e+60>>2]=b;k=N[e+40>>2];g=Q(Q(b-g)/Q(Q(1)-g));N[e+40>>2]=k+Q(g*Q(N[e+48>>2]-k));k=N[e+36>>2];N[e+36>>2]=k+Q(g*Q(N[e+44>>2]-k));k=g;g=N[e+52>>2];N[e+52>>2]=Q(k*Q(N[e+56>>2]-g))+g;break s}if(b>2]=g;k=N[f+40>>2];b=Q(Q(g-b)/Q(Q(1)-b));N[f+40>>2]=k+Q(b*Q(N[f+48>>2]-k));k=N[f+36>>2];N[f+36>>2]=k+Q(b*Q(N[f+44>>2]-k));k=b;b=N[f+52>>2];N[f+52>>2]=Q(k*Q(N[f+56>>2]-b))+b}b=g}p=J[j+60>>2];A=J[j+56>>2];J[i+140>>2]=0;J[i+132>>2]=0;J[i+136>>2]=0;J[i+112>>2]=0;J[i+104>>2]=0;J[i+108>>2]=0;c=i+88|0;Wb(c,J[h+12>>2],A);Wb(ba,J[l+12>>2],p);J[i+176>>2]=J[e+60>>2];h=J[e+56>>2];J[i+168>>2]=J[e+52>>2];J[i+172>>2]=h;h=J[e+48>>2];J[i+160>>2]=J[e+44>>2];J[i+164>>2]=h;h=J[e+40>>2];J[i+152>>2]=J[e+36>>2];J[i+156>>2]=h;h=J[e+32>>2];J[i+144>>2]=J[e+28>>2];J[i+148>>2]=h;J[i+212>>2]=J[f+60>>2];e=J[f+56>>2];J[i+204>>2]=J[f+52>>2];J[i+208>>2]=e;e=J[f+48>>2];J[i+196>>2]=J[f+44>>2];J[i+200>>2]=e;e=J[f+40>>2];J[i+188>>2]=J[f+36>>2];J[i+192>>2]=e;e=J[f+32>>2];J[i+180>>2]=J[f+28>>2];J[i+184>>2]=e;J[i+216>>2]=1065353216;f=0;B=Q(0);e=Fa-320|0;Fa=e;J[6119]=J[6119]+1;J[i+48>>2]=0;r=N[c+128>>2];N[i+52>>2]=r;J[e+312>>2]=J[c+88>>2];h=J[c+84>>2];J[e+304>>2]=J[c+80>>2];J[e+308>>2]=h;h=J[c+76>>2];J[e+296>>2]=J[c+72>>2];J[e+300>>2]=h;h=c- -64|0;l=J[h+4>>2];J[e+288>>2]=J[h>>2];J[e+292>>2]=l;h=J[c+60>>2];J[e+280>>2]=J[c+56>>2];J[e+284>>2]=h;J[e+272>>2]=J[c+124>>2];h=J[c+120>>2];J[e+264>>2]=J[c+116>>2];J[e+268>>2]=h;h=J[c+112>>2];J[e+256>>2]=J[c+108>>2];J[e+260>>2]=h;h=J[c+104>>2];J[e+248>>2]=J[c+100>>2];J[e+252>>2]=h;h=J[c+96>>2];J[e+240>>2]=J[c+92>>2];J[e+244>>2]=h;k=N[e+304>>2];g=Q(Q(V(Q(k/Q(6.2831854820251465))))*Q(6.2831854820251465));v=Q(k-g);N[e+304>>2]=v;o=N[e+264>>2];k=Q(Q(V(Q(o/Q(6.2831854820251465))))*Q(6.2831854820251465));s=Q(o-k);N[e+264>>2]=s;n=Q(N[e+268>>2]-k);N[e+268>>2]=n;q=Q(N[e+308>>2]-g);N[e+308>>2]=q;g=N[c+52>>2];k=N[c+24>>2];I[e+232>>1]=0;J[e+160>>2]=J[c+24>>2];h=J[c+20>>2];J[e+152>>2]=J[c+16>>2];J[e+156>>2]=h;h=J[c+12>>2];J[e+144>>2]=J[c+8>>2];J[e+148>>2]=h;h=J[c+4>>2];J[e+136>>2]=J[c>>2];J[e+140>>2]=h;h=J[c+40>>2];J[e+172>>2]=J[c+36>>2];J[e+176>>2]=h;h=J[c+48>>2];J[e+180>>2]=J[c+44>>2];J[e+184>>2]=h;J[e+188>>2]=J[c+52>>2];h=J[c+32>>2];J[e+164>>2]=J[c+28>>2];J[e+168>>2]=h;H[e+224|0]=0;g=Q(Q(k+g)+Q(-.014999999664723873));y=g>2]=o;n=Ta(n);N[e+216>>2]=n;s=Q(Q(g*v)+Q(k*q));q=Ua(s);N[e+204>>2]=q;s=Ta(s);N[e+200>>2]=s;v=N[e+240>>2];D=N[e+244>>2];N[e+212>>2]=Q(Q(g*N[e+252>>2])+Q(k*N[e+260>>2]))-Q(Q(n*v)+Q(o*D));N[e+208>>2]=Q(Q(g*N[e+248>>2])+Q(k*N[e+256>>2]))-Q(Q(o*v)-Q(D*n));o=N[e+280>>2];n=N[e+284>>2];N[e+196>>2]=Q(Q(g*N[e+292>>2])+Q(k*N[e+300>>2]))-Q(Q(s*o)+Q(q*n));N[e+192>>2]=Q(Q(g*N[e+288>>2])+Q(k*N[e+296>>2]))-Q(Q(q*o)-Q(n*s));Cd(e+112|0,e+228|0,e+136|0);g=N[e+128>>2];if(g<=Q(0)){h=2;break u}if(g>2]=S;J[h>>2]=c;l=L[e+232>>1];J[h+40>>2]=J[e+312>>2];p=J[e+308>>2];J[h+32>>2]=J[e+304>>2];J[h+36>>2]=p;p=J[e+300>>2];J[h+24>>2]=J[e+296>>2];J[h+28>>2]=p;p=J[e+292>>2];J[h+16>>2]=J[e+288>>2];J[h+20>>2]=p;p=J[e+284>>2];J[h+8>>2]=J[e+280>>2];J[h+12>>2]=p;p=J[e+244>>2];J[h+44>>2]=J[e+240>>2];J[h+48>>2]=p;p=J[e+252>>2];J[h+52>>2]=J[e+248>>2];J[h+56>>2]=p;p=J[e+260>>2];J[h+60>>2]=J[e+256>>2];J[h+64>>2]=p;p=J[e+268>>2];J[h+68>>2]=J[e+264>>2];J[h+72>>2]=p;J[h+76>>2]=J[e+272>>2];n=N[h+48>>2];g=Q(Q(1)-k);s=Q(Q(g*N[h+68>>2])+Q(N[h+72>>2]*k));o=Ua(s);q=N[h+44>>2];s=Ta(s);W=Q(Q(Q(g*N[h+56>>2])+Q(N[h- -64>>2]*k))-Q(Q(s*q)+Q(n*o)));_=Q(Q(Q(g*N[h+52>>2])+Q(N[h+60>>2]*k))-Q(Q(o*q)-Q(n*s)));n=N[h+12>>2];v=Q(Q(g*N[h+32>>2])+Q(N[h+36>>2]*k));q=Ua(v);D=N[h+8>>2];v=Ta(v);C=Q(Q(Q(g*N[h+20>>2])+Q(N[h+28>>2]*k))-Q(Q(v*D)+Q(n*q)));G=Q(Q(Q(g*N[h+16>>2])+Q(N[h+24>>2]*k))-Q(Q(q*D)-Q(n*v)));D=Q(-s);U=Q(-v);v:{if((l|0)==1){J[h+80>>2]=0;l=J[c+44>>2]+(K[e+237|0]<<3)|0;n=N[l>>2];g=Q(s*n);s=N[l+4>>2];M=Q(W+Q(g+Q(o*s)));g=v;l=J[c+16>>2]+(K[e+234|0]<<3)|0;v=N[l>>2];W=N[l+4>>2];g=Q(M-Q(C+Q(Q(g*v)+Q(q*W))));N[h+96>>2]=g;o=Q(Q(_+Q(Q(o*n)+Q(s*D)))-Q(G+Q(Q(q*v)+Q(W*U))));N[h+92>>2]=o;n=Q(Y(Q(Q(o*o)+Q(g*g))));if(n>2]=q*g;N[h+92>>2]=o*g;break v}w:{if(K[e+234|0]==K[e+235|0]){J[h+80>>2]=2;l=J[c+44>>2];p=l+(K[e+238|0]<<3)|0;R=N[p>>2];l=l+(K[e+237|0]<<3)|0;F=N[l>>2];M=N[p+4>>2];X=N[l+4>>2];g=Q(M-X);N[h+92>>2]=g;u=Q(R-F);n=Q(-u);N[h+96>>2]=n;u=Q(Y(Q(Q(g*g)+Q(u*u))));if(!(u>2]=n;g=Q(g*u);N[h+92>>2]=g}u=Q(Q(X+M)*Q(.5));N[h+88>>2]=u;R=Q(Q(F+R)*Q(.5));N[h+84>>2]=R;M=G;l=J[c+16>>2]+(K[e+234|0]<<3)|0;G=N[l>>2];F=N[l+4>>2];if(!(Q(Q(Q(Q(M+Q(Q(q*G)+Q(F*U)))-Q(_+Q(Q(o*R)+Q(u*D))))*Q(Q(o*g)+Q(n*D)))+Q(Q(Q(s*g)+Q(o*n))*Q(Q(C+Q(Q(v*G)+Q(q*F)))-Q(W+Q(Q(s*R)+Q(o*u))))))>2]=1;l=J[c+16>>2];p=l+(K[e+235|0]<<3)|0;R=N[p>>2];l=l+(K[e+234|0]<<3)|0;F=N[l>>2];M=N[p+4>>2];X=N[l+4>>2];g=Q(M-X);N[h+92>>2]=g;u=Q(R-F);n=Q(-u);N[h+96>>2]=n;u=Q(Y(Q(Q(g*g)+Q(u*u))));if(!(u>2]=n;g=Q(g*u);N[h+92>>2]=g}u=Q(Q(X+M)*Q(.5));N[h+88>>2]=u;R=Q(Q(F+R)*Q(.5));N[h+84>>2]=R;M=_;l=J[c+44>>2]+(K[e+237|0]<<3)|0;_=N[l>>2];F=N[l+4>>2];if(!(Q(Q(Q(Q(M+Q(Q(o*_)+Q(F*D)))-Q(G+Q(Q(q*R)+Q(u*U))))*Q(Q(q*g)+Q(n*U)))+Q(Q(Q(v*g)+Q(q*n))*Q(Q(W+Q(Q(s*_)+Q(o*F)))-Q(C+Q(Q(v*R)+Q(q*u))))))>2]=-n;N[h+92>>2]=-g}A=0;l=4;x:{g=r;s=Yc(h,e+8|0,e+4|0,g);y:{if(!(Eca)){v=Xc(e+12|0,J[e+8>>2],J[e+4>>2],k);if(ca>v){l=1;break y}h=0;n=k;q=g;if(v<=E){l=3;break y}A:{while(1){o=h&1?Q(n+Q(Q(Q(y-v)*Q(q-n))/Q(s-v))):Q(Q(n+q)*Q(.5));J[6122]=J[6122]+1;h=h+1|0;D=Xc(e+12|0,J[e+8>>2],J[e+4>>2],o);U=Q(D-y);if((U>Q(0)?U:Q(-U))>2]=g;J[i+48>>2]=1;f=20;break t}s=Yc(e+12|0,e+8|0,e+4|0,g);if(!(E>2]=k;J[i+48>>2]=l;J[6120]=J[6120]+1;f=f+1|0;break t}n=N[e+268>>2];s=N[e+264>>2];q=N[e+308>>2];v=N[e+304>>2];k=g;continue}break}N[i+52>>2]=B;J[i+48>>2]=h}c=J[6121];J[6121]=(c|0)>(f|0)?c:f;N[6117]=N[6117]+Q(0);g=N[6118];N[6118]=g>Q(0)?g:Q(0);Fa=e+320|0;g=Q(1);if(J[i+48>>2]==3){b=Q(Q(Q(Q(1)-b)*N[i+52>>2])+b);g=b>2]=g;J[j+4>>2]=J[j+4>>2]|32}c=g>2];if(j){continue}break}if(!d){break p}if(!(t>Q(.9999988079071045))){break o}}H[a+102994|0]=1;break n}e=J[J[d+52>>2]+8>>2];h=J[J[d+48>>2]+8>>2];f=h;J[i+120>>2]=J[f+60>>2];c=J[f+56>>2];J[i+112>>2]=J[f+52>>2];J[i+116>>2]=c;c=J[f+48>>2];J[i+104>>2]=J[f+44>>2];J[i+108>>2]=c;c=J[f+40>>2];J[i+96>>2]=J[f+36>>2];J[i+100>>2]=c;c=J[f+32>>2];J[i+88>>2]=J[f+28>>2];J[i+92>>2]=c;J[i+80>>2]=J[e+60>>2];c=J[e+56>>2];J[i+72>>2]=J[e+52>>2];J[i+76>>2]=c;l=J[e+48>>2];j=i- -64|0;c=j;J[c>>2]=J[e+44>>2];J[c+4>>2]=l;c=J[e+40>>2];J[i+56>>2]=J[e+36>>2];J[i+60>>2]=c;c=J[e+32>>2];J[i+48>>2]=J[e+28>>2];J[i+52>>2]=c;g=N[f+36>>2];b=N[f+60>>2];b=Q(Q(t-b)/Q(Q(1)-b));N[f+36>>2]=g+Q(b*Q(N[f+44>>2]-g));g=N[f+40>>2];N[f+40>>2]=g+Q(b*Q(N[f+48>>2]-g));N[f+60>>2]=t;g=b;b=N[f+52>>2];b=Q(Q(g*Q(N[f+56>>2]-b))+b);N[f+56>>2]=b;N[f+52>>2]=b;g=Ua(b);N[f+24>>2]=g;b=Ta(b);N[f+20>>2]=b;n=N[f+40>>2];l=J[f+40>>2];r=N[f+36>>2];J[f+44>>2]=J[f+36>>2];J[f+48>>2]=l;k=N[f+28>>2];o=N[f+32>>2];N[f+16>>2]=n-Q(Q(b*k)+Q(g*o));N[f+12>>2]=r-Q(Q(g*k)-Q(o*b));g=N[e+40>>2];b=N[e+60>>2];b=Q(Q(t-b)/Q(Q(1)-b));N[e+40>>2]=g+Q(b*Q(N[e+48>>2]-g));g=N[e+36>>2];N[e+36>>2]=g+Q(b*Q(N[e+44>>2]-g));N[e+60>>2]=t;g=b;b=N[e+52>>2];b=Q(Q(g*Q(N[e+56>>2]-b))+b);N[e+56>>2]=b;N[e+52>>2]=b;g=Ua(b);N[e+24>>2]=g;b=Ta(b);N[e+20>>2]=b;n=N[e+40>>2];f=J[e+40>>2];k=N[e+36>>2];J[e+44>>2]=J[e+36>>2];J[e+48>>2]=f;r=k;k=N[e+28>>2];o=N[e+32>>2];N[e+12>>2]=r-Q(Q(g*k)-Q(b*o));N[e+16>>2]=n-Q(Q(b*k)+Q(g*o));tc(d,J[a+102940>>2]);c=J[d+4>>2];J[d+4>>2]=c&-33;J[d+128>>2]=J[d+128>>2]+1;B:{if((c&6)!=6){J[d+4>>2]=c&-37;J[h+60>>2]=J[i+120>>2];c=J[i+116>>2];J[h+52>>2]=J[i+112>>2];J[h+56>>2]=c;c=J[i+108>>2];J[h+44>>2]=J[i+104>>2];J[h+48>>2]=c;c=J[i+100>>2];J[h+36>>2]=J[i+96>>2];J[h+40>>2]=c;c=J[i+92>>2];J[h+28>>2]=J[i+88>>2];J[h+32>>2]=c;J[e+60>>2]=J[i+80>>2];c=J[i+76>>2];J[e+52>>2]=J[i+72>>2];J[e+56>>2]=c;c=J[j+4>>2];J[e+44>>2]=J[j>>2];J[e+48>>2]=c;c=J[i+60>>2];J[e+36>>2]=J[i+56>>2];J[e+40>>2]=c;c=J[i+52>>2];J[e+28>>2]=J[i+48>>2];J[e+32>>2]=c;g=N[h+56>>2];b=Ua(g);N[h+24>>2]=b;g=Ta(g);N[h+20>>2]=g;k=N[h+28>>2];o=N[h+32>>2];N[h+16>>2]=N[h+48>>2]-Q(Q(g*k)+Q(b*o));N[h+12>>2]=N[h+44>>2]-Q(Q(b*k)-Q(o*g));g=N[e+56>>2];b=Ta(g);N[e+20>>2]=b;g=Ua(g);N[e+24>>2]=g;k=N[e+28>>2];o=N[e+32>>2];N[e+16>>2]=N[e+48>>2]-Q(Q(b*k)+Q(g*o));N[e+12>>2]=N[e+44>>2]-Q(Q(g*k)-Q(o*b));c=9;break B}j=0;J[h+144>>2]=0;I[h+4>>1]=L[h+4>>1]|2;J[e+144>>2]=0;I[e+4>>1]=L[e+4>>1]|2;J[m+32>>2]=0;J[h+8>>2]=0;J[J[m+8>>2]>>2]=h;c=1;J[e+8>>2]=1;J[J[m+8>>2]+4>>2]=e;J[m+28>>2]=2;J[m+36>>2]=1;J[J[m+12>>2]>>2]=d;I[h+4>>1]=L[h+4>>1]|1;I[e+4>>1]=L[e+4>>1]|1;J[d+4>>2]=J[d+4>>2]|1;J[i+44>>2]=e;J[i+40>>2]=h;while(1){p=J[(i+40|0)+(j<<2)>>2];C:{if(J[p>>2]!=2){break C}j=J[p+112>>2];if(!j){break C}while(1){if(J[m+28>>2]==J[m+40>>2]|J[m+36>>2]==J[m+44>>2]){break C}l=J[j+4>>2];D:{if(H[l+4|0]&1){break D}f=J[j>>2];if(!(K[p+4|0]&8|J[f>>2]!=2|K[f+4|0]&8)|(K[J[l+48>>2]+38|0]|K[J[l+52>>2]+38|0])){break D}J[i+32>>2]=J[f+60>>2];d=J[f+56>>2];J[i+24>>2]=J[f+52>>2];J[i+28>>2]=d;d=J[f+48>>2];J[i+16>>2]=J[f+44>>2];J[i+20>>2]=d;d=J[f+40>>2];J[i+8>>2]=J[f+36>>2];J[i+12>>2]=d;d=J[f+32>>2];J[i>>2]=J[f+28>>2];J[i+4>>2]=d;if(!(H[f+4|0]&1)){g=N[f+40>>2];b=N[f+60>>2];b=Q(Q(t-b)/Q(Q(1)-b));N[f+40>>2]=g+Q(b*Q(N[f+48>>2]-g));g=N[f+36>>2];N[f+36>>2]=g+Q(b*Q(N[f+44>>2]-g));N[f+60>>2]=t;g=b;b=N[f+52>>2];b=Q(Q(g*Q(N[f+56>>2]-b))+b);N[f+56>>2]=b;N[f+52>>2]=b;g=Ua(b);N[f+24>>2]=g;b=Ta(b);N[f+20>>2]=b;n=N[f+40>>2];A=J[f+40>>2];k=N[f+36>>2];J[f+44>>2]=J[f+36>>2];J[f+48>>2]=A;r=k;k=N[f+28>>2];o=N[f+32>>2];N[f+12>>2]=r-Q(Q(g*k)-Q(b*o));N[f+16>>2]=n-Q(Q(b*k)+Q(g*o))}tc(l,J[a+102940>>2]);d=J[l+4>>2];if(!(d&4)){d=J[i+4>>2];J[f+28>>2]=J[i>>2];J[f+32>>2]=d;J[f+60>>2]=J[i+32>>2];d=J[i+28>>2];J[f+52>>2]=J[i+24>>2];J[f+56>>2]=d;d=J[i+20>>2];J[f+44>>2]=J[i+16>>2];J[f+48>>2]=d;d=J[i+12>>2];J[f+36>>2]=J[i+8>>2];J[f+40>>2]=d;g=N[f+56>>2];b=Ua(g);N[f+24>>2]=b;g=Ta(g);N[f+20>>2]=g;k=N[f+28>>2];o=N[f+32>>2];N[f+16>>2]=N[f+48>>2]-Q(Q(g*k)+Q(b*o));N[f+12>>2]=N[f+44>>2]-Q(Q(b*k)-Q(o*g));break D}if(!(d&2)){d=J[i+4>>2];J[f+28>>2]=J[i>>2];J[f+32>>2]=d;J[f+60>>2]=J[i+32>>2];d=J[i+28>>2];J[f+52>>2]=J[i+24>>2];J[f+56>>2]=d;d=J[i+20>>2];J[f+44>>2]=J[i+16>>2];J[f+48>>2]=d;d=J[i+12>>2];J[f+36>>2]=J[i+8>>2];J[f+40>>2]=d;g=N[f+56>>2];b=Ua(g);N[f+24>>2]=b;g=Ta(g);N[f+20>>2]=g;k=N[f+28>>2];o=N[f+32>>2];N[f+16>>2]=N[f+48>>2]-Q(Q(g*k)+Q(b*o));N[f+12>>2]=N[f+44>>2]-Q(Q(b*k)-Q(o*g));break D}J[l+4>>2]=d|1;d=J[m+36>>2];J[m+36>>2]=d+1;J[J[m+12>>2]+(d<<2)>>2]=l;d=L[f+4>>1];if(d&1){break D}I[f+4>>1]=d|1;if(J[f>>2]){J[f+144>>2]=0;I[f+4>>1]=d|3}d=J[m+28>>2];J[f+8>>2]=d;J[J[m+8>>2]+(d<<2)>>2]=f;J[m+28>>2]=d+1}j=J[j+12>>2];if(j){continue}break}}j=1;d=c;c=0;if(d){continue}break}b=N[w+4>>2];J[i+16>>2]=20;J[i+8>>2]=1065353216;b=Q(b*Q(Q(1)-t));N[i>>2]=b;N[i+4>>2]=Q(1)/b;c=J[w+16>>2];d=0;H[i+20|0]=0;J[i+12>>2]=c;A=J[h+8>>2];S=J[e+8>>2];c=0;j=Fa-128|0;Fa=j;E:{if(J[m+28>>2]<=0){f=J[m+24>>2];break E}while(1){e=J[J[m+8>>2]+(c<<2)>>2];l=J[e+48>>2];h=P(c,12);f=h+J[m+20>>2]|0;J[f>>2]=J[e+44>>2];J[f+4>>2]=l;N[(h+J[m+20>>2]|0)+8>>2]=N[e+56>>2];l=J[e+68>>2];f=h+J[m+24>>2]|0;J[f>>2]=J[e+64>>2];J[f+4>>2]=l;f=J[m+24>>2];N[(h+f|0)+8>>2]=N[e+72>>2];c=c+1|0;if((c|0)>2]){continue}break}}J[j+88>>2]=J[m+12>>2];J[j+92>>2]=J[m+36>>2];J[j+104>>2]=J[m>>2];c=J[i+12>>2];J[j+72>>2]=J[i+8>>2];J[j+76>>2]=c;c=J[i+20>>2];J[j+80>>2]=J[i+16>>2];J[j+84>>2]=c;c=J[i+4>>2];J[j+64>>2]=J[i>>2];J[j+68>>2]=c;c=J[m+20>>2];J[j+100>>2]=f;J[j+96>>2]=c;l=dd(j+12|0,j- -64|0);c=0;F:{if(J[i+16>>2]<=0){break F}while(1){n=Q(0);f=0;h=Fa+-64|0;Fa=h;if(J[l+48>>2]>0){while(1){p=J[l+36>>2]+P(f,88)|0;Z=J[p+36>>2];T=J[p+32>>2];G:{if((T|0)!=(A|0)){s=Q(0);o=Q(0);if((S|0)!=(T|0)){break G}}s=N[p+64>>2];o=N[p+40>>2]}x=J[p+84>>2];H:{if((A|0)!=(Z|0)){v=Q(0);r=Q(0);if((S|0)!=(Z|0)){break H}}v=N[p+68>>2];r=N[p+44>>2]}e=J[l+24>>2];Z=P(Z,12);z=e+Z|0;b=N[z+8>>2];k=N[z+4>>2];g=N[z>>2];T=P(T,12);z=T+e|0;t=N[z+8>>2];B=N[z+4>>2];q=N[z>>2];if((x|0)>0){D=N[p+56>>2];U=N[p+48>>2];W=N[p+60>>2];_=N[p+52>>2];ca=Q(o+r);R=Q(-s);e=0;while(1){y=Ua(t);N[h+60>>2]=y;E=Ta(t);N[h+56>>2]=E;C=Ua(b);N[h+44>>2]=C;G=Ta(b);N[h+40>>2]=G;N[h+52>>2]=B-Q(Q(E*U)+Q(_*y));N[h+48>>2]=q-Q(Q(y*U)-Q(_*E));N[h+36>>2]=k-Q(Q(G*D)+Q(W*C));N[h+32>>2]=g-Q(Q(C*D)-Q(W*G));$c(h+8|0,p,h+48|0,h+32|0,e);y=Q(0);E=N[h+24>>2];z=E>n;C=N[h+20>>2];F=Q(C-k);u=Q(-F);M=Q(C-B);X=Q(-M);ea=N[h+16>>2];da=Q(ea-g);C=N[h+12>>2];G=N[h+8>>2];F=Q(Q(da*C)-Q(G*F));fa=Q(Q(v*F)*F);F=Q(ea-q);M=Q(Q(F*C)-Q(G*M));M=Q(fa+Q(Q(Q(s*M)*M)+ca));if(M>Q(0)){y=Q(Q(E+Q(.004999999888241291))*Q(.75));y=y>2]}e=e+T|0;N[e+4>>2]=B;N[e>>2]=q;e=J[l+24>>2];N[(e+T|0)+8>>2]=t;e=e+Z|0;N[e+4>>2]=k;N[e>>2]=g;N[(Z+J[l+24>>2]|0)+8>>2]=b;f=f+1|0;if((f|0)>2]){continue}break}}Fa=h- -64|0;if(n>=Q(-.007499999832361937)){break F}c=c+1|0;if((c|0)>2]){continue}break}}e=P(A,12);h=e+J[m+20>>2]|0;p=J[h+4>>2];c=A<<2;f=J[c+J[m+8>>2]>>2];J[f+36>>2]=J[h>>2];J[f+40>>2]=p;h=c;c=J[m+8>>2];f=J[m+20>>2];N[J[h+c>>2]+52>>2]=N[(f+e|0)+8>>2];h=f;f=P(S,12);h=h+f|0;p=J[h+4>>2];x=c;c=S<<2;e=J[x+c>>2];J[e+36>>2]=J[h>>2];J[e+40>>2]=p;N[J[c+J[m+8>>2]>>2]+52>>2]=N[(f+J[m+20>>2]|0)+8>>2];bd(l);c=0;if(J[i+12>>2]>0){while(1){ad(l);c=c+1|0;if((c|0)>2]){continue}break}}h=0;if(J[m+28>>2]>0){b=N[i>>2];while(1){c=P(h,12);e=c+J[m+24>>2]|0;n=N[e>>2];g=Q(b*n);k=Q(g*g);q=N[e+4>>2];g=Q(b*q);g=Q(k+Q(g*g));if(g>Q(4)){g=Q(Q(2)/Q(Y(g)));q=Q(q*g);n=Q(n*g)}f=c+J[m+20>>2]|0;r=N[f+8>>2];k=N[f+4>>2];o=N[f>>2];s=N[e+8>>2];g=Q(b*s);if(Q(g*g)>Q(2.4674012660980225)){s=Q(s*Q(Q(1.5707963705062866)/(g>Q(0)?g:Q(-g))))}k=Q(k+Q(b*q));N[f+4>>2]=k;o=Q(o+Q(b*n));N[f>>2]=o;g=Q(Q(b*s)+r);N[(c+J[m+20>>2]|0)+8>>2]=g;f=c+J[m+24>>2]|0;N[f+4>>2]=q;N[f>>2]=n;N[(c+J[m+24>>2]|0)+8>>2]=s;c=J[J[m+8>>2]+(h<<2)>>2];N[c+72>>2]=s;N[c+64>>2]=n;N[c+68>>2]=q;N[c+56>>2]=g;N[c+48>>2]=k;N[c+44>>2]=o;r=Ua(g);N[c+24>>2]=r;g=Ta(g);N[c+20>>2]=g;q=k;k=N[c+28>>2];n=N[c+32>>2];N[c+16>>2]=q-Q(Q(g*k)+Q(r*n));N[c+12>>2]=o-Q(Q(r*k)-Q(n*g));h=h+1|0;if((h|0)>2]){continue}break}}if(!(!J[m+4>>2]|J[m+36>>2]<=0)){A=J[l+40>>2];f=0;while(1){S=J[J[m+12>>2]+(f<<2)>>2];p=A+P(f,156)|0;e=J[p+148>>2];J[j+124>>2]=e;I:{if((e|0)<=0){break I}c=0;if((e|0)!=1){Z=e&-2;h=0;while(1){T=c<<2;x=j+108|0;z=p+P(c,36)|0;N[T+x>>2]=N[z+16>>2];O=T;T=j+116|0;N[O+T>>2]=N[z+20>>2];O=x;x=c|1;z=x<<2;x=p+P(x,36)|0;N[O+z>>2]=N[x+16>>2];N[z+T>>2]=N[x+20>>2];c=c+2|0;h=h+2|0;if((Z|0)!=(h|0)){continue}break}}if(!(e&1)){break I}e=(j+108|0)+(c<<2)|0;c=p+P(c,36)|0;N[e>>2]=N[c+16>>2];N[e+8>>2]=N[c+20>>2]}c=J[m+4>>2];Ha[J[J[c>>2]+20>>2]](c,S,j+108|0);f=f+1|0;if((f|0)>2]){continue}break}}cd(l);Fa=j+128|0;if(J[m+28>>2]>0){while(1){c=J[J[m+8>>2]+(d<<2)>>2];I[c+4>>1]=L[c+4>>1]&65534;J:{if(J[c>>2]!=2){break J}wd(c);j=J[c+112>>2];if(!j){break J}while(1){c=J[j+4>>2];J[c+4>>2]=J[c+4>>2]&-34;j=J[j+12>>2];if(j){continue}break}}d=d+1|0;if((d|0)>2]){continue}break}}Ub(ga);c=0;if(!K[a+102993|0]){break B}H[a+102994|0]=0;c=8}if((c|0)!=8){continue}}break}Zc(m);Fa=i+272|0;N[a+103024>>2]=0;b=N[w+4>>2]}if(b>Q(0)){N[a+102984>>2]=N[w+8>>2]}K:{if(!K[a+102990|0]){break K}d=J[a+102948>>2];if(!d){break K}while(1){J[d+84>>2]=0;J[d+76>>2]=0;J[d+80>>2]=0;d=J[d+96>>2];if(d){continue}break}}H[a+102989|0]=0;N[a+102996>>2]=0;Fa=w+32|0}function rd(a,b,c,d,e){var f=0,g=0,h=Q(0),i=Q(0),j=Q(0),k=0,l=Q(0),m=Q(0),n=Q(0),o=0,p=Q(0),q=0,r=Q(0),s=Q(0),t=0,u=Q(0),v=Q(0),w=0,y=Q(0),z=Q(0),A=0,B=Q(0),C=Q(0),E=Q(0),F=0,G=Q(0),L=Q(0),M=Q(0),O=Q(0),R=0,S=0;A=Fa-256|0;Fa=A;g=Fa-160|0;Fa=g;m=N[c>>2];n=N[e>>2];p=N[c+4>>2];s=N[e+4>>2];f=A+4|0;h=N[c+12>>2];l=N[e+12>>2];u=N[e+8>>2];i=N[c+8>>2];j=Q(Q(h*l)+Q(u*i));N[f+144>>2]=j;l=Q(Q(h*u)-Q(l*i));N[f+140>>2]=l;p=Q(s-p);m=Q(n-m);n=Q(Q(h*p)-Q(i*m));N[f+136>>2]=n;h=Q(Q(h*m)+Q(i*p));N[f+132>>2]=h;i=N[d+12>>2];m=N[d+16>>2];s=Q(n+Q(Q(l*i)+Q(j*m)));N[f+152>>2]=s;u=Q(h+Q(Q(j*i)-Q(m*l)));N[f+148>>2]=u;v=N[b+32>>2];e=J[b+32>>2];l=N[b+28>>2];J[f+156>>2]=J[b+28>>2];J[f+160>>2]=e;r=N[b+16>>2];k=J[b+16>>2];j=N[b+12>>2];J[f+164>>2]=J[b+12>>2];J[f+168>>2]=k;y=N[b+24>>2];o=J[b+24>>2];m=N[b+20>>2];J[f+172>>2]=J[b+20>>2];J[f+176>>2]=o;z=N[b+40>>2];q=J[b+40>>2];B=N[b+36>>2];J[f+180>>2]=J[b+36>>2];J[f+184>>2]=q;t=K[b+44|0];h=Q(m-j);i=Q(y-r);n=Q(Y(Q(Q(h*h)+Q(i*i))));if(!(n>2]=i;N[f+200>>2]=-h;p=Q(Q(i*Q(u-j))-Q(Q(s-r)*h));a:{b:{c:{d:{e:{f:{g:{h:{if(t){n=l;l=Q(j-l);j=r;r=v;j=Q(j-r);v=Q(Y(Q(Q(l*l)+Q(j*j))));if(!(v>2]=j;N[f+192>>2]=-l;n=Q(Q(j*Q(u-n))-Q(Q(s-r)*l));j=Q(Q(l*i)-Q(h*j));if(!k){break g}c=j>=Q(0);break h}if(!k){break d}n=Q(0);c=0}l=Q(B-m);j=Q(z-y);r=Q(Y(Q(Q(l*l)+Q(j*j))));if(!(r>2]=j;N[f+208>>2]=-l;r=Q(Q(h*j)-Q(l*i));s=Q(Q(j*Q(u-m))-Q(Q(s-y)*l));m=Q(-i);if(!(!t|!k)){if(!(!(r>Q(0))|c^1)){c=p>=Q(0)|n>=Q(0)|s>=Q(0);H[f+248|0]=c;if(c){c=J[f+200>>2];J[f+212>>2]=J[f+196>>2];J[f+216>>2]=c;c=J[f+192>>2];J[f+228>>2]=J[f+188>>2];J[f+232>>2]=c;c=J[f+208>>2];J[f+236>>2]=J[f+204>>2];J[f+240>>2]=c;e=1;break a}N[f+236>>2]=m;N[f+228>>2]=m;N[f+212>>2]=m;N[f+240>>2]=h;N[f+232>>2]=h;N[f+216>>2]=h;break b}if(c){i:{if(!(n>=Q(0))){c=p>=Q(0)&s>=Q(0);H[f+248|0]=c;if(c){break i}N[f+236>>2]=m;N[f+212>>2]=m;N[f+240>>2]=h;N[f+232>>2]=l;N[f+228>>2]=-j;N[f+216>>2]=h;break b}H[f+248|0]=1}e=J[f+200>>2];c=J[f+196>>2];J[f+212>>2]=c;J[f+216>>2]=e;J[f+236>>2]=c;J[f+240>>2]=e;c=J[f+192>>2];J[f+228>>2]=J[f+188>>2];J[f+232>>2]=c;e=1;break a}if(r>Q(0)){j:{if(!(s>=Q(0))){c=p>=Q(0)&n>=Q(0);H[f+248|0]=c;if(c){break j}N[f+228>>2]=m;N[f+212>>2]=m;N[f+232>>2]=h;N[f+216>>2]=h;N[f+236>>2]=-N[f+188>>2];N[f+240>>2]=-N[f+192>>2];break b}H[f+248|0]=1}e=J[f+200>>2];c=J[f+196>>2];J[f+228>>2]=c;J[f+232>>2]=e;J[f+212>>2]=c;J[f+216>>2]=e;c=J[f+208>>2];J[f+236>>2]=J[f+204>>2];J[f+240>>2]=c;e=1;break a}c=p>=Q(0)&n>=Q(0)&s>=Q(0);H[f+248|0]=c;e=1;if(c){k=J[f+200>>2];c=J[f+196>>2];J[f+236>>2]=c;J[f+240>>2]=k;J[f+228>>2]=c;J[f+232>>2]=k;J[f+212>>2]=c;J[f+216>>2]=k;break a}N[f+212>>2]=m;N[f+232>>2]=l;N[f+228>>2]=-j;N[f+216>>2]=h;N[f+236>>2]=-N[f+188>>2];N[f+240>>2]=-N[f+192>>2];break b}if(!t){break e}if(!c){break f}break c}if(j>=Q(0)){break c}}c=p>=Q(0)&n>=Q(0);H[f+248|0]=c;e=1;if(c){k=J[f+200>>2];c=J[f+196>>2];J[f+228>>2]=c;J[f+232>>2]=k;J[f+212>>2]=c;J[f+216>>2]=k;J[f+236>>2]=c^-2147483648;J[f+240>>2]=k^-2147483648;break a}N[f+216>>2]=h;N[f+212>>2]=-i;c=J[f+200>>2];J[f+228>>2]=J[f+196>>2];J[f+232>>2]=c;N[f+236>>2]=-N[f+188>>2];N[f+240>>2]=-N[f+192>>2];break b}if(r>Q(0)){c=p>=Q(0)|s>=Q(0);H[f+248|0]=c;e=1;if(c){c=J[f+200>>2];k=J[f+196>>2];J[f+212>>2]=k;J[f+216>>2]=c;o=J[f+208>>2];J[f+236>>2]=J[f+204>>2];J[f+240>>2]=o;J[f+228>>2]=k^-2147483648;J[f+232>>2]=c^-2147483648;break a}N[f+228>>2]=m;N[f+212>>2]=m;N[f+232>>2]=h;N[f+216>>2]=h;c=J[f+200>>2];J[f+236>>2]=J[f+196>>2];J[f+240>>2]=c;break b}c=p>=Q(0)&s>=Q(0);H[f+248|0]=c;e=1;if(c){k=J[f+200>>2];c=J[f+196>>2];J[f+236>>2]=c;J[f+240>>2]=k;J[f+212>>2]=c;J[f+216>>2]=k;J[f+228>>2]=c^-2147483648;J[f+232>>2]=k^-2147483648;break a}N[f+212>>2]=m;N[f+232>>2]=l;N[f+228>>2]=-j;N[f+216>>2]=h;c=J[f+200>>2];J[f+236>>2]=J[f+196>>2];J[f+240>>2]=c;break b}c=p>=Q(0);H[f+248|0]=c;if(c){e=J[f+200>>2];c=J[f+196>>2];J[f+212>>2]=c;J[f+216>>2]=e;c=c^-2147483648;J[f+236>>2]=c;J[f+228>>2]=c;c=e^-2147483648;J[f+240>>2]=c;J[f+232>>2]=c;e=1;break a}N[f+216>>2]=h;N[f+212>>2]=-i;e=J[f+200>>2];c=J[f+196>>2];J[f+236>>2]=c;J[f+240>>2]=e;J[f+228>>2]=c;J[f+232>>2]=e;break b}c=p>=Q(0)|n>=Q(0);H[f+248|0]=c;e=1;if(c){c=J[f+200>>2];k=J[f+196>>2];J[f+212>>2]=k;J[f+216>>2]=c;o=J[f+192>>2];J[f+228>>2]=J[f+188>>2];J[f+232>>2]=o;J[f+236>>2]=k^-2147483648;J[f+240>>2]=c^-2147483648;break a}N[f+216>>2]=h;N[f+212>>2]=-i;N[f+240>>2]=h;e=J[f+200>>2];c=J[f+196>>2];J[f+228>>2]=c;J[f+232>>2]=e;J[f+236>>2]=c^-2147483648}e=0}k=J[d+148>>2];J[f+128>>2]=k;c=0;if((k|0)>0){while(1){h=N[f+132>>2];k=c<<3;e=k+f|0;i=N[f+140>>2];k=d+k|0;j=N[k+20>>2];l=N[f+144>>2];m=N[k+24>>2];N[e+4>>2]=Q(Q(i*j)+Q(l*m))+N[f+136>>2];N[e>>2]=h+Q(Q(l*j)-Q(m*i));h=N[f+140>>2];i=N[k+84>>2];j=N[f+144>>2];l=N[k+88>>2];N[e+68>>2]=Q(h*i)+Q(j*l);N[e- -64>>2]=Q(j*i)-Q(l*h);c=c+1|0;if((c|0)>2]){continue}break}k=J[f+128>>2];e=K[f+248|0]}s=Q(N[d+8>>2]+N[b+8>>2]);N[f+244>>2]=s;c=0;J[a+60>>2]=0;k:{if((k|0)<=0){j=Q(34028234663852886e22);break k}t=k&1;h=N[f+216>>2];l=N[f+212>>2];m=N[f+168>>2];n=N[f+164>>2];l:{if((k|0)==1){j=Q(34028234663852886e22);i=Q(34028234663852886e22);break l}w=k&-2;j=Q(34028234663852886e22);i=Q(34028234663852886e22);b=0;while(1){o=c<<3;q=(o|8)+f|0;p=Q(Q(l*Q(N[q>>2]-n))+Q(h*Q(N[q+4>>2]-m)));o=f+o|0;u=Q(Q(l*Q(N[o>>2]-n))+Q(h*Q(N[o+4>>2]-m)));o=up;i=q?p:i;j=q?p:o?u:j;c=c+2|0;b=b+2|0;if((w|0)!=(b|0)){continue}break}}if(!t){break k}b=(c<<3)+f|0;h=Q(Q(l*Q(N[b>>2]-n))+Q(h*Q(N[b+4>>2]-m)));j=hs){break m}o=0;J[g+156>>2]=-8388609;J[g+148>>2]=0;J[g+152>>2]=-1;n:{o:{c=J[f+128>>2];if((c|0)>0){l=N[f+216>>2];m=N[f+212>>2];u=N[f+232>>2];r=N[f+240>>2];y=N[f+176>>2];B=N[f+168>>2];v=N[f+228>>2];G=N[f+236>>2];L=N[f+244>>2];M=N[f+172>>2];O=N[f+164>>2];i=Q(-34028234663852886e22);while(1){b=(o<<3)+f|0;z=N[b- -64>>2];n=Q(-z);h=N[b>>2];C=N[b+4>>2];p=N[b+68>>2];E=Q(Q(n*Q(h-O))-Q(Q(C-B)*p));h=Q(Q(n*Q(h-M))-Q(Q(C-y)*p));h=h>E?E:h;if(h>L){break o}p=Q(-p);p:{q:{if(Q(Q(z*l)+Q(m*p))>=Q(0)){if(Q(Q(Q(n-G)*m)+Q(Q(p-r)*l))i){break q}break p}if(!(h>i)|Q(Q(Q(n-v)*m)+Q(Q(p-u)*l))>2]=h;J[g+152>>2]=o;J[g+148>>2]=2;i=h}o=o+1|0;if((c|0)!=(o|0)){continue}break}}break n}N[g+156>>2]=h;J[g+152>>2]=o;J[g+148>>2]=2}r:{s:{t:{u:{b=J[g+148>>2];v:{if(!b){break v}h=N[g+156>>2];if(h>s){break m}if(!(h>Q(Q(j*Q(.9800000190734863))+Q(.0010000000474974513)))){break v}if((b|0)!=1){break u}}J[a+56>>2]=1;b=0;if((k|0)<2){break s}h=N[f+212>>2];j=N[f+216>>2];i=Q(Q(h*N[f+64>>2])+Q(j*N[f+68>>2]));c=k-1|0;R=c&1;if((k|0)==2){c=1;break t}S=c&-2;q=f- -64|0;c=1;o=0;while(1){t=q+(c<<3)|0;l=Q(Q(h*N[t>>2])+Q(j*N[t+4>>2]));t=l>2])+Q(j*N[w+4>>2]));i=t?l:i;w=m>2];J[a+56>>2]=2;b=J[f+164>>2];e=J[f+168>>2];I[g+122>>1]=256;H[g+121|0]=c;H[g+120|0]=0;J[g+112>>2]=b;J[g+116>>2]=e;b=J[f+172>>2];e=J[f+176>>2];H[g+132|0]=0;I[g+134>>1]=256;H[g+133|0]=c;J[g+124>>2]=b;J[g+128>>2]=e;J[g+56>>2]=c;b=c+1|0;e=(b|0)<(k|0)?b:0;J[g+60>>2]=e;q=(c<<3)+f|0;k=q;b=J[k>>2];k=J[k+4>>2];J[g+64>>2]=b;J[g+68>>2]=k;o=(e<<3)+f|0;e=J[o>>2];o=J[o+4>>2];J[g+72>>2]=e;J[g+76>>2]=o;t=q- -64|0;q=t;h=N[q>>2];q=J[q>>2];i=N[t+4>>2];t=J[t+4>>2];J[g+80>>2]=q;J[g+84>>2]=t;q=0;break r}if(!R){break s}q=b;b=(c<<3)+f|0;b=Q(Q(h*N[b- -64>>2])+Q(j*N[b+68>>2]))>2];c=J[c+4>>2];I[g+122>>1]=1;H[g+121|0]=b;H[g+120|0]=0;J[g+112>>2]=o;J[g+116>>2]=c;b=b+1|0;b=(b|0)<(k|0)?b:0;c=(b<<3)+f|0;k=J[c>>2];c=J[c+4>>2];H[g+132|0]=0;I[g+134>>1]=1;H[g+133|0]=b;J[g+124>>2]=k;J[g+128>>2]=c;if(e){J[g+56>>2]=0;J[g+60>>2]=1;c=J[f+168>>2];k=c;b=J[f+164>>2];J[g+64>>2]=b;J[g+68>>2]=c;c=J[f+176>>2];o=c;e=J[f+172>>2];J[g+72>>2]=e;J[g+76>>2]=c;i=N[f+200>>2];q=J[f+200>>2];h=N[f+196>>2];J[g+80>>2]=J[f+196>>2];J[g+84>>2]=q;c=0;q=1;break r}J[g+56>>2]=1;J[g+60>>2]=0;c=J[f+176>>2];k=c;b=J[f+172>>2];J[g+64>>2]=b;J[g+68>>2]=c;c=J[f+168>>2];o=c;e=J[f+164>>2];J[g+72>>2]=e;J[g+76>>2]=c;h=N[f+196>>2];i=Q(-N[f+200>>2]);N[g+84>>2]=i;h=Q(-h);N[g+80>>2]=h;c=1;q=1}N[g+104>>2]=h;N[g+92>>2]=-h;N[g+88>>2]=i;N[g+100>>2]=-i;N[g+108>>2]=Q(h*(x(2,o),D()))-Q(i*(x(2,e),D()));h=Q(Q(i*(x(2,b),D()))-Q((x(2,k),D())*h));N[g+96>>2]=h;if((Xb(g+32|0,g+112|0,g+88|0,h,c)|0)<2){break m}if((Xb(g,g+32|0,g+100|0,N[g+108>>2],J[g+60>>2])|0)<2){break m}w:{if(q){i=N[g+84>>2];c=J[g+84>>2];l=N[g+80>>2];J[a+40>>2]=J[g+80>>2];J[a+44>>2]=c;d=J[g+68>>2];k=d;h=N[g+68>>2];j=N[g+64>>2];b=J[g+64>>2];break w}c=(J[g+56>>2]<<3)+d|0;b=J[c+88>>2];J[a+40>>2]=J[c+84>>2];J[a+44>>2]=b;k=J[c+24>>2];l=N[g+80>>2];h=N[g+68>>2];j=N[g+64>>2];i=N[g+84>>2];b=J[c+20>>2]}J[a+48>>2]=b;J[a+52>>2]=k;c=0;m=N[f+244>>2];n=N[g>>2];p=N[g+4>>2];if(m>=Q(Q(l*Q(n-j))+Q(Q(p-h)*i))){x:{if(q){m=N[f+144>>2];p=Q(p-N[f+136>>2]);s=N[f+140>>2];n=Q(n-N[f+132>>2]);N[a+4>>2]=Q(m*p)-Q(s*n);N[a>>2]=Q(m*n)+Q(p*s);J[a+16>>2]=J[g+8>>2];break x}b=J[g+4>>2];J[a>>2]=J[g>>2];J[a+4>>2]=b;H[a+18|0]=K[g+11|0];H[a+19|0]=K[g+10|0];H[a+16|0]=K[g+9|0];H[a+17|0]=K[g+8|0]}m=N[f+244>>2];c=1}b=a;r=l;l=N[g+12>>2];r=Q(r*Q(l-j));j=N[g+16>>2];if(Q(r+Q(Q(j-h)*i))<=m){a=P(c,20)+a|0;y:{if(!q){d=J[g+16>>2];J[a>>2]=J[g+12>>2];J[a+4>>2]=d;H[a+18|0]=K[g+23|0];H[a+19|0]=K[g+22|0];H[a+16|0]=K[g+21|0];H[a+17|0]=K[g+20|0];break y}h=N[f+144>>2];i=Q(j-N[f+136>>2]);j=N[f+140>>2];l=Q(l-N[f+132>>2]);N[a+4>>2]=Q(h*i)-Q(j*l);N[a>>2]=Q(h*l)+Q(i*j);J[a+16>>2]=J[g+20>>2]}c=c+1|0}J[b+60>>2]=c}Fa=g+160|0;Fa=A+256|0}function _a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=Fa-16|0;Fa=l;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{if(a>>>0<=244){g=J[6434];h=a>>>0<11?16:a+11&-8;c=h>>>3|0;b=g>>>c|0;if(b&3){c=c+((b^-1)&1)|0;a=c<<3;b=a+25776|0;d=J[a+25784>>2];a=J[d+8>>2];o:{if((b|0)==(a|0)){m=25736,n=ll(c)&g,J[m>>2]=n;break o}J[a+12>>2]=b;J[b+8>>2]=a}a=d+8|0;b=c<<3;J[d+4>>2]=b|3;b=b+d|0;J[b+4>>2]=J[b+4>>2]|1;break a}k=J[6436];if(k>>>0>=h>>>0){break n}if(b){a=2<>2];a=J[e+8>>2];p:{if((b|0)==(a|0)){g=ll(d)&g;J[6434]=g;break p}J[a+12>>2]=b;J[b+8>>2]=a}J[e+4>>2]=h|3;c=e+h|0;a=d<<3;d=a-h|0;J[c+4>>2]=d|1;J[a+e>>2]=d;if(k){b=(k&-8)+25776|0;f=J[6439];a=1<<(k>>>3);q:{if(!(a&g)){J[6434]=a|g;a=b;break q}a=J[b+8>>2]}J[b+8>>2]=f;J[a+12>>2]=f;J[f+12>>2]=b;J[f+8>>2]=a}a=e+8|0;J[6439]=c;J[6436]=d;break a}j=J[6435];if(!j){break n}c=J[(il(0-j&j)<<2)+26040>>2];f=(J[c+4>>2]&-8)-h|0;b=c;while(1){r:{a=J[b+16>>2];if(!a){a=J[b+20>>2];if(!a){break r}}b=(J[a+4>>2]&-8)-h|0;d=b>>>0>>0;f=d?b:f;c=d?a:c;b=a;continue}break}i=J[c+24>>2];d=J[c+12>>2];if((d|0)!=(c|0)){a=J[c+8>>2];J[a+12>>2]=d;J[d+8>>2]=a;break b}b=c+20|0;a=J[b>>2];if(!a){a=J[c+16>>2];if(!a){break m}b=c+16|0}while(1){e=b;d=a;b=a+20|0;a=J[b>>2];if(a){continue}b=d+16|0;a=J[d+16>>2];if(a){continue}break}J[e>>2]=0;break b}h=-1;if(a>>>0>4294967231){break n}a=a+11|0;h=a&-8;j=J[6435];if(!j){break n}f=0-h|0;g=0;s:{if(h>>>0<256){break s}g=31;if(h>>>0>16777215){break s}a=S(a>>>8|0);g=((h>>>38-a&1)-(a<<1)|0)+62|0}b=J[(g<<2)+26040>>2];t:{u:{v:{if(!b){a=0;break v}a=0;c=h<<((g|0)!=31?25-(g>>>1|0)|0:0);while(1){w:{e=(J[b+4>>2]&-8)-h|0;if(e>>>0>=f>>>0){break w}d=b;f=e;if(e){break w}f=0;a=b;break u}e=J[b+20>>2];b=J[((c>>>29&4)+b|0)+16>>2];a=e?(e|0)==(b|0)?a:e:a;c=c<<1;if(b){continue}break}}if(!(a|d)){d=0;a=2<>2]}if(!a){break t}}while(1){b=(J[a+4>>2]&-8)-h|0;c=b>>>0>>0;f=c?b:f;d=c?a:d;b=J[a+16>>2];if(b){a=b}else{a=J[a+20>>2]}if(a){continue}break}}if(!d|J[6436]-h>>>0<=f>>>0){break n}g=J[d+24>>2];c=J[d+12>>2];if((d|0)!=(c|0)){a=J[d+8>>2];J[a+12>>2]=c;J[c+8>>2]=a;break c}b=d+20|0;a=J[b>>2];if(!a){a=J[d+16>>2];if(!a){break l}b=d+16|0}while(1){e=b;c=a;b=a+20|0;a=J[b>>2];if(a){continue}b=c+16|0;a=J[c+16>>2];if(a){continue}break}J[e>>2]=0;break c}a=J[6436];if(a>>>0>=h>>>0){d=J[6439];b=a-h|0;x:{if(b>>>0>=16){c=d+h|0;J[c+4>>2]=b|1;J[a+d>>2]=b;J[d+4>>2]=h|3;break x}J[d+4>>2]=a|3;a=a+d|0;J[a+4>>2]=J[a+4>>2]|1;c=0;b=0}J[6436]=b;J[6439]=c;a=d+8|0;break a}i=J[6437];if(i>>>0>h>>>0){b=i-h|0;J[6437]=b;c=J[6440];a=c+h|0;J[6440]=a;J[a+4>>2]=b|1;J[c+4>>2]=h|3;a=c+8|0;break a}a=0;j=h+47|0;if(J[6552]){c=J[6554]}else{J[6555]=-1;J[6556]=-1;J[6553]=4096;J[6554]=4096;J[6552]=l+12&-16^1431655768;J[6557]=0;J[6545]=0;c=4096}e=j+c|0;f=0-c|0;b=e&f;if(b>>>0<=h>>>0){break a}d=J[6544];if(d){c=J[6542];g=c+b|0;if(d>>>0>>0|c>>>0>=g>>>0){break a}}y:{if(!(K[26180]&4)){z:{A:{B:{C:{d=J[6440];if(d){a=26184;while(1){c=J[a>>2];if(c>>>0<=d>>>0&d>>>0>2]>>>0){break C}a=J[a+8>>2];if(a){continue}break}}c=Cb(0);if((c|0)==-1){break z}g=b;d=J[6553];a=d-1|0;if(a&c){g=(b-c|0)+(a+c&0-d)|0}if(g>>>0<=h>>>0){break z}d=J[6544];if(d){a=J[6542];f=a+g|0;if(d>>>0>>0|a>>>0>=f>>>0){break z}}a=Cb(g);if((c|0)!=(a|0)){break B}break y}g=f&e-i;c=Cb(g);if((c|0)==(J[a>>2]+J[a+4>>2]|0)){break A}a=c}if((a|0)==-1){break z}if(h+48>>>0<=g>>>0){c=a;break y}c=J[6554];c=c+(j-g|0)&0-c;if((Cb(c)|0)==-1){break z}g=c+g|0;c=a;break y}if((c|0)!=-1){break y}}J[6545]=J[6545]|4}c=Cb(b);a=Cb(0);if((c|0)==-1|(a|0)==-1|a>>>0<=c>>>0){break i}g=a-c|0;if(g>>>0<=h+40>>>0){break i}}a=J[6542]+g|0;J[6542]=a;if(a>>>0>M[6543]){J[6543]=a}D:{e=J[6440];if(e){a=26184;while(1){d=J[a>>2];b=J[a+4>>2];if((d+b|0)==(c|0)){break D}a=J[a+8>>2];if(a){continue}break}break k}a=J[6438];if(!(a>>>0<=c>>>0?a:0)){J[6438]=c}a=0;J[6547]=g;J[6546]=c;J[6442]=-1;J[6443]=J[6552];J[6549]=0;while(1){d=a<<3;b=d+25776|0;J[d+25784>>2]=b;J[d+25788>>2]=b;a=a+1|0;if((a|0)!=32){continue}break}d=g-40|0;a=c+8&7?-8-c&7:0;b=d-a|0;J[6437]=b;a=a+c|0;J[6440]=a;J[a+4>>2]=b|1;J[(c+d|0)+4>>2]=40;J[6441]=J[6556];break j}if(J[a+12>>2]&8|(c>>>0<=e>>>0|d>>>0>e>>>0)){break k}J[a+4>>2]=b+g;a=e+8&7?-8-e&7:0;c=a+e|0;J[6440]=c;b=J[6437]+g|0;a=b-a|0;J[6437]=a;J[c+4>>2]=a|1;J[(b+e|0)+4>>2]=40;J[6441]=J[6556];break j}d=0;break b}c=0;break c}if(M[6438]>c>>>0){J[6438]=c}b=c+g|0;a=26184;E:{F:{G:{while(1){if((b|0)!=J[a>>2]){a=J[a+8>>2];if(a){continue}break G}break}if(!(K[a+12|0]&8)){break F}}a=26184;while(1){b=J[a>>2];if(b>>>0<=e>>>0){f=b+J[a+4>>2]|0;if(f>>>0>e>>>0){break E}}a=J[a+8>>2];continue}}J[a>>2]=c;J[a+4>>2]=J[a+4>>2]+g;j=(c+8&7?-8-c&7:0)+c|0;J[j+4>>2]=h|3;g=b+(b+8&7?-8-b&7:0)|0;i=h+j|0;a=g-i|0;if((e|0)==(g|0)){J[6440]=i;a=J[6437]+a|0;J[6437]=a;J[i+4>>2]=a|1;break d}if(J[6439]==(g|0)){J[6439]=i;a=J[6436]+a|0;J[6436]=a;J[i+4>>2]=a|1;J[a+i>>2]=a;break d}f=J[g+4>>2];if((f&3)!=1){break e}e=f&-8;if(f>>>0<=255){c=J[g+12>>2];b=J[g+8>>2];if((c|0)==(b|0)){m=25736,n=J[6434]&ll(f>>>3|0),J[m>>2]=n;break f}J[b+12>>2]=c;J[c+8>>2]=b;break f}h=J[g+24>>2];c=J[g+12>>2];if((g|0)!=(c|0)){b=J[g+8>>2];J[b+12>>2]=c;J[c+8>>2]=b;break g}b=g+20|0;f=J[b>>2];if(!f){f=J[g+16>>2];if(!f){break h}b=g+16|0}while(1){d=b;c=f;b=c+20|0;f=J[b>>2];if(f){continue}b=c+16|0;f=J[c+16>>2];if(f){continue}break}J[d>>2]=0;break g}d=g-40|0;a=c+8&7?-8-c&7:0;b=d-a|0;J[6437]=b;a=a+c|0;J[6440]=a;J[a+4>>2]=b|1;J[(c+d|0)+4>>2]=40;J[6441]=J[6556];a=(f+(f-39&7?39-f&7:0)|0)-47|0;d=a>>>0>>0?e:a;J[d+4>>2]=27;a=J[6549];J[d+16>>2]=J[6548];J[d+20>>2]=a;a=J[6547];J[d+8>>2]=J[6546];J[d+12>>2]=a;J[6548]=d+8;J[6547]=g;J[6546]=c;J[6549]=0;a=d+24|0;while(1){J[a+4>>2]=7;b=a+8|0;a=a+4|0;if(b>>>0>>0){continue}break}if((d|0)==(e|0)){break j}J[d+4>>2]=J[d+4>>2]&-2;f=d-e|0;J[e+4>>2]=f|1;J[d>>2]=f;if(f>>>0<=255){b=(f&-8)+25776|0;c=J[6434];a=1<<(f>>>3);H:{if(!(c&a)){J[6434]=a|c;a=b;break H}a=J[b+8>>2]}J[b+8>>2]=e;J[a+12>>2]=e;J[e+12>>2]=b;J[e+8>>2]=a;break j}a=31;if(f>>>0<=16777215){a=S(f>>>8|0);a=((f>>>38-a&1)-(a<<1)|0)+62|0}J[e+28>>2]=a;J[e+16>>2]=0;J[e+20>>2]=0;b=(a<<2)+26040|0;I:{d=J[6435];c=1<>2]=e;break J}a=f<<((a|0)!=31?25-(a>>>1|0)|0:0);d=J[b>>2];while(1){b=d;if((f|0)==(J[b+4>>2]&-8)){break I}c=a>>>29|0;a=a<<1;c=(c&4)+b|0;d=J[c+16>>2];if(d){continue}break}J[c+16>>2]=e}J[e+24>>2]=b;J[e+12>>2]=e;J[e+8>>2]=e;break j}a=J[b+8>>2];J[a+12>>2]=e;J[b+8>>2]=e;J[e+24>>2]=0;J[e+12>>2]=b;J[e+8>>2]=a}a=J[6437];if(a>>>0<=h>>>0){break i}b=a-h|0;J[6437]=b;c=J[6440];a=c+h|0;J[6440]=a;J[a+4>>2]=b|1;J[c+4>>2]=h|3;a=c+8|0;break a}J[6386]=48;a=0;break a}c=0}if(!h){break f}d=J[g+28>>2];b=(d<<2)+26040|0;K:{if(J[b>>2]==(g|0)){J[b>>2]=c;if(c){break K}m=25740,n=J[6435]&ll(d),J[m>>2]=n;break f}J[h+(J[h+16>>2]==(g|0)?16:20)>>2]=c;if(!c){break f}}J[c+24>>2]=h;b=J[g+16>>2];if(b){J[c+16>>2]=b;J[b+24>>2]=c}b=J[g+20>>2];if(!b){break f}J[c+20>>2]=b;J[b+24>>2]=c}a=a+e|0;g=e+g|0;f=J[g+4>>2]}J[g+4>>2]=f&-2;J[i+4>>2]=a|1;J[a+i>>2]=a;if(a>>>0<=255){b=(a&-8)+25776|0;c=J[6434];a=1<<(a>>>3);L:{if(!(c&a)){J[6434]=a|c;a=b;break L}a=J[b+8>>2]}J[b+8>>2]=i;J[a+12>>2]=i;J[i+12>>2]=b;J[i+8>>2]=a;break d}f=31;if(a>>>0<=16777215){b=S(a>>>8|0);f=((a>>>38-b&1)-(b<<1)|0)+62|0}J[i+28>>2]=f;J[i+16>>2]=0;J[i+20>>2]=0;b=(f<<2)+26040|0;M:{d=J[6435];c=1<>2]=i;break N}f=a<<((f|0)!=31?25-(f>>>1|0)|0:0);c=J[b>>2];while(1){b=c;if((J[c+4>>2]&-8)==(a|0)){break M}c=f>>>29|0;f=f<<1;d=(c&4)+b|0;c=J[d+16>>2];if(c){continue}break}J[d+16>>2]=i}J[i+24>>2]=b;J[i+12>>2]=i;J[i+8>>2]=i;break d}a=J[b+8>>2];J[a+12>>2]=i;J[b+8>>2]=i;J[i+24>>2]=0;J[i+12>>2]=b;J[i+8>>2]=a}a=j+8|0;break a}O:{if(!g){break O}b=J[d+28>>2];a=(b<<2)+26040|0;P:{if(J[a>>2]==(d|0)){J[a>>2]=c;if(c){break P}j=ll(b)&j;J[6435]=j;break O}J[g+(J[g+16>>2]==(d|0)?16:20)>>2]=c;if(!c){break O}}J[c+24>>2]=g;a=J[d+16>>2];if(a){J[c+16>>2]=a;J[a+24>>2]=c}a=J[d+20>>2];if(!a){break O}J[c+20>>2]=a;J[a+24>>2]=c}Q:{if(f>>>0<=15){a=f+h|0;J[d+4>>2]=a|3;a=a+d|0;J[a+4>>2]=J[a+4>>2]|1;break Q}J[d+4>>2]=h|3;e=d+h|0;J[e+4>>2]=f|1;J[e+f>>2]=f;if(f>>>0<=255){b=(f&-8)+25776|0;c=J[6434];a=1<<(f>>>3);R:{if(!(c&a)){J[6434]=a|c;a=b;break R}a=J[b+8>>2]}J[b+8>>2]=e;J[a+12>>2]=e;J[e+12>>2]=b;J[e+8>>2]=a;break Q}a=31;if(f>>>0<=16777215){a=S(f>>>8|0);a=((f>>>38-a&1)-(a<<1)|0)+62|0}J[e+28>>2]=a;J[e+16>>2]=0;J[e+20>>2]=0;b=(a<<2)+26040|0;S:{c=1<>2]=e;break T}a=f<<((a|0)!=31?25-(a>>>1|0)|0:0);h=J[b>>2];while(1){b=h;if((J[b+4>>2]&-8)==(f|0)){break S}c=a>>>29|0;a=a<<1;c=(c&4)+b|0;h=J[c+16>>2];if(h){continue}break}J[c+16>>2]=e}J[e+24>>2]=b;J[e+12>>2]=e;J[e+8>>2]=e;break Q}a=J[b+8>>2];J[a+12>>2]=e;J[b+8>>2]=e;J[e+24>>2]=0;J[e+12>>2]=b;J[e+8>>2]=a}a=d+8|0;break a}U:{if(!i){break U}b=J[c+28>>2];a=(b<<2)+26040|0;V:{if(J[a>>2]==(c|0)){J[a>>2]=d;if(d){break V}m=25740,n=ll(b)&j,J[m>>2]=n;break U}J[i+(J[i+16>>2]==(c|0)?16:20)>>2]=d;if(!d){break U}}J[d+24>>2]=i;a=J[c+16>>2];if(a){J[d+16>>2]=a;J[a+24>>2]=d}a=J[c+20>>2];if(!a){break U}J[d+20>>2]=a;J[a+24>>2]=d}W:{if(f>>>0<=15){a=f+h|0;J[c+4>>2]=a|3;a=a+c|0;J[a+4>>2]=J[a+4>>2]|1;break W}J[c+4>>2]=h|3;d=c+h|0;J[d+4>>2]=f|1;J[d+f>>2]=f;if(k){b=(k&-8)+25776|0;e=J[6439];a=1<<(k>>>3);X:{if(!(a&g)){J[6434]=a|g;a=b;break X}a=J[b+8>>2]}J[b+8>>2]=e;J[a+12>>2]=e;J[e+12>>2]=b;J[e+8>>2]=a}J[6439]=d;J[6436]=f}a=c+8|0}Fa=l+16|0;return a|0}function Cd(a,b,c){var d=0,e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=0,m=Q(0),n=0,o=0,p=0,q=0,r=0,s=0,t=Q(0),u=0,v=Q(0),w=0,x=0,y=0,z=Q(0),A=Q(0),B=Q(0),C=0,D=0,E=Q(0),F=Q(0),G=Q(0),M=Q(0),O=Q(0),R=Q(0),S=Q(0),T=Q(0),U=0,V=Q(0),W=0,X=Q(0),Z=Q(0),_=Q(0),$=Q(0);d=Fa-176|0;Fa=d;J[5902]=J[5902]+1;r=c- -64|0;w=J[r+4>>2];J[d+168>>2]=J[r>>2];J[d+172>>2]=w;r=J[c+60>>2];J[d+160>>2]=J[c+56>>2];J[d+164>>2]=r;r=J[c+84>>2];J[d+152>>2]=J[c+80>>2];J[d+156>>2]=r;r=J[c+76>>2];J[d+144>>2]=J[c+72>>2];J[d+148>>2]=r;r=c;w=b;c=d+32|0;b=L[b+4>>1];J[c+108>>2]=b;a:{b:{if(!b){break b}while(1){b=c+P(o,36)|0;l=o+w|0;p=K[l+6|0];J[b+28>>2]=p;l=K[l+9|0];J[b+32>>2]=l;l=J[r+44>>2]+(l<<3)|0;e=N[l>>2];f=N[l+4>>2];m=N[d+160>>2];j=N[d+168>>2];l=J[r+16>>2]+(p<<3)|0;g=N[l>>2];h=N[l+4>>2];i=N[d+172>>2];k=Q(Q(Q(j*g)+Q(h*i))+N[d+164>>2]);N[b+4>>2]=k;g=Q(m+Q(Q(i*g)-Q(h*j)));N[b>>2]=g;h=N[d+144>>2];i=N[d+148>>2];m=N[d+152>>2];j=N[d+156>>2];J[b+24>>2]=0;i=Q(i+Q(Q(m*e)+Q(f*j)));N[b+12>>2]=i;e=Q(h+Q(Q(j*e)-Q(f*m)));N[b+8>>2]=e;N[b+20>>2]=i-k;N[b+16>>2]=e-g;o=o+1|0;b=J[c+108>>2];if((o|0)<(b|0)){continue}break}if((b|0)>1){f=N[w>>2];e=Q(0);c:{d:{switch(b-2|0){case 0:e=Q(N[c+16>>2]-N[c+52>>2]);j=Q(e*e);e=Q(N[c+20>>2]-N[c+56>>2]);e=Q(Y(Q(j+Q(e*e))));break c;case 1:break d;default:break c}}e=N[c+16>>2];m=N[c+20>>2];e=Q(Q(Q(N[c+52>>2]-e)*Q(N[c+92>>2]-m))-Q(Q(N[c+88>>2]-e)*Q(N[c+56>>2]-m)))}if(!(Q(f+f)e|e>2]=0;break b}if(b){break a}}J[c+28>>2]=0;J[c+32>>2]=0;b=J[r+44>>2];e=N[b>>2];f=N[b+4>>2];m=N[d+160>>2];j=N[d+168>>2];b=J[r+16>>2];g=N[b>>2];h=N[b+4>>2];i=N[d+172>>2];k=Q(Q(Q(j*g)+Q(h*i))+N[d+164>>2]);N[c+4>>2]=k;g=Q(m+Q(Q(i*g)-Q(h*j)));N[c>>2]=g;m=N[d+156>>2];h=N[d+144>>2];i=N[d+148>>2];j=N[d+152>>2];J[c+108>>2]=1;J[c+24>>2]=1065353216;i=Q(i+Q(Q(j*e)+Q(f*m)));N[c+12>>2]=i;e=Q(h+Q(Q(m*e)-Q(f*j)));N[c+8>>2]=e;N[c+20>>2]=i-k;N[c+16>>2]=e-g}v=N[d+156>>2];E=N[d+172>>2];m=N[3186];j=N[3185];C=J[5903];M=N[d+152>>2];V=Q(-M);F=N[d+168>>2];X=Q(-F);c=J[d+140>>2];Z=N[d+148>>2];_=N[d+144>>2];$=N[d+164>>2];O=N[d+160>>2];e:{f:{g:{h:{i:{j:{k:{l:{while(1){W=(c|0)<=0;m:{if(W){break m}b=0;if((c|0)!=1){l=c&-2;o=0;while(1){p=b<<2;n=d+20|0;s=d+32|0;q=s+P(b,36)|0;J[p+n>>2]=J[q+28>>2];x=p;p=d+8|0;J[x+p>>2]=J[q+32>>2];x=n;n=b|1;q=n<<2;n=s+P(n,36)|0;J[x+q>>2]=J[n+28>>2];J[p+q>>2]=J[n+32>>2];b=b+2|0;o=o+2|0;if((l|0)!=(o|0)){continue}break}}if(!(c&1)){break m}o=b<<2;b=(d+32|0)+P(b,36)|0;J[o+(d+20|0)>>2]=J[b+28>>2];J[o+(d+8|0)>>2]=J[b+32>>2]}n:{o:{p:{q:{r:{s:{t:{u:{b=c;switch(b-2|0){case 1:break t;case 0:break u;default:break s}}k=N[d+84>>2];g=N[d+48>>2];e=Q(k-g);t=N[d+88>>2];h=N[d+52>>2];f=Q(t-h);i=Q(Q(g*e)+Q(h*f));if(i>=Q(0)){J[d+140>>2]=1;J[d+56>>2]=1065353216;break o}k=Q(Q(k*e)+Q(t*f));if(!(k<=Q(0))){break r}J[d+140>>2]=1;J[d+92>>2]=1065353216;b=J[d+80>>2];J[d+40>>2]=J[d+76>>2];J[d+44>>2]=b;b=J[d+88>>2];J[d+48>>2]=J[d+84>>2];J[d+52>>2]=b;b=J[d+96>>2];J[d+56>>2]=J[d+92>>2];J[d+60>>2]=b;J[d- -64>>2]=J[d+100>>2];b=J[d+72>>2];J[d+32>>2]=J[d+68>>2];J[d+36>>2]=b;break o}e=N[d+120>>2];f=N[d+48>>2];z=Q(e-f);g=N[d+124>>2];h=N[d+52>>2];B=Q(g-h);i=N[d+84>>2];A=Q(i-f);k=N[d+88>>2];R=Q(k-h);G=Q(Q(f*A)+Q(h*R));t=Q(Q(f*z)+Q(h*B));v:{if(!(!(G>=Q(0))|!(t>=Q(0)))){J[d+140>>2]=1;J[d+56>>2]=1065353216;break v}S=Q(Q(A*B)-Q(z*R));T=Q(Q(Q(f*k)-Q(i*h))*S);A=Q(Q(i*A)+Q(k*R));if(!(!(T<=Q(0))|(!(A>Q(0))|!(G>2]=2;e=Q(Q(1)/Q(A-G));N[d+92>>2]=e*Q(-G);N[d+56>>2]=A*e;break v}z=Q(Q(e*z)+Q(g*B));B=Q(S*Q(Q(e*h)-Q(f*g)));if(!(!(tQ(0))))){J[d+140>>2]=2;e=Q(Q(1)/Q(z-t));N[d+128>>2]=e*Q(-t);N[d+56>>2]=z*e;J[d+100>>2]=J[d+136>>2];b=J[d+132>>2];J[d+92>>2]=J[d+128>>2];J[d+96>>2]=b;b=J[d+124>>2];J[d+84>>2]=J[d+120>>2];J[d+88>>2]=b;b=J[d+116>>2];J[d+76>>2]=J[d+112>>2];J[d+80>>2]=b;b=J[d+108>>2];J[d+68>>2]=J[d+104>>2];J[d+72>>2]=b;break v}h=Q(e-i);t=Q(g-k);f=Q(Q(i*h)+Q(k*t));if(!(!(A<=Q(0))|!(f>=Q(0)))){J[d+140>>2]=1;J[d+92>>2]=1065353216;b=J[d+72>>2];J[d+32>>2]=J[d+68>>2];J[d+36>>2]=b;b=J[d+80>>2];J[d+40>>2]=J[d+76>>2];J[d+44>>2]=b;b=J[d+88>>2];J[d+48>>2]=J[d+84>>2];J[d+52>>2]=b;b=J[d+96>>2];J[d+56>>2]=J[d+92>>2];J[d+60>>2]=b;J[d+64>>2]=J[d+100>>2];break v}w:{h=Q(Q(e*h)+Q(g*t));if(!(!(z<=Q(0))|!(h<=Q(0)))){J[d+140>>2]=1;J[d+128>>2]=1065353216;break w}e=Q(Q(Q(i*g)-Q(e*k))*S);if(!(!(fQ(0))))){J[d+140>>2]=2;e=Q(Q(1)/Q(h-f));N[d+128>>2]=e*Q(-f);N[d+92>>2]=h*e;break w}J[d+140>>2]=3;f=Q(Q(1)/Q(T+Q(e+B)));N[d+128>>2]=T*f;N[d+92>>2]=B*f;N[d+56>>2]=e*f;break v}b=J[d+108>>2];J[d+32>>2]=J[d+104>>2];J[d+36>>2]=b;b=J[d+116>>2];J[d+40>>2]=J[d+112>>2];J[d+44>>2]=b;b=J[d+124>>2];J[d+48>>2]=J[d+120>>2];J[d+52>>2]=b;b=J[d+132>>2];J[d+56>>2]=J[d+128>>2];J[d+60>>2]=b;J[d+64>>2]=J[d+136>>2]}b=J[d+140>>2]}f=j;e=m;x:{switch(b-1|0){case 0:break o;case 2:break p;case 1:break x;default:break n}}h=N[d+52>>2];f=Q(N[d+88>>2]-h);g=N[d+48>>2];e=Q(N[d+84>>2]-g);break q}J[d+140>>2]=2;t=Q(Q(1)/Q(k-i));N[d+92>>2]=t*Q(-i);N[d+56>>2]=k*t}y:{if(Q(Q(g*f)-Q(e*h))>Q(0)){f=Q(-f);break y}e=Q(-e)}b=2;break n}b=J[5904];J[5904]=(b|0)>(u|0)?b:u;b=u;break j}e=Q(-N[d+52>>2]);f=Q(-N[d+48>>2]);b=1}if(Q(Q(f*f)+Q(e*e))>2];p=0;o=0;s=J[r+20>>2];z:{if((s|0)<2){break z}h=Q(Q(E*Q(-f))-Q(F*e));i=Q(Q(F*f)-Q(E*e));g=Q(Q(N[n>>2]*h)+Q(i*N[n+4>>2]));b=1;q=s-1|0;U=q&1;if((s|0)!=2){x=q&-2;s=0;while(1){q=n+(b<<3)|0;k=Q(Q(N[q>>2]*h)+Q(i*N[q+4>>2]));q=k>g;D=b+1|0;y=n+(D<<3)|0;t=Q(Q(N[y>>2]*h)+Q(i*N[y+4>>2]));g=q?k:g;y=t>g;g=y?t:g;o=y?D:q?b:o;b=b+2|0;s=s+2|0;if((x|0)!=(s|0)){continue}break}}if(!U){break z}x=b;b=n+(b<<3)|0;o=Q(Q(N[b>>2]*h)+Q(i*N[b+4>>2]))>g?x:o}J[l+28>>2]=o;b=n+(o<<3)|0;g=N[b>>2];h=N[b+4>>2];i=Q(Q(Q(F*g)+Q(E*h))+$);N[l+4>>2]=i;k=Q(O+Q(Q(E*g)+Q(h*X)));N[l>>2]=k;n=J[r+44>>2];s=J[r+48>>2];A:{if((s|0)<2){break A}h=Q(Q(v*f)+Q(e*M));e=Q(Q(V*f)+Q(e*v));g=Q(Q(N[n>>2]*h)+Q(e*N[n+4>>2]));b=1;q=s-1|0;U=q&1;if((s|0)!=2){x=q&-2;s=0;while(1){q=n+(b<<3)|0;f=Q(Q(N[q>>2]*h)+Q(e*N[q+4>>2]));q=f>g;D=b+1|0;y=n+(D<<3)|0;t=Q(Q(N[y>>2]*h)+Q(e*N[y+4>>2]));f=q?f:g;y=t>f;g=y?t:f;p=y?D:q?b:p;b=b+2|0;s=s+2|0;if((x|0)!=(s|0)){continue}break}}if(!U){break A}x=b;b=n+(b<<3)|0;p=Q(Q(N[b>>2]*h)+Q(e*N[b+4>>2]))>g?x:p}J[l+32>>2]=p;b=n+(p<<3)|0;e=N[b>>2];f=N[b+4>>2];g=Q(Q(Q(M*e)+Q(v*f))+Z);N[l+12>>2]=g;e=Q(_+Q(Q(v*e)+Q(f*V)));N[l+8>>2]=e;N[l+20>>2]=g-i;N[l+16>>2]=e-k;b=0;C=C+1|0;J[5903]=C;u=u+1|0;B:{if(!W){while(1){l=b<<2;if(J[l+(d+20|0)>>2]==(o|0)&J[l+(d+8|0)>>2]==(p|0)){break B}b=b+1|0;if((c|0)!=(b|0)){continue}break}}c=J[d+140>>2]+1|0;J[d+140>>2]=c;b=20;if((u|0)!=20){continue}break k}break}b=J[d+140>>2]}c=b;b=u}u=J[5904];J[5904]=(b|0)<(u|0)?u:b;C:{switch(c-1|0){case 0:break h;case 2:break j;case 1:break C;default:break i}}m=N[d+72>>2];j=N[d+36>>2];e=N[d+56>>2];f=N[d+92>>2];g=Q(Q(e*N[d+32>>2])+Q(f*N[d+68>>2]));N[a>>2]=g;m=Q(Q(e*j)+Q(f*m));N[a+4>>2]=m;j=N[d+76>>2];h=N[d+44>>2];i=N[d+80>>2];k=N[d+40>>2];J[a+20>>2]=b;h=Q(Q(e*h)+Q(f*i));N[a+12>>2]=h;e=Q(Q(e*k)+Q(f*j));N[a+8>>2]=e;e=Q(g-e);j=Q(e*e);e=Q(m-h);N[a+16>>2]=Y(Q(j+Q(e*e)));e=Q(N[d+48>>2]-N[d+84>>2]);j=Q(e*e);e=Q(N[d+52>>2]-N[d+88>>2]);g=Q(Y(Q(j+Q(e*e))));u=a+16|0;b=2;c=2;break g}g=N[d+108>>2];h=N[d+72>>2];f=N[d+128>>2];i=N[d+36>>2];e=N[d+104>>2];k=N[d+32>>2];m=N[d+56>>2];v=N[d+68>>2];j=N[d+92>>2];J[a+20>>2]=b;e=Q(Q(Q(m*k)+Q(j*v))+Q(f*e));N[a+8>>2]=e;N[a>>2]=e;f=Q(Q(Q(m*i)+Q(j*h))+Q(f*g));N[a+12>>2]=f;N[a+4>>2]=f;e=Q(e-e);j=Q(e*e);e=Q(f-f);N[a+16>>2]=Y(Q(j+Q(e*e)));e=N[d+48>>2];f=N[d+52>>2];g=Q(Q(Q(N[d+84>>2]-e)*Q(N[d+124>>2]-f))-Q(Q(N[d+120>>2]-e)*Q(N[d+88>>2]-f)));u=a+16|0;b=3;c=3;break g}J[a+20>>2]=b;e=Q(N[a>>2]-N[a+8>>2]);j=Q(e*e);e=Q(N[a+4>>2]-N[a+12>>2]);N[a+16>>2]=Y(Q(j+Q(e*e)));I[w+4>>1]=c;J[w>>2]=0;u=a+16|0;if((c|0)>0){break f}break e}O=N[d+36>>2];o=J[d+36>>2];e=N[d+32>>2];J[a>>2]=J[d+32>>2];J[a+4>>2]=o;f=N[d+40>>2];u=J[d+40>>2];m=N[d+44>>2];l=J[d+44>>2];J[a+20>>2]=b;J[a+8>>2]=u;J[a+12>>2]=l;e=Q(e-f);j=Q(e*e);e=Q(O-m);N[a+16>>2]=Y(Q(j+Q(e*e)));u=a+16|0;g=Q(0);b=c;c=1}I[w+4>>1]=b;N[w>>2]=g}s=c&1;b=0;if((c|0)!=1){C=c&-2;o=w+6|0;l=w+9|0;c=0;while(1){n=d+32|0;p=n+P(b,36)|0;H[b+o|0]=J[p+28>>2];H[b+l|0]=J[p+32>>2];p=b|1;n=n+P(p,36)|0;H[o+p|0]=J[n+28>>2];H[l+p|0]=J[n+32>>2];b=b+2|0;c=c+2|0;if((C|0)!=(c|0)){continue}break}}if(!s){break e}c=b+w|0;b=(d+32|0)+P(b,36)|0;H[c+6|0]=J[b+28>>2];H[c+9|0]=J[b+32>>2]}D:{if(!K[r+88|0]){break D}e=N[u>>2];f=N[r+24>>2];m=N[r+52>>2];j=Q(f+m);if(!(!(e>j)|!(e>Q(1.1920928955078125e-7)))){N[a+16>>2]=e-j;e=N[a+8>>2];j=N[a>>2];g=Q(e-j);i=N[a+12>>2];k=N[a+4>>2];h=Q(i-k);v=Q(Y(Q(Q(g*g)+Q(h*h))));if(!(v>2]=i-Q(m*h);N[a+8>>2]=e-Q(m*g);N[a+4>>2]=k+Q(f*h);N[a>>2]=j+Q(f*g);break D}J[a+16>>2]=0;e=Q(Q(N[a+4>>2]+N[a+12>>2])*Q(.5));N[a+12>>2]=e;f=Q(Q(N[a>>2]+N[a+8>>2])*Q(.5));N[a+8>>2]=f;N[a+4>>2]=e;N[a>>2]=f}Fa=d+176|0}function se(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=Q(0),f=0,g=Q(0),h=Q(0),i=0,j=0,k=0,l=0,m=0,n=Q(0),o=Q(0),p=0,q=0,r=0,s=Q(0),t=0,u=Q(0),v=Q(0),w=Q(0),x=0,y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=Q(0),D=Q(0),E=Q(0),F=Q(0),G=Q(0),H=Q(0),I=Q(0);a:{k=a;b:{if((c|0)<=2){break b}a=J[b+4>>2];f=Fa-96|0;J[f+32>>2]=J[b>>2];J[f+36>>2]=a;i=1;c=(c|0)>=8?8:c;c:{if((c|0)==1){break c}m=J[b+12>>2];g=N[b+12>>2];l=J[b+8>>2];e=N[b+8>>2];a=0;d:{while(1){j=(f+32|0)+(a<<3)|0;d=Q(e-N[j>>2]);o=Q(d*d);d=Q(g-N[j+4>>2]);if(Q(o+Q(d*d))>2]=m;J[f+40>>2]=l;i=2}if((c|0)==2){break c}m=J[b+20>>2];g=N[b+20>>2];l=J[b+16>>2];e=N[b+16>>2];a=0;e:{while(1){j=(f+32|0)+(a<<3)|0;d=Q(e-N[j>>2]);o=Q(d*d);d=Q(g-N[j+4>>2]);if(Q(o+Q(d*d))>2]=m;J[a>>2]=l;i=i+1|0}if((c|0)==3){break c}g=N[b+28>>2];m=J[b+28>>2];e=N[b+24>>2];l=J[b+24>>2];f:{if((i|0)>0){a=0;while(1){j=(f+32|0)+(a<<3)|0;d=Q(e-N[j>>2]);o=Q(d*d);d=Q(g-N[j+4>>2]);if(Q(o+Q(d*d))>2]=m;J[a>>2]=l;i=i+1|0}if((c|0)==4){break c}g=N[b+36>>2];m=J[b+36>>2];e=N[b+32>>2];l=J[b+32>>2];g:{if((i|0)>0){a=0;while(1){j=(f+32|0)+(a<<3)|0;d=Q(e-N[j>>2]);o=Q(d*d);d=Q(g-N[j+4>>2]);if(Q(o+Q(d*d))>2]=m;J[a>>2]=l;i=i+1|0}if((c|0)==5){break c}g=N[b+44>>2];m=J[b+44>>2];e=N[b+40>>2];l=J[b+40>>2];h:{if((i|0)>0){a=0;while(1){j=(f+32|0)+(a<<3)|0;d=Q(e-N[j>>2]);o=Q(d*d);d=Q(g-N[j+4>>2]);if(Q(o+Q(d*d))>2]=m;J[a>>2]=l;i=i+1|0}if((c|0)==6){break c}g=N[b+52>>2];m=J[b+52>>2];e=N[b+48>>2];l=J[b+48>>2];i:{if((i|0)>0){a=0;while(1){j=(f+32|0)+(a<<3)|0;d=Q(e-N[j>>2]);o=Q(d*d);d=Q(g-N[j+4>>2]);if(Q(o+Q(d*d))>2]=m;J[a>>2]=l;i=i+1|0}if((c|0)==7){break c}g=N[b+60>>2];c=J[b+60>>2];e=N[b+56>>2];b=J[b+56>>2];if((i|0)>0){a=0;while(1){m=(f+32|0)+(a<<3)|0;d=Q(e-N[m>>2]);o=Q(d*d);d=Q(g-N[m+4>>2]);if(Q(o+Q(d*d))>2]=c;J[a>>2]=b;i=i+1|0}if((i|0)<3){break b}g=N[f+32>>2];e=N[f+40>>2];j:{if(!(g>2]>2])|e!=g){break j}}g=e;c=1}k:{if((i|0)==2){break k}e=N[f+48>>2];if(!(!(e>g)&(!(N[f+52>>2]>2])|e!=g))){c=2;g=e}if((i|0)==3){break k}e=N[f+56>>2];if(!(!(e>g)&(!(N[f+60>>2]>2])|e!=g))){c=3;g=e}if((i|0)==4){break k}e=N[f+64>>2];if(!(!(e>g)&(!(N[f+68>>2]>2])|e!=g))){c=4;g=e}if((i|0)==5){break k}e=N[f+72>>2];if(!(!(e>g)&(!(N[f+76>>2]>2])|e!=g))){c=5;g=e}if((i|0)==6){break k}e=N[f+80>>2];if(!(!(e>g)&(!(N[f+84>>2]>2])|e!=g))){c=6;g=e}if((i|0)==7){break k}e=N[f+88>>2];if(!(e>g)&(!(N[f+92>>2]>2])|e!=g)){break k}c=7}l:{m:{n:{if((i|0)>=2){s=N[f+92>>2];u=N[f+84>>2];v=N[f+76>>2];w=N[f+68>>2];y=N[f+60>>2];z=N[f+52>>2];b=0;A=N[f+88>>2];B=N[f+80>>2];C=N[f+72>>2];D=N[f+64>>2];E=N[f+56>>2];F=N[f+48>>2];G=N[f+44>>2];H=N[f+40>>2];I=N[f+36>>2];o=N[f+32>>2];r=(i|0)==5;p=(i|0)==6;t=(i|0)==7;a=c;while(1){m=b;l=a;J[f+(b<<2)>>2]=a;q=(f+32|0)+(a<<3)|0;j=q|4;a=1;o:{if(!l){break o}d=N[q>>2];g=Q(o-d);h=N[j>>2];e=Q(G-h);d=Q(H-d);h=Q(I-h);n=Q(Q(g*e)-Q(d*h));a=nQ(Q(g*g)+Q(h*h)))|n!=Q(0)){break o}a=1}p:{if((i|0)==2){break p}b=2;q:{if((a|0)==(l|0)){break q}b=a;a=f+32|a<<3;d=N[q>>2];g=Q(N[a>>2]-d);h=N[j>>2];e=Q(z-h);d=Q(F-d);h=Q(N[a+4>>2]-h);n=Q(Q(g*e)-Q(d*h));b=nQ(Q(g*g)+Q(h*h)))|n!=Q(0)){break q}b=2}if((i|0)==3){a=b;break p}a=3;r:{if((b|0)==(l|0)){break r}a=(f+32|0)+(b<<3)|0;d=N[q>>2];g=Q(N[a>>2]-d);h=N[j>>2];e=Q(y-h);d=Q(E-d);h=Q(N[a+4>>2]-h);n=Q(Q(g*e)-Q(d*h));a=nQ(Q(g*g)+Q(h*h)))|n!=Q(0)){break r}a=3}if((i|0)==4){break p}b=4;s:{if((a|0)==(l|0)){break s}b=a;a=(f+32|0)+(a<<3)|0;d=N[q>>2];g=Q(N[a>>2]-d);h=N[j>>2];e=Q(w-h);d=Q(D-d);h=Q(N[a+4>>2]-h);n=Q(Q(g*e)-Q(d*h));b=nQ(Q(g*g)+Q(h*h)))|n!=Q(0)){break s}b=4}if(r){a=b;break p}a=5;t:{if((b|0)==(l|0)){break t}a=(f+32|0)+(b<<3)|0;d=N[q>>2];g=Q(N[a>>2]-d);h=N[j>>2];e=Q(v-h);d=Q(C-d);h=Q(N[a+4>>2]-h);n=Q(Q(g*e)-Q(d*h));a=nQ(Q(g*g)+Q(h*h)))|n!=Q(0)){break t}a=5}if(p){break p}b=6;u:{if((a|0)==(l|0)){break u}b=a;a=(f+32|0)+(a<<3)|0;d=N[q>>2];g=Q(N[a>>2]-d);h=N[j>>2];e=Q(u-h);d=Q(B-d);h=Q(N[a+4>>2]-h);n=Q(Q(g*e)-Q(d*h));b=nQ(Q(g*g)+Q(h*h)))|n!=Q(0)){break u}b=6}if(t){a=b;break p}a=7;if((b|0)==(l|0)){break p}a=(f+32|0)+(b<<3)|0;d=N[q>>2];g=Q(N[a>>2]-d);h=N[j>>2];e=Q(s-h);d=Q(A-d);h=Q(N[a+4>>2]-h);n=Q(Q(g*e)-Q(d*h));a=nQ(Q(g*g)+Q(h*h)))|n!=Q(0)){break p}a=7}b=m+1|0;if((a|0)!=(c|0)){continue}break}if(m>>>0>1){break n}break m}if(!c){break m}a=1;while(1){J[f+(a<<2)>>2]=0;a=a+1|0;continue}}J[k+148>>2]=b;b=m+1|0;c=b&3;i=0;a=0;if((m|0)!=2){q=b&-4;b=k+20|0;l=0;while(1){x=f+32|0;r=x;p=r+(J[f+(a<<2)>>2]<<3)|0;t=J[p+4>>2];j=b+(a<<3)|0;J[j>>2]=J[p>>2];J[j+4>>2]=t;j=a|1;p=b+(j<<3)|0;j=r+(J[f+(j<<2)>>2]<<3)|0;t=J[j+4>>2];J[p>>2]=J[j>>2];J[p+4>>2]=t;j=a|2;p=b+(j<<3)|0;j=r+(J[f+(j<<2)>>2]<<3)|0;r=J[j+4>>2];J[p>>2]=J[j>>2];J[p+4>>2]=r;j=a|3;r=b+(j<<3)|0;j=(J[f+(j<<2)>>2]<<3)+x|0;p=J[j+4>>2];J[r>>2]=J[j>>2];J[r+4>>2]=p;a=a+4|0;l=l+4|0;if((q|0)!=(l|0)){continue}break}}if(c){while(1){l=(f+32|0)+(J[f+(a<<2)>>2]<<3)|0;q=J[l+4>>2];b=(a<<3)+k|0;J[b+20>>2]=J[l>>2];J[b+24>>2]=q;a=a+1|0;i=i+1|0;if((c|0)!=(i|0)){continue}break}}l=k+20|0;a=0;while(1){c=a<<3;f=c+l|0;e=N[f>>2];b=a+1|0;i=l+((a>>>0>>0?b:0)<<3)|0;d=N[i>>2];c=c+k|0;g=Q(N[i+4>>2]-N[f+4>>2]);N[c+84>>2]=g;e=Q(d-e);d=Q(-e);N[c+88>>2]=d;e=Q(Y(Q(Q(g*g)+Q(e*e))));if(!(e>2]=o*g;N[c+88>>2]=g*d}c=(a|0)==(m|0);a=b;if(!c){continue}break}c=k+20|0;g=Q(0);e=Q(0);a=0;d=Q(0);while(1){l=c+(a<<3)|0;h=N[l>>2];b=a+1|0;f=c+((a>>>0>>0?b:0)<<3)|0;s=N[f+4>>2];u=N[f>>2];v=N[l+4>>2];w=Q(Q(Q(h*s)-Q(u*v))*Q(.5));e=Q(e+w);o=Q(Q(v+Q(0))+s);s=Q(w*Q(.3333333432674408));d=Q(d+Q(o*s));g=Q(g+Q(Q(Q(h+Q(0))+u)*s));l=(a|0)!=(m|0);a=b;if(l){continue}break}h=Q(Q(1)/e);e=Q(h*d);g=Q(h*g);break l}J[k+84>>2]=0;J[k+88>>2]=-1082130432;J[k+20>>2]=-1082130432;J[k+24>>2]=-1082130432;J[k+148>>2]=4;J[k+108>>2]=-1082130432;J[k+112>>2]=0;J[k+100>>2]=0;J[k+104>>2]=1065353216;J[k+92>>2]=1065353216;J[k+96>>2]=0;J[k+44>>2]=-1082130432;J[k+48>>2]=1065353216;J[k+36>>2]=1065353216;J[k+40>>2]=1065353216;J[k+28>>2]=1065353216;J[k+32>>2]=-1082130432;e=Q(0);g=Q(0)}N[k+12>>2]=g;N[k+16>>2]=e;break a}J[k+84>>2]=0;J[k+88>>2]=-1082130432;J[k+20>>2]=-1082130432;J[k+24>>2]=-1082130432;J[k+148>>2]=4;J[k+12>>2]=0;J[k+16>>2]=0;J[k+108>>2]=-1082130432;J[k+112>>2]=0;J[k+100>>2]=0;J[k+104>>2]=1065353216;J[k+92>>2]=1065353216;J[k+96>>2]=0;J[k+44>>2]=-1082130432;J[k+48>>2]=1065353216;J[k+36>>2]=1065353216;J[k+40>>2]=1065353216;J[k+28>>2]=1065353216;J[k+32>>2]=-1082130432}}function sf(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=Q(0),h=0,i=Q(0),j=0,k=Q(0),l=Q(0),m=Q(0),n=0,o=0,p=0,q=Q(0),r=0,s=Q(0);d=Fa+-64|0;Fa=d;b=J[a+102980>>2];a:{if(!b){break a}p=J[b+4>>2];b:{if(!(p&1)){break b}e=J[a+102948>>2];if(!e){break b}while(1){f=J[e+100>>2];if(f){while(1){c:{d:{e:{c=J[e>>2];if((c|0)==2){if(N[e+116>>2]==Q(0)){J[d+8>>2]=0;J[d+12>>2]=1065353216;J[d>>2]=1065353216;J[d+4>>2]=0;break c}b=L[e+4>>1];if(b&32){break e}break d}b=L[e+4>>1];if(!(b&32)){break d}f:{switch(c|0){case 0:J[d+8>>2]=1056964608;J[d+12>>2]=1065353216;J[d>>2]=1056964608;J[d+4>>2]=1063675494;break c;case 1:break f;default:break e}}J[d+8>>2]=1063675494;J[d+12>>2]=1065353216;J[d>>2]=1056964608;J[d+4>>2]=1056964608;break c}if(!(b&2)){J[d+8>>2]=1058642330;J[d+12>>2]=1065353216;J[d>>2]=1058642330;J[d+4>>2]=1058642330;break c}J[d+8>>2]=1060320051;J[d+12>>2]=1065353216;J[d>>2]=1063675494;J[d+4>>2]=1060320051;break c}J[d+8>>2]=1050253722;J[d+12>>2]=1065353216;J[d>>2]=1056964608;J[d+4>>2]=1056964608}b=Fa-80|0;Fa=b;g:{h:{i:{j:{k:{c=J[f+12>>2];switch(J[c+4>>2]){case 0:break h;case 2:break i;case 3:break j;case 1:break k;default:break g}}l=N[e+12>>2];i=N[e+20>>2];k=N[c+12>>2];g=N[e+24>>2];m=N[c+16>>2];q=N[e+16>>2];N[b+4>>2]=Q(Q(i*k)+Q(g*m))+q;N[b>>2]=l+Q(Q(g*k)-Q(m*i));k=N[c+20>>2];m=N[c+24>>2];N[b+76>>2]=q+Q(Q(i*k)+Q(g*m));N[b+72>>2]=l+Q(Q(g*k)-Q(m*i));c=J[a+102980>>2];Ha[J[J[c>>2]+24>>2]](c,b,b+72|0,d);break g}o=J[c+16>>2];j=J[c+12>>2];i=N[d>>2];g=N[d+4>>2];l=N[d+8>>2];N[b+12>>2]=N[d+12>>2];N[b+8>>2]=l*Q(.75);N[b+4>>2]=g*Q(.75);N[b>>2]=i*Q(.75);i=N[e+12>>2];g=N[e+20>>2];l=N[j>>2];k=N[e+24>>2];m=N[j+4>>2];N[b+76>>2]=Q(Q(g*l)+Q(k*m))+N[e+16>>2];N[b+72>>2]=i+Q(Q(k*l)-Q(m*g));h=J[a+102980>>2];Ha[J[J[h>>2]+32>>2]](h,b+72|0,Q(4),d);if(K[c+36|0]){i=N[e+12>>2];g=N[e+20>>2];l=N[c+20>>2];k=N[e+24>>2];m=N[c+24>>2];N[b+68>>2]=Q(Q(g*l)+Q(k*m))+N[e+16>>2];N[b+64>>2]=i+Q(Q(k*l)-Q(m*g));h=J[a+102980>>2];n=b- -64|0;Ha[J[J[h>>2]+24>>2]](h,n,b+72|0,b);h=J[a+102980>>2];Ha[J[J[h>>2]+16>>2]](h,n,Q(.10000000149011612),b)}if((o|0)>=2){h=1;while(1){i=N[e+12>>2];g=N[e+20>>2];n=j+(h<<3)|0;l=N[n>>2];k=N[e+24>>2];m=N[n+4>>2];N[b+68>>2]=Q(Q(g*l)+Q(k*m))+N[e+16>>2];N[b+64>>2]=i+Q(Q(k*l)-Q(m*g));n=J[a+102980>>2];r=b- -64|0;Ha[J[J[n>>2]+24>>2]](n,b+72|0,r,d);n=J[a+102980>>2];Ha[J[J[n>>2]+32>>2]](n,r,Q(4),d);n=J[b+68>>2];J[b+72>>2]=J[b+64>>2];J[b+76>>2]=n;h=h+1|0;if((o|0)!=(h|0)){continue}break}}if(!K[c+37|0]){break g}i=N[e+12>>2];g=N[e+20>>2];l=N[c+28>>2];k=N[e+24>>2];m=N[c+32>>2];N[b+68>>2]=Q(Q(g*l)+Q(k*m))+N[e+16>>2];N[b+64>>2]=i+Q(Q(k*l)-Q(m*g));c=J[a+102980>>2];j=b- -64|0;Ha[J[J[c>>2]+24>>2]](c,b+72|0,j,b);c=J[a+102980>>2];Ha[J[J[c>>2]+16>>2]](c,j,Q(.10000000149011612),b);break g}h=J[c+148>>2];if((h|0)>0){i=N[e+24>>2];g=N[e+16>>2];l=N[e+12>>2];k=N[e+20>>2];m=Q(-k);j=0;while(1){o=j<<3;n=o+b|0;o=c+o|0;q=N[o+20>>2];s=N[o+24>>2];N[n+4>>2]=Q(Q(k*q)+Q(i*s))+g;N[n>>2]=l+Q(Q(i*q)+Q(s*m));j=j+1|0;if((h|0)!=(j|0)){continue}break}}c=J[a+102980>>2];Ha[J[J[c>>2]+12>>2]](c,b,h,d);break g}l=N[e+12>>2];i=N[e+20>>2];k=N[c+12>>2];g=N[e+24>>2];m=N[c+16>>2];N[b+4>>2]=Q(Q(i*k)+Q(g*m))+N[e+16>>2];N[b>>2]=l+Q(Q(g*k)-Q(m*i));l=N[c+8>>2];N[b+76>>2]=i+Q(g*Q(0));N[b+72>>2]=g-Q(i*Q(0));c=J[a+102980>>2];Ha[J[J[c>>2]+20>>2]](c,b,l,b+72|0,d)}Fa=b+80|0;f=J[f+4>>2];if(f){continue}break}}e=J[e+96>>2];if(e){continue}break}}l:{if(!(p&2)){break l}f=J[a+102952>>2];if(!f){break l}while(1){b=Fa-80|0;Fa=b;e=J[f+52>>2];c=J[f+48>>2];j=J[c+16>>2];J[b+72>>2]=J[c+12>>2];J[b+76>>2]=j;c=J[e+16>>2];J[b+64>>2]=J[e+12>>2];J[b+68>>2]=c;Ha[J[J[f>>2]>>2]](b+56|0,f);Ha[J[J[f>>2]+4>>2]](b+48|0,f);J[b+40>>2]=1061997773;J[b+44>>2]=1065353216;J[b+32>>2]=1056964608;J[b+36>>2]=1061997773;m:{n:{switch(J[f+4>>2]-3|0){case 0:e=J[a+102980>>2];Ha[J[J[e>>2]+24>>2]](e,b+56|0,b+48|0,b+32|0);break m;case 1:c=J[f+72>>2];e=b+8|0;J[e>>2]=J[f+68>>2];J[e+4>>2]=c;j=J[f+80>>2];c=b+24|0;J[c>>2]=J[f+76>>2];J[c+4>>2]=j;h=J[a+102980>>2];j=b+32|0;Ha[J[J[h>>2]+24>>2]](h,e,b+56|0,j);h=J[a+102980>>2];Ha[J[J[h>>2]+24>>2]](h,c,b+48|0,j);h=J[a+102980>>2];Ha[J[J[h>>2]+24>>2]](h,e,c,j);break m;case 2:J[b+16>>2]=0;J[b+20>>2]=1065353216;J[b+8>>2]=0;J[b+12>>2]=1065353216;c=J[a+102980>>2];j=b+56|0;e=b+8|0;Ha[J[J[c>>2]+32>>2]](c,j,Q(4),e);c=J[a+102980>>2];h=b+48|0;Ha[J[J[c>>2]+32>>2]](c,h,Q(4),e);J[b+16>>2]=1061997773;J[b+20>>2]=1065353216;J[b+8>>2]=1061997773;J[b+12>>2]=1061997773;c=J[a+102980>>2];Ha[J[J[c>>2]+24>>2]](c,j,h,e);break m;default:break n}}c=J[a+102980>>2];j=b+56|0;e=b+32|0;Ha[J[J[c>>2]+24>>2]](c,b+72|0,j,e);c=J[a+102980>>2];h=j;j=b+48|0;Ha[J[J[c>>2]+24>>2]](c,h,j,e);c=J[a+102980>>2];Ha[J[J[c>>2]+24>>2]](c,b- -64|0,j,e)}Fa=b+80|0;f=J[f+12>>2];if(f){continue}break}}o:{if(!(p&8)){break o}J[d+8>>2]=1063675494;J[d+12>>2]=1065353216;J[d>>2]=1050253722;J[d+4>>2]=1063675494;f=J[a+102928>>2];if(!f){break o}while(1){e=J[f+52>>2];c=J[f+60>>2];b=J[J[f+48>>2]+24>>2]+P(J[f+56>>2],28)|0;i=N[b+4>>2];g=N[b+12>>2];N[d+40>>2]=Q(N[b>>2]+N[b+8>>2])*Q(.5);N[d+44>>2]=Q(i+g)*Q(.5);b=J[e+24>>2]+P(c,28)|0;i=N[b+4>>2];g=N[b+12>>2];N[d+56>>2]=Q(N[b>>2]+N[b+8>>2])*Q(.5);N[d+60>>2]=Q(i+g)*Q(.5);b=J[a+102980>>2];Ha[J[J[b>>2]+24>>2]](b,d+40|0,d+56|0,d);f=J[f+12>>2];if(f){continue}break}}p:{if(!(p&4)){break p}J[d+48>>2]=1063675494;J[d+52>>2]=1065353216;J[d+40>>2]=1063675494;J[d+44>>2]=1050253722;b=J[a+102948>>2];if(!b){break p}while(1){q:{if(!(K[b+4|0]&32)){break q}f=J[b+100>>2];if(!f){break q}while(1){if(J[f+28>>2]>0){e=0;while(1){c=J[a+102872>>2]+P(J[(J[f+24>>2]+P(e,28)|0)+24>>2],40)|0;i=N[c+4>>2];g=N[c+8>>2];l=N[c>>2];k=N[c+12>>2];N[d+28>>2]=k;N[d+24>>2]=l;N[d+20>>2]=k;N[d+16>>2]=g;N[d+12>>2]=i;N[d+8>>2]=g;N[d+4>>2]=i;N[d>>2]=l;c=J[a+102980>>2];Ha[J[J[c>>2]+8>>2]](c,d,4,d+40|0);e=e+1|0;if((e|0)>2]){continue}break}}f=J[f+4>>2];if(f){continue}break}}b=J[b+96>>2];if(b){continue}break}}if(!(p&16)){break a}f=J[a+102948>>2];if(!f){break a}while(1){b=J[f+24>>2];J[d+8>>2]=J[f+20>>2];J[d+12>>2]=b;b=J[f+16>>2];J[d>>2]=J[f+12>>2];J[d+4>>2]=b;b=J[f+48>>2];J[d>>2]=J[f+44>>2];J[d+4>>2]=b;b=J[a+102980>>2];Ha[J[J[b>>2]+28>>2]](b,d);f=J[f+96>>2];if(f){continue}break}}Fa=d- -64|0}function yf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=0,l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=0,q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),w=Q(0),x=0,y=Q(0);a:{if(K[a+102989|0]){break a}b:{c:{switch(J[b>>2]-1|0){case 2:c=pb(Ya(a,176),b);J[c>>2]=13068;d=J[b+24>>2];J[c+80>>2]=J[b+20>>2];J[c+84>>2]=d;d=J[b+32>>2];J[c+88>>2]=J[b+28>>2];J[c+92>>2]=d;N[c+104>>2]=N[b+36>>2];N[c+68>>2]=N[b+40>>2];N[c+72>>2]=N[b+44>>2];J[c+96>>2]=0;J[c+100>>2]=0;J[c+76>>2]=0;break b;case 4:c=pb(Ya(a,168),b);J[c>>2]=13612;j=N[b+24>>2];f=J[b+24>>2];g=N[b+20>>2];J[c+76>>2]=J[b+20>>2];J[c+80>>2]=f;d=J[c+52>>2];h=N[d+24>>2];i=Q(j-N[d+16>>2]);l=N[d+20>>2];g=Q(g-N[d+12>>2]);N[c+72>>2]=Q(h*i)-Q(l*g);N[c+68>>2]=Q(h*g)+Q(i*l);N[c+104>>2]=N[b+28>>2];J[c+96>>2]=0;J[c+100>>2]=0;N[c+84>>2]=N[b+32>>2];N[c+88>>2]=N[b+36>>2];J[c+108>>2]=0;J[c+92>>2]=0;break b;case 1:c=pb(Ya(a,256),b);J[c>>2]=13804;d=J[b+24>>2];J[c+68>>2]=J[b+20>>2];J[c+72>>2]=d;d=J[b+32>>2];J[c+76>>2]=J[b+28>>2];J[c+80>>2]=d;h=N[b+40>>2];f=J[b+40>>2];g=N[b+36>>2];d=J[b+36>>2];J[c+84>>2]=d;J[c+88>>2]=f;i=Q(Y(Q(Q(g*g)+Q(h*h))));if(!(i>2]=h;g=Q(i*g);N[c+84>>2]=g;d=(C(g),v(2))}J[c+96>>2]=d;N[c+92>>2]=-h;g=N[b+44>>2];J[c+252>>2]=0;N[c+100>>2]=g;J[c+104>>2]=0;J[c+108>>2]=0;J[c+112>>2]=0;J[c+116>>2]=0;N[c+120>>2]=N[b+52>>2];N[c+124>>2]=N[b+56>>2];N[c+128>>2]=N[b+64>>2];N[c+132>>2]=N[b+68>>2];H[c+136|0]=K[b+48|0];d=K[b+60|0];J[c+184>>2]=0;J[c+188>>2]=0;J[c+140>>2]=0;H[c+137|0]=d;J[c+192>>2]=0;J[c+196>>2]=0;break b;case 0:c=pb(Ya(a,228),b);J[c>>2]=13968;d=J[b+24>>2];J[c+68>>2]=J[b+20>>2];J[c+72>>2]=d;d=J[b+32>>2];J[c+76>>2]=J[b+28>>2];J[c+80>>2]=d;g=N[b+36>>2];J[c+84>>2]=0;J[c+88>>2]=0;N[c+116>>2]=g;J[c+92>>2]=0;J[c+96>>2]=0;N[c+120>>2]=N[b+44>>2];N[c+124>>2]=N[b+48>>2];N[c+104>>2]=N[b+60>>2];N[c+108>>2]=N[b+56>>2];H[c+112|0]=K[b+40|0];d=K[b+52|0];J[c+224>>2]=0;H[c+100|0]=d;break b;case 3:c=pb(Ya(a,196),b);J[c>>2]=13888;d=J[b+24>>2];J[c+68>>2]=J[b+20>>2];J[c+72>>2]=d;d=J[b+32>>2];J[c+76>>2]=J[b+28>>2];J[c+80>>2]=d;d=J[b+40>>2];J[c+92>>2]=J[b+36>>2];J[c+96>>2]=d;d=J[b+48>>2];J[c+100>>2]=J[b+44>>2];J[c+104>>2]=d;h=N[b+52>>2];N[c+84>>2]=h;i=N[b+56>>2];N[c+88>>2]=i;g=N[b+60>>2];J[c+116>>2]=0;N[c+112>>2]=g;N[c+108>>2]=h+Q(g*i);break b;case 5:c=pb(Ya(a,276),b);J[c>>2]=13272;e=J[b+20>>2];J[c+68>>2]=e;p=J[b+24>>2];J[c+72>>2]=p;k=J[e+4>>2];J[c+76>>2]=k;x=J[p+4>>2];J[c+80>>2]=x;d=J[e+48>>2];J[c+84>>2]=d;f=J[e+52>>2];J[c+48>>2]=f;d:{if((k|0)==1){h=N[d+56>>2];i=N[f+56>>2];d=J[e+72>>2];J[c+108>>2]=J[e+68>>2];J[c+112>>2]=d;d=J[e+80>>2];J[c+92>>2]=J[e+76>>2];J[c+96>>2]=d;g=N[e+116>>2];J[c+124>>2]=0;J[c+128>>2]=0;N[c+140>>2]=g;g=Q(Q(i-h)-g);break d}h=N[d+20>>2];i=N[d+24>>2];l=N[f+20>>2];o=N[f+24>>2];q=N[f+16>>2];r=N[d+16>>2];n=N[f+12>>2];j=N[d+12>>2];s=N[e+72>>2];f=J[e+72>>2];m=N[e+68>>2];J[c+108>>2]=J[e+68>>2];J[c+112>>2]=f;t=N[e+80>>2];d=J[e+80>>2];g=N[e+76>>2];k=J[e+76>>2];J[c+92>>2]=k;J[c+96>>2]=d;N[c+140>>2]=N[e+100>>2];u=N[e+84>>2];k=J[e+84>>2];w=N[e+88>>2];e=J[e+88>>2];J[c+124>>2]=k;J[c+128>>2]=e;j=Q(n-j);n=t;j=Q(j+Q(Q(o*g)-Q(l*n)));g=Q(Q(q-r)+Q(Q(l*g)+Q(o*n)));g=Q(Q(Q(Q(Q(i*j)+Q(h*g))-m)*u)+Q(Q(Q(Q(i*g)-Q(h*j))-s)*w))}d=J[p+48>>2];J[c+88>>2]=d;f=J[p+52>>2];J[c+52>>2]=f;e:{if((x|0)==1){i=N[d+56>>2];l=N[f+56>>2];d=J[b+24>>2];f=J[d+72>>2];J[c+116>>2]=J[d+68>>2];J[c+120>>2]=f;f=J[d+80>>2];J[c+100>>2]=J[d+76>>2];J[c+104>>2]=f;h=N[d+116>>2];J[c+132>>2]=0;J[c+136>>2]=0;N[c+144>>2]=h;h=Q(Q(l-i)-h);break e}i=N[d+20>>2];l=N[d+24>>2];o=N[f+20>>2];q=N[f+24>>2];r=N[f+16>>2];n=N[d+16>>2];j=N[f+12>>2];m=N[d+12>>2];e=J[b+24>>2];d=e;u=N[d+68>>2];d=J[d+68>>2];s=N[e+72>>2];f=J[e+72>>2];J[c+116>>2]=d;J[c+120>>2]=f;t=N[e+80>>2];d=J[e+80>>2];h=N[e+76>>2];k=J[e+76>>2];J[c+100>>2]=k;J[c+104>>2]=d;N[c+144>>2]=N[e+100>>2];w=N[e+84>>2];k=J[e+84>>2];y=N[e+88>>2];e=J[e+88>>2];J[c+132>>2]=k;J[c+136>>2]=e;m=Q(j-m);j=t;m=Q(m+Q(Q(q*h)-Q(o*j)));h=Q(Q(r-n)+Q(Q(o*h)+Q(q*j)));h=Q(Q(Q(Q(Q(l*m)+Q(i*h))-u)*w)+Q(Q(Q(Q(l*h)-Q(i*m))-s)*y))}i=N[b+28>>2];J[c+156>>2]=0;N[c+152>>2]=i;N[c+148>>2]=Q(i*h)+g;break b;case 6:c=pb(Ya(a,224),b);J[c>>2]=14212;d=J[b+24>>2];J[c+76>>2]=J[b+20>>2];J[c+80>>2]=d;d=J[b+32>>2];J[c+84>>2]=J[b+28>>2];J[c+88>>2]=d;d=J[b+40>>2];f=J[b+36>>2];J[c+204>>2]=0;J[c+104>>2]=f;J[c+92>>2]=f;J[c+96>>2]=d;J[c+108>>2]=0;J[c+208>>2]=0;J[c+212>>2]=0;J[c+112>>2]=0;J[c+116>>2]=0;J[c+100>>2]=d^-2147483648;N[c+120>>2]=N[b+48>>2];N[c+124>>2]=N[b+52>>2];H[c+128|0]=K[b+44|0];N[c+68>>2]=N[b+56>>2];g=N[b+60>>2];J[c+216>>2]=0;J[c+220>>2]=0;N[c+72>>2]=g;J[c+172>>2]=0;J[c+176>>2]=0;J[c+180>>2]=0;J[c+184>>2]=0;break b;case 7:c=pb(Ya(a,208),b);J[c>>2]=14132;d=J[b+24>>2];J[c+80>>2]=J[b+20>>2];J[c+84>>2]=d;d=J[b+32>>2];J[c+88>>2]=J[b+28>>2];J[c+92>>2]=d;N[c+96>>2]=N[b+36>>2];N[c+68>>2]=N[b+40>>2];g=N[b+44>>2];J[c+112>>2]=0;J[c+104>>2]=0;J[c+108>>2]=0;N[c+72>>2]=g;break b;case 8:c=pb(Ya(a,180),b);J[c>>2]=13352;d=J[b+24>>2];J[c+68>>2]=J[b+20>>2];J[c+72>>2]=d;d=J[b+28>>2];f=J[b+32>>2];J[c+92>>2]=0;J[c+84>>2]=0;J[c+88>>2]=0;J[c+76>>2]=d;J[c+80>>2]=f;N[c+96>>2]=N[b+36>>2];N[c+100>>2]=N[b+40>>2];break b;case 9:c=pb(Ya(a,168),b);J[c>>2]=14052;d=J[b+24>>2];J[c+68>>2]=J[b+20>>2];J[c+72>>2]=d;d=J[b+32>>2];J[c+76>>2]=J[b+28>>2];J[c+80>>2]=d;N[c+84>>2]=N[b+36>>2];J[c+160>>2]=0;J[c+164>>2]=0;J[c+88>>2]=0;J[c+92>>2]=0;break b;case 10:break c;default:break b}}c=pb(Ya(a,192),b);J[c>>2]=13532;d=J[b+24>>2];J[c+68>>2]=J[b+20>>2];J[c+72>>2]=d;g=N[b+28>>2];J[c+88>>2]=0;J[c+80>>2]=0;J[c+84>>2]=0;N[c+76>>2]=g;N[c+92>>2]=N[b+32>>2];N[c+96>>2]=N[b+36>>2];N[c+100>>2]=N[b+40>>2]}J[c+8>>2]=0;d=J[a+102952>>2];J[c+12>>2]=d;if(d){J[d+8>>2]=c}J[a+102952>>2]=c;J[a+102960>>2]=J[a+102960>>2]+1;J[c+24>>2]=0;J[c+20>>2]=c;a=J[c+52>>2];J[c+16>>2]=a;d=J[c+48>>2];f=J[d+108>>2];J[c+28>>2]=f;k=c+16|0;if(f){J[f+8>>2]=k}J[d+108>>2]=k;J[c+40>>2]=0;J[c+32>>2]=d;J[c+36>>2]=c;d=J[a+108>>2];J[c+44>>2]=d;f=c+32|0;if(d){J[d+8>>2]=f}J[a+108>>2]=f;if(K[b+16|0]){break a}a=J[J[b+12>>2]+112>>2];if(!a){break a}b=J[b+8>>2];while(1){if((b|0)==J[a>>2]){d=J[a+4>>2];J[d+4>>2]=J[d+4>>2]|8}a=J[a+12>>2];if(a){continue}break}}return c|0}function Oc(a,b,c,d,e,f){a=a|0;b=+b;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,B=0,C=0;m=Fa-560|0;Fa=m;J[m+44>>2]=0;A(+b);g=v(1)|0;v(0)|0;a:{if((g|0)<0){s=1;y=1393;b=-b;A(+b);g=v(1)|0;v(0)|0;break a}if(e&2048){s=1;y=1396;break a}s=e&1;y=s?1399:1394;z=!s}b:{if((g&2146435072)==2146435072){g=s+3|0;cb(a,32,c,g,e&-65537);bb(a,y,s);d=f&32;bb(a,b!=b?d?3570:6100:d?4060:6106,3);cb(a,32,c,g,e^8192);n=(c|0)<(g|0)?g:c;break b}u=m+16|0;c:{d:{e:{b=Sc(b,m+44|0);b=b+b;if(b!=0){g=J[m+44>>2];J[m+44>>2]=g-1;w=f|32;if((w|0)!=97){break e}break c}w=f|32;if((w|0)==97){break c}k=J[m+44>>2];l=(d|0)<0?6:d;break d}k=g-29|0;J[m+44>>2]=k;b=b*268435456;l=(d|0)<0?6:d}q=(m+48|0)+((k|0)>=0?288:0)|0;h=q;while(1){if(b<4294967296&b>=0){d=~~b>>>0}else{d=0}J[h>>2]=d;h=h+4|0;b=(b-+(d>>>0))*1e9;if(b!=0){continue}break}f:{if((k|0)<=0){d=k;g=h;i=q;break f}i=q;d=k;while(1){o=(d|0)>=29?29:d;g=h-4|0;g:{if(i>>>0>g>>>0){break g}d=0;while(1){j=J[g>>2];x=d;d=o&31;if((o&63)>>>0>=32){n=j<>>32-d;d=j<>>0>x>>>0?j+1|0:j,1e9);B=g,C=x-jl(d,Ga,1e9,0)|0,J[B>>2]=C;g=g-4|0;if(i>>>0<=g>>>0){continue}break}if(!d){break g}i=i-4|0;J[i>>2]=d}while(1){g=h;if(i>>>0>>0){h=g-4|0;if(!J[h>>2]){continue}}break}d=J[m+44>>2]-o|0;J[m+44>>2]=d;h=g;if((d|0)>0){continue}break}}if((d|0)<0){t=((l+25>>>0)/9|0)+1|0;p=(w|0)==102;while(1){d=0-d|0;n=(d|0)>=9?9:d;h:{if(g>>>0<=i>>>0){h=J[i>>2];break h}o=1e9>>>n|0;j=-1<>2];J[h>>2]=x+(d>>>n|0);d=P(o,d&j);h=h+4|0;if(h>>>0>>0){continue}break}h=J[i>>2];if(!d){break h}J[g>>2]=d;g=g+4|0}d=n+J[m+44>>2]|0;J[m+44>>2]=d;i=(!h<<2)+i|0;h=p?q:i;g=g-h>>2>(t|0)?h+(t<<2)|0:g;if((d|0)<0){continue}break}}d=0;i:{if(g>>>0<=i>>>0){break i}d=P(q-i>>2,9);h=10;j=J[i>>2];if(j>>>0<10){break i}while(1){d=d+1|0;h=P(h,10);if(j>>>0>=h>>>0){continue}break}}h=(l-((w|0)!=102?d:0)|0)-((w|0)==103&(l|0)!=0)|0;if((h|0)<(P(g-q>>2,9)-9|0)){o=h+9216|0;j=(o|0)/9|0;k=((((k|0)<0?4:292)+m|0)+(j<<2)|0)-4048|0;h=10;n=o-P(j,9)|0;if((n|0)<=7){while(1){h=P(h,10);n=n+1|0;if((n|0)!=8){continue}break}}o=J[k>>2];t=(o>>>0)/(h>>>0)|0;p=o-P(h,t)|0;j=k+4|0;j:{if(!p&(j|0)==(g|0)){break j}k:{if(!(t&1)){b=9007199254740992;if(!(H[k-4|0]&1)|((h|0)!=1e9|i>>>0>=k>>>0)){break k}}b=9007199254740994}r=(g|0)==(j|0)?1:1.5;j=h>>>1|0;r=j>>>0>p>>>0?.5:(j|0)==(p|0)?r:1.5;if(!(K[y|0]!=45|z)){r=-r;b=-b}j=o-p|0;J[k>>2]=j;if(b+r==b){break j}d=h+j|0;J[k>>2]=d;if(d>>>0>=1e9){while(1){J[k>>2]=0;k=k-4|0;if(k>>>0>>0){i=i-4|0;J[i>>2]=0}d=J[k>>2]+1|0;J[k>>2]=d;if(d>>>0>999999999){continue}break}}d=P(q-i>>2,9);h=10;j=J[i>>2];if(j>>>0<10){break j}while(1){d=d+1|0;h=P(h,10);if(j>>>0>=h>>>0){continue}break}}h=k+4|0;g=g>>>0>h>>>0?h:g}while(1){j=g;o=g>>>0<=i>>>0;if(!o){g=j-4|0;if(!J[g>>2]){continue}}break}l:{if((w|0)!=103){k=e&8;break l}h=l?l:1;g=(h|0)>(d|0)&(d|0)>-5;l=(g?d^-1:-1)+h|0;f=(g?-1:-2)+f|0;k=e&8;if(k){break l}g=-9;m:{if(o){break m}k=J[j-4>>2];if(!k){break m}n=10;g=0;if((k>>>0)%10|0){break m}while(1){h=g;g=g+1|0;n=P(n,10);if(!((k>>>0)%(n>>>0)|0)){continue}break}g=h^-1}h=P(j-q>>2,9);if((f&-33)==70){k=0;g=(g+h|0)-9|0;g=(g|0)>0?g:0;l=(g|0)>(l|0)?l:g;break l}k=0;g=((d+h|0)+g|0)-9|0;g=(g|0)>0?g:0;l=(g|0)>(l|0)?l:g}n=-1;o=k|l;if(((o?2147483645:2147483646)|0)<(l|0)){break b}p=(((o|0)!=0)+l|0)+1|0;h=f&-33;n:{if((h|0)==70){if((p^2147483647)<(d|0)){break b}g=(d|0)>0?d:0;break n}g=d>>31;g=Db((g^d)-g|0,0,u);if((u-g|0)<=1){while(1){g=g-1|0;H[g|0]=48;if((u-g|0)<2){continue}break}}t=g-2|0;H[t|0]=f;H[g-1|0]=(d|0)<0?45:43;g=u-t|0;if((g|0)>(p^2147483647)){break b}}d=g+p|0;if((d|0)>(s^2147483647)){break b}p=d+s|0;cb(a,32,c,p,e);bb(a,y,s);cb(a,48,c,p,e^65536);o:{p:{q:{if((h|0)==70){f=m+16|0;d=f|8;k=f|9;h=i>>>0>q>>>0?q:i;i=h;while(1){g=Db(J[i>>2],0,k);r:{if((h|0)!=(i|0)){if(m+16>>>0>=g>>>0){break r}while(1){g=g-1|0;H[g|0]=48;if(m+16>>>0>>0){continue}break}break r}if((g|0)!=(k|0)){break r}H[m+24|0]=48;g=d}bb(a,g,k-g|0);i=i+4|0;if(q>>>0>=i>>>0){continue}break}if(o){bb(a,7028,1)}if((l|0)<=0|i>>>0>=j>>>0){break q}while(1){g=Db(J[i>>2],0,k);if(g>>>0>m+16>>>0){while(1){g=g-1|0;H[g|0]=48;if(m+16>>>0>>0){continue}break}}bb(a,g,(l|0)>=9?9:l);g=l-9|0;i=i+4|0;if(j>>>0<=i>>>0){break p}d=(l|0)>9;l=g;if(d){continue}break}break p}s:{if((l|0)<0){break s}q=i>>>0>>0?j:i+4|0;f=m+16|0;d=f|8;j=f|9;h=i;while(1){g=Db(J[h>>2],0,j);if((j|0)==(g|0)){H[m+24|0]=48;g=d}t:{if((h|0)!=(i|0)){if(m+16>>>0>=g>>>0){break t}while(1){g=g-1|0;H[g|0]=48;if(m+16>>>0>>0){continue}break}break t}bb(a,g,1);g=g+1|0;if(!(k|l)){break t}bb(a,7028,1)}f=j-g|0;bb(a,g,(f|0)>(l|0)?l:f);l=l-f|0;h=h+4|0;if(q>>>0<=h>>>0){break s}if((l|0)>=0){continue}break}}cb(a,48,l+18|0,18,0);bb(a,t,u-t|0);break o}g=l}cb(a,48,g+9|0,9,0)}cb(a,32,c,p,e^8192);n=(c|0)<(p|0)?p:c;break b}k=(f<<26>>31&9)+y|0;u:{if(d>>>0>11){break u}g=12-d|0;r=16;while(1){r=r*16;g=g-1|0;if(g){continue}break}if(K[k|0]==45){b=-(r+(-b-r));break u}b=b+r-r}g=J[m+44>>2];h=g>>31;g=Db((g^h)-h|0,0,u);if((u|0)==(g|0)){H[m+15|0]=48;g=m+15|0}q=s|2;i=f&32;h=J[m+44>>2];l=g-2|0;H[l|0]=f+15;H[g-1|0]=(h|0)<0?45:43;g=e&8;h=m+16|0;while(1){f=h;if(R(b)<2147483648){j=~~b}else{j=-2147483648}H[h|0]=i|K[j+18464|0];b=(b-+(j|0))*16;h=f+1|0;if(!(!((d|0)>0|g)&b==0|(h-(m+16|0)|0)!=1)){H[f+1|0]=46;h=f+2|0}if(b!=0){continue}break}n=-1;g=u-l|0;f=g+q|0;if((2147483645-f|0)<(d|0)){break b}j=f;f=m+16|0;i=h-f|0;d=d?(i-2|0)<(d|0)?d+2|0:i:i;h=j+d|0;cb(a,32,c,h,e);bb(a,k,q);cb(a,48,c,h,e^65536);bb(a,f,i);cb(a,48,d-i|0,0,0);bb(a,l,g);cb(a,32,c,h,e^8192);n=(c|0)<(h|0)?h:c}Fa=m+560|0;return n|0}function Rc(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;h=Fa-80|0;Fa=h;J[h+76>>2]=b;w=h+55|0;r=h+56|0;a:{b:{c:{d:{e:while(1){i=b;if((o^2147483647)<(f|0)){break d}o=f+o|0;f:{g:{h:{f=i;g=K[f|0];if(g){while(1){i:{b=g&255;j:{if(!b){b=f;break j}if((b|0)!=37){break i}g=f;while(1){if(K[g+1|0]!=37){b=g;break j}f=f+1|0;k=K[g+2|0];b=g+2|0;g=b;if((k|0)==37){continue}break}}f=f-i|0;v=o^2147483647;if((f|0)>(v|0)){break d}if(a){bb(a,i,f)}if(f){continue e}J[h+76>>2]=b;f=b+1|0;p=-1;if(!(K[b+2|0]!=36|H[b+1|0]-48>>>0>=10)){p=H[b+1|0]-48|0;s=1;f=b+3|0}J[h+76>>2]=f;m=0;g=H[f|0];b=g-32|0;k:{if(b>>>0>31){l=f;break k}l=f;b=1<>2]=l;m=b|m;g=H[f+1|0];b=g-32|0;if(b>>>0>=32){break k}f=l;b=1<>>0>=10)){J[((H[l+1|0]<<2)+e|0)-192>>2]=10;g=l+3|0;s=1;b=J[((H[l+1|0]<<3)+d|0)-384>>2];break m}if(s){break h}g=l+1|0;if(!a){J[h+76>>2]=g;s=0;q=0;break l}b=J[c>>2];J[c>>2]=b+4;s=0;b=J[b>>2]}J[h+76>>2]=g;q=b;if((b|0)>=0){break l}q=0-q|0;m=m|8192;break l}q=Qc(h+76|0);if((q|0)<0){break d}g=J[h+76>>2]}f=0;j=-1;n:{if(K[g|0]!=46){b=g;u=0;break n}if(K[g+1|0]==42){o:{if(!(K[g+3|0]!=36|H[g+2|0]-48>>>0>=10)){J[((H[g+2|0]<<2)+e|0)-192>>2]=10;b=g+4|0;j=J[((H[g+2|0]<<3)+d|0)-384>>2];break o}if(s){break h}b=g+2|0;j=0;if(!a){break o}g=J[c>>2];J[c>>2]=g+4;j=J[g>>2]}J[h+76>>2]=b;u=(j^-1)>>>31|0;break n}J[h+76>>2]=g+1;j=Qc(h+76|0);b=J[h+76>>2];u=1}while(1){n=f;l=28;k=b;f=H[b|0];if(f-123>>>0<4294967238){break c}b=k+1|0;f=K[(f+P(n,58)|0)+17935|0];if(f-1>>>0<8){continue}break}J[h+76>>2]=b;p:{q:{if((f|0)!=27){if(!f){break c}if((p|0)>=0){J[(p<<2)+e>>2]=f;g=(p<<3)+d|0;f=J[g+4>>2];J[h+64>>2]=J[g>>2];J[h+68>>2]=f;break q}if(!a){break f}Pc(h- -64|0,f,c);break p}if((p|0)>=0){break c}}f=0;if(!a){continue e}}g=m&-65537;m=m&8192?g:m;p=0;t=1383;l=r;r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{f=H[k|0];f=n?(f&15)==3?f&-33:f:f;switch(f-88|0){case 11:break r;case 9:case 13:case 14:case 15:break s;case 27:break x;case 12:case 17:break A;case 23:break B;case 0:case 32:break C;case 24:break D;case 22:break E;case 29:break F;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 25:case 26:case 28:case 30:case 31:break g;default:break G}}H:{switch(f-65|0){case 0:case 4:case 5:case 6:break s;case 2:break v;case 1:case 3:break g;default:break H}}if((f|0)==83){break w}break g}g=J[h+64>>2];k=J[h+68>>2];t=1383;break z}f=0;I:{switch(n&255){case 0:J[J[h+64>>2]>>2]=o;continue e;case 1:J[J[h+64>>2]>>2]=o;continue e;case 2:i=J[h+64>>2];J[i>>2]=o;J[i+4>>2]=o>>31;continue e;case 3:I[J[h+64>>2]>>1]=o;continue e;case 4:H[J[h+64>>2]]=o;continue e;case 6:J[J[h+64>>2]>>2]=o;continue e;case 7:break I;default:continue e}}i=J[h+64>>2];J[i>>2]=o;J[i+4>>2]=o>>31;continue e}j=j>>>0<=8?8:j;m=m|8;f=120}i=r;g=J[h+64>>2];k=J[h+68>>2];if(g|k){x=f&32;while(1){i=i-1|0;H[i|0]=x|K[(g&15)+18464|0];y=!k&g>>>0>15|(k|0)!=0;n=k;k=k>>>4|0;g=(n&15)<<28|g>>>4;if(y){continue}break}}if(!(J[h+64>>2]|J[h+68>>2])|!(m&8)){break y}t=(f>>>4|0)+1383|0;p=2;break y}f=r;i=J[h+68>>2];k=i;g=J[h+64>>2];if(i|g){while(1){f=f-1|0;H[f|0]=g&7|48;n=!k&g>>>0>7|(k|0)!=0;i=k;k=i>>>3|0;g=(i&7)<<29|g>>>3;if(n){continue}break}}i=f;if(!(m&8)){break y}f=r-i|0;j=(f|0)<(j|0)?j:f+1|0;break y}g=J[h+64>>2];f=J[h+68>>2];k=f;if((f|0)<0){i=0-(k+((g|0)!=0)|0)|0;k=i;g=0-g|0;J[h+64>>2]=g;J[h+68>>2]=i;p=1;t=1383;break z}if(m&2048){p=1;t=1384;break z}p=m&1;t=p?1385:1383}i=Db(g,k,r)}if((j|0)<0?u:0){break d}m=u?m&-65537:m;f=J[h+64>>2];g=J[h+68>>2];if(!(j|(f|g)!=0)){i=r;j=0;break g}f=!(f|g)+(r-i|0)|0;j=(f|0)<(j|0)?j:f;break g}l=j>>>0>=2147483647?2147483647:j;n=l;m=(l|0)!=0;f=J[h+64>>2];i=f?f:7030;f=i;J:{K:{L:{M:{if(!(f&3)|!l){break M}while(1){if(!K[f|0]){break L}n=n-1|0;m=(n|0)!=0;f=f+1|0;if(!(f&3)){break M}if(n){continue}break}}if(!m){break K}if(!(!K[f|0]|n>>>0<4)){while(1){k=J[f>>2];if((k^-1)&k-16843009&-2139062144){break L}f=f+4|0;n=n-4|0;if(n>>>0>3){continue}break}}if(!n){break K}}while(1){if(!K[f|0]){break J}f=f+1|0;n=n-1|0;if(n){continue}break}}f=0}f=f?f-i|0:l;l=f+i|0;if((j|0)>=0){m=g;j=f;break g}m=g;j=f;if(K[l|0]){break d}break g}if(j){g=J[h+64>>2];break u}f=0;cb(a,32,q,0,m);break t}J[h+12>>2]=0;J[h+8>>2]=J[h+64>>2];g=h+8|0;J[h+64>>2]=g;j=-1}f=0;N:{while(1){i=J[g>>2];if(!i){break N}k=Mc(h+4|0,i);i=(k|0)<0;if(!(i|k>>>0>j-f>>>0)){g=g+4|0;f=f+k|0;if(j>>>0>f>>>0){continue}break N}break}if(i){break b}}l=61;if((f|0)<0){break c}cb(a,32,q,f,m);if(!f){f=0;break t}l=0;g=J[h+64>>2];while(1){i=J[g>>2];if(!i){break t}i=Mc(h+4|0,i);l=i+l|0;if(l>>>0>f>>>0){break t}bb(a,h+4|0,i);g=g+4|0;if(f>>>0>l>>>0){continue}break}}cb(a,32,q,f,m^8192);f=(f|0)<(q|0)?q:f;continue e}if((j|0)<0?u:0){break d}l=61;f=Oc(a,O[h+64>>3],q,j,m,f);if((f|0)>=0){continue e}break c}H[h+55|0]=J[h+64>>2];j=1;i=w;m=g;break g}g=K[f+1|0];f=f+1|0;continue}}if(a){break a}if(!s){break f}f=1;while(1){a=J[(f<<2)+e>>2];if(a){Pc((f<<3)+d|0,a,c);o=1;f=f+1|0;if((f|0)!=10){continue}break a}break}o=1;if(f>>>0>=10){break a}while(1){if(J[(f<<2)+e>>2]){break h}f=f+1|0;if((f|0)!=10){continue}break}break a}l=28;break c}k=l-i|0;g=(j|0)>(k|0)?j:k;if((g|0)>(p^2147483647)){break d}l=61;j=g+p|0;f=(j|0)<(q|0)?q:j;if((v|0)<(f|0)){break c}cb(a,32,f,j,m);bb(a,t,p);cb(a,48,f,j,m^65536);cb(a,48,g,k,0);bb(a,i,k);cb(a,32,f,j,m^8192);continue}break}o=0;break a}l=61}J[6386]=l}o=-1}Fa=h+80|0;return o}function Ub(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;J[a+52>>2]=0;b=J[a+40>>2];a:{if((b|0)<=0){break a}while(1){e=J[J[a+32>>2]+(i<<2)>>2];J[a+56>>2]=e;if((e|0)!=-1){h=J[a+4>>2]+P(e,40)|0;d=Fa-1040|0;Fa=d;J[d+1036>>2]=256;e=d+8|0;J[d+4>>2]=e;J[d+8>>2]=J[a>>2];b=e;c=1;while(1){b:{c=c-1|0;J[d+1032>>2]=c;g=J[(c<<2)+b>>2];c:{if((g|0)==-1){break c}f=J[a+4>>2]+P(g,40)|0;if(Q(N[h>>2]-N[f+8>>2])>Q(0)|Q(N[h+4>>2]-N[f+12>>2])>Q(0)|(Q(N[f>>2]-N[h+8>>2])>Q(0)|Q(N[f+4>>2]-N[h+12>>2])>Q(0))){break c}if(J[f+24>>2]==-1){c=J[a+56>>2];if(!((g|0)==(c|0)|(K[(J[a+4>>2]+P(g,40)|0)+36|0]?(c|0)<(g|0):0))){b=J[a+52>>2];if((b|0)==J[a+48>>2]){c=(b>>1)+b|0;J[a+48>>2]=c;b=J[a+44>>2];c=_a(c<<3);J[a+44>>2]=c;eb(c,b,J[a+52>>2]<<3);Wa(b);c=J[a+56>>2];b=J[a+52>>2]}f=J[a+44>>2]+(b<<3)|0;J[f+4>>2]=(c|0)<(g|0)?g:c;J[f>>2]=(c|0)>(g|0)?g:c;J[a+52>>2]=b+1}b=J[d+4>>2];c=J[d+1032>>2];if((c|0)>0){continue}break b}d:{if(J[d+1036>>2]!=(c|0)){break d}J[d+1036>>2]=c<<1;c=_a(c<<3);J[d+4>>2]=c;eb(c,b,J[d+1032>>2]<<2);if((b|0)==(e|0)){break d}Wa(b)}b=J[d+4>>2];J[b+(J[d+1032>>2]<<2)>>2]=J[f+24>>2];c=J[d+1032>>2]+1|0;J[d+1032>>2]=c;e:{if((c|0)!=J[d+1036>>2]){break e}J[d+1036>>2]=c<<1;c=_a(c<<3);J[d+4>>2]=c;eb(c,b,J[d+1032>>2]<<2);if((b|0)==(e|0)){break e}Wa(b)}b=J[d+4>>2];J[b+(J[d+1032>>2]<<2)>>2]=J[f+28>>2];c=J[d+1032>>2]+1|0;J[d+1032>>2]=c}if((c|0)>0){continue}}break}if((b|0)!=(e|0)){Wa(b)}Fa=d+1040|0;b=J[a+40>>2]}i=i+1|0;if((i|0)<(b|0)){continue}break}if(J[a+52>>2]>0){i=0;while(1){d=J[a+4>>2];e=J[a+44>>2]+(i<<3)|0;c=J[(d+P(J[e>>2],40)|0)+16>>2];b=J[c+16>>2];h=J[b+8>>2];d=J[(d+P(J[e+4>>2],40)|0)+16>>2];e=J[d+16>>2];j=J[e+8>>2];f:{if((h|0)==(j|0)){break f}d=J[d+20>>2];c=J[c+20>>2];g=J[j+112>>2];if(g){while(1){g:{if((h|0)!=J[g>>2]){break g}f=J[g+4>>2];k=J[f+60>>2];l=J[f+56>>2];m=J[f+52>>2];f=J[f+48>>2];if(!((f|0)!=(b|0)|(e|0)!=(m|0)|(c|0)!=(l|0))){if((d|0)==(k|0)){break f}}if((e|0)!=(f|0)|(b|0)!=(m|0)|(d|0)!=(l|0)){break g}if((c|0)==(k|0)){break f}}g=J[g+12>>2];if(g){continue}break}}if(!vd(j,h)){break f}g=J[a+68>>2];if(g){if(!(Ha[J[J[g>>2]+8>>2]](g,b,e)|0)){break f}}g=J[a+76>>2];if(!K[24464]){J[6092]=733;H[24280]=1;J[6069]=734;J[6068]=735;J[6074]=733;J[6080]=736;J[6104]=737;J[6071]=736;H[24376]=1;J[6093]=738;H[24400]=1;J[6099]=739;J[6098]=740;H[24304]=0;J[6075]=738;H[24328]=1;J[6081]=741;H[24424]=1;J[6105]=742;H[24388]=0;J[6096]=743;J[6095]=744;H[24352]=1;J[6087]=743;J[6086]=744;H[24292]=0;J[6072]=741;H[24448]=1;J[6111]=745;J[6110]=746;H[24316]=0;J[6078]=742;J[6077]=737;J[6101]=746;J[6102]=745;H[24412]=0;H[24464]=1}h=(P(J[J[b+12>>2]+4>>2],48)+24272|0)+P(J[J[e+12>>2]+4>>2],12)|0;f=J[h>>2];h:{if(f){if(K[h+8|0]){b=Ha[f|0](b,c,e,d,g)|0;break h}b=Ha[f|0](e,d,b,c,g)|0}else{b=0}}if(!b){break f}f=J[b+52>>2];e=J[f+8>>2];h=J[b+48>>2];d=J[h+8>>2];J[b+8>>2]=0;c=J[a+60>>2];J[b+12>>2]=c;if(c){J[c+8>>2]=b}J[a+60>>2]=b;J[b+24>>2]=0;J[b+16>>2]=e;J[b+20>>2]=b;c=J[d+112>>2];J[b+28>>2]=c;g=b+16|0;if(c){J[c+8>>2]=g}J[d+112>>2]=g;J[b+40>>2]=0;J[b+32>>2]=d;J[b+36>>2]=b;c=J[e+112>>2];J[b+44>>2]=c;b=b+32|0;if(c){J[c+8>>2]=b}J[e+112>>2]=b;if(!(K[h+38|0]|K[f+38|0])){J[d+144>>2]=0;I[d+4>>1]=L[d+4>>1]|2;J[e+144>>2]=0;I[e+4>>1]=L[e+4>>1]|2}J[a+64>>2]=J[a+64>>2]+1}i=i+1|0;if((i|0)>2]){continue}break}b=J[a+40>>2]}if((b|0)<=0){break a}c=b&1;e=J[a+4>>2];d=J[a+32>>2];i=0;if((b|0)!=1){g=b&-2;b=0;while(1){f=i<<2;h=J[f+d>>2];if((h|0)!=-1){H[(e+P(h,40)|0)+36|0]=0}f=J[d+(f|4)>>2];if((f|0)!=-1){H[(e+P(f,40)|0)+36|0]=0}i=i+2|0;b=b+2|0;if((g|0)!=(b|0)){continue}break}}if(!c){break a}b=J[d+(i<<2)>>2];if((b|0)==-1){break a}H[(e+P(b,40)|0)+36|0]=0}J[a+40>>2]=0}function Uc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,y=0,z=0,A=0;o=Fa-16|0;Fa=o;s=(C(a),v(2));e=s&2147483647;a:{if(e>>>0<=1305022426){j=+a;d=j*.6366197723675814+6755399441055744+-6755399441055744;r=j+d*-1.5707963109016418+d*-1.5893254773528196e-8;O[b>>3]=r;c=r<-.7853981852531433;if(R(d)<2147483648){e=~~d}else{e=-2147483648}if(c){d=d+-1;O[b>>3]=j+d*-1.5707963109016418+d*-1.5893254773528196e-8;e=e-1|0;break a}if(!(r>.7853981852531433)){break a}d=d+1;O[b>>3]=j+d*-1.5707963109016418+d*-1.5893254773528196e-8;e=e+1|0;break a}if(e>>>0>=2139095040){O[b>>3]=Q(a-a);e=0;break a}c=e;e=(e>>>23|0)-150|0;O[o+8>>3]=(x(2,c-(e<<23)|0),D());t=o+8|0;g=Fa-560|0;Fa=g;c=(e-3|0)/24|0;p=(c|0)>0?c:0;i=e+P(p,-24)|0;l=J[3788];if((l|0)>=0){e=l+1|0;c=p;while(1){O[(g+320|0)+(f<<3)>>3]=(c|0)<0?0:+J[(c<<2)+15168>>2];c=c+1|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}k=i-24|0;e=0;f=(l|0)>0?l:0;while(1){c=0;d=0;while(1){d=O[(c<<3)+t>>3]*O[(g+320|0)+(e-c<<3)>>3]+d;c=c+1|0;if((c|0)!=1){continue}break}O[(e<<3)+g>>3]=d;c=(e|0)==(f|0);e=e+1|0;if(!c){continue}break}z=47-i|0;u=48-i|0;A=i-25|0;e=l;b:{while(1){d=O[(e<<3)+g>>3];c=0;f=e;n=(e|0)<=0;if(!n){while(1){m=(g+480|0)+(c<<2)|0;j=d*5.960464477539063e-8;c:{if(R(j)<2147483648){h=~~j;break c}h=-2147483648}j=+(h|0);d=j*-16777216+d;d:{if(R(d)<2147483648){h=~~d;break d}h=-2147483648}J[m>>2]=h;f=f-1|0;d=O[(f<<3)+g>>3]+j;c=c+1|0;if((e|0)!=(c|0)){continue}break}}d=Rb(d,k);d=d+V(d*.125)*-8;e:{if(R(d)<2147483648){m=~~d;break e}m=-2147483648}d=d-+(m|0);f:{g:{h:{w=(k|0)<=0;i:{if(!w){f=(e<<2)+g|0;h=J[f+476>>2];c=h>>u;q=f;f=h-(c<>2]=f;m=c+m|0;h=f>>z;break i}if(k){break h}h=J[((e<<2)+g|0)+476>>2]>>23}if((h|0)<=0){break f}break g}h=2;if(d>=.5){break g}h=0;break f}c=0;f=0;if(!n){while(1){q=(g+480|0)+(c<<2)|0;n=J[q>>2];y=16777215;j:{k:{if(f){break k}y=16777216;if(n){break k}f=0;break j}J[q>>2]=y-n;f=1}c=c+1|0;if((e|0)!=(c|0)){continue}break}}l:{if(w){break l}c=8388607;m:{switch(A|0){case 1:c=4194303;break;case 0:break m;default:break l}}n=(e<<2)+g|0;J[n+476>>2]=J[n+476>>2]&c}m=m+1|0;if((h|0)!=2){break f}d=1-d;h=2;if(!f){break f}d=d-Rb(1,k)}if(d==0){f=0;n:{c=e;if((l|0)>=(e|0)){break n}while(1){c=c-1|0;f=J[(g+480|0)+(c<<2)>>2]|f;if((c|0)>(l|0)){continue}break}if(!f){break n}i=k;while(1){i=i-24|0;e=e-1|0;if(!J[(g+480|0)+(e<<2)>>2]){continue}break}break b}c=1;while(1){f=c;c=c+1|0;if(!J[(g+480|0)+(l-f<<2)>>2]){continue}break}f=e+f|0;while(1){e=e+1|0;O[(g+320|0)+(e<<3)>>3]=J[(e+p<<2)+15168>>2];c=0;d=0;while(1){d=O[(c<<3)+t>>3]*O[(g+320|0)+(e-c<<3)>>3]+d;c=c+1|0;if((c|0)!=1){continue}break}O[(e<<3)+g>>3]=d;if((e|0)<(f|0)){continue}break}e=f;continue}break}d=Rb(d,24-i|0);o:{if(d>=16777216){k=(g+480|0)+(e<<2)|0;j=d*5.960464477539063e-8;p:{if(R(j)<2147483648){c=~~j;break p}c=-2147483648}d=+(c|0)*-16777216+d;q:{if(R(d)<2147483648){f=~~d;break q}f=-2147483648}J[k>>2]=f;e=e+1|0;break o}if(R(d)<2147483648){c=~~d}else{c=-2147483648}i=k}J[(g+480|0)+(e<<2)>>2]=c}d=Rb(1,i);r:{if((e|0)<0){break r}c=e;while(1){f=c;O[(c<<3)+g>>3]=d*+J[(g+480|0)+(c<<2)>>2];c=c-1|0;d=d*5.960464477539063e-8;if(f){continue}break}if((e|0)<0){break r}f=e;while(1){d=0;c=0;i=e-f|0;k=(i|0)>(l|0)?l:i;if((k|0)>=0){while(1){d=O[(c<<3)+17936>>3]*O[(c+f<<3)+g>>3]+d;p=(c|0)!=(k|0);c=c+1|0;if(p){continue}break}}O[(g+160|0)+(i<<3)>>3]=d;c=(f|0)>0;f=f-1|0;if(c){continue}break}}d=0;if((e|0)>=0){while(1){c=e;e=e-1|0;d=d+O[(g+160|0)+(c<<3)>>3];if(c){continue}break}}O[o>>3]=h?-d:d;Fa=g+560|0;e=m&7;d=O[o>>3];if((s|0)<0){O[b>>3]=-d;e=0-e|0;break a}O[b>>3]=d}Fa=o+16|0;return e}function Yc(a,b,c,d){var e=0,f=0,g=Q(0),h=0,i=Q(0),j=Q(0),k=Q(0),l=0,m=Q(0),n=Q(0),o=0,p=Q(0),q=Q(0),r=0,s=Q(0),t=0,u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=0,C=0,D=0;g=N[a+48>>2];s=Q(Q(1)-d);n=Q(Q(s*N[a+68>>2])+Q(N[a+72>>2]*d));j=Ua(n);m=N[a+44>>2];n=Ta(n);x=Q(Q(Q(s*N[a+56>>2])+Q(N[a- -64>>2]*d))-Q(Q(n*m)+Q(g*j)));u=Q(Q(Q(s*N[a+52>>2])+Q(N[a+60>>2]*d))-Q(Q(j*m)-Q(g*n)));q=N[a+12>>2];m=Q(Q(s*N[a+32>>2])+Q(N[a+36>>2]*d));g=Ua(m);k=N[a+8>>2];m=Ta(m);y=Q(Q(Q(s*N[a+20>>2])+Q(N[a+28>>2]*d))-Q(Q(m*k)+Q(q*g)));v=Q(Q(Q(s*N[a+16>>2])+Q(N[a+24>>2]*d))-Q(Q(g*k)-Q(q*m)));w=Q(-n);s=Q(-m);a:{switch(J[a+80>>2]){case 0:q=N[a+92>>2];k=N[a+96>>2];e=J[a>>2];o=J[e+16>>2];h=J[e+20>>2];b:{if((h|0)<2){break b}i=Q(Q(g*q)+Q(m*k));p=Q(Q(s*q)+Q(g*k));d=Q(Q(N[o>>2]*i)+Q(p*N[o+4>>2]));e=1;f=h-1|0;C=f&1;c:{if((h|0)==2){f=0;break c}B=f&-2;f=0;h=0;while(1){r=o+(e<<3)|0;z=Q(Q(N[r>>2]*i)+Q(p*N[r+4>>2]));r=z>d;D=e+1|0;t=o+(D<<3)|0;A=Q(Q(N[t>>2]*i)+Q(p*N[t+4>>2]));d=r?z:d;t=A>d;d=t?A:d;f=t?D:r?e:f;e=e+2|0;h=h+2|0;if((B|0)!=(h|0)){continue}break}}if(!C){break b}h=e;e=o+(e<<3)|0;f=Q(Q(N[e>>2]*i)+Q(p*N[e+4>>2]))>d?h:f}J[b>>2]=f;a=J[a+4>>2];e=J[a+16>>2];f=J[a+20>>2];d:{if((f|0)<2){break d}i=Q(Q(j*Q(-q))-Q(n*k));p=Q(Q(n*q)-Q(j*k));d=Q(Q(N[e>>2]*i)+Q(p*N[e+4>>2]));a=1;l=f-1|0;t=l&1;e:{if((f|0)==2){l=0;break e}C=l&-2;l=0;f=0;while(1){h=e+(a<<3)|0;z=Q(Q(N[h>>2]*i)+Q(p*N[h+4>>2]));h=z>d;B=a+1|0;r=e+(B<<3)|0;A=Q(Q(N[r>>2]*i)+Q(p*N[r+4>>2]));d=h?z:d;r=A>d;d=r?A:d;l=r?B:h?a:l;a=a+2|0;f=f+2|0;if((C|0)!=(f|0)){continue}break}}if(!t){break d}h=a;a=e+(a<<3)|0;l=Q(Q(N[a>>2]*i)+Q(p*N[a+4>>2]))>d?h:l}J[c>>2]=l;i=u;a=e+(l<<3)|0;d=N[a>>2];u=N[a+4>>2];p=Q(i+Q(Q(j*d)+Q(u*w)));i=v;a=o+(J[b>>2]<<3)|0;w=N[a>>2];v=N[a+4>>2];return Q(Q(Q(p-Q(i+Q(Q(g*w)+Q(v*s))))*q)+Q(k*Q(Q(x+Q(Q(n*d)+Q(j*u)))-Q(y+Q(Q(m*w)+Q(g*v))))));case 1:d=N[a+88>>2];k=N[a+96>>2];i=N[a+84>>2];p=N[a+92>>2];J[b>>2]=-1;q=Q(Q(m*p)+Q(g*k));k=Q(Q(g*p)+Q(k*s));y=Q(y+Q(Q(m*i)+Q(g*d)));s=Q(v+Q(Q(g*i)+Q(d*s)));a=J[a+4>>2];b=J[a+16>>2];f=J[a+20>>2];f:{if((f|0)<2){break f}g=Q(Q(j*Q(-k))-Q(n*q));m=Q(Q(n*k)-Q(j*q));d=Q(Q(N[b>>2]*g)+Q(m*N[b+4>>2]));a=1;e=f-1|0;h=e&1;g:{if((f|0)==2){e=0;break g}r=e&-2;e=0;f=0;while(1){l=b+(a<<3)|0;v=Q(Q(N[l>>2]*g)+Q(m*N[l+4>>2]));l=v>d;t=a+1|0;o=b+(t<<3)|0;i=Q(Q(N[o>>2]*g)+Q(m*N[o+4>>2]));d=l?v:d;o=i>d;d=o?i:d;e=o?t:l?a:e;a=a+2|0;f=f+2|0;if((r|0)!=(f|0)){continue}break}}if(!h){break f}h=a;a=b+(a<<3)|0;e=Q(Q(N[a>>2]*g)+Q(m*N[a+4>>2]))>d?h:e}J[c>>2]=e;a=b+(e<<3)|0;d=N[a>>2];g=N[a+4>>2];return Q(Q(Q(Q(u+Q(Q(j*d)+Q(g*w)))-s)*k)+Q(q*Q(Q(x+Q(Q(n*d)+Q(j*g)))-y)));case 2:d=N[a+88>>2];k=N[a+96>>2];i=N[a+84>>2];p=N[a+92>>2];J[c>>2]=-1;q=Q(Q(n*p)+Q(j*k));k=Q(Q(j*p)+Q(k*w));x=Q(x+Q(Q(n*i)+Q(j*d)));w=Q(u+Q(Q(j*i)+Q(d*w)));a=J[a>>2];c=J[a+16>>2];f=J[a+20>>2];h:{if((f|0)<2){break h}j=Q(Q(g*Q(-k))-Q(m*q));n=Q(Q(m*k)-Q(g*q));d=Q(Q(N[c>>2]*j)+Q(n*N[c+4>>2]));a=1;e=f-1|0;h=e&1;i:{if((f|0)==2){e=0;break i}r=e&-2;e=0;f=0;while(1){l=c+(a<<3)|0;u=Q(Q(N[l>>2]*j)+Q(n*N[l+4>>2]));l=u>d;t=a+1|0;o=c+(t<<3)|0;i=Q(Q(N[o>>2]*j)+Q(n*N[o+4>>2]));d=l?u:d;o=i>d;d=o?i:d;e=o?t:l?a:e;a=a+2|0;f=f+2|0;if((r|0)!=(f|0)){continue}break}}if(!h){break h}h=a;a=c+(a<<3)|0;e=Q(Q(N[a>>2]*j)+Q(n*N[a+4>>2]))>d?h:e}J[b>>2]=e;a=c+(e<<3)|0;d=N[a>>2];j=N[a+4>>2];return Q(Q(Q(Q(v+Q(Q(g*d)+Q(j*s)))-w)*k)+Q(q*Q(Q(y+Q(Q(m*d)+Q(g*j)))-x)));default:break a}}J[b>>2]=-1;J[c>>2]=-1;return Q(0)}function ad(a){var b=Q(0),c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=0,k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=0,r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=0,D=Q(0),E=0,F=0,G=Q(0),H=0,I=0,L=0,M=0,O=Q(0),R=Q(0);if(J[a+48>>2]>0){q=J[a+28>>2];I=K[23352];while(1){c=J[a+40>>2]+P(F,156)|0;G=N[c+132>>2];A=N[c+124>>2];g=N[c+128>>2];B=N[c+120>>2];l=N[c+72>>2];i=N[c+76>>2];H=P(J[c+116>>2],12);j=H+q|0;o=N[j+8>>2];r=N[j+4>>2];s=N[j>>2];L=P(J[c+112>>2],12);C=L+q|0;b=N[C+8>>2];t=N[C+4>>2];u=N[C>>2];E=J[c+148>>2];M=(E|0)<=0;a:{b:{if(!M){v=N[c+136>>2];d=Q(-l);k=N[c+144>>2];h=Q(-g);q=0;while(1){j=c+P(q,36)|0;e=Q(v*N[j+16>>2]);f=Q(-e);w=N[j+20>>2];n=N[j+12>>2];m=N[j+4>>2];x=N[j+8>>2];y=N[j>>2];z=Q(w-Q(N[j+28>>2]*Q(Q(Q(Q(Q(Q(s-Q(o*n))-u)+Q(b*m))*i)+Q(Q(Q(Q(r+Q(o*x))-t)-Q(b*y))*d))-k)));e=e>z?z:e;e=e>2]=e;f=Q(e-w);e=Q(f*d);f=Q(i*f);o=Q(Q(G*Q(Q(x*e)-Q(n*f)))+o);b=Q(Q(h*Q(Q(y*e)-Q(f*m)))+b);r=Q(r+Q(A*e));s=Q(s+Q(A*f));t=Q(t-Q(B*e));u=Q(u-Q(B*f));q=q+1|0;if((E|0)!=(q|0)){continue}break}if(I?(E|0)!=1:0){break b}if(M){break a}q=0;while(1){j=c+P(q,36)|0;e=N[j+16>>2];f=N[j+12>>2];g=N[j+4>>2];d=N[j+8>>2];v=N[j>>2];k=Q(e-Q(N[j+24>>2]*Q(Q(Q(Q(Q(Q(s-Q(o*f))-u)+Q(b*g))*l)+Q(i*Q(Q(Q(r+Q(o*d))-t)-Q(b*v))))-N[j+32>>2])));k=k>Q(0)?k:Q(0);N[j+16>>2]=k;m=d;d=Q(k-e);e=Q(i*d);p=f;f=Q(l*d);o=Q(Q(G*Q(Q(m*e)-Q(p*f)))+o);b=Q(Q(h*Q(Q(v*e)-Q(f*g)))+b);r=Q(r+Q(A*e));s=Q(s+Q(A*f));t=Q(t-Q(B*e));u=Q(u-Q(B*f));q=q+1|0;if((E|0)!=(q|0)){continue}break}break a}if(!I){break a}}c:{d:{v=N[c+12>>2];k=N[c+4>>2];w=N[c+8>>2];n=N[c>>2];d=N[c+16>>2];h=N[c+52>>2];O=N[c+104>>2];m=Q(Q(Q(Q(Q(Q(Q(s-Q(o*v))-u)+Q(b*k))*l)+Q(i*Q(Q(Q(r+Q(o*w))-t)-Q(b*n))))-N[c+32>>2])-Q(Q(N[c+96>>2]*d)+Q(h*O)));x=N[c+48>>2];y=N[c+40>>2];z=N[c+44>>2];D=N[c+36>>2];f=N[c+100>>2];p=Q(Q(Q(Q(Q(Q(Q(s-Q(o*x))-u)+Q(b*y))*l)+Q(i*Q(Q(Q(r+Q(o*z))-t)-Q(b*D))))-N[c+68>>2])-Q(Q(f*d)+Q(h*N[c+108>>2])));e=Q(Q(N[c+80>>2]*m)+Q(N[c+88>>2]*p));if(!(e<=Q(0))){break d}R=Q(Q(N[c+84>>2]*m)+Q(p*N[c+92>>2]));if(!(R<=Q(0))){break d}m=b;p=g;e=Q(-e);b=Q(e-d);g=Q(i*b);d=Q(l*b);n=Q(Q(n*g)-Q(d*k));f=Q(-R);b=Q(f-h);h=Q(i*b);k=Q(l*b);b=Q(m-Q(p*Q(n+Q(Q(D*h)-Q(k*y)))));i=Q(g+h);l=Q(d+k);g=Q(Q(w*g)-Q(d*v));d=Q(Q(z*h)-Q(k*x));break c}e=Q(m*Q(-N[c+24>>2]));if(!(!(e>=Q(0))|!(Q(Q(f*e)+p)>=Q(0)))){f=Q(0);m=b;p=g;b=Q(Q(0)-h);g=Q(i*b);h=Q(l*b);b=Q(e-d);d=Q(i*b);i=Q(n*d);n=Q(l*b);b=Q(m-Q(p*Q(Q(Q(D*g)-Q(h*y))+Q(i-Q(n*k)))));i=Q(g+d);l=Q(h+n);g=Q(Q(z*g)-Q(h*x));d=Q(Q(w*d)-Q(n*v));break c}f=Q(p*Q(-N[c+60>>2]));if(!(!(f>=Q(0))|!(Q(Q(O*f)+m)>=Q(0)))){e=Q(0);m=b;p=g;b=Q(Q(0)-d);g=Q(i*b);d=Q(l*b);n=Q(Q(n*g)-Q(d*k));b=Q(f-h);h=Q(i*b);k=Q(l*b);b=Q(m-Q(p*Q(n+Q(Q(D*h)-Q(k*y)))));i=Q(g+h);l=Q(d+k);g=Q(Q(w*g)-Q(d*v));d=Q(Q(z*h)-Q(k*x));break c}if(!(m>=Q(0))|!(p>=Q(0))){break a}e=Q(0);m=b;p=g;b=Q(Q(0)-d);f=Q(i*b);g=Q(l*b);b=Q(Q(0)-h);d=Q(i*b);h=Q(l*b);b=Q(m-Q(p*Q(Q(Q(n*f)-Q(g*k))+Q(Q(D*d)-Q(h*y)))));i=Q(f+d);l=Q(g+h);g=Q(Q(w*f)-Q(g*v));f=Q(0);d=Q(Q(z*d)-Q(h*x))}N[c+52>>2]=f;N[c+16>>2]=e;s=Q(s+Q(A*l));r=Q(r+Q(A*i));u=Q(u-Q(B*l));t=Q(t-Q(B*i));o=Q(Q(G*Q(g+d))+o)}N[C+4>>2]=t;N[C>>2]=u;c=J[a+28>>2];N[(c+L|0)+8>>2]=b;c=c+H|0;N[c+4>>2]=r;N[c>>2]=s;q=J[a+28>>2];N[(H+q|0)+8>>2]=o;F=F+1|0;if((F|0)>2]){continue}break}}}function yh(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=0,f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=0,l=0,m=0,n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=0,s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=0,D=Q(0),E=Q(0),F=Q(0),G=Q(0),H=Q(0),I=Q(0),L=Q(0),M=Q(0),O=Q(0),R=Q(0),S=Q(0),T=Q(0),U=Q(0),V=Q(0),W=Q(0),X=Q(0),Y=Q(0),Z=0,_=0,$=Q(0),aa=Q(0);l=J[a+48>>2];C=J[l+8>>2];J[a+160>>2]=C;m=J[a+52>>2];r=J[m+8>>2];J[a+164>>2]=r;k=J[a+84>>2];Z=J[k+8>>2];J[a+168>>2]=Z;c=J[a+88>>2];_=J[c+8>>2];J[a+172>>2]=_;D=N[l+32>>2];e=J[l+32>>2];i=N[l+28>>2];J[a+176>>2]=J[l+28>>2];J[a+180>>2]=e;e=J[m+32>>2];J[a+184>>2]=J[m+28>>2];J[a+188>>2]=e;w=N[k+32>>2];e=J[k+32>>2];n=N[k+28>>2];J[a+192>>2]=J[k+28>>2];J[a+196>>2]=e;$=N[c+32>>2];e=J[c+32>>2];aa=N[c+28>>2];J[a+200>>2]=J[c+28>>2];J[a+204>>2]=e;E=N[l+120>>2];N[a+208>>2]=E;F=N[m+120>>2];N[a+212>>2]=F;G=N[k+120>>2];N[a+216>>2]=G;H=N[c+120>>2];N[a+220>>2]=H;x=N[l+128>>2];N[a+224>>2]=x;y=N[m+128>>2];N[a+228>>2]=y;z=N[k+128>>2];N[a+232>>2]=z;A=N[c+128>>2];N[a+236>>2]=A;l=J[a+76>>2];c=J[b+28>>2];k=P(_,12);e=c+k|0;I=N[e+8>>2];L=N[e+4>>2];M=N[e>>2];m=P(Z,12);e=m+c|0;O=N[e+8>>2];R=N[e+4>>2];S=N[e>>2];r=P(r,12);e=r+c|0;T=N[e+8>>2];U=N[e+4>>2];V=N[e>>2];e=P(C,12);c=e+c|0;W=N[c+8>>2];X=N[c+4>>2];Y=N[c>>2];c=J[b+24>>2];d=N[(c+r|0)+8>>2];f=N[(c+k|0)+8>>2];h=Ua(f);g=Ta(f);s=Ua(d);t=Ta(d);a:{if((l|0)==1){o=Q(1);j=Q(1);d=Q(x+z);break a}p=N[a+96>>2];d=N[(c+e|0)+8>>2];o=Ua(d);B=N[a+92>>2];j=Ta(d);q=N[a+128>>2];i=Q(B-i);p=Q(p-D);f=N[(c+m|0)+8>>2];d=Ta(f);u=N[a+124>>2];f=Ua(f);v=Q(Q(d*u)+Q(q*f));q=Q(Q(f*u)-Q(q*d));o=Q(Q(Q(Q(o*i)-Q(j*p))*v)-Q(q*Q(Q(j*i)+Q(o*p))));j=Q(N[a+108>>2]-n);i=Q(N[a+112>>2]-w);j=Q(Q(Q(Q(f*j)-Q(d*i))*v)-Q(q*Q(Q(d*j)+Q(f*i))));d=Q(Q(Q(x*o)*o)+Q(Q(Q(z*j)*j)+Q(E+G)))}N[a+264>>2]=j;N[a+256>>2]=o;N[a+240>>2]=q;N[a+244>>2]=v;i=Q(0);n=Q(d+Q(0));b:{if(J[a+80>>2]==1){J[a+248>>2]=0;d=N[a+152>>2];g=Q(Q(Q(d*d)*Q(y+A))+n);h=d;f=Q(0);break b}d=N[a+132>>2];B=N[a+136>>2];p=Q(Q(h*d)-Q(B*g));f=N[a+152>>2];i=Q(p*f);N[a+248>>2]=i;D=n;u=Q(N[a+100>>2]-N[a+184>>2]);w=Q(N[a+104>>2]-N[a+188>>2]);n=Q(Q(g*d)+Q(h*B));d=Q(f*Q(Q(Q(Q(s*u)-Q(w*t))*n)-Q(p*Q(Q(t*u)+Q(s*w)))));s=Q(N[a+116>>2]-aa);t=Q(N[a+120>>2]-$);h=Q(f*Q(Q(Q(Q(h*s)-Q(t*g))*n)-Q(p*Q(Q(g*s)+Q(h*t)))));g=Q(D+Q(Q(Q(y*d)*d)+Q(Q(Q(f*f)*Q(F+H))+Q(h*Q(A*h)))));f=Q(n*f)}N[a+268>>2]=h;N[a+260>>2]=d;N[a+252>>2]=f;N[a+272>>2]=g>Q(0)?Q(Q(1)/g):Q(0);c:{if(K[b+20|0]){g=N[a+156>>2];I=Q(I-Q(Q(g*A)*h));h=Q(H*g);L=Q(L-Q(h*f));M=Q(M-Q(h*i));O=Q(O-Q(Q(g*z)*j));h=Q(G*g);R=Q(R-Q(h*v));S=Q(S-Q(q*h));T=Q(Q(Q(y*g)*d)+T);d=Q(F*g);U=Q(U+Q(d*f));V=Q(V+Q(d*i));W=Q(Q(Q(x*g)*o)+W);d=Q(E*g);X=Q(X+Q(d*v));Y=Q(Y+Q(q*d));break c}J[a+156>>2]=0}c=J[b+28>>2]+P(C,12)|0;N[c+4>>2]=X;N[c>>2]=Y;c=J[b+28>>2];N[(c+P(J[a+160>>2],12)|0)+8>>2]=W;c=c+P(J[a+164>>2],12)|0;N[c+4>>2]=U;N[c>>2]=V;c=J[b+28>>2];N[(c+P(J[a+164>>2],12)|0)+8>>2]=T;c=c+P(J[a+168>>2],12)|0;N[c+4>>2]=R;N[c>>2]=S;c=J[b+28>>2];N[(c+P(J[a+168>>2],12)|0)+8>>2]=O;c=c+P(J[a+172>>2],12)|0;N[c+4>>2]=L;N[c>>2]=M;N[(J[b+28>>2]+P(J[a+172>>2],12)|0)+8>>2]=I}function Wa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!a){break a}d=a-8|0;b=J[a-4>>2];a=b&-8;f=d+a|0;b:{if(b&1){break b}if(!(b&3)){break a}b=J[d>>2];d=d-b|0;if(d>>>0>>0<=255){e=b>>>3|0;b=J[d+12>>2];c=J[d+8>>2];if((b|0)==(c|0)){i=25736,j=J[6434]&ll(e),J[i>>2]=j;break b}J[c+12>>2]=b;J[b+8>>2]=c;break b}g=J[d+24>>2];b=J[d+12>>2];if((d|0)!=(b|0)){c=J[d+8>>2];J[c+12>>2]=b;J[b+8>>2]=c;break c}e=d+20|0;c=J[e>>2];if(!c){c=J[d+16>>2];if(!c){break d}e=d+16|0}while(1){h=e;b=c;e=b+20|0;c=J[e>>2];if(c){continue}e=b+16|0;c=J[b+16>>2];if(c){continue}break}J[h>>2]=0;break c}b=J[f+4>>2];if((b&3)!=3){break b}J[6436]=a;J[f+4>>2]=b&-2;J[d+4>>2]=a|1;J[f>>2]=a;return}b=0}if(!g){break b}c=J[d+28>>2];e=(c<<2)+26040|0;e:{if(J[e>>2]==(d|0)){J[e>>2]=b;if(b){break e}i=25740,j=J[6435]&ll(c),J[i>>2]=j;break b}J[g+(J[g+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break b}}J[b+24>>2]=g;c=J[d+16>>2];if(c){J[b+16>>2]=c;J[c+24>>2]=b}c=J[d+20>>2];if(!c){break b}J[b+20>>2]=c;J[c+24>>2]=b}if(d>>>0>=f>>>0){break a}b=J[f+4>>2];if(!(b&1)){break a}f:{g:{h:{i:{if(!(b&2)){if(J[6440]==(f|0)){J[6440]=d;a=J[6437]+a|0;J[6437]=a;J[d+4>>2]=a|1;if(J[6439]!=(d|0)){break a}J[6436]=0;J[6439]=0;return}if(J[6439]==(f|0)){J[6439]=d;a=J[6436]+a|0;J[6436]=a;J[d+4>>2]=a|1;J[a+d>>2]=a;return}a=(b&-8)+a|0;if(b>>>0<=255){e=b>>>3|0;b=J[f+12>>2];c=J[f+8>>2];if((b|0)==(c|0)){i=25736,j=J[6434]&ll(e),J[i>>2]=j;break g}J[c+12>>2]=b;J[b+8>>2]=c;break g}g=J[f+24>>2];b=J[f+12>>2];if((f|0)!=(b|0)){c=J[f+8>>2];J[c+12>>2]=b;J[b+8>>2]=c;break h}e=f+20|0;c=J[e>>2];if(!c){c=J[f+16>>2];if(!c){break i}e=f+16|0}while(1){h=e;b=c;e=b+20|0;c=J[e>>2];if(c){continue}e=b+16|0;c=J[b+16>>2];if(c){continue}break}J[h>>2]=0;break h}J[f+4>>2]=b&-2;J[d+4>>2]=a|1;J[a+d>>2]=a;break f}b=0}if(!g){break g}c=J[f+28>>2];e=(c<<2)+26040|0;j:{if(J[e>>2]==(f|0)){J[e>>2]=b;if(b){break j}i=25740,j=J[6435]&ll(c),J[i>>2]=j;break g}J[g+(J[g+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break g}}J[b+24>>2]=g;c=J[f+16>>2];if(c){J[b+16>>2]=c;J[c+24>>2]=b}c=J[f+20>>2];if(!c){break g}J[b+20>>2]=c;J[c+24>>2]=b}J[d+4>>2]=a|1;J[a+d>>2]=a;if(J[6439]!=(d|0)){break f}J[6436]=a;return}if(a>>>0<=255){b=(a&-8)+25776|0;c=J[6434];a=1<<(a>>>3);k:{if(!(c&a)){J[6434]=a|c;a=b;break k}a=J[b+8>>2]}J[b+8>>2]=d;J[a+12>>2]=d;J[d+12>>2]=b;J[d+8>>2]=a;return}c=31;if(a>>>0<=16777215){b=S(a>>>8|0);c=((a>>>38-b&1)-(b<<1)|0)+62|0}J[d+28>>2]=c;J[d+16>>2]=0;J[d+20>>2]=0;b=(c<<2)+26040|0;l:{m:{e=J[6435];h=1<>2]=d;J[d+24>>2]=b;break n}c=a<<((c|0)!=31?25-(c>>>1|0)|0:0);b=J[b>>2];while(1){e=b;if((J[b+4>>2]&-8)==(a|0)){break m}b=c>>>29|0;c=c<<1;h=e+(b&4)|0;b=J[h+16>>2];if(b){continue}break}J[h+16>>2]=d;J[d+24>>2]=e}J[d+12>>2]=d;J[d+8>>2]=d;break l}a=J[e+8>>2];J[a+12>>2]=d;J[e+8>>2]=d;J[d+24>>2]=0;J[d+12>>2]=e;J[d+8>>2]=a}a=J[6442]-1|0;J[6442]=a?a:-1}}function Kg(a,b){a=a|0;b=b|0;var c=Q(0),d=0,e=Q(0),f=Q(0),g=0,h=Q(0),i=Q(0),j=0,k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=Q(0),D=Q(0),E=Q(0),F=0,G=0,H=Q(0),I=Q(0),L=0,M=Q(0),O=Q(0);g=J[a+48>>2];F=J[g+8>>2];J[a+144>>2]=F;j=J[a+52>>2];G=J[j+8>>2];J[a+148>>2]=G;H=N[g+32>>2];d=J[g+32>>2];p=N[g+28>>2];J[a+152>>2]=J[g+28>>2];J[a+156>>2]=d;I=N[j+32>>2];L=J[j+32>>2];n=N[j+28>>2];d=J[j+28>>2];J[a+160>>2]=d;J[a+164>>2]=L;x=N[g+120>>2];N[a+168>>2]=x;y=N[j+120>>2];N[a+172>>2]=y;v=N[g+128>>2];N[a+176>>2]=v;m=N[j+128>>2];N[a+180>>2]=m;g=J[b+28>>2];j=P(F,12);d=g+j|0;z=N[d>>2];A=N[d+4>>2];B=N[d+8>>2];d=g;g=P(G,12);d=d+g|0;C=N[d>>2];D=N[d+4>>2];E=N[d+8>>2];d=j;j=J[b+24>>2];d=d+j|0;h=N[d>>2];g=g+j|0;k=N[g>>2];r=N[d+4>>2];o=N[g+4>>2];M=N[a+72>>2];l=N[g+8>>2];i=N[a+80>>2];q=N[a+88>>2];c=N[d+8>>2];O=N[a+68>>2];f=N[a+76>>2];s=N[a+84>>2];e=Q(v+m);N[a+232>>2]=e==Q(0)?Q(1):e;e=Ua(c);c=Ta(c);w=Q(Q(s*c)+Q(e*q));N[a+188>>2]=w;q=Q(Q(e*s)-Q(q*c));N[a+184>>2]=q;t=N[a+92>>2];u=N[a+96>>2];s=Q(Q(c*t)+Q(e*u));N[a+196>>2]=s;t=Q(Q(e*t)-Q(u*c));N[a+192>>2]=t;u=Ua(l);n=Q(f-n);f=Q(i-I);l=Ta(l);i=Q(Q(u*n)-Q(f*l));f=Q(Q(l*n)+Q(u*f));l=Q(Q(i*w)-Q(q*f));N[a+212>>2]=l;n=Q(Q(i*s)-Q(t*f));N[a+204>>2]=n;u=Q(Q(k-h)+i);i=Q(O-p);h=Q(M-H);k=Q(Q(e*i)-Q(c*h));p=Q(u-k);e=Q(Q(c*i)+Q(e*h));f=Q(Q(Q(o-r)+f)-e);c=Q(k+p);i=Q(e+f);e=Q(Q(c*w)-Q(q*i));N[a+208>>2]=e;i=Q(Q(c*s)-Q(t*i));N[a+200>>2]=i;c=Q(v*e);r=Q(m*l);h=Q(c+r);N[a+244>>2]=h;N[a+236>>2]=h;h=Q(v*i);k=Q(m*n);o=Q(h+k);N[a+228>>2]=o;N[a+220>>2]=o;o=Q(Q(h*e)+Q(l*k));N[a+240>>2]=o;N[a+224>>2]=o;o=Q(r*l);r=Q(x+y);c=Q(o+Q(Q(c*e)+r));N[a+248>>2]=c;N[a+216>>2]=Q(k*n)+Q(Q(h*i)+r);N[a+252>>2]=c>Q(0)?Q(Q(1)/c):c;a:{if(K[a+136|0]){h=N[a+124>>2];k=N[a+120>>2];c=Q(h-k);if((c>Q(0)?c:Q(-c))>2]=3;break a}c=Q(Q(q*p)+Q(w*f));if(c<=k){if(J[a+140>>2]==1){break a}J[a+140>>2]=1;J[a+112>>2]=0;break a}if(c>=h){if(J[a+140>>2]==2){break a}J[a+140>>2]=2;J[a+112>>2]=0;break a}J[a+140>>2]=0;J[a+112>>2]=0;break a}J[a+140>>2]=0;J[a+112>>2]=0}if(!K[a+137|0]){J[a+116>>2]=0}b:{if(K[b+20|0]){f=N[b+8>>2];c=Q(f*N[a+104>>2]);N[a+104>>2]=c;h=Q(f*N[a+116>>2]);N[a+116>>2]=h;p=Q(f*N[a+108>>2]);N[a+108>>2]=p;f=Q(f*N[a+112>>2]);N[a+112>>2]=f;k=m;m=Q(h+f);E=Q(Q(k*Q(Q(m*l)+Q(Q(c*n)+p)))+E);B=Q(B-Q(v*Q(Q(m*e)+Q(Q(c*i)+p))));e=Q(Q(s*c)+Q(m*w));D=Q(D+Q(y*e));c=Q(Q(t*c)+Q(q*m));C=Q(C+Q(y*c));A=Q(A-Q(x*e));z=Q(z-Q(x*c));break b}J[a+104>>2]=0;J[a+108>>2]=0;J[a+112>>2]=0;J[a+116>>2]=0}d=J[b+28>>2]+P(J[a+144>>2],12)|0;N[d+4>>2]=A;N[d>>2]=z;d=J[b+28>>2];N[(d+P(J[a+144>>2],12)|0)+8>>2]=B;d=d+P(J[a+148>>2],12)|0;N[d+4>>2]=D;N[d>>2]=C;N[(J[b+28>>2]+P(J[a+148>>2],12)|0)+8>>2]=E}function Lg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=Q(0),f=0,g=0,h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=0,m=Q(0),n=0,o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=0,t=0,u=0,v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=0,C=0,D=Q(0),E=Q(0),F=Q(0),G=Q(0),K=0,L=0,M=Q(0),O=Q(0),R=0,S=0;g=J[J[a+48>>2]+12>>2];a=J[J[a+52>>2]+12>>2];f=Fa-96|0;Fa=f;l=b;J[b+60>>2]=0;e=N[a+8>>2];k=N[g+8>>2];J[f+92>>2]=0;r=Q(k+e);e=ed(f+92|0,g,c,a,d);a:{if(r>2]=0;k=ed(f+88|0,a,d,g,c);if(k>r){break a}B=k>Q(e+Q(.0005000000237487257));b:{if(B){n=2;b=c;c=g;g=f+88|0;break b}n=1;b=d;d=c;c=a;a=g;g=f+92|0}v=N[b>>2];w=N[b+4>>2];F=N[d>>2];G=N[d+4>>2];k=N[b+12>>2];p=N[b+8>>2];h=N[d+12>>2];m=N[d+8>>2];s=J[g>>2];J[l+56>>2]=n;K=s<<3;x=Q(-p);d=0;n=J[c+148>>2];c:{if((n|0)<=0){break c}b=a+K|0;e=N[b+84>>2];i=N[b+88>>2];j=Q(Q(m*e)+Q(h*i));e=Q(Q(h*e)-Q(i*m));i=Q(Q(k*j)-Q(p*e));j=Q(Q(k*e)+Q(p*j));C=c+84|0;R=n&1;d:{if((n|0)==1){e=Q(34028234663852886e22);g=0;break d}S=n&-2;e=Q(34028234663852886e22);g=0;b=0;while(1){t=(g<<3)+C|0;o=Q(Q(j*N[t>>2])+Q(i*N[t+4>>2]));t=o>2])+Q(i*N[u+4>>2]));e=t?o:e;u=q>2])+Q(i*N[b+4>>2]))>2];i=N[c+4>>2];I[f+74>>1]=1;H[f+73|0]=d;H[f+72|0]=s;N[f+68>>2]=w+Q(Q(p*e)+Q(k*i));N[f+64>>2]=v+Q(Q(k*e)+Q(i*x));c=d+1|0;c=(c|0)<(n|0)?c:0;b=b+(c<<3)|0;e=N[b>>2];i=N[b+4>>2];H[f+84|0]=s;N[f+80>>2]=w+Q(Q(p*e)+Q(k*i));I[f+86>>1]=1;H[f+85|0]=c;N[f+76>>2]=v+Q(Q(k*e)+Q(i*x));b=s+1|0;b=(b|0)>2]?b:0;a=a+20|0;c=(b<<3)+a|0;q=N[c>>2];a=a+K|0;y=N[a>>2];e=Q(q-y);z=N[c+4>>2];A=N[a+4>>2];i=Q(z-A);j=Q(Y(Q(Q(e*e)+Q(i*i))));if(!(j>2]=j;D=Q(-m);o=Q(Q(h*e)+Q(i*D));N[f+56>>2]=o;N[f+4>>2]=-j;E=Q(-o);N[f>>2]=E;M=Q(F+Q(Q(h*y)+Q(A*D)));O=Q(G+Q(Q(m*y)+Q(h*A)));if((Xb(f+32|0,f- -64|0,f,Q(r-Q(Q(o*M)+Q(O*j))),s)|0)<2){break a}if((Xb(f,f+32|0,f+56|0,Q(r+Q(Q(o*Q(F+Q(Q(h*q)+Q(z*D))))+Q(Q(G+Q(Q(m*q)+Q(h*z)))*j))),b)|0)<2){break a}N[l+48>>2]=Q(y+q)*Q(.5);N[l+40>>2]=i;N[l+52>>2]=Q(A+z)*Q(.5);N[l+44>>2]=-e;g=0;e=N[f>>2];h=N[f+4>>2];m=Q(Q(j*M)-Q(O*o));e:{if(!(Q(Q(Q(j*e)+Q(h*E))-m)<=r)){break e}e=Q(e-v);h=Q(h-w);N[l+4>>2]=Q(x*e)+Q(k*h);N[l>>2]=Q(k*e)+Q(p*h);a=J[f+8>>2];J[l+16>>2]=a;g=1;if(!B){break e}H[l+17|0]=a;H[l+19|0]=a>>>16;H[l+18|0]=a>>>24;H[l+16|0]=a>>>8}e=N[f+12>>2];h=N[f+16>>2];if(Q(Q(Q(j*e)+Q(h*E))-m)<=r){a=P(g,20)+l|0;e=Q(e-v);h=Q(h-w);N[a+4>>2]=Q(x*e)+Q(k*h);N[a>>2]=Q(k*e)+Q(p*h);b=J[f+20>>2];J[a+16>>2]=b;if(B){H[a+17|0]=b;H[a+19|0]=b>>>16;H[a+18|0]=b>>>24;H[a+16|0]=b>>>8}g=g+1|0}J[l+60>>2]=g}Fa=f+96|0}function Sk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;a:{g=a+16|0;e=J[g>>2];if(!e){break a}c=g;d=e;while(1){f=M[d+16>>2]>>0;c=f?c:d;d=J[(f?d+4|0:d)>>2];if(d){continue}break}if((c|0)==(g|0)|M[c+16>>2]>b>>>0){break a}b=J[c+4>>2];b:{if(!b){b=c;while(1){d=J[b+8>>2];g=J[d>>2]!=(b|0);b=d;if(g){continue}break}break b}while(1){d=b;b=J[b>>2];if(b){continue}break}}if(J[a+12>>2]==(c|0)){J[a+12>>2]=d}J[a+20>>2]=J[a+20>>2]-1;d=e;g=c;c:{d:{b=c;c=J[b>>2];if(c){a=J[g+4>>2];if(!a){break d}while(1){b=a;a=J[a>>2];if(a){continue}break}}c=J[b+4>>2];if(c){break d}c=0;e=1;break c}J[c+8>>2]=J[b+8>>2];e=0}f=J[b+8>>2];a=J[f>>2];e:{if((b|0)==(a|0)){J[f>>2]=c;if((b|0)==(d|0)){a=0;d=c;break e}a=J[f+4>>2];break e}J[f+4>>2]=c}h=!K[b+12|0];if((b|0)!=(g|0)){f=J[g+8>>2];J[b+8>>2]=f;J[f+(((g|0)!=J[J[g+8>>2]>>2])<<2)>>2]=b;f=J[g>>2];J[b>>2]=f;J[f+8>>2]=b;f=J[g+4>>2];J[b+4>>2]=f;if(f){J[f+8>>2]=b}H[b+12|0]=K[g+12|0];d=(d|0)==(g|0)?b:d}f:{if(h|!d){break f}if(e){while(1){b=K[a+12|0];g:{e=J[a+8>>2];if(J[e>>2]!=(a|0)){if(!b){H[a+12|0]=1;H[e+12|0]=0;c=J[e+4>>2];b=J[c>>2];J[e+4>>2]=b;if(b){J[b+8>>2]=e}J[c+8>>2]=J[e+8>>2];b=J[e+8>>2];J[(((e|0)!=J[b>>2])<<2)+b>>2]=c;J[c>>2]=e;J[e+8>>2]=c;b=a;a=J[a>>2];d=(a|0)==(d|0)?b:d;a=J[a+4>>2]}h:{i:{b=J[a>>2];j:{if(!(K[b+12|0]?0:b)){c=J[a+4>>2];if(K[c+12|0]?0:c){break j}H[a+12|0]=0;a=J[a+8>>2];k:{if((d|0)==(a|0)){a=d;break k}if(K[a+12|0]){break g}}H[a+12|0]=1;break f}c=J[a+4>>2];if(!c){break i}}if(K[c+12|0]){break i}b=a;break h}H[b+12|0]=1;H[a+12|0]=0;c=J[b+4>>2];J[a>>2]=c;if(c){J[c+8>>2]=a}J[b+8>>2]=J[a+8>>2];c=J[a+8>>2];J[((J[c>>2]!=(a|0))<<2)+c>>2]=b;J[b+4>>2]=a;J[a+8>>2]=b;c=a}d=J[b+8>>2];H[b+12|0]=K[d+12|0];H[d+12|0]=1;H[c+12|0]=1;b=J[d+4>>2];a=J[b>>2];J[d+4>>2]=a;if(a){J[a+8>>2]=d}J[b+8>>2]=J[d+8>>2];a=J[d+8>>2];J[(((d|0)!=J[a>>2])<<2)+a>>2]=b;J[b>>2]=d;J[d+8>>2]=b;break f}if(!b){H[a+12|0]=1;H[e+12|0]=0;b=J[a+4>>2];J[e>>2]=b;if(b){J[b+8>>2]=e}J[a+8>>2]=J[e+8>>2];b=J[e+8>>2];J[(((e|0)!=J[b>>2])<<2)+b>>2]=a;J[a+4>>2]=e;J[e+8>>2]=a;d=(d|0)==(e|0)?a:d;a=J[e>>2]}c=J[a>>2];l:{if(!(!c|K[c+12|0])){b=a;break l}b=J[a+4>>2];if(!(K[b+12|0]?0:b)){H[a+12|0]=0;a=J[a+8>>2];if((a|0)!=(d|0)?K[a+12|0]:0){break g}H[a+12|0]=1;break f}if(c){if(!K[c+12|0]){b=a;break l}b=J[a+4>>2]}H[b+12|0]=1;H[a+12|0]=0;c=J[b>>2];J[a+4>>2]=c;if(c){J[c+8>>2]=a}J[b+8>>2]=J[a+8>>2];c=J[a+8>>2];J[((J[c>>2]!=(a|0))<<2)+c>>2]=b;J[b>>2]=a;J[a+8>>2]=b;c=a}d=J[b+8>>2];H[b+12|0]=K[d+12|0];H[d+12|0]=1;H[c+12|0]=1;b=J[d>>2];a=J[b+4>>2];J[d>>2]=a;if(a){J[a+8>>2]=d}J[b+8>>2]=J[d+8>>2];a=J[d+8>>2];J[(((d|0)!=J[a>>2])<<2)+a>>2]=b;J[b+4>>2]=d;J[d+8>>2]=b;break f}b=a;a=J[a+8>>2];a=J[(((b|0)==J[a>>2])<<2)+a>>2];continue}}H[c+12|0]=1}Wa(g)}}function Uf(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=0,g=0,h=Q(0),i=Q(0),j=Q(0),k=0,l=0,m=0,n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=0,C=0;g=Fa-48|0;Fa=g;m=J[a+48>>2];B=J[m+8>>2];J[a+116>>2]=B;k=J[a+52>>2];C=J[k+8>>2];J[a+120>>2]=C;n=N[m+32>>2];f=J[m+32>>2];c=N[m+28>>2];l=J[m+28>>2];J[a+140>>2]=l;J[a+144>>2]=f;r=N[k+32>>2];f=J[k+32>>2];h=N[k+28>>2];J[a+148>>2]=J[k+28>>2];J[a+152>>2]=f;t=N[m+120>>2];N[a+156>>2]=t;u=N[k+120>>2];N[a+160>>2]=u;o=N[m+128>>2];N[a+164>>2]=o;p=N[k+128>>2];N[a+168>>2]=p;i=N[a+84>>2];m=J[b+24>>2];l=P(B,12);s=N[(m+l|0)+8>>2];d=Ta(s);j=N[a+80>>2];e=Ua(s);k=J[b+28>>2];l=k+l|0;v=N[l>>2];w=N[l+4>>2];x=N[l+8>>2];f=k;k=P(C,12);l=f+k|0;y=N[l>>2];z=N[l+4>>2];A=N[l+8>>2];q=N[(k+m|0)+8>>2];j=Q(j-c);i=Q(i-n);c=Q(Q(e*j)-Q(d*i));N[a+124>>2]=c;i=Q(Q(d*j)+Q(e*i));N[a+128>>2]=i;d=N[a+92>>2];e=Ta(q);j=N[a+88>>2];n=Ua(q);h=Q(j-h);j=Q(d-r);d=Q(Q(n*h)-Q(e*j));N[a+132>>2]=d;e=Q(Q(e*h)+Q(n*j));N[a+136>>2]=e;j=Q(Q(c*o)+Q(p*d));N[g+40>>2]=j;h=Q(o+p);N[g+44>>2]=h;N[g+32>>2]=j;j=Q(t+u);N[g+28>>2]=Q(p*Q(d*d))+Q(Q(o*Q(c*c))+j);n=Q(-i);r=Q(Q(o*n)-Q(p*e));N[g+36>>2]=r;N[g+20>>2]=r;c=Q(Q(o*Q(c*n))-Q(p*Q(d*e)));N[g+24>>2]=c;N[g+12>>2]=Q(p*Q(e*e))+Q(Q(o*Q(i*i))+j);N[g+16>>2]=c;a:{if(N[a+68>>2]>Q(0)){Bd(g+12|0,a+172|0);c=N[b>>2];d=Q(N[a+68>>2]*Q(6.2831854820251465));e=h>Q(0)?Q(Q(1)/h):Q(0);i=Q(d*Q(d*e));d=Q(c*Q(Q(c*i)+Q(d*Q(Q(e+e)*N[a+72>>2]))));d=d!=Q(0)?Q(Q(1)/d):Q(0);N[a+100>>2]=d;N[a+76>>2]=Q(Q(c*Q(Q(q-s)-N[a+96>>2]))*i)*d;c=Q(h+d);N[a+204>>2]=c!=Q(0)?Q(Q(1)/c):Q(0);break a}f=a+172|0;if(h==Q(0)){Bd(g+12|0,f);J[a+76>>2]=0;J[a+100>>2]=0;break a}h=N[g+24>>2];d=N[g+40>>2];i=N[g+28>>2];e=N[g+36>>2];j=Q(Q(h*d)-Q(i*e));q=N[g+12>>2];s=N[g+44>>2];n=Q(i*s);c=N[g+32>>2];r=Q(s*Q(-h));c=Q(Q(N[g+20>>2]*j)+Q(Q(q*Q(n-Q(d*c)))+Q(N[g+16>>2]*Q(Q(c*e)+r))));c=c!=Q(0)?Q(Q(1)/c):c;N[f+32>>2]=Q(Q(q*i)-Q(h*h))*c;h=Q(c*Q(Q(e*h)-Q(d*q)));N[f+28>>2]=h;i=Q(j*c);N[f+24>>2]=i;N[f+20>>2]=h;N[f+16>>2]=c*Q(Q(q*s)-Q(e*e));e=Q(c*Q(Q(e*d)+r));N[f+12>>2]=e;N[f+8>>2]=i;N[f+4>>2]=e;N[f>>2]=c*Q(n-Q(d*d));J[a+76>>2]=0;J[a+100>>2]=0}b:{if(K[b+20|0]){e=N[b+8>>2];c=Q(e*N[a+104>>2]);N[a+104>>2]=c;d=Q(e*N[a+108>>2]);N[a+108>>2]=d;e=Q(e*N[a+112>>2]);N[a+112>>2]=e;A=Q(Q(p*Q(e+Q(Q(N[a+132>>2]*d)-Q(c*N[a+136>>2]))))+A);x=Q(x-Q(o*Q(e+Q(Q(N[a+124>>2]*d)-Q(c*N[a+128>>2])))));y=Q(y+Q(u*c));v=Q(v-Q(t*c));z=Q(z+Q(u*d));w=Q(w-Q(t*d));break b}J[a+104>>2]=0;J[a+108>>2]=0;J[a+112>>2]=0}f=J[b+28>>2]+P(J[a+116>>2],12)|0;N[f+4>>2]=w;N[f>>2]=v;f=J[b+28>>2];N[(f+P(J[a+116>>2],12)|0)+8>>2]=x;f=f+P(J[a+120>>2],12)|0;N[f+4>>2]=z;N[f>>2]=y;N[(J[b+28>>2]+P(J[a+120>>2],12)|0)+8>>2]=A;Fa=g+48|0}function Of(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=Q(0),g=0,h=0,i=Q(0),j=0,k=Q(0),l=0,m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=0,C=Q(0),D=Q(0),E=Q(0),F=Q(0),G=Q(0),H=Q(0),I=0,L=Q(0);h=J[a+48>>2];B=J[h+8>>2];J[a+132>>2]=B;j=J[a+52>>2];I=J[j+8>>2];J[a+136>>2]=I;w=N[h+32>>2];g=J[h+32>>2];f=N[h+28>>2];J[a+140>>2]=J[h+28>>2];J[a+144>>2]=g;L=N[j+32>>2];l=J[j+32>>2];k=N[j+28>>2];g=J[j+28>>2];J[a+148>>2]=g;J[a+152>>2]=l;x=N[h+120>>2];N[a+156>>2]=x;o=N[j+120>>2];N[a+160>>2]=o;u=N[h+128>>2];N[a+164>>2]=u;v=N[j+128>>2];N[a+168>>2]=v;h=P(B,12);j=J[b+28>>2];g=h+j|0;C=N[g>>2];D=N[g+4>>2];E=N[g+8>>2];g=j;j=P(I,12);g=g+j|0;F=N[g>>2];G=N[g+4>>2];H=N[g+8>>2];g=h;h=J[b+24>>2];g=g+h|0;y=N[g>>2];h=h+j|0;z=N[h>>2];n=N[g+4>>2];p=N[h+4>>2];q=N[a+80>>2];m=N[h+8>>2];e=N[a+88>>2];r=N[a+104>>2];d=N[g+8>>2];A=N[a+76>>2];s=N[a+84>>2];i=N[a+100>>2];J[a+220>>2]=0;J[a+212>>2]=0;J[a+216>>2]=0;c=Ua(d);d=Ta(d);t=Q(Q(i*d)+Q(c*r));N[a+184>>2]=t;r=Q(Q(c*i)-Q(r*d));N[a+180>>2]=r;i=Ua(m);s=Q(s-k);e=Q(e-L);m=Ta(m);k=Q(Q(i*s)-Q(e*m));e=Q(Q(m*s)+Q(i*e));m=Q(Q(k*t)-Q(r*e));N[a+200>>2]=m;i=Q(A-f);f=Q(q-w);q=Q(Q(c*i)-Q(d*f));y=Q(Q(Q(z+k)-y)-q);i=Q(Q(d*i)+Q(c*f));z=Q(Q(Q(p+e)-n)-i);n=Q(q+y);p=Q(i+z);i=Q(Q(n*t)-Q(r*p));N[a+196>>2]=i;q=Q(x+o);f=Q(Q(Q(v*m)*m)+Q(Q(Q(u*i)*i)+q));N[a+204>>2]=f>Q(0)?Q(Q(1)/f):f;A=N[a+68>>2];a:{if(A>Q(0)){s=N[a+92>>2];w=N[a+96>>2];f=Q(Q(d*s)+Q(c*w));N[a+176>>2]=f;c=Q(Q(c*s)+Q(w*Q(-d)));N[a+172>>2]=c;d=Q(Q(k*f)+Q(c*Q(-e)));N[a+192>>2]=d;k=Q(Q(n*f)+Q(c*Q(-p)));N[a+188>>2]=k;d=Q(Q(Q(v*d)*d)+Q(Q(Q(u*k)*k)+q));if(!(d>Q(0))){break a}k=N[b>>2];e=Q(A*Q(6.2831854820251465));n=Q(Q(1)/d);p=Q(e*Q(e*n));e=Q(k*Q(Q(k*p)+Q(e*Q(Q(n+n)*N[a+72>>2]))));e=e>Q(0)?Q(Q(1)/e):e;N[a+220>>2]=e;N[a+216>>2]=Q(p*Q(k*Q(Q(y*c)+Q(z*f))))*e;c=Q(d+e);N[a+212>>2]=c>Q(0)?Q(Q(1)/c):c;break a}J[a+116>>2]=0}b:{if(K[a+128|0]){c=Q(u+v);N[a+208>>2]=c;if(!(c>Q(0))){break b}N[a+208>>2]=Q(1)/c;break b}J[a+112>>2]=0;J[a+208>>2]=0}c:{if(K[b+20|0]){f=N[b+8>>2];c=Q(f*N[a+108>>2]);N[a+108>>2]=c;d=Q(f*N[a+116>>2]);N[a+116>>2]=d;f=Q(f*N[a+112>>2]);N[a+112>>2]=f;t=Q(Q(t*c)+Q(d*N[a+176>>2]));G=Q(G+Q(o*t));e=o;o=Q(Q(r*c)+Q(d*N[a+172>>2]));F=Q(F+Q(e*o));D=Q(D-Q(x*t));C=Q(C-Q(x*o));H=Q(Q(v*Q(f+Q(Q(c*m)+Q(d*N[a+192>>2]))))+H);E=Q(E-Q(u*Q(f+Q(Q(c*i)+Q(d*N[a+188>>2])))));break c}J[a+116>>2]=0;J[a+108>>2]=0;J[a+112>>2]=0}l=J[b+28>>2]+P(B,12)|0;N[l+4>>2]=D;N[l>>2]=C;l=J[b+28>>2];N[(l+P(J[a+132>>2],12)|0)+8>>2]=E;l=l+P(J[a+136>>2],12)|0;N[l+4>>2]=G;N[l>>2]=F;N[(J[b+28>>2]+P(J[a+136>>2],12)|0)+8>>2]=H}function Ig(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=0,g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=0,o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=0,v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=Q(0),D=Q(0),E=Q(0),F=Q(0),G=Q(0),H=Q(0);f=Fa+-64|0;Fa=f;o=N[a+156>>2];h=N[a+72>>2];u=J[b+24>>2];n=u+P(J[a+144>>2],12)|0;w=N[n+8>>2];c=Ua(w);q=N[a+152>>2];r=N[a+68>>2];d=Ta(w);p=N[a+164>>2];s=N[a+80>>2];u=u+P(J[a+148>>2],12)|0;x=N[u+8>>2];m=Ua(x);k=N[a+160>>2];t=N[a+76>>2];j=Ta(x);l=N[a+92>>2];v=N[a+96>>2];y=Q(Q(c*l)-Q(d*v));D=N[u>>2];k=Q(t-k);s=Q(s-p);p=Q(Q(m*k)-Q(j*s));E=N[n>>2];q=Q(r-q);o=Q(h-o);h=Q(Q(c*q)-Q(d*o));e=Q(Q(Q(D+p)-E)-h);t=Q(Q(d*l)+Q(c*v));F=N[u+4>>2];m=Q(Q(j*k)+Q(m*s));G=N[n+4>>2];j=Q(Q(d*q)+Q(c*o));i=Q(Q(Q(F+m)-G)-j);l=Q(Q(y*e)+Q(t*i));v=Q(-l);q=l>Q(0)?l:v;h=Q(h+e);j=Q(j+i);o=Q(Q(h*t)-Q(y*j));k=h;h=N[a+84>>2];r=N[a+88>>2];z=Q(Q(d*h)+Q(c*r));A=Q(Q(c*h)-Q(r*d));r=Q(Q(k*z)-Q(A*j));h=Q(Q(p*t)-Q(y*m));p=Q(Q(p*z)-Q(A*m));B=Q(Q(x-w)-N[a+100>>2]);C=Q(-B);m=N[a+180>>2];j=N[a+176>>2];s=N[a+172>>2];k=N[a+168>>2];a:{b:{if(!K[a+136|0]){break b}c=Q(Q(A*e)+Q(z*i));e=N[a+124>>2];d=N[a+120>>2];i=Q(e-d);c:{if((i>Q(0)?i:Q(-i))Q(0)?c:Q(-c);break c}if(c<=d){g=Q(Q(c-d)+Q(.004999999888241291));g=g=e)){break b}d=Q(c-e);c=Q(d+Q(-.004999999888241291));c=c>2]=e;N[f+48>>2]=e;e=Q(j+m);N[f+44>>2]=e==Q(0)?Q(1):e;e=Q(k+s);N[f+60>>2]=Q(l*p)+Q(Q(c*r)+e);c=Q(j*o);l=Q(m*h);i=Q(c+l);N[f+40>>2]=i;N[f+32>>2]=i;i=Q(Q(c*r)+Q(p*l));N[f+52>>2]=i;N[f+36>>2]=i;N[f+28>>2]=Q(l*h)+Q(Q(c*o)+e);N[f+12>>2]=-g;N[f+8>>2]=C;N[f+4>>2]=v;q=d>2];d=N[f+20>>2];c=N[f+16>>2];break a}c=Q(m*h);d=Q(j*o);i=Q(Q(c*h)+Q(Q(d*o)+Q(k+s)));e=Q(j+m);H=e==Q(0)?Q(1):e;c=Q(d+c);d=Q(Q(i*H)-Q(c*c));e=d!=Q(0)?Q(Q(1)/d):d;d=Q(Q(Q(i*C)+Q(l*c))*e);c=Q(Q(Q(H*v)+Q(B*c))*e)}n=J[b+24>>2]+P(J[a+144>>2],12)|0;t=Q(Q(t*c)+Q(z*g));N[n+4>>2]=G-Q(k*t);e=k;k=Q(Q(y*c)+Q(A*g));N[n>>2]=E-Q(e*k);n=J[b+24>>2];N[(n+P(J[a+144>>2],12)|0)+8>>2]=w-Q(j*Q(Q(g*r)+Q(Q(c*o)+d)));n=n+P(J[a+148>>2],12)|0;N[n+4>>2]=F+Q(s*t);N[n>>2]=D+Q(s*k);N[(J[b+24>>2]+P(J[a+148>>2],12)|0)+8>>2]=Q(m*Q(Q(g*p)+Q(Q(c*h)+d)))+x;Fa=f- -64|0;return(B>Q(0)?B:C)<=Q(.03490658849477768)&q<=Q(.004999999888241291)}function wh(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=0,g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=0,l=Q(0),m=Q(0),n=Q(0),o=0,p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=Q(0),D=Q(0),E=Q(0),F=Q(0),G=0,H=Q(0),I=Q(0),K=Q(0),L=Q(0),M=Q(0),O=Q(0),R=Q(0),S=Q(0);f=J[a+76>>2];k=J[b+24>>2];G=k+P(J[a+172>>2],12)|0;H=N[G+4>>2];I=N[G>>2];o=k+P(J[a+168>>2],12)|0;u=N[o+8>>2];K=N[o+4>>2];L=N[o>>2];o=k+P(J[a+164>>2],12)|0;M=N[o+4>>2];O=N[o>>2];k=k+P(J[a+160>>2],12)|0;v=N[k+8>>2];R=N[k+4>>2];S=N[k>>2];w=N[o+8>>2];x=N[G+8>>2];r=Ua(x);s=Ta(x);g=Ua(w);n=Ta(w);a:{if((f|0)==1){y=N[a+224>>2];z=N[a+232>>2];p=Q(y+z);A=Q(1);B=Q(1);c=Q(Q(v-u)-N[a+140>>2]);break a}q=N[a+124>>2];l=Ua(u);j=N[a+128>>2];m=Ta(u);d=N[a+180>>2];c=N[a+96>>2];i=Ua(v);e=Q(N[a+92>>2]-N[a+176>>2]);h=Ta(v);c=Q(c-d);d=Q(Q(i*e)-Q(h*c));C=Q(Q(m*q)+Q(l*j));D=Q(Q(l*q)-Q(j*m));c=Q(Q(h*e)+Q(i*c));A=Q(Q(d*C)-Q(D*c));y=N[a+224>>2];e=Q(N[a+108>>2]-N[a+192>>2]);h=Q(N[a+112>>2]-N[a+196>>2]);B=Q(Q(Q(Q(l*e)-Q(m*h))*C)-Q(D*Q(Q(m*e)+Q(l*h))));z=N[a+232>>2];p=Q(Q(Q(y*A)*A)+Q(Q(Q(B*z)*B)+Q(N[a+216>>2]+N[a+208>>2])));d=Q(Q(S-L)+d);c=Q(Q(R-K)+c);c=Q(Q(q*Q(Q(Q(l*d)+Q(m*c))-e))+Q(j*Q(Q(Q(l*c)-Q(m*d))-h)))}j=Q(0);d=Q(p+Q(0));b:{if(J[a+80>>2]==1){i=Q(Q(w-x)-N[a+144>>2]);e=N[a+152>>2];E=N[a+228>>2];F=N[a+236>>2];t=Q(Q(Q(e*e)*Q(E+F))+d);h=e;p=e;d=Q(0);break b}t=d;E=N[a+228>>2];e=N[a+152>>2];h=Q(N[a+100>>2]-N[a+184>>2]);d=Q(N[a+104>>2]-N[a+188>>2]);i=Q(Q(g*h)-Q(d*n));l=N[a+132>>2];m=N[a+136>>2];q=Q(Q(s*l)+Q(r*m));j=Q(Q(r*l)-Q(m*s));d=Q(Q(n*h)+Q(g*d));h=Q(e*Q(Q(i*q)-Q(j*d)));g=Q(N[a+116>>2]-N[a+200>>2]);n=Q(N[a+120>>2]-N[a+204>>2]);p=Q(e*Q(Q(Q(Q(r*g)-Q(n*s))*q)-Q(j*Q(Q(s*g)+Q(r*n)))));F=N[a+236>>2];t=Q(t+Q(Q(Q(E*h)*h)+Q(Q(Q(e*e)*Q(N[a+220>>2]+N[a+212>>2]))+Q(p*Q(p*F)))));i=Q(Q(O-I)+i);d=Q(Q(M-H)+d);i=Q(Q(Q(Q(Q(r*i)+Q(s*d))-g)*l)+Q(m*Q(Q(Q(r*d)-Q(s*i))-n)));j=Q(j*e);d=Q(q*e)}g=Q(0);g=t>Q(0)?Q(Q(-Q(Q(Q(e*i)+c)-N[a+148>>2]))/t):g;n=N[a+220>>2];i=N[a+216>>2];e=N[a+212>>2];c=Q(g*N[a+208>>2]);N[k+4>>2]=R+Q(C*c);N[k>>2]=S+Q(D*c);f=J[b+24>>2];N[(f+P(J[a+160>>2],12)|0)+8>>2]=Q(Q(g*y)*A)+v;f=f+P(J[a+164>>2],12)|0;c=Q(g*e);N[f+4>>2]=M+Q(d*c);N[f>>2]=O+Q(j*c);f=J[b+24>>2];N[(f+P(J[a+164>>2],12)|0)+8>>2]=Q(Q(g*E)*h)+w;f=f+P(J[a+168>>2],12)|0;c=Q(g*i);N[f+4>>2]=K-Q(C*c);N[f>>2]=L-Q(D*c);f=J[b+24>>2];N[(f+P(J[a+168>>2],12)|0)+8>>2]=u-Q(Q(g*z)*B);f=f+P(J[a+172>>2],12)|0;c=Q(g*n);N[f+4>>2]=H-Q(d*c);N[f>>2]=I-Q(j*c);N[(J[b+24>>2]+P(J[a+172>>2],12)|0)+8>>2]=x-Q(Q(g*F)*p);return 1}function yd(a,b){var c=Q(0),d=Q(0),e=Q(0),f=Q(0),g=0,h=0,i=0,j=0,k=0,l=0,m=Q(0),n=Q(0),o=0,p=0,q=0,r=0,s=Q(0),t=0,u=0,v=0,w=0,x=0;k=J[a+4>>2];h=k+P(b,40)|0;p=J[h+24>>2];if((p|0)==-1){return b}if(J[h+32>>2]<2){return b}j=P(b,40)+k|0;q=J[j+28>>2];g=P(q,40)+k|0;t=J[g+32>>2];l=P(p,40)+k|0;u=J[l+32>>2];i=t-u|0;a:{if((i|0)>=2){o=J[g+24>>2];J[g+24>>2]=b;J[g+20>>2]=J[j+20>>2];r=J[g+28>>2];J[j+20>>2]=q;t=P(r,40);v=t+k|0;p=P(o,40);w=p+k|0;i=J[g+20>>2];if((i|0)!=-1){a=J[a+4>>2]+P(i,40)|0;a=J[a+24>>2]==(b|0)?a+24|0:a+28|0}J[a>>2]=q;t=k+t|0;a=J[t+32>>2];p=k+p|0;i=J[p+32>>2];b:{if((a|0)<(i|0)){x=p+32|0;J[g+28>>2]=o;J[j+28>>2]=r;J[t+20>>2]=b;f=N[v>>2];e=N[l>>2];d=N[l+4>>2];c=N[v+4>>2];m=c>d?d:c;N[h+4>>2]=m;n=e>2]=n;s=N[v+8>>2];e=N[l+8>>2];d=N[l+12>>2];c=N[v+12>>2];f=c>2]=f;e=e>s?e:s;N[h+8>>2]=e;d=N[w>>2];c=N[w+4>>2];N[g+4>>2]=c>m?m:c;N[g>>2]=d>n?n:d;c=N[w+12>>2];d=c>2];c=c>2]=r;J[j+28>>2]=o;J[p+20>>2]=b;f=N[w>>2];e=N[l>>2];d=N[l+4>>2];c=N[w+4>>2];m=c>d?d:c;N[h+4>>2]=m;n=e>2]=n;s=N[w+8>>2];e=N[l+8>>2];d=N[l+12>>2];c=N[w+12>>2];f=c>2]=f;e=e>s?e:s;N[h+8>>2]=e;d=N[v>>2];c=N[v+4>>2];N[g+4>>2]=c>m?m:c;N[g>>2]=d>n?n:d;c=N[v+12>>2];d=c>2];c=c>2]=c;a=(a|0)<(u|0)?u:a;break a}if((i|0)>-2){return b}r=P(p,40)+k|0;u=J[r+24>>2];J[r+24>>2]=b;i=P(b,40)+k|0;J[r+20>>2]=J[i+20>>2];q=J[r+28>>2];J[i+20>>2]=p;i=J[r+20>>2];if((i|0)!=-1){a=J[a+4>>2]+P(i,40)|0;a=J[a+24>>2]==(b|0)?a+24|0:a+28|0}J[a>>2]=p;j=P(q,40)+k|0;a=J[j+32>>2];o=P(u,40)+k|0;i=J[o+32>>2];c:{if((a|0)<(i|0)){x=o+32|0;J[r+28>>2]=u;J[h+24>>2]=q;J[(P(q,40)+k|0)+20>>2]=b;f=N[j>>2];e=N[g>>2];d=N[g+4>>2];c=N[j+4>>2];m=c>d?d:c;N[h+4>>2]=m;n=e>2]=n;s=N[j+8>>2];e=N[g+8>>2];d=N[g+12>>2];c=N[j+12>>2];f=c>2]=f;e=e>s?e:s;N[h+8>>2]=e;d=N[o>>2];c=N[o+4>>2];N[l+4>>2]=c>m?m:c;N[l>>2]=d>n?n:d;c=N[o+12>>2];d=c>2];c=c>2]=q;J[h+24>>2]=u;J[(P(u,40)+k|0)+20>>2]=b;f=N[o>>2];e=N[g>>2];d=N[g+4>>2];c=N[o+4>>2];m=c>d?d:c;N[h+4>>2]=m;n=e>2]=n;s=N[o+8>>2];e=N[g+8>>2];d=N[g+12>>2];c=N[o+12>>2];f=c>2]=f;e=e>s?e:s;N[h+8>>2]=e;d=N[j>>2];c=N[j+4>>2];N[l+4>>2]=c>m?m:c;N[l>>2]=d>n?n:d;c=N[j+12>>2];d=c>2];c=c>2]=c;q=p;a=(a|0)<(t|0)?t:a}b=a+1|0;J[h+32>>2]=b;a=J[x>>2];N[(P(q,40)+k|0)+12>>2]=d;J[i>>2]=((a|0)<(b|0)?b:a)+1;return q}function Jg(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=0,f=0,g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=0,n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0);e=Fa-32|0;Fa=e;m=J[b+28>>2];f=m+P(J[a+148>>2],12)|0;h=N[f+8>>2];n=N[f+4>>2];o=N[f>>2];f=m+P(J[a+144>>2],12)|0;i=N[f+8>>2];p=N[f+4>>2];q=N[f>>2];l=N[a+180>>2];w=N[a+176>>2];t=N[a+172>>2];u=N[a+168>>2];f=J[a+140>>2];if(!(!K[a+137|0]|(f|0)==3)){c=Q(N[b>>2]*N[a+128>>2]);d=Q(-c);g=N[a+116>>2];r=N[a+212>>2];k=N[a+184>>2];j=N[a+188>>2];s=N[a+208>>2];v=Q(g+Q(N[a+252>>2]*Q(N[a+132>>2]-Q(Q(Q(r*h)+Q(Q(k*Q(o-q))+Q(Q(n-p)*j)))-Q(s*i)))));c=c>v?v:c;c=c>2]=c;c=Q(c-g);h=Q(Q(l*Q(r*c))+h);d=Q(j*c);n=Q(n+Q(t*d));g=Q(k*c);o=Q(o+Q(t*g));p=Q(p-Q(u*d));q=Q(q-Q(u*g));i=Q(i-Q(w*Q(s*c)))}j=Q(o-q);s=Q(n-p);c=Q(Q(Q(N[a+204>>2]*h)+Q(Q(N[a+192>>2]*j)+Q(s*N[a+196>>2])))-Q(N[a+200>>2]*i));d=Q(h-i);a:{if(!(!K[a+136|0]|!f)){g=N[a+112>>2];r=N[a+108>>2];v=N[a+188>>2];k=N[a+104>>2];y=N[a+208>>2];z=N[a+212>>2];A=N[a+184>>2];d=Q(-d);N[e+12>>2]=d;x=Q(-c);N[e+8>>2]=x;N[e+16>>2]=-Q(Q(Q(z*h)+Q(Q(A*j)+Q(s*v)))-Q(y*i));m=a+216|0;Vb(e+20|0,m,e+8|0);N[a+104>>2]=N[e+20>>2]+N[a+104>>2];N[a+108>>2]=N[e+24>>2]+N[a+108>>2];c=Q(N[e+28>>2]+N[a+112>>2]);N[a+112>>2]=c;b:{c:{d:{switch(J[a+140>>2]-1|0){case 0:f=c>Q(0);break c;case 1:break d;default:break b}}f=c>2]=c}j=N[a+240>>2];c=Q(c-g);N[e+12>>2]=d-Q(c*N[a+244>>2]);N[e+8>>2]=x-Q(j*c);Ab(e,m,e+8|0);c=N[e>>2];j=Q(r+N[e+4>>2]);N[a+108>>2]=j;c=Q(k+c);N[a+104>>2]=c;d=Q(c-k);g=Q(N[a+112>>2]-g);c=Q(Q(d*N[a+196>>2])+Q(g*N[a+188>>2]));k=l;l=Q(j-r);h=Q(Q(k*Q(Q(g*N[a+212>>2])+Q(Q(d*N[a+204>>2])+l)))+h);i=Q(i-Q(w*Q(Q(g*N[a+208>>2])+Q(Q(d*N[a+200>>2])+l))));d=Q(Q(d*N[a+192>>2])+Q(g*N[a+184>>2]));break a}N[e+12>>2]=-d;N[e+8>>2]=-c;Ab(e+20|0,a+216|0,e+8|0);d=N[e+20>>2];N[a+104>>2]=d+N[a+104>>2];g=N[e+24>>2];N[a+108>>2]=g+N[a+108>>2];c=Q(d*N[a+196>>2]);h=Q(Q(l*Q(g+Q(d*N[a+204>>2])))+h);i=Q(i-Q(w*Q(g+Q(d*N[a+200>>2]))));d=Q(d*N[a+192>>2])}f=J[b+28>>2]+P(J[a+144>>2],12)|0;N[f+4>>2]=p-Q(u*c);N[f>>2]=q-Q(u*d);f=J[b+28>>2];N[(f+P(J[a+144>>2],12)|0)+8>>2]=i;f=f+P(J[a+148>>2],12)|0;N[f+4>>2]=n+Q(t*c);N[f>>2]=o+Q(t*d);N[(J[b+28>>2]+P(J[a+148>>2],12)|0)+8>>2]=h;Fa=e+32|0}function tf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=Q(0),f=0,g=Q(0),h=0,i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=0,q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=0,y=Q(0),z=Q(0);f=Fa-32|0;Fa=f;J[f+28>>2]=b;p=a+102868|0;J[f+24>>2]=p;J[f+16>>2]=1065353216;a=J[c+4>>2];J[f>>2]=J[c>>2];J[f+4>>2]=a;a=J[d+4>>2];J[f+8>>2]=J[d>>2];J[f+12>>2]=a;a=Fa-1088|0;Fa=a;i=N[f>>2];m=Q(N[f+8>>2]-i);n=m;j=N[f+4>>2];o=Q(N[f+12>>2]-j);e=o;g=Q(Y(Q(Q(m*m)+Q(e*e))));if(!(g>2];J[a+1064>>2]=256;d=a+36|0;J[a+32>>2]=d;J[a+36>>2]=J[p>>2];k=Q(j+Q(o*g));t=j>k?j:k;l=Q(i+Q(m*g));u=i>l?i:l;v=jQ(0)?n:Q(-n);w=Q(-e);z=e>2]=c;h=J[a+32>>2];b=J[h+(c<<2)>>2];b:{if((b|0)==-1){break b}x=P(b,40);b=x+J[p+4>>2]|0;e=N[b+8>>2];if(Q(k-e)>Q(0)){break b}l=N[b+12>>2];if(Q(v-l)>Q(0)){break b}q=N[b>>2];if(Q(q-u)>Q(0)){break b}r=N[b+4>>2];if(Q(r-t)>Q(0)){break b}s=Q(Q(w*Q(i-Q(Q(e+q)*Q(.5))))+Q(n*Q(j-Q(Q(l+r)*Q(.5)))));if(Q((s>Q(0)?s:Q(-s))-Q(Q(z*Q(Q(e-q)*Q(.5)))+Q(y*Q(Q(l-r)*Q(.5)))))>Q(0)){break b}if(J[b+24>>2]==-1){b=J[f+4>>2];J[a+8>>2]=J[f>>2];J[a+12>>2]=b;b=J[f+12>>2];c=J[f+8>>2];N[a+24>>2]=g;J[a+16>>2]=c;J[a+20>>2]=b;c=J[(J[J[f+24>>2]+4>>2]+x|0)+16>>2];b=J[c+16>>2];h=J[b+12>>2];c:{if(Ha[J[J[h>>2]+20>>2]](h,a+1076|0,a+8|0,J[b+8>>2]+12|0,J[c+20>>2])|0){e=N[a+1084>>2];l=Q(Q(1)-e);N[a+1072>>2]=Q(l*N[a+12>>2])+Q(e*N[a+20>>2]);N[a+1068>>2]=Q(l*N[a+8>>2])+Q(e*N[a+16>>2]);c=J[f+28>>2];e=Q(Ha[J[J[c>>2]+8>>2]](c,b,a+1068|0,a+1076|0,e));break c}e=N[a+24>>2]}if(e>Q(0)){g=Q(j+Q(o*e));t=gk?i:k;v=g>j?j:g;k=i>2];break b}d:{if(J[a+1064>>2]!=(c|0)){break d}J[a+1064>>2]=c<<1;c=_a(c<<3);J[a+32>>2]=c;eb(c,h,J[a+1060>>2]<<2);if((d|0)==(h|0)){break d}Wa(h)}c=J[a+32>>2];J[c+(J[a+1060>>2]<<2)>>2]=J[b+24>>2];h=J[a+1060>>2]+1|0;J[a+1060>>2]=h;e:{if((h|0)!=J[a+1064>>2]){break e}J[a+1064>>2]=h<<1;h=_a(h<<3);J[a+32>>2]=h;eb(h,c,J[a+1060>>2]<<2);if((c|0)==(d|0)){break e}Wa(c)}J[J[a+32>>2]+(J[a+1060>>2]<<2)>>2]=J[b+28>>2];c=J[a+1060>>2]+1|0;J[a+1060>>2]=c}if((c|0)>0){continue}}break}b=J[a+32>>2];if((b|0)!=(d|0)){Wa(b)}Fa=a+1088|0;Fa=f+32|0}function bd(a){var b=0,c=Q(0),d=0,e=Q(0),f=Q(0),g=Q(0),h=0,i=0,j=0,k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=0,s=0,t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=Q(0),D=Q(0),E=Q(0),F=Q(0),G=0;h=Fa+-64|0;Fa=h;if(J[a+48>>2]>0){while(1){b=J[a+40>>2]+P(s,156)|0;o=N[b+132>>2];p=N[b+128>>2];q=N[b+124>>2];z=N[b+120>>2];i=J[a+28>>2];j=P(J[b+116>>2],12);d=i+j|0;t=N[d+8>>2];A=N[d+4>>2];B=N[d>>2];r=P(J[b+112>>2],12);d=r+i|0;u=N[d+8>>2];C=N[d+4>>2];D=N[d>>2];d=J[a+36>>2]+P(s,88)|0;E=N[d+80>>2];F=N[d+76>>2];G=J[J[a+44>>2]+(J[b+152>>2]<<2)>>2];i=j;j=J[a+24>>2];i=i+j|0;v=N[i>>2];w=N[i+4>>2];c=N[d+56>>2];g=N[d+60>>2];j=j+r|0;x=N[j>>2];y=N[j+4>>2];f=N[d+48>>2];l=N[d+52>>2];k=N[i+8>>2];m=N[j+8>>2];n=Ua(m);N[h+60>>2]=n;m=Ta(m);N[h+56>>2]=m;e=Ua(k);N[h+44>>2]=e;k=Ta(k);N[h+40>>2]=k;N[h+52>>2]=y-Q(Q(m*f)+Q(l*n));N[h+48>>2]=x-Q(Q(n*f)-Q(l*m));N[h+36>>2]=w-Q(Q(k*c)+Q(g*e));N[h+32>>2]=v-Q(Q(e*c)-Q(g*k));Dd(h,G- -64|0,h+48|0,F,h+32|0,E);d=J[h+4>>2];J[b+72>>2]=J[h>>2];J[b+76>>2]=d;r=J[b+148>>2];a:{if((r|0)<=0){break a}g=Q(z+q);i=0;while(1){j=(i<<3)+h|0;c=N[j+8>>2];d=P(i,36)+b|0;l=Q(N[j+12>>2]-y);N[d+4>>2]=l;k=Q(c-x);N[d>>2]=k;c=N[j+8>>2];n=Q(N[j+12>>2]-w);N[d+12>>2]=n;m=Q(c-v);N[d+8>>2]=m;f=N[b+76>>2];c=N[b+72>>2];J[d+32>>2]=0;e=Q(Q(m*f)-Q(c*n));q=Q(Q(o*e)*e);e=Q(Q(k*f)-Q(c*l));e=Q(q+Q(Q(Q(p*e)*e)+g));N[d+24>>2]=e>Q(0)?Q(Q(1)/e):Q(0);e=Q(-c);q=Q(Q(m*e)-Q(f*n));e=Q(Q(k*e)-Q(f*l));e=Q(Q(Q(o*q)*q)+Q(Q(Q(p*e)*e)+g));N[d+28>>2]=e>Q(0)?Q(Q(1)/e):Q(0);f=Q(Q(c*Q(Q(u*l)+Q(Q(B-Q(t*n))-D)))+Q(f*Q(Q(Q(A+Q(t*m))-C)-Q(u*k))));if(f>2]=f*Q(-N[b+140>>2])}i=i+1|0;if((r|0)!=(i|0)){continue}break}if(!K[23352]|J[b+148>>2]!=2){break a}l=N[b+76>>2];f=Q(Q(N[b+8>>2]*l)-Q(c*N[b+12>>2]));k=Q(o*f);e=Q(k*f);f=Q(Q(N[b>>2]*l)-Q(c*N[b+4>>2]));n=Q(p*f);f=Q(e+Q(Q(n*f)+g));e=o;o=Q(Q(N[b+44>>2]*l)-Q(c*N[b+48>>2]));c=Q(Q(N[b+36>>2]*l)-Q(c*N[b+40>>2]));p=Q(Q(Q(e*o)*o)+Q(Q(Q(p*c)*c)+g));c=Q(Q(k*o)+Q(Q(n*c)+g));g=Q(Q(f*p)-Q(c*c));if(Q(f*f)>2]=f;N[b+108>>2]=p;N[b+104>>2]=c;N[b+100>>2]=c;g=g!=Q(0)?Q(Q(1)/g):g;N[b+92>>2]=f*g;N[b+80>>2]=p*g;c=Q(c*Q(-g));N[b+88>>2]=c;N[b+84>>2]=c;break a}J[b+148>>2]=1}s=s+1|0;if((s|0)>2]){continue}break}}Fa=h- -64|0}function mg(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=0,g=Q(0),h=0,i=Q(0),j=0,k=0,l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=0,v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=0,C=Q(0);j=J[a+48>>2];u=J[j+8>>2];J[a+128>>2]=u;h=J[a+52>>2];B=J[h+8>>2];J[a+132>>2]=B;e=N[j+32>>2];k=J[j+32>>2];m=N[j+28>>2];f=J[j+28>>2];J[a+152>>2]=f;J[a+156>>2]=k;C=N[h+32>>2];f=J[h+32>>2];n=N[h+28>>2];J[a+160>>2]=J[h+28>>2];J[a+164>>2]=f;s=N[j+120>>2];N[a+168>>2]=s;t=N[h+120>>2];N[a+172>>2]=t;o=N[j+128>>2];N[a+176>>2]=o;p=N[h+128>>2];N[a+180>>2]=p;g=N[a+72>>2];j=J[b+24>>2];f=P(u,12);q=N[(j+f|0)+8>>2];d=Ta(q);c=N[a+68>>2];i=Ua(q);h=J[b+28>>2];f=f+h|0;v=N[f>>2];w=N[f+4>>2];x=N[f+8>>2];f=h;h=P(B,12);f=f+h|0;y=N[f>>2];z=N[f+4>>2];A=N[f+8>>2];l=N[(h+j|0)+8>>2];c=Q(c-m);g=Q(g-e);m=Q(Q(i*c)-Q(d*g));N[a+136>>2]=m;c=Q(Q(d*c)+Q(i*g));N[a+140>>2]=c;d=Q(o+p);N[a+216>>2]=d;N[a+220>>2]=d>Q(0)?Q(Q(1)/d):d;i=N[a+80>>2];g=Ta(l);e=N[a+76>>2];r=Ua(l);n=Q(e-n);e=Q(i-C);i=Q(Q(r*n)-Q(g*e));N[a+144>>2]=i;g=Q(Q(g*n)+Q(r*e));N[a+148>>2]=g;n=Q(-c);e=Q(Q(o*n)-Q(p*g));N[a+208>>2]=e;r=Q(Q(m*o)+Q(p*i));N[a+212>>2]=r;N[a+192>>2]=e;N[a+204>>2]=r;e=Q(o*Q(c*c));c=Q(s+t);N[a+184>>2]=Q(p*Q(g*g))+Q(e+c);e=Q(Q(o*Q(m*n))-Q(p*Q(i*g)));N[a+196>>2]=e;N[a+188>>2]=e;N[a+200>>2]=Q(p*Q(i*i))+Q(Q(o*Q(m*m))+c);if(!(d!=Q(0)?K[a+100|0]:0)){J[a+96>>2]=0}a:{if(!(!K[a+112|0]|d==Q(0))){c=N[a+124>>2];e=N[a+120>>2];d=Q(c-e);if((d>Q(0)?d:Q(-d))>2]=3;break a}d=Q(Q(l-q)-N[a+116>>2]);if(d<=e){if(J[a+224>>2]!=1){J[a+92>>2]=0}J[a+224>>2]=1;break a}if(d>=c){if(J[a+224>>2]!=2){J[a+92>>2]=0}J[a+224>>2]=2;break a}J[a+224>>2]=0;J[a+92>>2]=0;break a}J[a+224>>2]=0}b:{if(K[b+20|0]){c=N[b+8>>2];d=Q(c*N[a+84>>2]);N[a+84>>2]=d;q=Q(c*N[a+96>>2]);N[a+96>>2]=q;l=Q(c*N[a+88>>2]);N[a+88>>2]=l;c=Q(c*N[a+92>>2]);N[a+92>>2]=c;A=Q(Q(p*Q(c+Q(q+Q(Q(i*l)+Q(d*Q(-g))))))+A);x=Q(x-Q(o*Q(c+Q(q+Q(Q(m*l)+Q(d*n))))));y=Q(y+Q(t*d));v=Q(v-Q(s*d));z=Q(z+Q(t*l));w=Q(w-Q(s*l));break b}J[a+84>>2]=0;J[a+88>>2]=0;J[a+92>>2]=0;J[a+96>>2]=0}k=J[b+28>>2]+P(u,12)|0;N[k+4>>2]=w;N[k>>2]=v;k=J[b+28>>2];N[(k+P(J[a+128>>2],12)|0)+8>>2]=x;k=k+P(J[a+132>>2],12)|0;N[k+4>>2]=z;N[k>>2]=y;N[(J[b+28>>2]+P(J[a+132>>2],12)|0)+8>>2]=A}function lg(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=0,f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=0,s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0);c=Fa-32|0;Fa=c;n=N[a+176>>2];o=N[a+180>>2];f=Q(n+o);r=J[b+28>>2];e=r+P(J[a+132>>2],12)|0;g=N[e+8>>2];s=N[e+4>>2];t=N[e>>2];e=P(J[a+128>>2],12)+r|0;h=N[e+8>>2];u=N[e+4>>2];v=N[e>>2];e=J[a+224>>2];if(!(!K[a+100|0]|(e|0)==3|f==Q(0))){d=Q(N[b>>2]*N[a+104>>2]);i=Q(-d);k=N[a+96>>2];l=Q(k-Q(N[a+220>>2]*Q(Q(g-h)-N[a+108>>2])));d=d>l?l:d;d=d>2]=d;d=Q(d-k);g=Q(Q(o*d)+g);h=Q(h-Q(n*d))}w=N[a+172>>2];x=N[a+168>>2];i=Q(Q(Q(s+Q(g*N[a+144>>2]))-u)-Q(h*N[a+136>>2]));k=Q(Q(Q(t-Q(g*N[a+148>>2]))-v)+Q(h*N[a+140>>2]));a:{if(!(!K[a+112|0]|!e|f==Q(0))){N[c+24>>2]=i;N[c+20>>2]=k;N[c+28>>2]=g-h;e=a+184|0;Vb(c+8|0,e,c+20|0);j=N[c+16>>2];l=Q(-j);p=N[c+12>>2];f=Q(-p);q=N[c+8>>2];d=Q(-q);b:{c:{switch(J[a+224>>2]-1|0){case 2:N[a+84>>2]=N[a+84>>2]-q;N[a+88>>2]=N[a+88>>2]-p;N[a+92>>2]=N[a+92>>2]-j;break b;case 0:m=N[a+92>>2];j=Q(m-j);if(j>2];N[c+12>>2]=Q(m*N[a+212>>2])-i;N[c+8>>2]=Q(m*f)-k;Ab(c,e,c+8|0);i=N[a+92>>2];f=N[c+4>>2];d=N[c>>2];J[a+92>>2]=0;N[a+84>>2]=d+N[a+84>>2];N[a+88>>2]=f+N[a+88>>2];l=Q(-i);break b}N[a+92>>2]=j;N[a+84>>2]=N[a+84>>2]-q;N[a+88>>2]=N[a+88>>2]-p;break b;case 1:break c;default:break b}}m=N[a+92>>2];j=Q(m-j);if(j>Q(0)){f=N[a+208>>2];N[c+12>>2]=Q(m*N[a+212>>2])-i;N[c+8>>2]=Q(m*f)-k;Ab(c,e,c+8|0);i=N[a+92>>2];f=N[c+4>>2];d=N[c>>2];J[a+92>>2]=0;N[a+84>>2]=d+N[a+84>>2];N[a+88>>2]=f+N[a+88>>2];l=Q(-i);break b}N[a+92>>2]=j;N[a+84>>2]=N[a+84>>2]-q;N[a+88>>2]=N[a+88>>2]-p}g=Q(Q(o*Q(l+Q(Q(N[a+144>>2]*f)-Q(d*N[a+148>>2]))))+g);h=Q(h-Q(n*Q(l+Q(Q(N[a+136>>2]*f)-Q(d*N[a+140>>2])))));break a}N[c+12>>2]=-i;N[c+8>>2]=-k;Ab(c+20|0,a+184|0,c+8|0);d=N[c+20>>2];N[a+84>>2]=d+N[a+84>>2];f=N[c+24>>2];N[a+88>>2]=f+N[a+88>>2];g=Q(Q(o*Q(Q(f*N[a+144>>2])-Q(d*N[a+148>>2])))+g);h=Q(h-Q(n*Q(Q(f*N[a+136>>2])-Q(d*N[a+140>>2]))))}e=J[b+28>>2]+P(J[a+128>>2],12)|0;N[e+4>>2]=u-Q(x*f);N[e>>2]=v-Q(x*d);e=J[b+28>>2];N[(e+P(J[a+128>>2],12)|0)+8>>2]=h;e=e+P(J[a+132>>2],12)|0;N[e+4>>2]=s+Q(w*f);N[e>>2]=t+Q(w*d);N[(J[b+28>>2]+P(J[a+132>>2],12)|0)+8>>2]=g;Fa=c+32|0}function Dd(a,b,c,d,e,f){var g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=0,q=Q(0),r=Q(0),s=0,t=Q(0);a:{if(!J[b+60>>2]){break a}b:{switch(J[b+56>>2]){case 0:J[a>>2]=1065353216;J[a+4>>2]=0;h=N[c+12>>2];g=N[b+48>>2];j=N[b+52>>2];k=N[c+8>>2];i=Q(N[c>>2]+Q(Q(h*g)-Q(j*k)));o=N[e+12>>2];m=N[b>>2];n=N[b+4>>2];q=N[e+8>>2];l=Q(N[e>>2]+Q(Q(o*m)-Q(n*q)));r=Q(i-l);j=Q(Q(Q(k*g)+Q(h*j))+N[c+4>>2]);k=Q(Q(Q(q*m)+Q(o*n))+N[e+4>>2]);h=Q(j-k);c:{if(!(Q(Q(r*r)+Q(h*h))>Q(14210854715202004e-30))){h=Q(1);g=Q(0);break c}g=Q(k-j);N[a+4>>2]=g;h=Q(l-i);N[a>>2]=h;o=Q(Y(Q(Q(h*h)+Q(g*g))));if(o>2]=g;h=Q(h*o);N[a>>2]=h}j=Q(j+Q(g*d));k=Q(k-Q(g*f));N[a+12>>2]=Q(j+k)*Q(.5);d=Q(i+Q(h*d));f=Q(l-Q(h*f));N[a+8>>2]=Q(d+f)*Q(.5);N[a+24>>2]=Q(Q(f-d)*h)+Q(g*Q(k-j));return;case 1:g=N[c+8>>2];i=N[b+40>>2];l=N[c+12>>2];j=N[b+44>>2];h=Q(Q(g*i)+Q(l*j));N[a+4>>2]=h;g=Q(Q(l*i)-Q(j*g));N[a>>2]=g;if(J[b+60>>2]<=0){break a}i=N[c+8>>2];l=N[b+48>>2];j=N[c+12>>2];k=N[b+52>>2];o=Q(Q(Q(i*l)+Q(j*k))+N[c+4>>2]);l=Q(N[c>>2]+Q(Q(j*l)-Q(k*i)));j=Q(h*f);k=Q(g*f);while(1){c=(p<<3)+a|0;i=N[e+8>>2];s=P(p,20)+b|0;m=N[s>>2];n=N[e+12>>2];q=N[s+4>>2];f=Q(Q(Q(i*m)+Q(n*q))+N[e+4>>2]);r=Q(f-j);t=f;i=Q(N[e>>2]+Q(Q(n*m)-Q(q*i)));f=Q(d-Q(Q(Q(i-l)*g)+Q(Q(f-o)*h)));m=Q(t+Q(h*f));N[c+12>>2]=Q(r+m)*Q(.5);n=Q(i-k);f=Q(i+Q(g*f));N[c+8>>2]=Q(n+f)*Q(.5);N[((p<<2)+a|0)+24>>2]=Q(Q(n-f)*g)+Q(h*Q(r-m));p=p+1|0;if((p|0)>2]){continue}break};break a;case 2:break b;default:break a}}g=N[e+8>>2];i=N[b+40>>2];l=N[e+12>>2];j=N[b+44>>2];h=Q(Q(g*i)+Q(l*j));N[a+4>>2]=h;g=Q(Q(l*i)-Q(j*g));N[a>>2]=g;if(J[b+60>>2]>0){i=N[e+8>>2];l=N[b+48>>2];j=N[e+12>>2];k=N[b+52>>2];o=Q(Q(Q(i*l)+Q(j*k))+N[e+4>>2]);l=Q(N[e>>2]+Q(Q(j*l)-Q(k*i)));j=Q(h*d);k=Q(g*d);while(1){e=(p<<3)+a|0;i=N[c+8>>2];s=P(p,20)+b|0;m=N[s>>2];n=N[c+12>>2];q=N[s+4>>2];d=Q(Q(Q(i*m)+Q(n*q))+N[c+4>>2]);r=Q(d-j);t=d;i=Q(N[c>>2]+Q(Q(n*m)-Q(q*i)));d=Q(f-Q(Q(Q(i-l)*g)+Q(Q(d-o)*h)));m=Q(t+Q(h*d));N[e+12>>2]=Q(r+m)*Q(.5);n=Q(i-k);d=Q(i+Q(g*d));N[e+8>>2]=Q(n+d)*Q(.5);N[((p<<2)+a|0)+24>>2]=Q(Q(n-d)*g)+Q(h*Q(r-m));p=p+1|0;if((p|0)>2]){continue}break}}N[a+4>>2]=-h;N[a>>2]=-g}}function tc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=Fa+-64|0;Fa=e;c=J[a+124>>2];J[e+56>>2]=J[a+120>>2];J[e+60>>2]=c;c=J[a+116>>2];J[e+48>>2]=J[a+112>>2];J[e+52>>2]=c;c=J[a+108>>2];J[e+40>>2]=J[a+104>>2];J[e+44>>2]=c;c=J[a+100>>2];J[e+32>>2]=J[a+96>>2];J[e+36>>2]=c;c=J[a+92>>2];J[e+24>>2]=J[a+88>>2];J[e+28>>2]=c;c=J[a+84>>2];J[e+16>>2]=J[a+80>>2];J[e+20>>2]=c;c=J[a+76>>2];J[e+8>>2]=J[a+72>>2];J[e+12>>2]=c;c=J[a+68>>2];J[e>>2]=J[a+64>>2];J[e+4>>2]=c;c=J[a+4>>2];J[a+4>>2]=c|4;n=c&2;h=J[a+52>>2];l=J[h+8>>2];g=l+12|0;j=J[a+48>>2];m=J[j+8>>2];c=m+12|0;o=K[h+38|0]|K[j+38|0];a:{if(o){l=J[j+12>>2];m=J[a+56>>2];h=J[h+12>>2];i=J[a+60>>2];d=Fa-128|0;Fa=d;J[d+88>>2]=0;J[d+80>>2]=0;J[d+84>>2]=0;J[d+60>>2]=0;J[d+52>>2]=0;J[d+56>>2]=0;j=d+36|0;Wb(j,l,m);Wb(d- -64|0,h,i);i=J[c+12>>2];J[d+100>>2]=J[c+8>>2];J[d+104>>2]=i;i=J[c+4>>2];J[d+92>>2]=J[c>>2];J[d+96>>2]=i;c=J[g+12>>2];J[d+116>>2]=J[g+8>>2];J[d+120>>2]=c;c=J[g+4>>2];J[d+108>>2]=J[g>>2];J[d+112>>2]=c;H[d+124|0]=1;I[d+28>>1]=0;Cd(d,d+24|0,j);Fa=d+128|0;f=N[d+16>>2]>2]=0;break a}d=a- -64|0;Ha[J[J[a>>2]>>2]](a,d,c,g);h=J[a+124>>2];b:{if((h|0)<=0){break b}g=J[e+60>>2];if((g|0)>0){while(1){j=d+P(k,20)|0;c=j;J[c+8>>2]=0;J[c+12>>2]=0;c=J[c+16>>2];f=0;c:{while(1){i=P(f,20)+e|0;if(J[i+16>>2]!=(c|0)){f=f+1|0;if((g|0)!=(f|0)){continue}break c}break}N[j+8>>2]=N[i+8>>2];N[j+12>>2]=N[i+12>>2]}k=k+1|0;if((h|0)!=(k|0)){continue}break}break b}if(h>>>0>=4){g=h&-4;while(1){c=d+P(f,20)|0;J[c+8>>2]=0;J[c+12>>2]=0;c=d+P(f|1,20)|0;J[c+8>>2]=0;J[c+12>>2]=0;c=d+P(f|2,20)|0;J[c+8>>2]=0;J[c+12>>2]=0;c=d+P(f|3,20)|0;J[c+8>>2]=0;J[c+12>>2]=0;f=f+4|0;k=k+4|0;if((g|0)!=(k|0)){continue}break}}g=h&3;if(!g){break b}while(1){c=d+P(f,20)|0;J[c+8>>2]=0;J[c+12>>2]=0;f=f+1|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}f=(h|0)>0;if((f|0)==(n>>>1|0)){break a}J[m+144>>2]=0;I[m+4>>1]=L[m+4>>1]|2;J[l+144>>2]=0;I[l+4>>1]=L[l+4>>1]|2}k=2;J[a+4>>2]=J[a+4>>2]&-3|(f?2:0);c=(b|0)!=0&f;d:{if(!(c&!n)){if(!n){break d}k=3;if(!b|f){break d}}Ha[J[J[b>>2]+(k<<2)>>2]](b,a)}if(!(!c|(o|0)!=0)){Ha[J[J[b>>2]+16>>2]](b,a,e)}Fa=e- -64|0}function Nc(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;c=b;b=J[b>>2]+7&-8;J[c>>2]=b+16;o=a;i=J[b>>2];d=J[b+4>>2];a=J[b+12>>2];m=a;g=Fa-32|0;Fa=g;a=a&2147483647;h=a;e=a-1006698496|0;a=a-1140785152|0;c=J[b+8>>2];b=c;a:{if((e|0)==(a|0)&b>>>0>>0|a>>>0>e>>>0){a=c;c=m<<4|a>>>28;b=a<<4|d>>>28;a=c;d=d&268435455;if((d|0)==134217728&(i|0)!=0|d>>>0>134217728){a=a+1073741824|0;b=b+1|0;a=b?a:a+1|0;break a}a=a+1073741824|0;if(i|(d|0)!=134217728){break a}d=b&1;b=d+b|0;a=b>>>0>>0?a+1|0:a;break a}if(!(!b&(h|0)==2147418112?!(d|i):h>>>0<2147418112)){a=c;c=m<<4|a>>>28;b=a<<4|d>>>28;a=c&524287|2146959360;break a}b=0;a=2146435072;if(h>>>0>1140785151){break a}a=0;n=h>>>16|0;if(n>>>0<15249){break a}b=i;a=d;e=m&65535|65536;h=e;l=c;f=c;j=n-15233|0;b:{if(j&64){c=b;e=j+-64|0;b=e&31;if((e&63)>>>0>=32){a=c<>>32-b|a<>>0>=32){c=k<>>32-f|e<>>0>=32){c=0;b=a>>>f|0}else{c=a>>>f|0;b=((1<>>f}f=p|b;e=c|e;b=j&31;if((j&63)>>>0>=32){c=k<>>32-b|a<>2]=b;J[g+20>>2]=a;J[g+24>>2]=f;J[g+28>>2]=e;b=15361-n|0;c:{if(b&64){d=l;b=b+-64|0;a=b&31;if((b&63)>>>0>=32){c=0;i=h>>>a|0}else{c=h>>>a|0;i=((1<>>a}d=c;l=0;h=0;break c}if(!b){break c}e=l;a=64-b|0;c=a&31;if((a&63)>>>0>=32){a=e<>>32-c|h<>>0>=32){c=0;e=d>>>i|0}else{c=d>>>i|0;e=((1<>>i}i=f|e;d=a|c;e=l;c=b&31;if((b&63)>>>0>=32){a=0;l=h>>>c|0}else{a=h>>>c|0;l=((1<>>c}h=a}J[g>>2]=i;J[g+4>>2]=d;J[g+8>>2]=l;J[g+12>>2]=h;b=J[g+8>>2];a=J[g+12>>2]<<4|b>>>28;b=b<<4;c=J[g>>2];h=J[g+4>>2];b=h>>>28|b;d=h&268435455;c=c|(J[g+16>>2]|J[g+24>>2]|(J[g+20>>2]|J[g+28>>2]))!=0;if((d|0)==134217728&(c|0)!=0|d>>>0>134217728){b=b+1|0;a=b?a:a+1|0;break a}if(c|(d|0)!=134217728){break a}c=b;b=b+(b&1)|0;a=c>>>0>b>>>0?a+1|0:a}Fa=g+32|0;x(0,b|0);x(1,m&-2147483648|a);q=o,r=+z(),O[q>>3]=r}function zd(a,b){var c=0,d=Q(0),e=Q(0),f=0,g=0,h=Q(0),i=0,j=Q(0),k=0,l=0,m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=0,y=Q(0);J[a+24>>2]=J[a+24>>2]+1;c=J[a>>2];if((c|0)==-1){J[a>>2]=b;J[(J[a+4>>2]+P(b,40)|0)+20>>2]=-1;return}i=J[a+4>>2];g=i+P(b,40)|0;n=N[g+12>>2];o=N[g+8>>2];p=N[g+4>>2];q=N[g>>2];while(1){k=c;c=i+P(c,40)|0;g=J[c+24>>2];if((g|0)!=-1){m=N[c+8>>2];j=N[c>>2];h=N[c+12>>2];d=N[c+4>>2];e=Q(Q((on?h:n)-(d>2];t=o>s?o:s;u=N[f+4>>2];v=p>2];j=q>2];d=h>2];a:{if(J[f+24>>2]==-1){d=Q(Q(t-j)+Q(d-v));h=Q(d+d);break a}d=Q(Q(t-j)+Q(d-v));w=Q(d+d);d=Q(Q(s-m)+Q(h-u));h=Q(w-Q(d+d))}y=Q(r+r);f=i+P(c,40)|0;r=N[f+8>>2];s=o>r?o:r;t=N[f+4>>2];u=p>2];m=q>2];d=j>2]==-1){d=Q(Q(s-m)+Q(d-u));w=Q(d+d);break b}d=Q(Q(s-m)+Q(d-u));w=Q(d+d);d=Q(Q(r-v)+Q(j-t));w=Q(w-Q(d+d))}e=Q(e+w);c=hy)|!(e>y)){continue}}break}f=P(k,40);i=J[(f+i|0)+20>>2];x=Ad(a);g=P(x,40);J[(g+J[a+4>>2]|0)+20>>2]=i;c=J[a+4>>2];l=c+g|0;J[l+16>>2]=0;c=c+f|0;d=N[c>>2];e=N[c+4>>2];N[l+4>>2]=e>p?p:e;N[l>>2]=d>q?q:d;d=N[c+8>>2];e=N[c+12>>2];N[l+12>>2]=e>2]=d>2];l=c+g|0;g=c+f|0;J[l+32>>2]=J[g+32>>2]+1;c:{if((i|0)!=-1){c=c+P(i,40)|0;J[((k|0)==J[c+24>>2]?c+24|0:c+28|0)>>2]=x;J[l+28>>2]=b;J[l+24>>2]=k;J[g+20>>2]=x;c=(J[a+4>>2]+P(b,40)|0)+20|0;break c}J[l+28>>2]=b;J[l+24>>2]=k;J[g+20>>2]=x;J[(J[a+4>>2]+P(b,40)|0)+20>>2]=x;c=a}J[c>>2]=x;c=J[(J[a+4>>2]+P(b,40)|0)+20>>2];if((c|0)!=-1){while(1){b=yd(a,c);k=J[a+4>>2];c=P(b,40);i=k+c|0;f=P(J[i+24>>2],40)+k|0;g=J[f+32>>2];k=k+P(J[i+28>>2],40)|0;b=J[k+32>>2];J[i+32>>2]=((b|0)<(g|0)?g:b)+1;j=N[k>>2];h=N[f>>2];d=N[f+4>>2];e=N[k+4>>2];N[i+4>>2]=d>2]=h>2];h=N[k+8>>2];d=N[f+12>>2];e=N[k+12>>2];N[i+12>>2]=d>e?d:e;N[i+8>>2]=h>2]|0)+20>>2];if((c|0)!=-1){continue}break}}}function Hh(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=0,j=0,k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=0,r=0,s=Q(0),t=Q(0),u=Q(0),v=0,w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=Q(0),D=Q(0),E=Q(0);c=J[a+48>>2];v=J[c+8>>2];J[a+108>>2]=v;j=J[a+52>>2];q=J[j+8>>2];J[a+112>>2]=q;o=N[c+32>>2];i=J[c+32>>2];p=N[c+28>>2];r=J[c+28>>2];J[a+140>>2]=r;J[a+144>>2]=i;E=N[j+32>>2];i=J[j+32>>2];k=N[j+28>>2];J[a+148>>2]=J[j+28>>2];J[a+152>>2]=i;t=N[c+120>>2];N[a+156>>2]=t;u=N[j+120>>2];N[a+160>>2]=u;w=N[c+128>>2];N[a+164>>2]=w;x=N[j+128>>2];N[a+168>>2]=x;l=N[a+84>>2];j=J[b+24>>2];c=P(v,12);r=j+c|0;e=N[r+8>>2];f=Ta(e);d=N[a+80>>2];e=Ua(e);i=J[b+28>>2];c=c+i|0;y=N[c>>2];z=N[c+4>>2];A=N[c+8>>2];q=P(q,12);c=q+i|0;B=N[c>>2];C=N[c+4>>2];D=N[c+8>>2];g=N[r>>2];c=j+q|0;h=N[c>>2];s=N[r+4>>2];m=N[c+4>>2];n=N[c+8>>2];d=Q(d-p);l=Q(l-o);p=Q(Q(e*d)-Q(f*l));N[a+124>>2]=p;l=Q(Q(f*d)+Q(e*l));N[a+128>>2]=l;e=N[a+92>>2];f=Ta(n);d=N[a+88>>2];o=Ua(n);k=Q(d-k);e=Q(e-E);n=Q(Q(o*k)-Q(f*e));N[a+132>>2]=n;k=Q(Q(f*k)+Q(o*e));N[a+136>>2]=k;d=Q(0);f=Q(0);e=Q(0);g=Q(Q(Q(h+n)-g)-p);h=Q(Q(Q(m+k)-s)-l);s=Q(Y(Q(Q(g*g)+Q(h*h))));if(s>Q(.004999999888241291)){f=Q(Q(1)/s);e=Q(h*f);f=Q(g*f)}N[a+120>>2]=e;N[a+116>>2]=f;g=Q(Q(n*e)-Q(f*k));h=Q(Q(x*g)*g);g=Q(Q(p*e)-Q(f*l));h=Q(h+Q(u+Q(Q(Q(w*g)*g)+t)));g=h!=Q(0)?Q(Q(1)/h):Q(0);N[a+172>>2]=g;m=N[a+68>>2];if(m>Q(0)){o=h;h=N[b>>2];d=Q(m*Q(6.2831854820251465));m=Q(d*Q(d*g));d=Q(h*Q(Q(h*m)+Q(d*Q(Q(g+g)*N[a+72>>2]))));d=d!=Q(0)?Q(Q(1)/d):Q(0);g=Q(o+d);N[a+172>>2]=g!=Q(0)?Q(Q(1)/g):Q(0);h=Q(Q(m*Q(h*Q(s-N[a+104>>2])))*d)}else{h=Q(0)}N[a+76>>2]=h;N[a+96>>2]=d;a:{if(K[b+20|0]){d=Q(N[b+8>>2]*N[a+100>>2]);N[a+100>>2]=d;e=Q(e*d);f=Q(f*d);D=Q(Q(x*Q(Q(n*e)+Q(f*Q(-k))))+D);A=Q(A-Q(w*Q(Q(p*e)+Q(f*Q(-l)))));C=Q(C+Q(u*e));B=Q(B+Q(u*f));z=Q(z-Q(t*e));y=Q(y-Q(t*f));break a}J[a+100>>2]=0}i=J[b+28>>2]+P(v,12)|0;N[i+4>>2]=z;N[i>>2]=y;i=J[b+28>>2];N[(i+P(J[a+108>>2],12)|0)+8>>2]=A;i=i+P(J[a+112>>2],12)|0;N[i+4>>2]=C;N[i>>2]=B;N[(J[b+28>>2]+P(J[a+112>>2],12)|0)+8>>2]=D}function sg(a,b){a=a|0;b=b|0;var c=Q(0),d=0,e=Q(0),f=Q(0),g=Q(0),h=0,i=Q(0),j=Q(0),k=0,l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=0,r=0,s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=0,x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=Q(0),D=Q(0),E=Q(0);d=J[a+48>>2];w=J[d+8>>2];J[a+120>>2]=w;k=J[a+52>>2];q=J[k+8>>2];J[a+124>>2]=q;o=N[d+32>>2];h=J[d+32>>2];c=N[d+28>>2];r=J[d+28>>2];J[a+160>>2]=r;J[a+164>>2]=h;s=N[k+32>>2];h=J[k+32>>2];j=N[k+28>>2];J[a+168>>2]=J[k+28>>2];J[a+172>>2]=h;t=N[d+120>>2];N[a+176>>2]=t;u=N[k+120>>2];N[a+180>>2]=u;x=N[d+128>>2];N[a+184>>2]=x;y=N[k+128>>2];N[a+188>>2]=y;p=N[a+96>>2];k=J[b+24>>2];d=P(w,12);r=k+d|0;e=N[r+8>>2];g=Ta(e);l=N[a+92>>2];e=Ua(e);h=J[b+28>>2];d=d+h|0;z=N[d>>2];A=N[d+4>>2];B=N[d+8>>2];q=P(q,12);d=q+h|0;C=N[d>>2];D=N[d+4>>2];E=N[d+8>>2];d=k+q|0;m=N[d>>2];f=N[d+4>>2];n=N[r>>2];v=N[r+4>>2];i=N[d+8>>2];c=Q(l-c);l=Q(p-o);p=Q(Q(e*c)-Q(g*l));N[a+144>>2]=p;l=Q(Q(g*c)+Q(e*l));N[a+148>>2]=l;e=N[a+104>>2];g=Ta(i);c=N[a+100>>2];i=Ua(i);c=Q(c-j);e=Q(e-s);j=Q(Q(i*c)-Q(g*e));N[a+152>>2]=j;o=Q(Q(g*c)+Q(i*e));N[a+156>>2]=o;m=Q(Q(m+j)-N[a+76>>2]);f=Q(Q(f+o)-N[a+80>>2]);s=Q(Y(Q(Q(m*m)+Q(f*f))));g=Q(0);e=Q(0);i=Q(0);c=Q(Q(n+p)-N[a+68>>2]);n=Q(Q(v+l)-N[a+72>>2]);v=Q(Y(Q(Q(c*c)+Q(n*n))));if(v>Q(.04999999701976776)){e=Q(Q(1)/v);i=Q(n*e);e=Q(c*e)}N[a+132>>2]=i;N[a+128>>2]=e;c=Q(0);if(s>Q(.04999999701976776)){g=Q(Q(1)/s);c=Q(f*g);g=Q(m*g)}N[a+140>>2]=c;N[a+136>>2]=g;m=N[a+112>>2];f=Q(Q(j*c)-Q(g*o));n=Q(Q(m*m)*Q(Q(Q(y*f)*f)+u));f=Q(Q(p*i)-Q(e*l));f=Q(n+Q(Q(Q(x*f)*f)+t));N[a+192>>2]=f>Q(0)?Q(Q(1)/f):f;a:{if(K[b+20|0]){f=Q(N[b+8>>2]*N[a+116>>2]);N[a+116>>2]=f;n=j;j=c;c=Q(f*Q(-m));j=Q(j*c);g=Q(g*c);E=Q(Q(y*Q(Q(n*j)+Q(g*Q(-o))))+E);c=i;i=Q(-f);c=Q(c*i);e=Q(e*i);B=Q(Q(x*Q(Q(p*c)+Q(e*Q(-l))))+B);D=Q(D+Q(u*j));C=Q(C+Q(u*g));A=Q(A+Q(t*c));z=Q(z+Q(t*e));break a}J[a+116>>2]=0}h=J[b+28>>2]+P(w,12)|0;N[h+4>>2]=A;N[h>>2]=z;h=J[b+28>>2];N[(h+P(J[a+120>>2],12)|0)+8>>2]=B;h=h+P(J[a+124>>2],12)|0;N[h+4>>2]=D;N[h>>2]=C;N[(J[b+28>>2]+P(J[a+124>>2],12)|0)+8>>2]=E}function Sf(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=0,i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=0,p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=Q(0);c=Fa-80|0;Fa=c;h=J[b+24>>2];o=h+P(J[a+116>>2],12)|0;w=N[o>>2];h=h+P(J[a+120>>2],12)|0;x=N[h>>2];y=N[o+4>>2];z=N[h+4>>2];q=N[o+8>>2];j=N[a+144>>2];l=N[a+84>>2];r=N[h+8>>2];i=N[a+152>>2];s=N[a+92>>2];u=N[a+160>>2];v=N[a+156>>2];m=N[a+140>>2];p=N[a+80>>2];n=N[a+148>>2];t=N[a+88>>2];k=N[a+164>>2];e=N[a+168>>2];A=Q(k+e);N[c+76>>2]=A;g=Ta(r);f=Ua(r);d=Ta(q);B=Ua(q);m=Q(p-m);p=Q(l-j);l=Q(Q(B*m)-Q(d*p));n=Q(t-n);t=Q(s-i);j=Q(Q(f*n)-Q(g*t));i=Q(Q(k*l)+Q(e*j));N[c+72>>2]=i;N[c- -64>>2]=i;C=Q(v+u);N[c+60>>2]=Q(e*Q(j*j))+Q(Q(k*Q(l*l))+C);i=Q(Q(d*m)+Q(B*p));s=Q(-i);d=Q(Q(g*n)+Q(f*t));g=Q(Q(k*s)-Q(e*d));N[c+68>>2]=g;N[c+52>>2]=g;g=Q(Q(k*Q(l*s))-Q(e*Q(j*d)));N[c+56>>2]=g;N[c+44>>2]=Q(e*Q(d*d))+Q(Q(k*Q(i*i))+C);N[c+48>>2]=g;g=Q(Q(Q(z+d)-y)-i);f=Q(Q(Q(x+j)-w)-l);a:{if(N[a+68>>2]>Q(0)){N[c+24>>2]=f;N[c+28>>2]=g;Ab(c+12|0,c+44|0,c+24|0);n=e;m=d;d=N[c+12>>2];e=N[c+16>>2];j=Q(Q(n*Q(Q(m*d)-Q(j*e)))+r);k=Q(q-Q(k*Q(Q(i*d)-Q(l*e))));i=Q(Y(Q(Q(f*f)+Q(g*g))));e=Q(-e);f=Q(-d);o=1;break a}m=Q(-d);N[c+40>>2]=g;N[c+36>>2]=f;d=N[a+96>>2];N[c+28>>2]=g;N[c+24>>2]=f;d=Q(Q(r-q)-d);N[c+32>>2]=d;p=d>Q(0)?d:Q(-d);i=Q(Y(Q(Q(f*f)+Q(g*g))));n=e;b:{if(A>Q(0)){Vb(c+12|0,c+44|0,c+24|0);d=Q(-N[c+20>>2]);f=Q(-N[c+12>>2]);e=Q(-N[c+16>>2]);break b}Ab(c+12|0,c+44|0,c+36|0);f=Q(-N[c+12>>2]);d=Q(0);e=Q(-N[c+16>>2])}j=Q(Q(n*Q(Q(Q(j*e)+Q(f*m))+d))+r);k=Q(q-Q(k*Q(Q(Q(l*e)+Q(f*s))+d)));o=p<=Q(.03490658849477768)}h=J[b+24>>2]+P(J[a+116>>2],12)|0;N[h+4>>2]=y-Q(v*e);N[h>>2]=w-Q(v*f);h=J[b+24>>2];N[(h+P(J[a+116>>2],12)|0)+8>>2]=k;h=h+P(J[a+120>>2],12)|0;N[h+4>>2]=z+Q(u*e);N[h>>2]=x+Q(u*f);N[(J[b+24>>2]+P(J[a+120>>2],12)|0)+8>>2]=j;Fa=c+80|0;return o&i<=Q(.004999999888241291)}function kg(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=0,f=Q(0),g=0,h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0);e=J[b+24>>2];g=e+P(J[a+132>>2],12)|0;m=N[g+8>>2];v=N[g+4>>2];w=N[g>>2];g=e+P(J[a+128>>2],12)|0;n=N[g+8>>2];l=N[g+4>>2];x=N[g>>2];p=N[a+180>>2];o=N[a+176>>2];a:{if(!K[a+112|0]){break a}e=J[a+224>>2];if(!e|Q(o+p)==Q(0)){break a}c=Q(Q(m-n)-N[a+116>>2]);b:{c:{switch(e-1|0){case 2:c=Q(c-N[a+120>>2]);c=cQ(0)?c:Q(-c);d=Q(c*Q(-N[a+220>>2]));break b;case 0:f=Q(c-N[a+120>>2]);c=Q(f+Q(.03490658849477768));c=c>2]));s=Q(-f);break b;case 1:break c;default:break b}}s=Q(c-N[a+124>>2]);c=Q(s+Q(-.03490658849477768));c=c>2]))}m=Q(Q(p*d)+m);n=Q(n-Q(o*d))}h=N[a+164>>2];i=N[a+80>>2];y=Ta(m);j=N[a+160>>2];d=N[a+76>>2];z=Ua(m);f=N[a+156>>2];c=N[a+72>>2];k=Q(d-j);h=Q(i-h);q=Q(Q(y*k)+Q(z*h));i=Ta(n);j=Q(N[a+68>>2]-N[a+152>>2]);d=Ua(n);c=Q(c-f);r=Q(Q(i*j)+Q(d*c));t=N[a+168>>2];u=N[a+172>>2];f=Q(t+u);A=Q(Q(Q(p*q)*q)+Q(Q(Q(o*r)*r)+f));B=l;l=Q(Q(Q(v+q)-l)-r);h=Q(Q(z*k)-Q(h*y));k=Q(Q(d*j)-Q(c*i));i=Q(Q(Q(w+h)-x)-k);c=Q(p*h);j=Q(Q(Q(k*Q(-o))*r)-Q(q*c));f=Q(Q(c*h)+Q(Q(Q(o*k)*k)+f));c=Q(Q(A*f)-Q(j*j));c=Q(-(c!=Q(0)?Q(Q(1)/c):c));d=Q(Q(Q(A*l)-Q(i*j))*c);N[g+4>>2]=B-Q(t*d);c=Q(Q(Q(f*i)-Q(l*j))*c);N[g>>2]=x-Q(t*c);e=J[b+24>>2];N[(e+P(J[a+128>>2],12)|0)+8>>2]=n-Q(o*Q(Q(k*d)-Q(c*r)));e=e+P(J[a+132>>2],12)|0;N[e+4>>2]=v+Q(u*d);N[e>>2]=w+Q(u*c);N[(J[b+24>>2]+P(J[a+132>>2],12)|0)+8>>2]=Q(p*Q(Q(h*d)-Q(c*q)))+m;return Q(Y(Q(Q(i*i)+Q(l*l))))<=Q(.004999999888241291)&s<=Q(.03490658849477768)}function nh(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=0,f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=0,k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=0,q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=0,w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=Q(0),D=Q(0),E=0,F=Q(0);e=J[a+48>>2];v=J[e+8>>2];J[a+104>>2]=v;j=J[a+52>>2];p=J[j+8>>2];J[a+108>>2]=p;D=N[e+32>>2];c=J[e+32>>2];f=N[e+28>>2];J[a+128>>2]=J[e+28>>2];J[a+132>>2]=c;k=N[j+32>>2];E=J[j+32>>2];i=N[j+28>>2];c=J[j+28>>2];J[a+136>>2]=c;J[a+140>>2]=E;r=N[e+120>>2];N[a+156>>2]=r;s=N[j+120>>2];N[a+160>>2]=s;d=N[e+128>>2];N[a+164>>2]=d;q=N[j+128>>2];N[a+168>>2]=q;e=J[b+28>>2];j=P(p,12);c=e+j|0;w=N[c+8>>2];x=N[c+4>>2];y=N[c>>2];p=P(v,12);c=e+p|0;z=N[c+8>>2];A=N[c+4>>2];B=N[c>>2];e=J[b+24>>2];c=e+p|0;o=N[c>>2];e=e+j|0;t=N[e>>2];u=N[c+4>>2];F=N[e+4>>2];g=N[c+8>>2];n=N[e+8>>2];l=Q(d+q);N[a+188>>2]=l>Q(0)?Q(Q(1)/l):l;h=Ua(n);m=Ta(n);l=Q(Q(m*Q(-i))-Q(h*k));N[a+124>>2]=l;m=Q(Q(m*k)-Q(h*i));N[a+120>>2]=m;i=N[a+72>>2];h=Ua(g);k=N[a+68>>2];C=Ta(g);f=Q(k-f);k=Q(i-D);i=Q(Q(C*f)+Q(h*k));N[a+116>>2]=i;h=Q(Q(h*f)-Q(k*C));N[a+112>>2]=h;N[a+148>>2]=Q(Q(F+l)-u)-i;N[a+144>>2]=Q(Q(t+m)-o)-h;f=Q(r+s);o=Q(Q(Q(q*l)*l)+Q(Q(Q(d*i)*i)+f));k=o;o=Q(q*m);t=Q(Q(o*m)+Q(Q(Q(d*h)*h)+f));u=Q(-d);d=Q(Q(Q(h*u)*i)-Q(l*o));f=Q(Q(k*t)-Q(d*d));f=f!=Q(0)?Q(Q(1)/f):f;N[a+184>>2]=k*f;N[a+172>>2]=t*f;d=Q(d*Q(-f));N[a+180>>2]=d;N[a+176>>2]=d;N[a+152>>2]=Q(n-g)-N[a+76>>2];a:{if(K[b+20|0]){g=N[b+8>>2];d=Q(g*N[a+80>>2]);N[a+80>>2]=d;n=Q(g*N[a+88>>2]);N[a+88>>2]=n;g=Q(g*N[a+84>>2]);N[a+84>>2]=g;w=Q(Q(q*Q(Q(Q(m*g)-Q(d*l))+n))+w);z=Q(Q(u*Q(Q(Q(h*g)-Q(d*i))+n))+z);y=Q(y+Q(s*d));B=Q(B-Q(r*d));x=Q(x+Q(s*g));A=Q(A-Q(r*g));break a}J[a+88>>2]=0;J[a+80>>2]=0;J[a+84>>2]=0}c=J[b+28>>2]+P(v,12)|0;N[c+4>>2]=A;N[c>>2]=B;c=J[b+28>>2];N[(c+P(J[a+104>>2],12)|0)+8>>2]=z;c=c+P(J[a+108>>2],12)|0;N[c+4>>2]=x;N[c>>2]=y;N[(J[b+28>>2]+P(J[a+108>>2],12)|0)+8>>2]=w}function Zf(a,b){a=a|0;b=b|0;var c=Q(0),d=0,e=Q(0),f=0,g=Q(0),h=Q(0),i=0,j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=0,p=0,q=Q(0),r=Q(0),s=0,t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=Q(0),D=Q(0),E=Q(0);d=J[a+48>>2];s=J[d+8>>2];J[a+96>>2]=s;i=J[a+52>>2];o=J[i+8>>2];J[a+100>>2]=o;k=N[d+32>>2];f=J[d+32>>2];m=N[d+28>>2];p=J[d+28>>2];J[a+128>>2]=p;J[a+132>>2]=f;A=N[i+32>>2];f=J[i+32>>2];h=N[i+28>>2];J[a+136>>2]=J[i+28>>2];J[a+140>>2]=f;q=N[d+120>>2];N[a+144>>2]=q;r=N[i+120>>2];N[a+148>>2]=r;t=N[d+128>>2];N[a+152>>2]=t;u=N[i+128>>2];N[a+156>>2]=u;e=N[a+72>>2];i=J[b+24>>2];d=P(s,12);p=i+d|0;n=N[p+8>>2];l=Ta(n);c=N[a+68>>2];g=Ua(n);f=J[b+28>>2];d=d+f|0;n=N[d>>2];v=N[d+4>>2];w=N[d+8>>2];o=P(o,12);d=o+f|0;x=N[d>>2];y=N[d+4>>2];z=N[d+8>>2];B=N[p>>2];d=i+o|0;C=N[d>>2];D=N[p+4>>2];E=N[d+4>>2];j=N[d+8>>2];c=Q(c-m);e=Q(e-k);m=Q(Q(g*c)-Q(l*e));N[a+112>>2]=m;l=Q(Q(l*c)+Q(g*e));N[a+116>>2]=l;g=N[a+80>>2];e=Ta(j);c=N[a+76>>2];j=Ua(j);h=Q(c-h);c=Q(g-A);g=Q(Q(j*h)-Q(e*c));N[a+120>>2]=g;j=Q(Q(e*h)+Q(j*c));N[a+124>>2]=j;h=Q(Q(Q(C+g)-B)-m);c=Q(Q(Q(E+j)-D)-l);e=Q(Y(Q(Q(h*h)+Q(c*c))));N[a+88>>2]=e;J[a+164>>2]=(Q(e-N[a+84>>2])>Q(0))<<1;if(e>Q(.004999999888241291)){k=c;c=Q(Q(1)/e);e=Q(k*c);N[a+108>>2]=e;h=Q(h*c);N[a+104>>2]=h;c=Q(Q(g*e)-Q(h*j));k=Q(Q(u*c)*c);c=Q(Q(m*e)-Q(h*l));c=Q(k+Q(r+Q(Q(Q(t*c)*c)+q)));N[a+160>>2]=c!=Q(0)?Q(Q(1)/c):Q(0);a:{if(K[b+20|0]){c=Q(N[b+8>>2]*N[a+92>>2]);N[a+92>>2]=c;k=g;g=Q(e*c);e=Q(h*c);z=Q(Q(u*Q(Q(k*g)+Q(e*Q(-j))))+z);w=Q(w-Q(t*Q(Q(m*g)+Q(e*Q(-l)))));y=Q(y+Q(r*g));x=Q(x+Q(r*e));v=Q(v-Q(q*g));n=Q(n-Q(q*e));break a}J[a+92>>2]=0}f=J[b+28>>2]+P(s,12)|0;N[f+4>>2]=v;N[f>>2]=n;f=J[b+28>>2];N[(f+P(J[a+96>>2],12)|0)+8>>2]=w;f=f+P(J[a+100>>2],12)|0;N[f+4>>2]=y;N[f>>2]=x;N[(J[b+28>>2]+P(J[a+100>>2],12)|0)+8>>2]=z;return}J[a+160>>2]=0;J[a+104>>2]=0;J[a+108>>2]=0;J[a+92>>2]=0}function Ng(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=Q(0),f=Q(0),g=0,h=Q(0),i=Q(0),j=0,k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=0,p=0,q=Q(0),r=0,s=0,t=0;g=J[J[a+48>>2]+12>>2];p=J[J[a+52>>2]+12>>2];J[b+60>>2]=0;e=N[c+12>>2];f=N[d+8>>2];h=N[p+12>>2];l=N[d+12>>2];m=N[p+16>>2];n=Q(Q(Q(Q(f*h)+Q(l*m))+N[d+4>>2])-N[c+4>>2]);i=N[c+8>>2];f=Q(Q(N[d>>2]+Q(Q(l*h)-Q(m*f)))-N[c>>2]);q=Q(Q(e*n)-Q(i*f));n=Q(Q(e*f)+Q(n*i));d=g+84|0;o=g+20|0;e=Q(N[g+8>>2]+N[p+8>>2]);a=1;c=0;g=J[g+148>>2];a:{if((g|0)>0){f=Q(-34028234663852886e22);a=0;while(1){j=a<<3;r=j+d|0;j=j+o|0;h=Q(Q(N[r>>2]*Q(n-N[j>>2]))+Q(Q(q-N[j+4>>2])*N[r+4>>2]));if(h>e){break a}j=f(j|0)?j:0)<<3)|0;j=J[g+4>>2];f=N[g+4>>2];r=J[g>>2];h=N[g>>2];g=o;o=c<<3;g=g+o|0;s=J[g+4>>2];l=N[g+4>>2];t=J[g>>2];m=N[g>>2];b:{if(a){J[b+56>>2]=1;J[b+60>>2]=1;a=d+o|0;c=J[a>>2];a=J[a+4>>2];N[b+52>>2]=Q(l+f)*Q(.5);N[b+48>>2]=Q(m+h)*Q(.5);J[b+40>>2]=c;J[b+44>>2]=a;break b}i=Q(n-m);k=Q(q-l);if(Q(Q(i*Q(h-m))+Q(k*Q(f-l)))<=Q(0)){f=Q(e*e);e=Q(Q(i*i)+Q(k*k));if(f>2]=1;J[b+60>>2]=1;N[b+40>>2]=i;N[b+44>>2]=k;e=Q(Y(e));if(!(e>2]=k*e;N[b+40>>2]=i*e}J[b+48>>2]=t;J[b+52>>2]=s;break b}i=Q(n-h);k=Q(q-f);if(Q(Q(i*Q(m-h))+Q(k*Q(l-f)))<=Q(0)){f=Q(e*e);e=Q(Q(i*i)+Q(k*k));if(f>2]=1;J[b+60>>2]=1;N[b+40>>2]=i;N[b+44>>2]=k;e=Q(Y(e));if(!(e>2]=k*e;N[b+40>>2]=i*e}J[b+48>>2]=r;J[b+52>>2]=j;break b}h=Q(Q(m+h)*Q(.5));a=d+(c<<3)|0;f=Q(Q(l+f)*Q(.5));if(e>2])+Q(Q(q-f)*N[a+4>>2]))){break a}J[b+56>>2]=1;J[b+60>>2]=1;c=J[a+4>>2];a=J[a>>2];N[b+52>>2]=f;N[b+48>>2]=h;J[b+40>>2]=a;J[b+44>>2]=c}a=J[p+16>>2];c=J[p+12>>2];J[b+16>>2]=0;J[b>>2]=c;J[b+4>>2]=a}}function md(a,b){var c=0,d=Q(0),e=0,f=0;c=Fa-464|0;Fa=c;Sa(8296,0);O[c+448>>3]=N[a+16>>2];Sa(7384,c+448|0);O[c+432>>3]=N[a+20>>2];Sa(7353,c+432|0);O[c+416>>3]=N[a>>2];Sa(7144,c+416|0);J[c+400>>2]=K[a+38|0];Sa(9511,c+400|0);J[c+384>>2]=L[a+32>>1];Sa(9787,c+384|0);J[c+368>>2]=L[a+34>>1];Sa(9829,c+368|0);J[c+352>>2]=I[a+36>>1];Sa(9867,c+352|0);a:{b:{c:{d:{e:{f:{a=J[a+12>>2];switch(J[a+4>>2]){case 0:break c;case 3:break d;case 2:break e;case 1:break f;default:break a}}Sa(8031,0);O[c+144>>3]=N[a+8>>2];Sa(7235,c+144|0);d=N[a+28>>2];O[c+136>>3]=N[a+32>>2];O[c+128>>3]=d;Sa(9153,c+128|0);d=N[a+12>>2];O[c+120>>3]=N[a+16>>2];O[c+112>>3]=d;Sa(9109,c+112|0);d=N[a+20>>2];O[c+104>>3]=N[a+24>>2];O[c+96>>3]=d;Sa(9065,c+96|0);d=N[a+36>>2];O[c+88>>3]=N[a+40>>2];O[c+80>>3]=d;Sa(9021,c+80|0);J[c+64>>2]=K[a+44|0];Sa(9722,c- -64|0);J[c+48>>2]=K[a+45|0];Sa(9686,c+48|0);break b}Sa(7953,0);J[c+208>>2]=8;Sa(8335,c+208|0);e=J[a+148>>2];if((e|0)>0){while(1){e=a+(f<<3)|0;d=N[e+20>>2];O[c+192>>3]=N[e+24>>2];J[c+176>>2]=f;O[c+184>>3]=d;Sa(8776,c+176|0);f=f+1|0;e=J[a+148>>2];if((f|0)<(e|0)){continue}break}}J[c+160>>2]=e;Sa(9906,c+160|0);break b}Sa(7980,0);J[c+336>>2]=J[a+16>>2];Sa(8335,c+336|0);e=J[a+16>>2];if((e|0)>0){while(1){e=J[a+12>>2]+(f<<3)|0;d=N[e>>2];O[c+320>>3]=N[e+4>>2];J[c+304>>2]=f;O[c+312>>3]=d;Sa(8776,c+304|0);f=f+1|0;e=J[a+16>>2];if((f|0)<(e|0)){continue}break}}J[c+288>>2]=e;Sa(9930,c+288|0);d=N[a+20>>2];O[c+280>>3]=N[a+24>>2];O[c+272>>3]=d;Sa(8564,c+272|0);d=N[a+28>>2];O[c+264>>3]=N[a+32>>2];O[c+256>>3]=d;Sa(8611,c+256|0);J[c+240>>2]=K[a+36|0];Sa(9348,c+240|0);J[c+224>>2]=K[a+37|0];Sa(9387,c+224|0);break b}Sa(8005,0);O[c+32>>3]=N[a+8>>2];Sa(7235,c+32|0);d=N[a+12>>2];O[c+24>>3]=N[a+16>>2];O[c+16>>3]=d;Sa(8700,c+16|0)}Sa(10169,0);Sa(7929,0);Sa(10169,0);J[c>>2]=b;Sa(9269,c)}Fa=c+464|0}function dd(a,b){var c=0,d=0,e=0,f=0,g=Q(0),h=0,i=0,j=Q(0),k=0,l=Q(0),m=0,n=0,o=0;c=J[b+4>>2];J[a>>2]=J[b>>2];J[a+4>>2]=c;c=J[b+20>>2];J[a+16>>2]=J[b+16>>2];J[a+20>>2]=c;c=J[b+12>>2];J[a+8>>2]=J[b+8>>2];J[a+12>>2]=c;c=J[b+40>>2];J[a+32>>2]=c;d=J[b+28>>2];J[a+48>>2]=d;n=a,o=wb(c,P(d,88)),J[n+36>>2]=o;n=a,o=wb(J[a+32>>2],P(J[a+48>>2],156)),J[n+40>>2]=o;J[a+24>>2]=J[b+32>>2];J[a+28>>2]=J[b+36>>2];J[a+44>>2]=J[b+24>>2];if(J[a+48>>2]>0){while(1){b=J[J[a+44>>2]+(h<<2)>>2];c=J[b+48>>2];j=N[J[c+12>>2]+8>>2];d=J[b+52>>2];g=N[J[d+12>>2]+8>>2];k=J[b+124>>2];e=J[d+8>>2];f=J[c+8>>2];c=J[a+40>>2]+P(h,156)|0;N[c+136>>2]=N[b+136>>2];N[c+140>>2]=N[b+140>>2];N[c+144>>2]=N[b+144>>2];J[c+112>>2]=J[f+8>>2];J[c+116>>2]=J[e+8>>2];N[c+120>>2]=N[f+120>>2];N[c+124>>2]=N[e+120>>2];N[c+128>>2]=N[f+128>>2];l=N[e+128>>2];J[c+152>>2]=h;N[c+132>>2]=l;J[c+148>>2]=k;J[c+80>>2]=0;J[c+84>>2]=0;J[c+88>>2]=0;J[c+92>>2]=0;J[c+96>>2]=0;J[c+100>>2]=0;J[c+104>>2]=0;J[c+108>>2]=0;d=J[a+36>>2]+P(h,88)|0;J[d+32>>2]=J[f+8>>2];J[d+36>>2]=J[e+8>>2];N[d+40>>2]=N[f+120>>2];N[d+44>>2]=N[e+120>>2];i=J[f+32>>2];J[d+48>>2]=J[f+28>>2];J[d+52>>2]=i;i=J[e+32>>2];J[d+56>>2]=J[e+28>>2];J[d+60>>2]=i;N[d+64>>2]=N[f+128>>2];N[d+68>>2]=N[e+128>>2];e=J[b+108>>2];J[d+16>>2]=J[b+104>>2];J[d+20>>2]=e;e=J[b+116>>2];f=J[b+112>>2];J[d+84>>2]=k;J[d+24>>2]=f;J[d+28>>2]=e;N[d+80>>2]=g;N[d+76>>2]=j;J[d+72>>2]=J[b+120>>2];if((k|0)>0){i=b- -64|0;e=0;while(1){b=c+P(e,36)|0;f=P(e,20)+i|0;a:{if(!K[a+20|0]){j=Q(0);g=Q(0);break a}g=N[a+8>>2];j=Q(g*N[f+12>>2]);g=Q(g*N[f+8>>2])}J[b+32>>2]=0;J[b+24>>2]=0;J[b+28>>2]=0;N[b+20>>2]=j;N[b+16>>2]=g;J[b+8>>2]=0;J[b+12>>2]=0;J[b>>2]=0;J[b+4>>2]=0;m=J[f+4>>2];b=d+(e<<3)|0;J[b>>2]=J[f>>2];J[b+4>>2]=m;e=e+1|0;if((k|0)!=(e|0)){continue}break}}h=h+1|0;if((h|0)>2]){continue}break}}return a}function sh(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=0,g=Q(0),h=Q(0),i=Q(0),j=0,k=0,l=0,m=Q(0),n=Q(0),o=0,p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=0,v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0);j=J[a+48>>2];u=J[j+8>>2];J[a+104>>2]=u;k=J[a+52>>2];o=J[k+8>>2];J[a+108>>2]=o;q=N[j+32>>2];f=J[j+32>>2];n=N[j+28>>2];l=J[j+28>>2];J[a+128>>2]=l;J[a+132>>2]=f;r=N[k+32>>2];f=J[k+32>>2];g=N[k+28>>2];J[a+136>>2]=J[k+28>>2];J[a+140>>2]=f;s=N[j+120>>2];N[a+144>>2]=s;t=N[k+120>>2];N[a+148>>2]=t;d=N[j+128>>2];N[a+152>>2]=d;p=N[k+128>>2];N[a+156>>2]=p;h=N[a+72>>2];j=P(u,12);k=J[b+24>>2];e=N[(j+k|0)+8>>2];m=Ua(e);i=N[a+68>>2];e=Ta(e);f=J[b+28>>2];o=P(o,12);l=f+o|0;v=N[l+8>>2];w=N[l+4>>2];x=N[l>>2];l=j+f|0;y=N[l+8>>2];z=N[l+4>>2];A=N[l>>2];c=N[(k+o|0)+8>>2];i=Q(i-n);h=Q(h-q);n=Q(Q(e*i)+Q(m*h));N[a+116>>2]=n;m=Q(Q(m*i)-Q(h*e));N[a+112>>2]=m;e=Q(d+p);N[a+176>>2]=e>Q(0)?Q(Q(1)/e):e;e=N[a+80>>2];h=Ua(c);i=N[a+76>>2];c=Ta(c);g=Q(i-g);i=Q(e-r);e=Q(Q(c*g)+Q(h*i));N[a+124>>2]=e;h=Q(Q(h*g)-Q(i*c));N[a+120>>2]=h;c=Q(s+t);g=Q(Q(Q(p*e)*e)+Q(Q(Q(d*n)*n)+c));q=g;g=Q(p*h);i=Q(Q(g*h)+Q(Q(Q(d*m)*m)+c));r=Q(-d);d=Q(Q(Q(m*r)*n)-Q(e*g));c=Q(Q(q*i)-Q(d*d));c=c!=Q(0)?Q(Q(1)/c):c;N[a+172>>2]=q*c;N[a+160>>2]=i*c;d=Q(d*Q(-c));N[a+168>>2]=d;N[a+164>>2]=d;a:{if(K[b+20|0]){c=N[b+8>>2];d=Q(c*N[a+84>>2]);N[a+84>>2]=d;g=Q(c*N[a+92>>2]);N[a+92>>2]=g;c=Q(c*N[a+88>>2]);N[a+88>>2]=c;v=Q(Q(p*Q(g+Q(Q(h*c)-Q(d*e))))+v);y=Q(Q(r*Q(g+Q(Q(m*c)-Q(d*n))))+y);x=Q(x+Q(t*d));A=Q(A-Q(s*d));w=Q(w+Q(t*c));z=Q(z-Q(s*c));break a}J[a+92>>2]=0;J[a+84>>2]=0;J[a+88>>2]=0}f=J[b+28>>2]+P(u,12)|0;N[f+4>>2]=z;N[f>>2]=A;f=J[b+28>>2];N[(f+P(J[a+104>>2],12)|0)+8>>2]=y;f=f+P(J[a+108>>2],12)|0;N[f+4>>2]=w;N[f>>2]=x;N[(J[b+28>>2]+P(J[a+108>>2],12)|0)+8>>2]=v}function Hd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=J[a+8>>2];e=J[a+4>>2];if(f-e>>3>>>0>=b>>>0){a:{if(!b){break a}d=e;f=b&7;if(f){while(1){i=J[c+4>>2];J[d>>2]=J[c>>2];J[d+4>>2]=i;d=d+8|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}}e=(b<<3)+e|0;if((b-1&536870911)>>>0<7){break a}while(1){b=J[c+4>>2];J[d>>2]=J[c>>2];J[d+4>>2]=b;b=J[c+4>>2];J[d+8>>2]=J[c>>2];J[d+12>>2]=b;b=J[c+4>>2];J[d+16>>2]=J[c>>2];J[d+20>>2]=b;b=J[c+4>>2];J[d+24>>2]=J[c>>2];J[d+28>>2]=b;b=J[c+4>>2];J[d+32>>2]=J[c>>2];J[d+36>>2]=b;b=J[c+4>>2];J[d+40>>2]=J[c>>2];J[d+44>>2]=b;b=J[c+4>>2];J[d+48>>2]=J[c>>2];J[d+52>>2]=b;b=J[c+4>>2];J[d+56>>2]=J[c>>2];J[d+60>>2]=b;d=d- -64|0;if((e|0)!=(d|0)){continue}break}}J[a+4>>2]=e;return}b:{d=J[a>>2];j=e-d>>3;h=j+b|0;if(h>>>0<536870912){f=f-d|0;d=f>>2;h=f>>>0>=2147483640?536870911:d>>>0>h>>>0?d:h;if(h){if(h>>>0>=536870912){break b}k=Ra(h<<3)}g=(j<<3)+k|0;d=g;j=b&7;if(j){while(1){f=J[c+4>>2];J[d>>2]=J[c>>2];J[d+4>>2]=f;d=d+8|0;i=i+1|0;if((j|0)!=(i|0)){continue}break}}i=(b<<3)+g|0;if((b-1&536870911)>>>0>=7){while(1){b=J[c+4>>2];J[d>>2]=J[c>>2];J[d+4>>2]=b;b=J[c+4>>2];J[d+8>>2]=J[c>>2];J[d+12>>2]=b;b=J[c+4>>2];J[d+16>>2]=J[c>>2];J[d+20>>2]=b;b=J[c+4>>2];J[d+24>>2]=J[c>>2];J[d+28>>2]=b;b=J[c+4>>2];J[d+32>>2]=J[c>>2];J[d+36>>2]=b;b=J[c+4>>2];J[d+40>>2]=J[c>>2];J[d+44>>2]=b;b=J[c+4>>2];J[d+48>>2]=J[c>>2];J[d+52>>2]=b;b=J[c+4>>2];J[d+56>>2]=J[c>>2];J[d+60>>2]=b;d=d- -64|0;if((i|0)!=(d|0)){continue}break}}d=J[a>>2];if((d|0)!=(e|0)){while(1){e=e-8|0;b=J[e+4>>2];g=g-8|0;c=g;J[c>>2]=J[e>>2];J[c+4>>2]=b;if((d|0)!=(e|0)){continue}break}e=J[a>>2]}J[a+8>>2]=(h<<3)+k;J[a+4>>2]=i;J[a>>2]=g;if(e){Wa(e)}return}ma();B()}Fb();B()}function $c(a,b,c,d,e){var f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0);a:{switch(J[b+72>>2]){case 0:g=N[d>>2];f=N[c>>2];h=N[d+8>>2];i=N[b>>2];k=N[d+12>>2];m=N[b+4>>2];n=Q(Q(Q(h*i)+Q(k*m))+N[d+4>>2]);o=N[c+8>>2];p=N[b+24>>2];l=N[c+12>>2];q=N[b+28>>2];r=Q(Q(Q(o*p)+Q(l*q))+N[c+4>>2]);j=Q(n-r);N[a+4>>2]=j;h=Q(g+Q(Q(k*i)-Q(m*h)));i=Q(f+Q(Q(l*p)-Q(q*o)));g=Q(h-i);N[a>>2]=g;f=Q(Q(g*g)+Q(j*j));k=Q(Y(f));if(!(k>2]=k;f=Q(g*f);N[a>>2]=f;f=Q(Q(g*f)+Q(j*k))}N[a+12>>2]=Q(r+n)*Q(.5);N[a+8>>2]=Q(i+h)*Q(.5);N[a+16>>2]=Q(f-N[b+76>>2])-N[b+80>>2];return;case 1:j=N[c+8>>2];g=N[b+16>>2];f=N[c+12>>2];h=N[b+20>>2];i=Q(Q(j*g)+Q(f*h));N[a+4>>2]=i;k=Q(Q(f*g)-Q(h*j));N[a>>2]=k;j=N[b+28>>2];g=N[c+12>>2];m=N[b+80>>2];n=N[b+76>>2];o=N[c>>2];p=N[c+4>>2];f=N[c+8>>2];h=N[b+24>>2];l=N[d>>2];q=N[d+8>>2];b=(e<<3)+b|0;r=N[b>>2];t=N[d+12>>2];u=N[b+4>>2];s=Q(Q(Q(q*r)+Q(t*u))+N[d+4>>2]);N[a+12>>2]=s;l=Q(l+Q(Q(t*r)-Q(u*q)));N[a+8>>2]=l;N[a+16>>2]=Q(Q(Q(Q(l-Q(o+Q(Q(g*h)-Q(j*f))))*k)+Q(Q(s-Q(p+Q(Q(f*h)+Q(g*j))))*i))-n)-m;return;case 2:g=N[d+8>>2];f=N[b+16>>2];h=N[d+12>>2];i=N[b+20>>2];j=Q(Q(g*f)+Q(h*i));N[a+4>>2]=j;g=Q(Q(h*f)-Q(i*g));N[a>>2]=g;f=N[b+28>>2];h=N[d+12>>2];e=(e<<3)+b|0;i=N[e>>2];k=N[e+4>>2];m=N[c+12>>2];l=N[b+80>>2];q=N[b+76>>2];r=N[d>>2];t=N[d+4>>2];n=N[d+8>>2];o=N[b+24>>2];u=N[c>>2];s=N[c+4>>2];p=N[c+8>>2];N[a+4>>2]=-j;N[a>>2]=-g;s=Q(s+Q(Q(p*i)+Q(m*k)));N[a+12>>2]=s;i=Q(u+Q(Q(m*i)-Q(k*p)));N[a+8>>2]=i;N[a+16>>2]=Q(Q(Q(Q(i-Q(r+Q(Q(h*o)-Q(f*n))))*g)+Q(Q(s-Q(t+Q(Q(n*o)+Q(h*f))))*j))-q)-l;break;default:break a}}}function Hb(a,b,c,d){var e=0,f=0,g=0,h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=0,n=Q(0),o=Q(0),p=Q(0),q=0,r=Q(0);f=Fa-48|0;Fa=f;if(J[a+28>>2]>0){while(1){g=J[a+12>>2];e=J[a+24>>2]+P(q,28)|0;Ha[J[J[g>>2]+24>>2]](g,f+32|0,c,J[e+20>>2]);g=J[a+12>>2];Ha[J[J[g>>2]+24>>2]](g,f+16|0,d,J[e+20>>2]);h=N[f+16>>2];j=N[f+32>>2];i=N[f+36>>2];k=N[f+20>>2];N[e+4>>2]=i>2]=h>j?j:h;h=N[f+24>>2];j=N[f+40>>2];i=N[f+44>>2];k=N[f+28>>2];N[e+12>>2]=i>k?i:k;N[e+8>>2]=h>2]=Q(Q(N[f+20>>2]+N[f+28>>2])*Q(.5))-Q(Q(N[f+36>>2]+N[f+44>>2])*Q(.5));N[f+8>>2]=Q(Q(N[f+16>>2]+N[f+24>>2])*Q(.5))-Q(Q(N[f+32>>2]+N[f+40>>2])*Q(.5));h=Q(N[f+12>>2]*Q(4));g=h>2];j=Q(Q(n+Q(.10000000149011612))+(g?Q(-0):h));o=N[e+4>>2];h=Q(Q(o+Q(-.10000000149011612))+(g?h:Q(-0)));i=Q(N[f+8>>2]*Q(4));g=i>2];k=Q(Q(p+Q(.10000000149011612))+(g?Q(-0):i));l=N[e>>2];i=Q(Q(l+Q(-.10000000149011612))+(g?i:Q(-0)));g=J[e+24>>2];m=P(g,40);e=m+J[b+4>>2]|0;r=N[e>>2];a:{b:{if(!(l>=r)){break b}l=o;o=N[e+4>>2];if(!(l>=o)){break b}l=p;p=N[e+8>>2];if(!(l<=p)){break b}l=n;n=N[e+12>>2];if(!(l<=n)|!(Q(i+Q(-.4000000059604645))<=r)|(!(o>=Q(h+Q(-.4000000059604645)))|!(p<=Q(k+Q(.4000000059604645))))){break b}e=0;if(n<=Q(j+Q(.4000000059604645))){break a}}xd(b,g);e=m+J[b+4>>2]|0;N[e+12>>2]=j;N[e+8>>2]=k;N[e+4>>2]=h;N[e>>2]=i;zd(b,g);H[(m+J[b+4>>2]|0)+36|0]=1;e=1}if(e){e=J[b+40>>2];if((e|0)==J[b+36>>2]){J[b+36>>2]=e<<1;m=J[b+32>>2];e=_a(e<<3);J[b+32>>2]=e;eb(e,m,J[b+40>>2]<<2);Wa(m);e=J[b+40>>2]}J[J[b+32>>2]+(e<<2)>>2]=g;J[b+40>>2]=J[b+40>>2]+1}q=q+1|0;if((q|0)>2]){continue}break}}Fa=f+48|0}function ed(a,b,c,d,e){var f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=0,k=Q(0),l=Q(0),m=0,n=0,o=0,p=Q(0),q=Q(0),r=Q(0),s=0,t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=0,y=0,z=0,A=0;j=J[b+148>>2];if((j|0)<=0){J[a>>2]=0;return Q(-34028234663852886e22)}a:{b:{c:{o=J[d+148>>2];if((o|0)<=0){c=j&3;if(j>>>0>=4){break c}g=Q(-34028234663852886e22);b=0;break b}g=N[e+12>>2];k=Q(N[c+4>>2]-N[e+4>>2]);f=N[e+8>>2];h=Q(N[c>>2]-N[e>>2]);v=Q(Q(g*k)-Q(f*h));w=Q(Q(g*h)+Q(f*k));h=N[c+12>>2];i=N[c+8>>2];k=Q(Q(g*h)+Q(i*f));d=d+20|0;x=b+20|0;y=b+84|0;p=Q(Q(g*i)-Q(h*f));r=Q(-p);z=o&-2;A=o&1;g=Q(-34028234663852886e22);c=0;while(1){b=c<<3;e=b+y|0;f=N[e>>2];i=N[e+4>>2];h=Q(Q(p*f)+Q(k*i));i=Q(Q(k*f)+Q(i*r));b=b+x|0;f=N[b>>2];l=N[b+4>>2];q=Q(v+Q(Q(p*f)+Q(k*l)));l=Q(w+Q(Q(k*f)+Q(l*r)));f=Q(34028234663852886e22);b=0;e=0;if((o|0)!=1){while(1){n=b<<3;s=d+(n|8)|0;t=Q(Q(i*Q(N[s>>2]-l))+Q(h*Q(N[s+4>>2]-q)));n=d+n|0;u=Q(Q(i*Q(N[n>>2]-l))+Q(h*Q(N[n+4>>2]-q)));f=f>u?u:f;f=f>t?t:f;b=b+2|0;e=e+2|0;if((z|0)!=(e|0)){continue}break}}if(A){b=d+(b<<3)|0;h=Q(Q(i*Q(N[b>>2]-l))+Q(h*Q(N[b+4>>2]-q)));f=f>h?h:f}b=f>g;m=b?c:m;g=b?f:g;c=c+1|0;if((j|0)!=(c|0)){continue}break}break a}d=j&-4;g=Q(-34028234663852886e22);b=0;e=0;while(1){j=g>2]=m;return g}function qg(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=Q(0),g=0,h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=0,q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0);r=N[a+164>>2];k=N[a+96>>2];p=J[b+24>>2];g=p+P(J[a+120>>2],12)|0;u=N[g+8>>2];j=Ua(u);l=N[a+160>>2];n=N[a+92>>2];h=Ta(u);w=N[g+4>>2];t=N[a+72>>2];x=N[g>>2];m=N[a+68>>2];d=N[a+172>>2];c=N[a+104>>2];p=p+P(J[a+124>>2],12)|0;v=N[p+8>>2];i=Ua(v);s=N[a+168>>2];e=N[a+100>>2];f=Ta(v);y=N[p>>2];q=Q(e-s);d=Q(c-d);s=Q(Q(i*q)-Q(f*d));e=Q(Q(y+s)-N[a+76>>2]);z=N[p+4>>2];q=Q(Q(f*q)+Q(i*d));o=Q(Q(z+q)-N[a+80>>2]);i=Q(Y(Q(Q(e*e)+Q(o*o))));f=Q(0);d=Q(0);c=Q(0);l=Q(n-l);n=Q(k-r);r=Q(Q(j*l)-Q(h*n));k=Q(Q(x+r)-m);l=Q(Q(h*l)+Q(j*n));j=Q(Q(w+l)-t);h=Q(Y(Q(Q(k*k)+Q(j*j))));if(h>Q(.04999999701976776)){d=Q(Q(1)/h);c=Q(j*d);d=Q(k*d)}j=Q(0);if(i>Q(.04999999701976776)){f=Q(Q(1)/i);j=Q(o*f);f=Q(e*f)}A=c;m=Q(N[a+108>>2]-h);h=N[a+112>>2];i=Q(m-Q(h*i));e=Q(Q(s*j)-Q(f*q));k=N[a+188>>2];m=Q(Q(e*k)*e);e=N[a+180>>2];o=N[a+176>>2];c=Q(Q(r*c)-Q(d*l));n=N[a+184>>2];c=Q(Q(Q(h*h)*Q(m+e))+Q(o+Q(Q(c*n)*c)));t=Q(i*Q(-(c>Q(0)?Q(Q(1)/c):c)));m=Q(-t);c=Q(A*m);N[g+4>>2]=w+Q(o*c);d=Q(d*m);N[g>>2]=x+Q(o*d);g=J[b+24>>2];N[(g+P(J[a+120>>2],12)|0)+8>>2]=Q(n*Q(Q(r*c)-Q(d*l)))+u;g=g+P(J[a+124>>2],12)|0;d=Q(t*Q(-h));c=Q(j*d);N[g+4>>2]=z+Q(e*c);f=Q(f*d);N[g>>2]=y+Q(e*f);N[(J[b+24>>2]+P(J[a+124>>2],12)|0)+8>>2]=Q(k*Q(Q(s*c)-Q(f*q)))+v;return(i>Q(0)?i:Q(-i))>2];c=s+P(J[a+120>>2],12)|0;e=N[c+8>>2];m=N[c+4>>2];n=N[c>>2];c=P(J[a+116>>2],12)+s|0;f=N[c+8>>2];o=N[c+4>>2];p=N[c>>2];q=N[a+168>>2];r=N[a+164>>2];t=N[a+160>>2];u=N[a+156>>2];a:{if(N[a+68>>2]>Q(0)){d=N[a+112>>2];g=Q(Q(Q(d*N[a+100>>2])+Q(Q(e-f)+N[a+76>>2]))*Q(-N[a+204>>2]));N[a+112>>2]=d+g;f=Q(f-Q(r*g));h=N[a+128>>2];i=N[a+136>>2];e=Q(Q(q*g)+e);d=Q(Q(f*h)+Q(Q(n-Q(i*e))-p));j=N[a+132>>2];k=N[a+124>>2];l=Q(Q(Q(m+Q(j*e))-o)-Q(f*k));g=Q(Q(N[a+172>>2]*d)+Q(N[a+184>>2]*l));N[a+104>>2]=N[a+104>>2]-g;d=Q(Q(N[a+176>>2]*d)+Q(l*N[a+188>>2]));N[a+108>>2]=N[a+108>>2]-d;f=Q(f-Q(r*Q(Q(h*g)-Q(k*d))));e=Q(Q(q*Q(Q(i*g)-Q(j*d)))+e);break a}k=N[a+136>>2];l=N[a+128>>2];h=Q(Q(Q(n-Q(e*k))-p)+Q(f*l));v=N[a+132>>2];w=N[a+124>>2];i=Q(Q(Q(m+Q(e*v))-o)-Q(f*w));j=Q(e-f);g=Q(Q(Q(h*N[a+172>>2])+Q(i*N[a+184>>2]))+Q(j*N[a+196>>2]));N[a+104>>2]=N[a+104>>2]-g;d=Q(Q(Q(h*N[a+176>>2])+Q(i*N[a+188>>2]))+Q(j*N[a+200>>2]));N[a+108>>2]=N[a+108>>2]-d;h=Q(Q(Q(h*N[a+180>>2])+Q(i*N[a+192>>2]))+Q(j*N[a+204>>2]));N[a+112>>2]=N[a+112>>2]-h;f=Q(f-Q(r*Q(Q(Q(l*g)-Q(w*d))-h)));e=Q(Q(q*Q(Q(Q(k*g)-Q(v*d))-h))+e)}N[c+4>>2]=o+Q(u*d);N[c>>2]=p+Q(u*g);c=J[b+28>>2];N[(c+P(J[a+116>>2],12)|0)+8>>2]=f;c=c+P(J[a+120>>2],12)|0;N[c+4>>2]=m-Q(t*d);N[c>>2]=n-Q(t*g);N[(J[b+28>>2]+P(J[a+120>>2],12)|0)+8>>2]=e}function wk(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=Ra(103028);b=c;J[b+4>>2]=0;J[b+8>>2]=128;d=_a(1024);J[b>>2]=d;xb(d,0,J[b+8>>2]<<3);J[b+60>>2]=0;J[b+64>>2]=0;J[b+52>>2]=0;J[b+56>>2]=0;J[b+44>>2]=0;J[b+48>>2]=0;J[b+36>>2]=0;J[b+40>>2]=0;J[b+28>>2]=0;J[b+32>>2]=0;J[b+20>>2]=0;J[b+24>>2]=0;J[b+12>>2]=0;J[b+16>>2]=0;b=b+68|0;J[b+102796>>2]=0;J[b+102408>>2]=0;J[b+102400>>2]=0;J[b+102404>>2]=0;b=c+102868|0;J[b>>2]=-1;J[b+8>>2]=0;J[b+12>>2]=16;d=_a(640);J[b+4>>2]=d;xb(d,0,P(J[b+12>>2],40));d=J[b+12>>2];a:{if((d|0)<=1){e=d-1|0;d=J[b+4>>2];break a}d=J[b+4>>2];while(1){e=P(f,40);f=f+1|0;J[(e+d|0)+20>>2]=f;d=J[b+4>>2];J[(e+d|0)+32>>2]=-1;e=J[b+12>>2]-1|0;if((e|0)>(f|0)){continue}break}}J[(P(e,40)+d|0)+20>>2]=-1;J[(J[b+4>>2]+P(J[b+12>>2],40)|0)-8>>2]=-1;J[b+24>>2]=0;J[b+16>>2]=0;J[b+20>>2]=0;J[b+48>>2]=16;J[b+52>>2]=0;J[b+28>>2]=0;d=_a(128);J[b+36>>2]=16;J[b+40>>2]=0;J[b+44>>2]=d;g=b,h=_a(64),J[g+32>>2]=h;J[b+76>>2]=0;J[b+72>>2]=23348;J[b+68>>2]=23344;J[b+60>>2]=0;J[b+64>>2]=0;J[c+102948>>2]=0;J[c+102952>>2]=0;J[c+102976>>2]=0;J[c+102980>>2]=0;b=c+102956|0;J[b>>2]=0;J[b+4>>2]=0;H[c+102991|0]=1;H[c+102992|0]=1;H[c+102993|0]=0;H[c+102994|0]=1;H[c+102972|0]=1;b=J[a+4>>2];a=J[a>>2];H[c+102990|0]=1;I[c+102988>>1]=0;J[c+102964>>2]=a;J[c+102968>>2]=b;J[c+102984>>2]=0;J[c+102996>>2]=0;J[c+103e3>>2]=0;J[c+102944>>2]=c;a=c+103004|0;J[a>>2]=0;J[a+4>>2]=0;a=c+103012|0;J[a>>2]=0;J[a+4>>2]=0;a=c+103020|0;J[a>>2]=0;J[a+4>>2]=0;return c|0}function Uk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=a+16|0;d=e;c=J[a+16>>2];a:{b:{if(!c){break b}while(1){d=c;c=J[c+16>>2];if(c>>>0>b>>>0){e=d;c=J[d>>2];if(c){continue}break b}if(b>>>0<=c>>>0){break a}c=J[d+4>>2];if(c){continue}break}e=d+4|0}c=Ra(20);J[c+8>>2]=d;J[c>>2]=0;J[c+4>>2]=0;J[c+16>>2]=b;J[e>>2]=c;b=J[J[a+12>>2]>>2];if(b){J[a+12>>2]=b;b=J[e>>2]}else{b=c}f=J[a+16>>2];d=(f|0)==(b|0);H[b+12|0]=d;c:{if(d){break c}while(1){c=J[b+8>>2];if(K[c+12|0]){break c}d:{d=J[c+8>>2];e=J[d>>2];if((e|0)==(c|0)){e=J[d+4>>2];if(!(!e|K[e+12|0])){break d}e:{if(J[c>>2]==(b|0)){b=c;break e}b=J[c+4>>2];e=J[b>>2];J[c+4>>2]=e;if(e){J[e+8>>2]=c;d=J[c+8>>2]}J[b+8>>2]=d;d=J[c+8>>2];J[((J[d>>2]!=(c|0))<<2)+d>>2]=b;J[b>>2]=c;J[c+8>>2]=b;d=J[b+8>>2];c=J[d>>2]}H[b+12|0]=1;H[d+12|0]=0;b=J[c+4>>2];J[d>>2]=b;if(b){J[b+8>>2]=d}J[c+8>>2]=J[d+8>>2];b=J[d+8>>2];J[((J[b>>2]!=(d|0))<<2)+b>>2]=c;J[c+4>>2]=d;J[d+8>>2]=c;break c}if(!(K[e+12|0]|!e)){break d}f:{if(J[c>>2]!=(b|0)){b=c;break f}e=J[b+4>>2];J[c>>2]=e;if(e){J[e+8>>2]=c;d=J[c+8>>2]}J[b+8>>2]=d;d=J[c+8>>2];J[((J[d>>2]!=(c|0))<<2)+d>>2]=b;J[b+4>>2]=c;J[c+8>>2]=b;d=J[b+8>>2]}H[b+12|0]=1;H[d+12|0]=0;b=J[d+4>>2];c=J[b>>2];J[d+4>>2]=c;if(c){J[c+8>>2]=d}J[b+8>>2]=J[d+8>>2];c=J[d+8>>2];J[((J[c>>2]!=(d|0))<<2)+c>>2]=b;J[b>>2]=d;J[d+8>>2]=b;break c}H[c+12|0]=1;H[d+12|0]=(d|0)==(f|0);H[e+12|0]=1;b=d;if((f|0)!=(d|0)){continue}break}}J[a+20>>2]=J[a+20>>2]+1}}function sd(a,b,c,d,e){var f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=0,r=Q(0),s=Q(0),t=Q(0),u=0,v=0,w=0;J[a+60>>2]=0;h=Q(N[b+8>>2]+N[d+8>>2]);u=J[b+20>>2];q=J[b+12>>2];i=N[b+20>>2];m=N[b+12>>2];g=Q(i-m);f=N[c+12>>2];j=N[e+12>>2];o=N[d+12>>2];k=N[d+16>>2];l=N[e+8>>2];n=Q(Q(N[e>>2]+Q(Q(j*o)-Q(k*l)))-N[c>>2]);k=Q(Q(Q(Q(l*o)+Q(j*k))+N[e+4>>2])-N[c+4>>2]);l=N[c+8>>2];j=Q(Q(f*n)+Q(k*l));o=Q(j-m);e=J[b+16>>2];c=J[b+24>>2];k=Q(Q(f*k)-Q(l*n));l=N[b+16>>2];p=Q(k-l);n=N[b+24>>2];f=Q(n-l);r=Q(Q(g*o)+Q(p*f));a:{b:{if(r<=Q(0)){if(Q(Q(o*o)+Q(p*p))>Q(h*h)){break a}if(!K[b+44|0]){h=Q(0);g=Q(0);break b}h=Q(0);g=Q(0);if(!(Q(Q(Q(m-N[b+28>>2])*Q(m-j))+Q(Q(l-k)*Q(l-N[b+32>>2])))>Q(0))){break b}break a}s=Q(Q(g*Q(i-j))+Q(f*Q(n-k)));if(s<=Q(0)){f=Q(j-i);m=Q(k-n);if(Q(Q(f*f)+Q(m*m))>Q(h*h)){break a}v=1;if(!K[b+45|0]){h=Q(0);g=Q(0);q=u;e=c;break b}h=Q(0);g=Q(0);q=u;e=c;if(!(Q(Q(Q(N[b+36>>2]-i)*f)+Q(m*Q(N[b+40>>2]-n)))>Q(0))){break b}break a}t=j;j=Q(Q(1)/Q(Q(g*g)+Q(f*f)));i=Q(t-Q(j*Q(Q(s*m)+Q(r*i))));t=Q(i*i);i=Q(k-Q(j*Q(Q(s*l)+Q(r*n))));if(Q(t+Q(i*i))>Q(h*h)){break a}v=65536;w=1;b=Q(Q(p*g)-Q(f*o))>2]=w;J[a+60>>2]=1;J[a+48>>2]=q;N[a+40>>2]=h;J[a+16>>2]=v;J[a+52>>2]=e;N[a+44>>2]=g;b=J[d+16>>2];J[a>>2]=J[d+12>>2];J[a+4>>2]=b}}function Xc(a,b,c,d){var e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0);h=N[a+48>>2];f=Q(Q(1)-d);l=Q(Q(f*N[a+68>>2])+Q(N[a+72>>2]*d));m=Ua(l);i=N[a+44>>2];l=Ta(l);p=Q(Q(Q(f*N[a+56>>2])+Q(N[a- -64>>2]*d))-Q(Q(l*i)+Q(h*m)));j=Q(Q(Q(f*N[a+52>>2])+Q(N[a+60>>2]*d))-Q(Q(m*i)-Q(h*l)));e=N[a+12>>2];i=Q(Q(f*N[a+32>>2])+Q(N[a+36>>2]*d));h=Ua(i);g=N[a+8>>2];i=Ta(i);q=Q(Q(Q(f*N[a+20>>2])+Q(N[a+28>>2]*d))-Q(Q(i*g)+Q(e*h)));e=Q(Q(Q(f*N[a+16>>2])+Q(N[a+24>>2]*d))-Q(Q(h*g)-Q(e*i)));d=Q(-l);f=Q(-i);g=Q(0);a:{switch(J[a+80>>2]){case 0:k=j;c=J[J[a+4>>2]+16>>2]+(c<<3)|0;j=N[c>>2];g=N[c+4>>2];n=Q(k+Q(Q(m*j)+Q(g*d)));k=e;b=J[J[a>>2]+16>>2]+(b<<3)|0;d=N[b>>2];e=N[b+4>>2];return Q(Q(Q(n-Q(k+Q(Q(h*d)+Q(e*f))))*N[a+92>>2])+Q(N[a+96>>2]*Q(Q(p+Q(Q(l*j)+Q(m*g)))-Q(q+Q(Q(i*d)+Q(h*e))))));case 1:k=j;b=J[J[a+4>>2]+16>>2]+(c<<3)|0;j=N[b>>2];g=N[b+4>>2];r=Q(k+Q(Q(m*j)+Q(g*d)));k=e;d=N[a+84>>2];e=N[a+88>>2];n=N[a+92>>2];o=N[a+96>>2];return Q(Q(Q(r-Q(k+Q(Q(h*d)+Q(e*f))))*Q(Q(h*n)+Q(o*f)))+Q(Q(Q(i*n)+Q(h*o))*Q(Q(p+Q(Q(l*j)+Q(m*g)))-Q(q+Q(Q(i*d)+Q(h*e))))));case 2:k=e;b=J[J[a>>2]+16>>2]+(b<<3)|0;e=N[b>>2];g=N[b+4>>2];r=Q(k+Q(Q(h*e)+Q(g*f)));k=j;f=N[a+84>>2];j=N[a+88>>2];n=N[a+92>>2];o=N[a+96>>2];g=Q(Q(Q(r-Q(k+Q(Q(m*f)+Q(j*d))))*Q(Q(m*n)+Q(o*d)))+Q(Q(Q(l*n)+Q(m*o))*Q(Q(q+Q(Q(i*e)+Q(h*g)))-Q(p+Q(Q(l*f)+Q(m*j))))));break;default:break a}}return g}function xh(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=0,f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=0,k=Q(0),l=0,m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0),A=Q(0),B=Q(0),C=Q(0),D=Q(0),E=Q(0),F=Q(0),G=Q(0),H=Q(0),I=Q(0);g=N[a+240>>2];e=J[b+28>>2];c=e+P(J[a+160>>2],12)|0;i=N[c>>2];j=e+P(J[a+168>>2],12)|0;n=N[j>>2];f=N[c+4>>2];o=N[j+4>>2];h=N[a+244>>2];k=N[a+248>>2];l=e+P(J[a+164>>2],12)|0;p=N[l>>2];e=e+P(J[a+172>>2],12)|0;q=N[e>>2];r=N[l+4>>2];s=N[e+4>>2];m=N[a+252>>2];t=N[a+256>>2];u=N[c+8>>2];v=N[j+8>>2];w=N[a+264>>2];x=N[a+260>>2];y=N[l+8>>2];z=N[e+8>>2];A=N[a+268>>2];d=Q(Q(Q(Q(Q(g*Q(i-n))+Q(Q(f-o)*h))+Q(Q(k*Q(p-q))+Q(Q(r-s)*m)))+Q(Q(Q(t*u)-Q(v*w))+Q(Q(x*y)-Q(z*A))))*Q(-N[a+272>>2]));N[a+156>>2]=N[a+156>>2]+d;B=N[a+236>>2];C=N[a+220>>2];D=N[a+232>>2];E=N[a+216>>2];F=N[a+228>>2];G=N[a+212>>2];H=N[a+224>>2];I=f;f=Q(N[a+208>>2]*d);N[c+4>>2]=I+Q(h*f);N[c>>2]=i+Q(g*f);c=J[b+28>>2];N[(c+P(J[a+160>>2],12)|0)+8>>2]=u+Q(t*Q(H*d));c=c+P(J[a+164>>2],12)|0;i=Q(d*G);N[c+4>>2]=r+Q(m*i);N[c>>2]=p+Q(k*i);c=J[b+28>>2];N[(c+P(J[a+164>>2],12)|0)+8>>2]=y+Q(x*Q(d*F));c=c+P(J[a+168>>2],12)|0;f=h;h=Q(d*E);N[c+4>>2]=o-Q(f*h);N[c>>2]=n-Q(g*h);c=J[b+28>>2];N[(c+P(J[a+168>>2],12)|0)+8>>2]=v-Q(w*Q(d*D));c=c+P(J[a+172>>2],12)|0;g=Q(d*C);N[c+4>>2]=s-Q(m*g);N[c>>2]=q-Q(k*g);N[(J[b+28>>2]+P(J[a+172>>2],12)|0)+8>>2]=z-Q(A*Q(d*B))}function Xg(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=0,g=Q(0),h=Q(0),i=Q(0),j=0,k=Q(0),l=Q(0),m=0,n=Q(0),o=0,p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0);j=J[a+52>>2];o=J[j+8>>2];J[a+116>>2]=o;s=N[j+32>>2];m=J[j+32>>2];e=N[j+28>>2];f=J[j+28>>2];J[a+128>>2]=f;J[a+132>>2]=m;k=N[j+120>>2];N[a+136>>2]=k;l=N[j+128>>2];N[a+140>>2]=l;m=P(o,12);f=m+J[b+28>>2]|0;p=N[f+4>>2];q=N[f>>2];t=N[f+8>>2];f=J[b+24>>2]+m|0;u=N[f>>2];v=N[f+4>>2];i=N[f+8>>2];g=N[b>>2];d=N[j+116>>2];c=Q(N[a+84>>2]*Q(6.2831854820251465));h=Q(g*Q(d*Q(c*c)));d=Q(g*Q(h+Q(c*Q(Q(d+d)*N[a+88>>2]))));c=d!=Q(0)?Q(Q(1)/d):d;N[a+108>>2]=c;h=Q(h*c);N[a+92>>2]=h;g=N[a+72>>2];d=Ta(i);n=N[a+68>>2];r=Ua(i);e=Q(n-e);g=Q(g-s);i=Q(Q(r*e)-Q(d*g));N[a+120>>2]=i;d=Q(Q(d*e)+Q(r*g));N[a+124>>2]=d;g=Q(c+Q(k+Q(Q(l*i)*i)));n=Q(c+Q(k+Q(Q(l*d)*d)));e=Q(d*Q(i*Q(-l)));c=Q(Q(g*n)-Q(e*e));c=c!=Q(0)?Q(Q(1)/c):c;N[a+144>>2]=g*c;N[a+156>>2]=n*c;c=Q(e*Q(-c));N[a+148>>2]=c;N[a+152>>2]=c;N[a+164>>2]=h*Q(Q(v+d)-N[a+80>>2]);N[a+160>>2]=h*Q(Q(u+i)-N[a+76>>2]);c=Q(t*Q(.9800000190734863));a:{if(K[b+20|0]){e=N[b+8>>2];h=Q(e*N[a+96>>2]);N[a+96>>2]=h;e=Q(e*N[a+100>>2]);N[a+100>>2]=e;c=Q(Q(l*Q(Q(i*e)-Q(h*d)))+c);q=Q(q+Q(k*h));p=Q(p+Q(k*e));break a}J[a+96>>2]=0;J[a+100>>2]=0}f=J[b+28>>2]+P(o,12)|0;N[f+4>>2]=p;N[f>>2]=q;N[(J[b+28>>2]+P(J[a+116>>2],12)|0)+8>>2]=c}function cf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=Fa+-64|0;Fa=f;a:{if(Za(b,18880,0)){J[c>>2]=0;d=1;break a}b:{if(K[a+8|0]&24){e=1}else{if(!b){break b}e=lb(b,18612);if(!e){break b}e=(K[e+8|0]&24)!=0}g=Za(a,b,e)}if(g){d=1;a=J[c>>2];if(!a){break a}J[c>>2]=J[a>>2];break a}c:{if(!b){break c}e=lb(b,18660);if(!e){break a}b=J[c>>2];if(b){J[c>>2]=J[b>>2]}g=J[e+8>>2];b=J[a+8>>2];if(g&(b^-1)&7|b&(g^-1)&96){break a}d=1;if(Za(J[a+12>>2],J[e+12>>2],0)){break a}if(Za(J[a+12>>2],18868,0)){a=J[e+12>>2];if(!a){break a}d=!lb(a,18712);break a}g=J[a+12>>2];if(!g){break c}d=0;b=lb(g,18660);if(b){if(!(H[a+8|0]&1)){break a}a=J[e+12>>2];c=0;d:{e:{while(1){d=0;if(!a){break d}a=lb(a,18660);if(!a|J[a+8>>2]&(J[b+8>>2]^-1)){break e}d=1;if(Za(J[b+12>>2],J[a+12>>2],0)){break d}if(!(H[b+8|0]&1)){break e}d=J[b+12>>2];if(!d){break e}b=lb(d,18660);if(b){a=J[a+12>>2];continue}break}b=lb(d,18772);if(!b){break e}c=Jc(b,J[a+12>>2])}d=c}break a}b=lb(g,18772);if(b){if(!(H[a+8|0]&1)){break a}d=Jc(b,J[e+12>>2]);break a}b=lb(g,18564);if(!b){break a}a=J[e+12>>2];if(!a){break a}a=lb(a,18564);if(!a){break a}xb(f+12|0,0,52);J[f+56>>2]=1;J[f+20>>2]=-1;J[f+16>>2]=b;J[f+8>>2]=a;Ha[J[J[a>>2]+28>>2]](a,f+8|0,J[c>>2],1);a=J[f+32>>2];if(!(!J[c>>2]|(a|0)!=1)){J[c>>2]=J[f+24>>2]}d=(a|0)==1;break a}d=0}Fa=f- -64|0;return d|0}function mh(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=0,g=Q(0),h=0,i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0);h=J[b+28>>2];f=h+P(J[a+104>>2],12)|0;m=N[f>>2];h=h+P(J[a+108>>2],12)|0;n=N[h>>2];o=N[f+4>>2];p=N[h+4>>2];q=N[a+160>>2];r=N[a+156>>2];s=N[a+168>>2];t=N[a+164>>2];g=N[b>>2];c=Q(g*N[a+96>>2]);i=Q(-c);j=N[a+88>>2];d=Q(N[b+4>>2]*N[a+100>>2]);e=N[h+8>>2];k=N[f+8>>2];l=Q(j-Q(N[a+188>>2]*Q(Q(d*N[a+152>>2])+Q(e-k))));c=c>l?l:c;c=c>2]=c;l=N[a+80>>2];u=N[a+116>>2];c=Q(c-j);i=Q(k-Q(t*c));k=N[a+124>>2];j=Q(e+Q(s*c));e=Q(Q(d*N[a+144>>2])+Q(Q(u*i)+Q(Q(n-Q(k*j))-m)));v=N[a+120>>2];w=N[a+112>>2];d=Q(Q(d*N[a+148>>2])+Q(Q(Q(p+Q(v*j))-o)-Q(w*i)));c=Q(l-Q(Q(N[a+172>>2]*e)+Q(N[a+180>>2]*d)));N[a+80>>2]=c;x=N[a+84>>2];d=Q(x-Q(Q(N[a+176>>2]*e)+Q(N[a+184>>2]*d)));N[a+84>>2]=d;e=Q(Q(c*c)+Q(d*d));g=Q(g*N[a+92>>2]);if(e>Q(g*g)){e=Q(Y(e));if(!(e>2]=d;c=Q(g*c);N[a+80>>2]=c}d=Q(d-x);N[f+4>>2]=o-Q(r*d);c=Q(c-l);N[f>>2]=m-Q(r*c);f=J[b+28>>2];N[(f+P(J[a+104>>2],12)|0)+8>>2]=Q(Q(-t)*Q(Q(w*d)-Q(c*u)))+i;f=f+P(J[a+108>>2],12)|0;N[f+4>>2]=p+Q(q*d);N[f>>2]=n+Q(q*c);N[(J[b+28>>2]+P(J[a+108>>2],12)|0)+8>>2]=Q(s*Q(Q(v*d)-Q(c*k)))+j}function _i(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=J[a>>2];f=J[a+4>>2]-e>>2;if(f>>>0>>0){e=b-f|0;f=a;a:{d=J[a+8>>2];b=J[a+4>>2];if(e>>>0<=d-b>>2>>>0){b:{if(!e){break b}a=b;g=e&7;if(g){d=0;while(1){J[a>>2]=J[c>>2];a=a+4|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}b=(e<<2)+b|0;if((e-1&1073741823)>>>0<7){break b}while(1){J[a>>2]=J[c>>2];J[a+4>>2]=J[c>>2];J[a+8>>2]=J[c>>2];J[a+12>>2]=J[c>>2];J[a+16>>2]=J[c>>2];J[a+20>>2]=J[c>>2];J[a+24>>2]=J[c>>2];J[a+28>>2]=J[c>>2];a=a+32|0;if((b|0)!=(a|0)){continue}break}}J[f+4>>2]=b;break a}c:{g=J[f>>2];h=b-g>>2;a=h+e|0;if(a>>>0<1073741824){d=d-g|0;i=d>>1;i=d>>>0>=2147483644?1073741823:a>>>0>>0?i:a;if(i){if(i>>>0>=1073741824){break c}j=Ra(i<<2)}d=(h<<2)+j|0;a=d;h=e&7;if(h){while(1){J[a>>2]=J[c>>2];a=a+4|0;k=k+1|0;if((h|0)!=(k|0)){continue}break}}h=(e<<2)+d|0;if((e-1&1073741823)>>>0>=7){while(1){J[a>>2]=J[c>>2];J[a+4>>2]=J[c>>2];J[a+8>>2]=J[c>>2];J[a+12>>2]=J[c>>2];J[a+16>>2]=J[c>>2];J[a+20>>2]=J[c>>2];J[a+24>>2]=J[c>>2];J[a+28>>2]=J[c>>2];a=a+32|0;if((h|0)!=(a|0)){continue}break}}if((b|0)!=(g|0)){while(1){d=d-4|0;b=b-4|0;J[d>>2]=J[b>>2];if((b|0)!=(g|0)){continue}break}}J[f+8>>2]=(i<<2)+j;J[f+4>>2]=h;J[f>>2]=d;if(g){Wa(g)}break a}ma();B()}Fb();B()}return}if(b>>>0>>0){J[a+4>>2]=e+(b<<2)}}function ci(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0),e=Q(0),f=0,g=Q(0),h=0,i=Q(0),j=0,k=0,l=Q(0),m=Q(0),n=Q(0),o=0,p=Q(0),q=Q(0),r=0,s=0,t=0,u=0,v=0,w=0,x=Q(0),y=Q(0);a:{b:{c:{d:{j=J[a+148>>2];if((j|0)>0){o=j&3;if(j>>>0<4){break d}r=j&-4;k=a+20|0;while(1){h=f<<3;s=h+k|0;t=k+(h|8)|0;u=k+(h|16)|0;h=k+(h|24)|0;d=Q(Q(Q(Q(d+N[s+4>>2])+N[t+4>>2])+N[u+4>>2])+N[h+4>>2]);e=Q(Q(Q(Q(e+N[s>>2])+N[t>>2])+N[u>>2])+N[h>>2]);f=f+4|0;v=v+4|0;if((r|0)!=(v|0)){continue}break}break d}l=Q(Q(Q(1)/Q(j|0))*Q(0));i=l;break c}if(o){while(1){k=(f<<3)+a|0;d=Q(d+N[k+24>>2]);e=Q(e+N[k+20>>2]);f=f+1|0;w=w+1|0;if((o|0)!=(w|0)){continue}break}}i=d;d=Q(Q(1)/Q(j|0));l=Q(i*d);i=Q(e*d);if((j|0)>0){break b}}d=Q(0);e=Q(0);break a}k=a+24|0;a=a+20|0;f=0;e=Q(0);d=Q(0);while(1){h=a+(f<<3)|0;m=Q(N[h>>2]-i);f=f+1|0;o=a+(f<<3)|0;r=(f|0)<(j|0);g=Q(N[(r?o+4|0:k)>>2]-l);p=Q(N[(r?o:a)>>2]-i);n=Q(N[h+4>>2]-l);q=Q(Q(m*g)-Q(p*n));x=Q(Q(Q(q*Q(.0833333358168602))*Q(Q(Q(g*g)+Q(Q(n*n)+Q(n*g)))+Q(Q(p*p)+Q(Q(m*m)+Q(m*p)))))+x);q=Q(q*Q(.5));e=Q(e+q);n=Q(n+g);g=Q(q*Q(.3333333432674408));y=Q(y+Q(n*g));d=Q(d+Q(Q(m+p)*g));if((f|0)!=(j|0)){continue}break}}m=Q(e*c);N[b>>2]=m;g=Q(Q(1)/e);e=Q(y*g);l=Q(l+e);N[b+8>>2]=l;d=Q(d*g);i=Q(i+d);N[b+4>>2]=i;N[b+12>>2]=Q(m*Q(Q(Q(i*i)+Q(l*l))-Q(Q(d*d)+Q(e*e))))+Q(x*c)}function Fh(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=0,g=Q(0),h=Q(0),i=Q(0),j=0,k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0);if(N[a+68>>2]>Q(0)){a=1}else{d=N[a+144>>2];i=N[a+84>>2];j=J[b+24>>2];f=j+P(J[a+108>>2],12)|0;q=N[f+8>>2];c=Ua(q);k=N[a+140>>2];n=N[a+80>>2];e=Ta(q);g=N[a+152>>2];o=N[a+92>>2];j=j+P(J[a+112>>2],12)|0;r=N[j+8>>2];h=Ua(r);l=N[a+148>>2];p=N[a+88>>2];m=Ta(r);s=N[j>>2];l=Q(p-l);g=Q(o-g);o=Q(Q(h*l)-Q(m*g));p=N[f>>2];k=Q(n-k);i=Q(i-d);n=Q(Q(c*k)-Q(e*i));d=Q(Q(Q(s+o)-p)-n);t=N[j+4>>2];m=Q(Q(m*l)+Q(h*g));g=N[f+4>>2];i=Q(Q(e*k)+Q(c*i));c=Q(Q(Q(t+m)-g)-i);e=Q(Y(Q(Q(d*d)+Q(c*c))));a:{if(e>2];h=N[a+160>>2];l=N[a+164>>2];v=g;g=N[a+156>>2];w=c;c=Q(e-N[a+104>>2]);c=c>2]));e=Q(w*u);N[f+4>>2]=v-Q(g*e);d=Q(d*u);N[f>>2]=p-Q(g*d);f=J[b+24>>2];N[(f+P(J[a+108>>2],12)|0)+8>>2]=q-Q(l*Q(Q(n*e)-Q(d*i)));f=f+P(J[a+112>>2],12)|0;N[f+4>>2]=t+Q(h*e);N[f>>2]=s+Q(h*d);N[(J[b+24>>2]+P(J[a+112>>2],12)|0)+8>>2]=Q(k*Q(Q(o*e)-Q(d*m)))+r;a=(c>Q(0)?c:Q(-c))>2];j=N[a+156>>2];r=N[a+168>>2];s=N[a+164>>2];c=N[a+116>>2];f=N[a+192>>2];d=J[b+28>>2];t=d+P(J[a+136>>2],12)|0;g=N[t+8>>2];h=N[a+172>>2];l=N[t>>2];d=d+P(J[a+132>>2],12)|0;m=N[d>>2];k=N[t+4>>2];n=N[d+4>>2];o=N[a+176>>2];i=N[a+188>>2];p=N[d+8>>2];e=Q(Q(Q(c*N[a+220>>2])+Q(Q(Q(Q(f*g)+Q(Q(h*Q(l-m))+Q(Q(k-n)*o)))-Q(i*p))+N[a+216>>2]))*Q(-N[a+212>>2]));N[a+116>>2]=c+e;c=Q(N[b>>2]*N[a+120>>2]);u=Q(-c);v=N[a+112>>2];f=Q(g+Q(r*Q(f*e)));g=Q(p-Q(s*Q(i*e)));i=Q(v-Q(N[a+208>>2]*Q(Q(f-g)-N[a+124>>2])));c=c>i?i:c;c=c>2]=c;i=N[a+200>>2];c=Q(c-v);f=Q(Q(r*c)+f);p=N[a+180>>2];h=Q(h*e);l=Q(l+Q(q*h));h=Q(m-Q(j*h));e=Q(o*e);m=Q(k+Q(q*e));k=Q(n-Q(j*e));n=N[a+184>>2];o=N[a+196>>2];c=Q(g-Q(s*c));e=Q(Q(Q(Q(i*f)+Q(Q(p*Q(l-h))+Q(Q(m-k)*n)))-Q(o*c))*Q(-N[a+204>>2]));N[a+108>>2]=N[a+108>>2]+e;g=Q(n*e);N[d+4>>2]=k-Q(j*g);k=j;j=Q(p*e);N[d>>2]=h-Q(k*j);d=J[b+28>>2];N[(d+P(J[a+132>>2],12)|0)+8>>2]=c-Q(s*Q(o*e));d=d+P(J[a+136>>2],12)|0;N[d+4>>2]=m+Q(q*g);N[d>>2]=l+Q(q*j);N[(J[b+28>>2]+P(J[a+136>>2],12)|0)+8>>2]=Q(r*Q(i*e))+f}function rh(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=0,f=Q(0),g=Q(0),h=0,i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0);h=J[b+28>>2];e=h+P(J[a+104>>2],12)|0;m=N[e>>2];h=h+P(J[a+108>>2],12)|0;n=N[h>>2];o=N[e+4>>2];p=N[h+4>>2];q=N[a+148>>2];r=N[a+144>>2];s=N[a+156>>2];t=N[a+152>>2];g=N[b>>2];c=Q(g*N[a+100>>2]);d=Q(-c);i=N[a+92>>2];j=N[h+8>>2];k=N[e+8>>2];l=Q(i-Q(Q(j-k)*N[a+176>>2]));c=c>l?l:c;c=c>2]=c;l=N[a+84>>2];u=N[a+116>>2];c=Q(c-i);i=Q(k-Q(t*c));k=N[a+124>>2];j=Q(j+Q(s*c));d=Q(Q(u*i)+Q(Q(n-Q(k*j))-m));v=N[a+120>>2];w=N[a+112>>2];f=Q(Q(Q(p+Q(v*j))-o)-Q(w*i));c=Q(l-Q(Q(N[a+160>>2]*d)+Q(N[a+168>>2]*f)));N[a+84>>2]=c;x=N[a+88>>2];d=Q(x-Q(Q(N[a+164>>2]*d)+Q(N[a+172>>2]*f)));N[a+88>>2]=d;f=Q(Q(c*c)+Q(d*d));g=Q(g*N[a+96>>2]);if(f>Q(g*g)){f=Q(Y(f));if(!(f>2]=d;c=Q(g*c);N[a+84>>2]=c}d=Q(d-x);N[e+4>>2]=o-Q(r*d);c=Q(c-l);N[e>>2]=m-Q(r*c);e=J[b+28>>2];N[(e+P(J[a+104>>2],12)|0)+8>>2]=Q(Q(-t)*Q(Q(w*d)-Q(c*u)))+i;e=e+P(J[a+108>>2],12)|0;N[e+4>>2]=p+Q(q*d);N[e>>2]=n+Q(q*c);N[(J[b+28>>2]+P(J[a+108>>2],12)|0)+8>>2]=Q(s*Q(Q(v*d)-Q(c*k)))+j}function Mf(a,b){a=a|0;b=b|0;var c=Q(0),d=0,e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=0,n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0),z=Q(0);l=N[a+144>>2];e=N[a+80>>2];m=J[b+24>>2];d=m+P(J[a+132>>2],12)|0;t=N[d+8>>2];c=Ua(t);h=N[a+140>>2];p=N[a+76>>2];g=Ta(t);i=N[a+152>>2];q=N[a+88>>2];m=m+P(J[a+136>>2],12)|0;u=N[m+8>>2];f=Ua(u);j=N[a+148>>2];r=N[a+84>>2];n=Ta(u);o=N[a+100>>2];k=N[a+104>>2];s=Q(Q(g*o)+Q(c*k));v=N[m>>2];w=N[d>>2];j=Q(r-j);i=Q(q-i);q=Q(Q(f*j)-Q(n*i));h=Q(p-h);e=Q(e-l);p=Q(Q(c*h)-Q(g*e));r=Q(Q(Q(v-w)+q)-p);l=Q(Q(c*o)-Q(k*g));o=N[m+4>>2];k=N[d+4>>2];i=Q(Q(n*j)+Q(f*i));h=Q(Q(g*h)+Q(c*e));j=Q(Q(Q(o-k)+i)-h);g=Q(Q(r*l)+Q(s*j));x=Q(-g);y=N[a+168>>2];c=N[a+200>>2];e=Q(Q(y*c)*c);z=N[a+164>>2];c=N[a+196>>2];f=N[a+156>>2];n=N[a+160>>2];c=Q(e+Q(Q(Q(z*c)*c)+Q(f+n)));c=c!=Q(0)?Q(x/c):Q(0);e=Q(s*c);N[d+4>>2]=k-Q(f*e);k=f;f=Q(l*c);N[d>>2]=w-Q(k*f);d=J[b+24>>2];N[(d+P(J[a+132>>2],12)|0)+8>>2]=t-Q(z*Q(Q(Q(Q(p+r)*s)-Q(l*Q(h+j)))*c));d=d+P(J[a+136>>2],12)|0;N[d+4>>2]=o+Q(n*e);N[d>>2]=v+Q(n*f);N[(J[b+24>>2]+P(J[a+136>>2],12)|0)+8>>2]=u+Q(y*Q(Q(Q(q*s)-Q(l*i))*c));return(g>Q(0)?g:x)<=Q(.004999999888241291)|0}function bf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;if(Za(a,J[b+8>>2],e)){if(!(J[b+28>>2]==1|J[b+4>>2]!=(c|0))){J[b+28>>2]=d}return}a:{if(Za(a,J[b>>2],e)){if(!(J[b+16>>2]!=(c|0)&J[b+20>>2]!=(c|0))){if((d|0)!=1){break a}J[b+32>>2]=1;return}J[b+32>>2]=d;if(J[b+44>>2]!=4){f=a+16|0;h=f+(J[a+12>>2]<<3)|0;d=0;b:{c:{while(1){d:{if(f>>>0>=h>>>0){break d}I[b+52>>1]=0;hc(f,b,c,c,1,e);if(K[b+54|0]){break d}e:{if(!K[b+53|0]){break e}if(K[b+52|0]){d=1;if(J[b+24>>2]==1){break c}g=1;if(K[a+8|0]&2){break e}break c}g=1;if(!(H[a+8|0]&1)){break c}}f=f+8|0;continue}break}a=4;if(!g){break b}}a=3}J[b+44>>2]=a;if(d&1){break a}}J[b+20>>2]=c;J[b+40>>2]=J[b+40>>2]+1;if(J[b+36>>2]!=1|J[b+24>>2]!=2){break a}H[b+54|0]=1;return}g=J[a+12>>2];h=a+16|0;Qb(h,b,c,d,e);f=a+24|0;g=h+(g<<3)|0;if(f>>>0>=g>>>0){break a}a=J[a+8>>2];if(!(!(a&2)&J[b+36>>2]!=1)){while(1){if(K[b+54|0]){break a}Qb(f,b,c,d,e);f=f+8|0;if(g>>>0>f>>>0){continue}break}break a}if(!(a&1)){while(1){if(K[b+54|0]|J[b+36>>2]==1){break a}Qb(f,b,c,d,e);f=f+8|0;if(g>>>0>f>>>0){continue}break a}}while(1){if(K[b+54|0]|J[b+36>>2]==1&J[b+24>>2]==1){break a}Qb(f,b,c,d,e);f=f+8|0;if(g>>>0>f>>>0){continue}break}}}function Xf(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=0,f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=0,k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0);d=N[a+132>>2];i=N[a+72>>2];j=J[b+24>>2];e=j+P(J[a+96>>2],12)|0;q=N[e+8>>2];c=Ua(q);k=N[a+128>>2];n=N[a+68>>2];g=Ta(q);f=N[a+140>>2];o=N[a+80>>2];j=j+P(J[a+100>>2],12)|0;r=N[j+8>>2];h=Ua(r);l=N[a+136>>2];p=N[a+76>>2];m=Ta(r);s=N[j>>2];l=Q(p-l);f=Q(o-f);o=Q(Q(h*l)-Q(m*f));p=N[e>>2];k=Q(n-k);i=Q(i-d);n=Q(Q(c*k)-Q(g*i));d=Q(Q(Q(s+o)-p)-n);t=N[j+4>>2];m=Q(Q(m*l)+Q(h*f));f=N[e+4>>2];i=Q(Q(g*k)+Q(c*i));c=Q(Q(Q(t+m)-f)-i);g=Q(Y(Q(Q(d*d)+Q(c*c))));a:{if(g>2];h=N[a+148>>2];l=N[a+152>>2];v=f;f=N[a+144>>2];w=c;c=Q(g-N[a+84>>2]);c=c>2]));c=Q(w*u);N[e+4>>2]=v-Q(f*c);d=Q(d*u);N[e>>2]=p-Q(f*d);e=J[b+24>>2];N[(e+P(J[a+96>>2],12)|0)+8>>2]=q-Q(l*Q(Q(n*c)-Q(d*i)));e=e+P(J[a+100>>2],12)|0;N[e+4>>2]=t+Q(h*c);N[e>>2]=s+Q(h*d);N[(J[b+24>>2]+P(J[a+100>>2],12)|0)+8>>2]=Q(k*Q(Q(o*c)-Q(d*m)))+r;return Q(g-N[a+84>>2])>2];if(!K[e+102989|0]){c=Ya(e,44);J[c+40>>2]=0;J[c+32>>2]=-65535;J[c+24>>2]=0;J[c+28>>2]=0;J[c>>2]=0;J[c+4>>2]=0;I[c+36>>1]=0;J[c+8>>2]=0;J[c+12>>2]=0;J[c+40>>2]=J[b+4>>2];N[c+16>>2]=N[b+8>>2];j=N[b+12>>2];J[c+8>>2]=a;N[c+20>>2]=j;J[c+4>>2]=0;d=L[b+22>>1]|L[b+24>>1]<<16;I[c+32>>1]=d;I[c+34>>1]=d>>>16;I[c+36>>1]=L[b+26>>1];H[c+38|0]=K[b+20|0];d=J[b>>2];d=Ha[J[J[d>>2]+8>>2]](d,e)|0;J[c+12>>2]=d;g=Ha[J[J[d>>2]+12>>2]](d)|0;d=Ya(e,P(g,28));J[c+24>>2]=d;a:{if((g|0)<=0){break a}e=0;if(g>>>0>=4){i=g&-4;while(1){f=d+P(e,28)|0;J[f+24>>2]=-1;J[f+16>>2]=0;f=d+P(e|1,28)|0;J[f+24>>2]=-1;J[f+16>>2]=0;f=d+P(e|2,28)|0;J[f+24>>2]=-1;J[f+16>>2]=0;f=d+P(e|3,28)|0;J[f+24>>2]=-1;J[f+16>>2]=0;e=e+4|0;h=h+4|0;if((i|0)!=(h|0)){continue}break}}g=g&3;if(!g){break a}h=0;while(1){i=d+P(e,28)|0;J[i+24>>2]=-1;J[i+16>>2]=0;e=e+1|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}J[c+28>>2]=0;N[c>>2]=N[b+16>>2];if(K[a+4|0]&32){nd(c,J[a+88>>2]+102868|0,a+12|0)}J[c+4>>2]=J[a+100>>2];J[a+100>>2]=c;J[a+104>>2]=J[a+104>>2]+1;J[c+8>>2]=a;if(N[c>>2]>Q(0)){Jb(a)}H[J[a+88>>2]+102988|0]=1}return c|0}function eb(a,b,c){var d=0,e=0,f=0;if(c>>>0>=512){Ba(a|0,b|0,c|0);return a}e=a+c|0;a:{if(!((a^b)&3)){b:{if(!(a&3)){c=a;break b}if(!c){c=a;break b}c=a;while(1){H[c|0]=K[b|0];b=b+1|0;c=c+1|0;if(!(c&3)){break b}if(c>>>0>>0){continue}break}}d=e&-4;c:{if(d>>>0<64){break c}f=d+-64|0;if(f>>>0>>0){break c}while(1){J[c>>2]=J[b>>2];J[c+4>>2]=J[b+4>>2];J[c+8>>2]=J[b+8>>2];J[c+12>>2]=J[b+12>>2];J[c+16>>2]=J[b+16>>2];J[c+20>>2]=J[b+20>>2];J[c+24>>2]=J[b+24>>2];J[c+28>>2]=J[b+28>>2];J[c+32>>2]=J[b+32>>2];J[c+36>>2]=J[b+36>>2];J[c+40>>2]=J[b+40>>2];J[c+44>>2]=J[b+44>>2];J[c+48>>2]=J[b+48>>2];J[c+52>>2]=J[b+52>>2];J[c+56>>2]=J[b+56>>2];J[c+60>>2]=J[b+60>>2];b=b- -64|0;c=c- -64|0;if(f>>>0>=c>>>0){continue}break}}if(c>>>0>=d>>>0){break a}while(1){J[c>>2]=J[b>>2];b=b+4|0;c=c+4|0;if(d>>>0>c>>>0){continue}break}break a}if(e>>>0<4){c=a;break a}d=e-4|0;if(d>>>0>>0){c=a;break a}c=a;while(1){H[c|0]=K[b|0];H[c+1|0]=K[b+1|0];H[c+2|0]=K[b+2|0];H[c+3|0]=K[b+3|0];b=b+4|0;c=c+4|0;if(d>>>0>=c>>>0){continue}break}}if(c>>>0>>0){while(1){H[c|0]=K[b|0];b=b+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return a}function uf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;g=Fa-16|0;Fa=g;J[g+12>>2]=b;h=a+102868|0;J[g+8>>2]=h;d=Fa-1040|0;Fa=d;J[d+1036>>2]=256;b=d+8|0;J[d+4>>2]=b;J[d+8>>2]=J[h>>2];a=b;e=1;while(1){a:{e=e-1|0;J[d+1032>>2]=e;f=J[(e<<2)+a>>2];b:{if((f|0)==-1){break b}i=P(f,40);f=i+J[h+4>>2]|0;if(Q(N[c>>2]-N[f+8>>2])>Q(0)|Q(N[c+4>>2]-N[f+12>>2])>Q(0)|(Q(N[f>>2]-N[c+8>>2])>Q(0)|Q(N[f+4>>2]-N[c+12>>2])>Q(0))){break b}if(J[f+24>>2]==-1){a=J[g+12>>2];e=Ha[J[J[a>>2]+8>>2]](a,J[J[(J[J[g+8>>2]+4>>2]+i|0)+16>>2]+16>>2])|0;a=J[d+4>>2];if(!e){break a}e=J[d+1032>>2];if((e|0)>0){continue}break a}c:{if(J[d+1036>>2]!=(e|0)){break c}J[d+1036>>2]=e<<1;e=_a(e<<3);J[d+4>>2]=e;eb(e,a,J[d+1032>>2]<<2);if((a|0)==(b|0)){break c}Wa(a)}a=J[d+4>>2];J[a+(J[d+1032>>2]<<2)>>2]=J[f+24>>2];e=J[d+1032>>2]+1|0;J[d+1032>>2]=e;d:{if((e|0)!=J[d+1036>>2]){break d}J[d+1036>>2]=e<<1;e=_a(e<<3);J[d+4>>2]=e;eb(e,a,J[d+1032>>2]<<2);if((a|0)==(b|0)){break d}Wa(a)}a=J[d+4>>2];J[a+(J[d+1032>>2]<<2)>>2]=J[f+28>>2];e=J[d+1032>>2]+1|0;J[d+1032>>2]=e}if((e|0)>0){continue}}break}if((a|0)!=(b|0)){Wa(a)}Fa=d+1040|0;Fa=g+16|0} +function Yh(a,b){a=a|0;b=b|0;var c=0,d=0,e=Q(0),f=0,g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0);d=Fa-16|0;Fa=d;a:{if(K[J[a+88>>2]+102989|0]|J[a>>2]==(b|0)){break a}J[a>>2]=b;Jb(a);b:{if(J[a>>2]){break b}J[a+72>>2]=0;J[a+64>>2]=0;J[a+68>>2]=0;e=N[a+56>>2];N[a+52>>2]=e;j=N[a+48>>2];c=J[a+48>>2];k=N[a+44>>2];J[a+36>>2]=J[a+44>>2];J[a+40>>2]=c;f=J[a+88>>2]+102868|0;if(K[a+4|0]&2){g=Ua(e);N[d+12>>2]=g;e=Ta(e);N[d+8>>2]=e;h=N[a+28>>2];i=N[a+32>>2];N[d+4>>2]=j-Q(Q(e*h)+Q(g*i));N[d>>2]=k-Q(Q(g*h)-Q(i*e));b=J[a+100>>2];if(!b){break b}c=a+12|0;while(1){Hb(b,f,d,c);b=J[b+4>>2];if(b){continue}break}break b}b=J[a+100>>2];if(!b){break b}c=a+12|0;while(1){Hb(b,f,c,c);b=J[b+4>>2];if(b){continue}break}}J[a+144>>2]=0;J[a+84>>2]=0;J[a+76>>2]=0;J[a+80>>2]=0;I[a+4>>1]=L[a+4>>1]|2;b=J[a+112>>2];if(b){while(1){c=J[b+12>>2];Ib(J[a+88>>2]+102868|0,J[b+4>>2]);b=c;if(b){continue}break}}J[a+112>>2]=0;c=J[a+100>>2];if(!c){break a}a=J[a+88>>2]+102868|0;while(1){f=J[c+28>>2];if((f|0)>0){b=0;while(1){uc(a,J[(J[c+24>>2]+P(b,28)|0)+24>>2]);b=b+1|0;if((f|0)!=(b|0)){continue}break}}c=J[c+4>>2];if(c){continue}break}}Fa=d+16|0}function Jb(a){a=a|0;var b=Q(0),c=Q(0),d=Q(0),e=Q(0),f=0,g=0,h=Q(0),i=0,j=Q(0),k=Q(0);g=Fa-16|0;Fa=g;J[a+116>>2]=0;J[a+120>>2]=0;J[a+28>>2]=0;J[a+32>>2]=0;J[a+124>>2]=0;J[a+128>>2]=0;a:{if(M[a>>2]<=1){f=J[a+16>>2];i=J[a+12>>2];J[a+44>>2]=i;J[a+48>>2]=f;J[a+36>>2]=i;J[a+40>>2]=f;N[a+52>>2]=N[a+56>>2];break a}c=N[3186];d=N[3185];b:{c:{f=J[a+100>>2];if(!f){break c}while(1){b=N[f>>2];if(b!=Q(0)){i=J[f+12>>2];Ha[J[J[i>>2]+28>>2]](i,g,b);b=N[g>>2];e=Q(b+N[a+116>>2]);N[a+116>>2]=e;j=N[g+4>>2];k=N[g+8>>2];h=Q(N[g+12>>2]+N[a+124>>2]);N[a+124>>2]=h;d=Q(d+Q(b*j));c=Q(c+Q(b*k))}f=J[f+4>>2];if(f){continue}break}if(e>Q(0)){b=Q(Q(1)/e);N[a+120>>2]=b;d=Q(d*b);c=Q(c*b)}if(!(h>Q(0))|K[a+4|0]&16){break c}e=Q(h-Q(e*Q(Q(d*d)+Q(c*c))));N[a+124>>2]=e;b=Q(Q(1)/e);break b}J[a+124>>2]=0;b=Q(0)}N[a+128>>2]=b;N[a+32>>2]=c;N[a+28>>2]=d;b=N[a+44>>2];h=N[a+24>>2];j=N[a+20>>2];e=Q(N[a+12>>2]+Q(Q(h*d)-Q(c*j)));N[a+44>>2]=e;k=N[a+48>>2];c=Q(Q(Q(j*d)+Q(h*c))+N[a+16>>2]);N[a+48>>2]=c;N[a+40>>2]=c;N[a+36>>2]=e;d=N[a+72>>2];N[a+64>>2]=N[a+64>>2]-Q(d*Q(c-k));N[a+68>>2]=Q(d*Q(e-b))+N[a+68>>2]}Fa=g+16|0}function Af(a,b){a=a|0;b=b|0;var c=0,d=0,e=Q(0),f=0,g=0,h=Q(0);if(!K[a+102989|0]){c=Ya(a,152);d=K[b+39|0];I[c+4>>1]=((d|0)!=0)<<3;d=d<<3;if(K[b+38|0]){d=d|16;I[c+4>>1]=d}if(K[b+36|0]){d=d|4;I[c+4>>1]=d}if(K[b+37|0]){d=d|2;I[c+4>>1]=d}if(K[b+40|0]){I[c+4>>1]=d|32}J[c+88>>2]=a;f=J[b+8>>2];d=J[b+4>>2];J[c+12>>2]=d;J[c+16>>2]=f;e=N[b+12>>2];J[c+44>>2]=d;J[c+48>>2]=f;J[c+36>>2]=d;J[c+40>>2]=f;J[c+28>>2]=0;J[c+32>>2]=0;g=c,h=Ua(e),N[g+24>>2]=h;g=c,h=Ta(e),N[g+20>>2]=h;e=N[b+12>>2];J[c+108>>2]=0;J[c+112>>2]=0;J[c+60>>2]=0;N[c+56>>2]=e;N[c+52>>2]=e;J[c+92>>2]=0;J[c+96>>2]=0;d=J[b+20>>2];J[c+64>>2]=J[b+16>>2];J[c+68>>2]=d;N[c+72>>2]=N[b+24>>2];N[c+132>>2]=N[b+28>>2];N[c+136>>2]=N[b+32>>2];e=N[b+48>>2];J[c+144>>2]=0;J[c+84>>2]=0;J[c+76>>2]=0;J[c+80>>2]=0;N[c+140>>2]=e;d=J[b>>2];J[c+124>>2]=0;J[c+128>>2]=0;J[c>>2]=d;e=(d|0)==2?Q(1):Q(0);N[c+120>>2]=e;N[c+116>>2]=e;b=J[b+44>>2];J[c+100>>2]=0;J[c+104>>2]=0;J[c+148>>2]=b;d=c;J[c+92>>2]=0;b=J[a+102948>>2];J[c+96>>2]=b;if(b){J[b+92>>2]=d}J[a+102948>>2]=d;J[a+102956>>2]=J[a+102956>>2]+1}return d|0}function xd(a,b){var c=0,d=0,e=0,f=0,g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=0;if(J[a>>2]==(b|0)){J[a>>2]=-1;return}f=J[a+4>>2];d=J[(f+P(b,40)|0)+20>>2];e=P(d,40)+f|0;c=J[e+20>>2];k=b;b=J[e+24>>2];if((k|0)==(b|0)){b=J[e+28>>2]}a:{if((c|0)!=-1){e=f+P(c,40)|0;J[((d|0)==J[e+24>>2]?e+24|0:e+28|0)>>2]=b;J[(f+P(b,40)|0)+20>>2]=c;b=P(d,40);J[(b+J[a+4>>2]|0)+20>>2]=J[a+16>>2];J[(b+J[a+4>>2]|0)+32>>2]=-1;J[a+16>>2]=d;J[a+8>>2]=J[a+8>>2]-1;while(1){b=yd(a,c);c=J[a+4>>2];e=P(b,40);b=c+e|0;f=P(J[b+28>>2],40);d=c+f|0;g=N[d>>2];k=P(J[b+24>>2],40);c=k+c|0;h=N[c>>2];i=N[c+4>>2];j=N[d+4>>2];N[b+4>>2]=i>2]=g>h?h:g;g=N[c+8>>2];h=N[d+8>>2];i=N[c+12>>2];j=N[d+12>>2];N[b+12>>2]=i>j?i:j;N[b+8>>2]=g>h?g:h;b=J[a+4>>2];d=b+e|0;c=J[(b+k|0)+32>>2];b=J[(b+f|0)+32>>2];J[d+32>>2]=((b|0)<(c|0)?c:b)+1;c=J[d+20>>2];if((c|0)!=-1){continue}break}break a}J[a>>2]=b;J[(f+P(b,40)|0)+20>>2]=-1;b=P(d,40);J[(b+J[a+4>>2]|0)+20>>2]=J[a+16>>2];J[(b+J[a+4>>2]|0)+32>>2]=-1;J[a+16>>2]=d;J[a+8>>2]=J[a+8>>2]-1}}function rg(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=0,n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0),w=Q(0),x=Q(0),y=Q(0);k=Q(-N[a+112>>2]);l=N[a+136>>2];m=J[b+28>>2];c=m+P(J[a+124>>2],12)|0;n=N[c>>2];j=N[c+8>>2];o=N[a+156>>2];p=N[c+4>>2];q=N[a+152>>2];r=N[a+140>>2];f=N[a+128>>2];c=P(J[a+120>>2],12)+m|0;s=N[c>>2];d=N[c+8>>2];t=N[a+148>>2];g=N[c+4>>2];u=N[a+144>>2];h=N[a+132>>2];e=Q(Q(Q(k*Q(Q(l*Q(n-Q(j*o)))+Q(Q(p+Q(j*q))*r)))-Q(Q(f*Q(s-Q(d*t)))+Q(Q(g+Q(d*u))*h)))*Q(-N[a+192>>2]));N[a+116>>2]=N[a+116>>2]+e;w=N[a+188>>2];v=N[a+180>>2];x=N[a+184>>2];y=g;g=N[a+176>>2];i=h;h=Q(-e);i=Q(i*h);N[c+4>>2]=y+Q(g*i);f=Q(f*h);N[c>>2]=s+Q(g*f);c=J[b+28>>2];N[(c+P(J[a+120>>2],12)|0)+8>>2]=d+Q(x*Q(Q(u*i)-Q(f*t)));c=c+P(J[a+124>>2],12)|0;d=Q(e*k);e=Q(r*d);N[c+4>>2]=p+Q(v*e);d=Q(l*d);N[c>>2]=n+Q(v*d);N[(J[b+28>>2]+P(J[a+124>>2],12)|0)+8>>2]=j+Q(w*Q(Q(q*e)-Q(d*o)))}function Yf(a,b){a=a|0;b=b|0;var c=Q(0),d=0,e=Q(0),f=Q(0),g=Q(0),h=0,i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0),v=Q(0);e=N[a+92>>2];c=Q(N[a+88>>2]-N[a+84>>2]);k=N[a+104>>2];d=J[b+28>>2];h=d+P(J[a+100>>2],12)|0;l=N[h>>2];i=N[h+8>>2];m=N[a+124>>2];d=d+P(J[a+96>>2],12)|0;n=N[d>>2];j=N[d+8>>2];o=N[a+116>>2];p=N[h+4>>2];q=N[a+120>>2];f=N[d+4>>2];r=N[a+112>>2];s=N[a+108>>2];g=Q(Q(k*Q(Q(l-Q(i*m))-Q(n-Q(j*o))))+Q(Q(Q(p+Q(i*q))-Q(f+Q(j*r)))*s));c=Q(e-Q(N[a+160>>2]*(c>2]*c)+g):g)));c=c>Q(0)?Q(0):c;N[a+92>>2]=c;t=N[a+156>>2];g=N[a+148>>2];u=N[a+152>>2];v=f;f=N[a+144>>2];c=Q(c-e);e=Q(s*c);N[d+4>>2]=v-Q(f*e);c=Q(k*c);N[d>>2]=n-Q(f*c);d=J[b+28>>2];N[(d+P(J[a+96>>2],12)|0)+8>>2]=j-Q(u*Q(Q(r*e)-Q(c*o)));d=d+P(J[a+100>>2],12)|0;N[d+4>>2]=p+Q(g*e);N[d>>2]=l+Q(g*c);N[(J[b+28>>2]+P(J[a+100>>2],12)|0)+8>>2]=i+Q(t*Q(Q(q*e)-Q(c*m)))}function ei(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=0,m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0);l=J[a+148>>2];if((l|0)<=0){return 0}g=N[d+4>>2];f=Q(N[c+12>>2]-g);h=N[d>>2];i=Q(N[c+8>>2]-h);j=N[d+12>>2];k=Q(N[c+4>>2]-g);g=N[d+8>>2];h=Q(N[c>>2]-h);m=Q(Q(j*k)-Q(g*h));p=Q(Q(Q(j*f)-Q(g*i))-m);n=Q(Q(j*h)+Q(k*g));q=Q(Q(Q(j*i)+Q(g*f))-n);r=Q(-g);k=N[c+16>>2];e=-1;d=0;h=Q(0);a:{while(1){c=(d<<3)+a|0;f=N[c+84>>2];o=N[c+88>>2];i=Q(Q(f*Q(N[c+20>>2]-n))+Q(Q(N[c+24>>2]-m)*o));f=Q(Q(f*q)+Q(p*o));b:{if(f==Q(0)){if(!(iQ(0))|!(ik)){d=d+1|0;if((l|0)==(d|0)){break a}continue}break}return 0}if((e|0)>=0){N[b+8>>2]=h;a=(e<<3)+a|0;f=N[a+84>>2];h=Q(g*f);g=N[a+88>>2];N[b+4>>2]=h+Q(j*g);N[b>>2]=Q(j*f)+Q(g*r);a=1}else{a=0}return a|0}function ii(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=0,j=Q(0),k=0;g=N[c+12>>2];f=N[c+4>>2];d=N[c>>2];e=Q(N[c+8>>2]-d);a:{b:{if((e>Q(0)?e:Q(-e))>2]|d>N[a+8>>2]){break a}e=Q(34028234663852886e22);d=Q(-34028234663852886e22);break b}e=Q(Q(1)/e);h=Q(e*Q(N[a+8>>2]-d));d=Q(e*Q(N[a>>2]-d));i=hQ(34028234663852886e22)?Q(34028234663852886e22):e;d=i?h:d;d=d>Q(-34028234663852886e22)?d:Q(-34028234663852886e22);if(eQ(0)?g:Q(-g))>2]-f));f=Q(j*Q(N[a+4>>2]-f));a=gd;d=i?j:d;f=a?f:g;if(d>(e>2]){break a}e=Q(0);if(f>N[a+12>>2]){break a}}if(d>2]>2]=e;N[b>>2]=h;N[b+8>>2]=d;k=1}return k|0}function Ph(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0);i=N[d+4>>2];f=Q(N[c+12>>2]-i);g=N[d>>2];h=Q(N[c+8>>2]-g);j=N[d+12>>2];i=Q(N[c+4>>2]-i);k=N[d+8>>2];g=Q(N[c>>2]-g);m=Q(Q(j*i)-Q(k*g));r=Q(Q(Q(j*f)-Q(k*h))-m);n=Q(Q(j*g)+Q(i*k));s=Q(Q(Q(j*h)+Q(k*f))-n);o=N[a+12>>2];l=Q(N[a+20>>2]-o);i=Q(-l);d=0;p=N[a+16>>2];h=Q(N[a+24>>2]-p);q=Q(Q(h*h)+Q(l*l));f=Q(Y(q));a:{if(fN[c+16>>2]|q==Q(0)){break b}h=Q(Q(Q(Q(Q(n+Q(s*g))-o)*l)+Q(h*Q(Q(m+Q(r*g))-p)))/q);if(hQ(1)){break b}N[b+8>>2]=g;h=Q(Q(k*f)+Q(j*i));a=t>Q(0);N[b+4>>2]=a?Q(-h):h;f=Q(Q(j*f)+Q(i*Q(-k)));N[b>>2]=a?Q(-f):f;d=1}return d|0}function Ya(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!b){return 0}if((b|0)>=641){return _a(b)}d=K[b+23620|0];g=(d<<2)+a|0;b=J[g+12>>2];if(b){J[g+12>>2]=J[b>>2];return b}b=J[a+4>>2];if((b|0)==J[a+8>>2]){c=b+128|0;J[a+8>>2]=c;b=J[a>>2];c=_a(c<<3);J[a>>2]=c;eb(c,b,J[a+4>>2]<<3);xb(J[a>>2]+(J[a+4>>2]<<3)|0,0,1024);Wa(b);b=J[a+4>>2]}h=J[a>>2]+(b<<3)|0;c=_a(16384);J[h+4>>2]=c;d=J[(d<<2)+12640>>2];J[h>>2]=d;e=16384/(d|0)|0;i=e-1|0;a:{if((e|0)<2){break a}b=0;if(e-2>>>0>=3){l=i&-4;e=0;while(1){f=c+P(d,b|1)|0;J[c+P(b,d)>>2]=f;j=f;f=c+P(d,b|2)|0;J[j>>2]=f;j=f;f=c+P(d,b|3)|0;J[j>>2]=f;b=b+4|0;J[f>>2]=c+P(d,b);e=e+4|0;if((l|0)!=(e|0)){continue}break}}e=i&3;if(!e){break a}while(1){f=c+P(b,d)|0;b=b+1|0;J[f>>2]=c+P(d,b);k=k+1|0;if((e|0)!=(k|0)){continue}break}}J[c+P(d,i)>>2]=0;J[g+12>>2]=J[c>>2];J[a+4>>2]=J[a+4>>2]+1;return J[h+4>>2]}function kl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{if(b){if(!c){break j}break i}Ga=0;a=(a>>>0)/(c>>>0)|0;break a}if(!a){break h}break g}if(!(c-1&c)){break f}f=(S(c)+33|0)-S(b)|0;g=0-f|0;break d}Ga=0;a=(b>>>0)/0|0;break a}d=32-S(b)|0;if(d>>>0<31){break e}break c}if((c|0)==1){break b}f=il(c);c=f&31;if((f&63)>>>0>=32){a=b>>>c|0}else{d=b>>>c|0;a=((1<>>c}Ga=d;break a}f=d+1|0;g=63-d|0}d=f&63;e=d&31;if(d>>>0>=32){d=0;h=b>>>e|0}else{d=b>>>e|0;h=((1<>>e}g=g&63;e=g&31;if(g>>>0>=32){b=a<>>32-e|b<>>31;d=h<<1|b>>>31;e=l-(i+(d>>>0>g>>>0)|0)>>31;j=c&e;h=d-j|0;d=i-(d>>>0>>0)|0;b=b<<1|a>>>31;a=k|a<<1;k=e&1;f=f-1|0;if(f){continue}break}}Ga=b<<1|a>>>31;a=k|a<<1;break a}a=0;b=0}Ga=b}return a}function Wc(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{if(K[a+102989|0]){break a}g=K[b+61|0];c=J[b+8>>2];if(c){J[c+12>>2]=J[b+12>>2]}d=J[b+12>>2];if(d){J[d+8>>2]=c}if(J[a+102952>>2]==(b|0)){J[a+102952>>2]=d}c=J[b+52>>2];d=J[b+48>>2];J[d+144>>2]=0;I[d+4>>1]=L[d+4>>1]|2;J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;e=J[b+24>>2];if(e){J[e+12>>2]=J[b+28>>2]}f=J[b+28>>2];if(f){J[f+8>>2]=e}if(J[d+108>>2]==(b+16|0)){J[d+108>>2]=f}J[b+24>>2]=0;J[b+28>>2]=0;e=J[b+40>>2];if(e){J[e+12>>2]=J[b+44>>2]}f=J[b+44>>2];if(f){J[f+8>>2]=e}if(J[c+108>>2]==(b+32|0)){J[c+108>>2]=f}J[b+40>>2]=0;J[b+44>>2]=0;Ha[J[J[b>>2]+24>>2]](b)|0;e=J[b+4>>2]-1|0;if(e>>>0<=10){Bb(a,b,J[(e<<2)+13480>>2])}J[a+102960>>2]=J[a+102960>>2]-1;if(g){break a}b=J[c+112>>2];if(!b){break a}while(1){if((d|0)==J[b>>2]){a=J[b+4>>2];J[a+4>>2]=J[a+4>>2]|8}b=J[b+12>>2];if(b){continue}break}}}function Gh(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=0,h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0),u=Q(0);f=N[a+100>>2];l=N[a+116>>2];c=J[b+28>>2];g=c+P(J[a+112>>2],12)|0;m=N[g>>2];h=N[g+8>>2];n=N[a+136>>2];c=c+P(J[a+108>>2],12)|0;o=N[c>>2];i=N[c+8>>2];p=N[a+128>>2];e=N[a+120>>2];q=N[g+4>>2];r=N[a+132>>2];d=N[c+4>>2];s=N[a+124>>2];j=Q(Q(Q(f*N[a+96>>2])+Q(N[a+76>>2]+Q(Q(l*Q(Q(m-Q(h*n))-Q(o-Q(i*p))))+Q(e*Q(Q(q+Q(h*r))-Q(d+Q(i*s)))))))*Q(-N[a+172>>2]));N[a+100>>2]=f+j;u=N[a+168>>2];t=N[a+160>>2];f=N[a+164>>2];k=d;d=N[a+156>>2];e=Q(e*j);N[c+4>>2]=k-Q(d*e);k=d;d=Q(l*j);N[c>>2]=o-Q(k*d);c=J[b+28>>2];N[(c+P(J[a+108>>2],12)|0)+8>>2]=i-Q(f*Q(Q(s*e)-Q(d*p)));c=c+P(J[a+112>>2],12)|0;N[c+4>>2]=q+Q(e*t);N[c>>2]=m+Q(d*t);N[(J[b+28>>2]+P(J[a+112>>2],12)|0)+8>>2]=h+Q(u*Q(Q(r*e)-Q(d*n)))}function ud(a){a=a|0;var b=0,c=Q(0),d=0;b=Fa-224|0;Fa=b;d=J[a+8>>2];Sa(7074,0);Sa(8318,0);J[b+208>>2]=J[a>>2];Sa(9758,b+208|0);c=N[a+12>>2];O[b+200>>3]=N[a+16>>2];O[b+192>>3]=c;Sa(8738,b+192|0);O[b+176>>3]=N[a+56>>2];Sa(7653,b+176|0);c=N[a+64>>2];O[b+168>>3]=N[a+68>>2];O[b+160>>3]=c;Sa(8520,b+160|0);O[b+144>>3]=N[a+72>>2];Sa(7171,b+144|0);O[b+128>>3]=N[a+132>>2];Sa(7563,b+128|0);O[b+112>>3]=N[a+136>>2];Sa(7531,b+112|0);J[b+96>>2]=L[a+4>>1]&4;Sa(9540,b+96|0);J[b+80>>2]=L[a+4>>1]&2;Sa(9601,b+80|0);J[b+64>>2]=L[a+4>>1]&16;Sa(9569,b- -64|0);J[b+48>>2]=L[a+4>>1]&8;Sa(9456,b+48|0);J[b+32>>2]=L[a+4>>1]&32;Sa(9660,b+32|0);O[b+16>>3]=N[a+140>>2];Sa(7764,b+16|0);J[b>>2]=J[a+8>>2];Sa(9306,b);Sa(10169,0);a=J[a+100>>2];if(a){while(1){Sa(7072,0);md(a,d);Sa(7067,0);a=J[a+4>>2];if(a){continue}break}}Sa(7069,0);Fa=b+224|0}function Vc(){Ea(18868,5355);Da(18892,3614,1,1,0);ha(18904,2966,1,-128,127);ha(18928,2959,1,-128,127);ha(18916,2957,1,0,255);ha(18940,1622,2,-32768,32767);ha(18952,1613,2,0,65535);ha(18964,2035,4,-2147483648,2147483647);ha(18976,2026,4,0,-1);ha(18988,3849,4,-2147483648,2147483647);ha(19e3,3840,4,0,-1);Ic(19012,2331,-2147483648,2147483647);Ic(19024,2330,0,-1);sa(19036,2324,4);sa(19048,5069,8);ra(20352,3867);ra(14396,6818);pa(14468,4,3854);pa(14544,2,3879);pa(14620,4,3894);Ca(19940,3636);ea(14660,0,6749);ea(14700,0,6851);ea(14740,1,6779);ea(14780,2,6314);ea(14820,3,6345);ea(14860,4,6385);ea(14900,5,6414);ea(14940,4,6888);ea(14980,5,6918);ea(14700,0,6516);ea(14740,1,6483);ea(14780,2,6582);ea(14820,3,6548);ea(14860,4,6716);ea(14900,5,6682);ea(15020,8,6649);ea(15060,9,6615);ea(15100,6,6452);ea(15140,7,6957)}function nf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Fa-32|0;Fa=f;d=J[a+28>>2];J[f+16>>2]=d;g=J[a+20>>2];J[f+28>>2]=c;J[f+24>>2]=b;b=g-d|0;J[f+20>>2]=b;g=b+c|0;i=2;a:{b:{b=f+16|0;d=qa(J[a+60>>2],b|0,2,f+12|0)|0;if(d){J[6386]=d;d=-1}else{d=0}c:{d:{if(d){d=b;break d}while(1){e=J[f+12>>2];if((e|0)==(g|0)){break c}if((e|0)<0){d=b;break b}h=J[b+4>>2];j=h>>>0>>0;d=(j<<3)+b|0;h=e-(j?h:0)|0;J[d>>2]=h+J[d>>2];b=(j?12:4)+b|0;J[b>>2]=J[b>>2]-h;g=g-e|0;b=d;i=i-j|0;e=qa(J[a+60>>2],b|0,i|0,f+12|0)|0;if(e){J[6386]=e;e=-1}else{e=0}if(!e){continue}break}}if((g|0)!=-1){break b}}b=J[a+44>>2];J[a+28>>2]=b;J[a+20>>2]=b;J[a+16>>2]=b+J[a+48>>2];a=c;break a}J[a+28>>2]=0;J[a+16>>2]=0;J[a+20>>2]=0;J[a>>2]=J[a>>2]|32;a=0;if((i|0)==2){break a}a=c-J[d+4>>2]|0}Fa=f+32|0;return a|0}function Ua(a){var b=Q(0),c=0,d=0,e=0,f=0;c=Fa-16|0;Fa=c;e=(C(a),v(2));d=e&2147483647;a:{if(d>>>0<=1061752794){b=Q(1);if(d>>>0<964689920){break a}b=ob(+a);break a}if(d>>>0<=1081824209){if(d>>>0>=1075235812){b=Q(-ob(((e|0)<0?3.141592653589793:-3.141592653589793)+ +a));break a}f=+a;if((e|0)<0){b=nb(f+1.5707963267948966);break a}b=nb(1.5707963267948966-f);break a}if(d>>>0<=1088565717){if(d>>>0>=1085271520){b=ob(((e|0)<0?6.283185307179586:-6.283185307179586)+ +a);break a}if((e|0)<0){b=nb(-4.71238898038469-+a);break a}b=nb(+a+-4.71238898038469);break a}b=Q(a-a);if(d>>>0>=2139095040){break a}b:{switch(Uc(a,c+8|0)&3){case 0:b=ob(O[c+8>>3]);break a;case 1:b=nb(-O[c+8>>3]);break a;case 2:b=Q(-ob(O[c+8>>3]));break a;default:break b}}b=nb(O[c+8>>3])}a=b;Fa=c+16|0;return a}function nd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=Q(0);e=J[a+12>>2];e=Ha[J[J[e>>2]+12>>2]](e)|0;J[a+28>>2]=e;if((e|0)>0){while(1){g=J[a+12>>2];e=J[a+24>>2]+P(h,28)|0;Ha[J[J[g>>2]+24>>2]](g,e,c,h);g=Ad(b);i=N[e>>2];d=P(g,40);f=d+J[b+4>>2]|0;N[f+4>>2]=N[e+4>>2]+Q(-.10000000149011612);N[f>>2]=i+Q(-.10000000149011612);i=N[e+12>>2];f=d+J[b+4>>2]|0;N[f+8>>2]=N[e+8>>2]+Q(.10000000149011612);N[f+12>>2]=i+Q(.10000000149011612);d=d+J[b+4>>2]|0;H[d+36|0]=1;J[d+32>>2]=0;J[d+16>>2]=e;zd(b,g);J[b+28>>2]=J[b+28>>2]+1;d=J[b+40>>2];if((d|0)==J[b+36>>2]){J[b+36>>2]=d<<1;f=J[b+32>>2];d=_a(d<<3);J[b+32>>2]=d;eb(d,f,J[b+40>>2]<<2);Wa(f);d=J[b+40>>2]}J[J[b+32>>2]+(d<<2)>>2]=g;J[b+40>>2]=J[b+40>>2]+1;J[e+20>>2]=h;J[e+16>>2]=a;J[e+24>>2]=g;h=h+1|0;if((h|0)>2]){continue}break}}}function Ta(a){var b=0,c=0,d=0,e=0;b=Fa-16|0;Fa=b;e=(C(a),v(2));c=e&2147483647;a:{if(c>>>0<=1061752794){if(c>>>0<964689920){break a}a=nb(+a);break a}if(c>>>0<=1081824209){d=+a;if(c>>>0<=1075235811){if((e|0)<0){a=Q(-ob(d+1.5707963267948966));break a}a=ob(d+-1.5707963267948966);break a}a=nb(-(((e|0)>=0?-3.141592653589793:3.141592653589793)+d));break a}if(c>>>0<=1088565717){if(c>>>0<=1085271519){d=+a;if((e|0)<0){a=ob(d+4.71238898038469);break a}a=Q(-ob(d+-4.71238898038469));break a}a=nb(((e|0)<0?6.283185307179586:-6.283185307179586)+ +a);break a}if(c>>>0>=2139095040){a=Q(a-a);break a}b:{switch(Uc(a,b+8|0)&3){case 0:a=nb(O[b+8>>3]);break a;case 1:a=ob(O[b+8>>3]);break a;case 2:a=nb(-O[b+8>>3]);break a;default:break b}}a=Q(-ob(O[b+8>>3]))}Fa=b+16|0;return a}function rf(a){a=a|0;var b=0,c=0,d=0,e=0,f=Q(0);c=Fa-48|0;Fa=c;if(!K[a+102989|0]){f=N[a+102968>>2];O[c+32>>3]=N[a+102964>>2];O[c+40>>3]=f;Sa(9197,c+32|0);Sa(8495,0);J[c+16>>2]=J[a+102956>>2];Sa(9962,c+16|0);J[c>>2]=J[a+102960>>2];Sa(10022,c);b=J[a+102948>>2];if(b){while(1){J[b+8>>2]=e;ud(b);e=e+1|0;b=J[b+96>>2];if(b){continue}break}}d=J[a+102952>>2];a:{if(!d){break a}b=0;e=d;while(1){J[e+56>>2]=b;b=b+1|0;e=J[e+12>>2];if(e){continue}break}if(!d){break a}while(1){if(J[d+4>>2]!=6){Sa(7074,0);Ha[J[J[d>>2]+16>>2]](d);Sa(7069,0)}d=J[d+12>>2];if(d){continue}break}b=J[a+102952>>2];if(!b){break a}while(1){if(J[b+4>>2]==6){Sa(7074,0);Ha[J[J[b>>2]+16>>2]](b);Sa(7069,0)}b=J[b+12>>2];if(b){continue}break}}Sa(8461,0);Sa(8478,0);Sa(7077,0);Sa(7096,0)}Fa=c+48|0}function Ib(a,b){var c=0,d=0,e=0,f=0;f=J[J[b+52>>2]+8>>2];d=J[J[b+48>>2]+8>>2];c=J[a+72>>2];if(!(!c|!(K[b+4|0]&2))){Ha[J[J[c>>2]+12>>2]](c,b)}c=J[b+8>>2];if(c){J[c+12>>2]=J[b+12>>2]}e=J[b+12>>2];if(e){J[e+8>>2]=c}if(J[a+60>>2]==(b|0)){J[a+60>>2]=e}c=J[b+24>>2];if(c){J[c+12>>2]=J[b+28>>2]}e=J[b+28>>2];if(e){J[e+8>>2]=c}if(J[d+112>>2]==(b+16|0)){J[d+112>>2]=e}d=J[b+40>>2];if(d){J[d+12>>2]=J[b+44>>2]}c=J[b+44>>2];if(c){J[c+8>>2]=d}if(J[f+112>>2]==(b+32|0)){J[f+112>>2]=c}e=J[a+76>>2];f=J[b+52>>2];d=J[b+48>>2];if(!(K[f+38|0]|(K[d+38|0]|J[b+124>>2]<=0))){c=J[d+8>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[f+8>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2}Ha[J[((P(J[J[d+12>>2]+4>>2],48)+24272|0)+P(J[J[f+12>>2]+4>>2],12)|0)+4>>2]](b,e);J[a+64>>2]=J[a+64>>2]-1}function pe(a,b,c,d,e,f){a=a|0;b=Q(b);c=Q(c);d=Q(d);e=Q(e);f=Q(f);var g=0,h=0,i=0,j=Q(0),k=Q(0);h=Fa-16|0;Fa=h;N[h+12>>2]=e;N[h+8>>2]=d;J[a+84>>2]=0;J[a+88>>2]=-1082130432;J[a+148>>2]=4;J[a+108>>2]=-1082130432;J[a+112>>2]=0;J[a+100>>2]=0;J[a+104>>2]=1065353216;J[a+92>>2]=1065353216;J[a+96>>2]=0;N[a+48>>2]=c;d=Q(-b);N[a+44>>2]=d;N[a+40>>2]=c;N[a+36>>2]=b;c=Q(-c);N[a+32>>2]=c;N[a+28>>2]=b;N[a+24>>2]=c;N[a+20>>2]=d;g=J[h+12>>2];J[a+12>>2]=J[h+8>>2];J[a+16>>2]=g;c=Ta(f);d=Q(-c);j=N[h+12>>2];k=N[h+8>>2];b=Ua(f);while(1){g=(i<<3)+a|0;e=N[g+84>>2];f=N[g+88>>2];N[g+84>>2]=Q(b*e)+Q(f*d);N[g+88>>2]=Q(c*e)+Q(b*f);e=N[g+20>>2];f=N[g+24>>2];N[g+24>>2]=j+Q(Q(c*e)+Q(b*f));N[g+20>>2]=k+Q(Q(b*e)+Q(f*d));i=i+1|0;if((i|0)>2]){continue}break}Fa=h+16|0}function zf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(!K[a+102989|0]){c=J[b+108>>2];if(c){while(1){d=J[c+12>>2];e=J[a+102976>>2];if(e){Ha[J[J[e>>2]+8>>2]](e,J[c+4>>2])}Wc(a,J[c+4>>2]);J[b+108>>2]=d;c=d;if(c){continue}break}}J[b+108>>2]=0;c=J[b+112>>2];if(c){e=a+102868|0;while(1){d=J[c+12>>2];Ib(e,J[c+4>>2]);c=d;if(c){continue}break}}J[b+112>>2]=0;c=J[b+100>>2];if(c){f=a+102868|0;while(1){d=J[c+4>>2];e=J[a+102976>>2];if(e){Ha[J[J[e>>2]+12>>2]](e,c)}pc(c,f);qc(c,a);Bb(a,c,44);J[b+100>>2]=d;J[b+104>>2]=J[b+104>>2]-1;c=d;if(c){continue}break}}J[b+100>>2]=0;J[b+104>>2]=0;c=J[b+92>>2];if(c){J[c+96>>2]=J[b+96>>2]}d=J[b+96>>2];if(d){J[d+92>>2]=c}if(J[a+102948>>2]==(b|0)){J[a+102948>>2]=d}J[a+102956>>2]=J[a+102956>>2]-1;Bb(a,b,152)}}function ug(a){a=a|0;var b=0,c=Q(0),d=0,e=0;b=Fa-224|0;Fa=b;d=J[J[a+52>>2]+8>>2];e=J[J[a+48>>2]+8>>2];Sa(8269,0);J[b+208>>2]=e;Sa(8435,b+208|0);J[b+192>>2]=d;Sa(8409,b+192|0);J[b+176>>2]=K[a+61|0];Sa(9625,b+176|0);c=N[a+68>>2];O[b+168>>3]=N[a+72>>2];O[b+160>>3]=c;Sa(8936,b+160|0);c=N[a+76>>2];O[b+152>>3]=N[a+80>>2];O[b+144>>3]=c;Sa(8811,b+144|0);c=N[a+84>>2];O[b+136>>3]=N[a+88>>2];O[b+128>>3]=c;Sa(8896,b+128|0);O[b+112>>3]=N[a+100>>2];Sa(7732,b+112|0);J[b+96>>2]=K[a+136|0];Sa(9426,b+96|0);O[b+80>>3]=N[a+120>>2];Sa(7412,b+80|0);O[b+64>>3]=N[a+124>>2];Sa(7446,b- -64|0);J[b+48>>2]=K[a+137|0];Sa(9481,b+48|0);O[b+32>>3]=N[a+132>>2];Sa(7851,b+32|0);O[b+16>>3]=N[a+128>>2];Sa(7820,b+16|0);J[b>>2]=J[a+56>>2];Sa(9226,b);Fa=b+224|0}function li(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0);e=0;k=N[c>>2];i=Q(N[c+8>>2]-k);l=N[c+4>>2];f=Q(N[c+12>>2]-l);h=Q(Q(i*i)+Q(f*f));a:{if(h>2];j=N[a+12>>2];n=N[a+16>>2];m=N[d+8>>2];k=Q(k-Q(N[d>>2]+Q(Q(g*j)-Q(n*m))));l=Q(l-Q(N[d+4>>2]+Q(Q(m*j)+Q(g*n))));g=Q(Q(k*i)+Q(l*f));j=N[a+8>>2];j=Q(Q(g*g)-Q(Q(Q(Q(k*k)+Q(l*l))-Q(j*j))*h));if(j>2]))){break a}h=Q(g/h);N[b+8>>2]=h;f=Q(l+Q(f*h));N[b+4>>2]=f;i=Q(k+Q(i*h));N[b>>2]=i;e=1;h=Q(Y(Q(Q(i*i)+Q(f*f))));if(h>2]=m*f;N[b>>2]=i*f}return e|0}function Pc(a,b,c){a:{switch(b-9|0){case 0:b=J[c>>2];J[c>>2]=b+4;J[a>>2]=J[b>>2];return;case 6:b=J[c>>2];J[c>>2]=b+4;b=I[b>>1];J[a>>2]=b;J[a+4>>2]=b>>31;return;case 7:b=J[c>>2];J[c>>2]=b+4;J[a>>2]=L[b>>1];J[a+4>>2]=0;return;case 8:b=J[c>>2];J[c>>2]=b+4;b=H[b|0];J[a>>2]=b;J[a+4>>2]=b>>31;return;case 9:b=J[c>>2];J[c>>2]=b+4;J[a>>2]=K[b|0];J[a+4>>2]=0;return;case 16:b=J[c>>2]+7&-8;J[c>>2]=b+8;O[a>>3]=O[b>>3];return;case 17:Nc(a,c);default:return;case 1:case 4:case 14:b=J[c>>2];J[c>>2]=b+4;b=J[b>>2];J[a>>2]=b;J[a+4>>2]=b>>31;return;case 2:case 5:case 11:case 15:b=J[c>>2];J[c>>2]=b+4;J[a>>2]=J[b>>2];J[a+4>>2]=0;return;case 3:case 10:case 12:case 13:break a}}b=J[c>>2]+7&-8;J[c>>2]=b+8;c=J[b+4>>2];J[a>>2]=J[b>>2];J[a+4>>2]=c}function lb(a,b){var c=0,d=0,e=0;c=Fa+-64|0;Fa=c;d=J[a>>2];e=J[d-4>>2];d=J[d-8>>2];J[c+32>>2]=0;J[c+36>>2]=0;J[c+40>>2]=0;J[c+44>>2]=0;J[c+48>>2]=0;J[c+52>>2]=0;H[c+55|0]=0;H[c+56|0]=0;H[c+57|0]=0;H[c+58|0]=0;H[c+59|0]=0;H[c+60|0]=0;H[c+61|0]=0;H[c+62|0]=0;J[c+24>>2]=0;J[c+28>>2]=0;J[c+20>>2]=0;J[c+16>>2]=18516;J[c+12>>2]=a;J[c+8>>2]=b;a=a+d|0;d=0;a:{if(Za(e,b,0)){J[c+56>>2]=1;Ha[J[J[e>>2]+20>>2]](e,c+8|0,a,a,1,0);d=J[c+32>>2]==1?a:0;break a}Ha[J[J[e>>2]+24>>2]](e,c+8|0,a,1,0);b:{switch(J[c+44>>2]){case 0:d=J[c+48>>2]==1?J[c+36>>2]==1?J[c+40>>2]==1?J[c+28>>2]:0:0:0;break a;case 1:break b;default:break a}}if(J[c+32>>2]!=1){if(J[c+48>>2]|J[c+36>>2]!=1|J[c+40>>2]!=1){break a}}d=J[c+24>>2]}Fa=c- -64|0;return d}function Wg(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=Q(0),g=0,h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0);g=J[b+28>>2]+P(J[a+116>>2],12)|0;j=N[g>>2];h=N[g+8>>2];k=N[a+124>>2];c=N[a+108>>2];i=N[a+96>>2];d=Q(-Q(Q(Q(j-Q(h*k))+N[a+160>>2])+Q(c*i)));l=N[g+4>>2];m=N[a+120>>2];f=N[a+100>>2];e=Q(Q(Q(l+Q(h*m))+N[a+164>>2])+Q(c*f));c=Q(f+Q(Q(N[a+148>>2]*d)-Q(N[a+156>>2]*e)));N[a+100>>2]=c;d=Q(i+Q(Q(N[a+144>>2]*d)-Q(N[a+152>>2]*e)));N[a+96>>2]=d;n=Q(Q(d*d)+Q(c*c));e=Q(N[b>>2]*N[a+104>>2]);if(n>Q(e*e)){e=Q(e/Q(Y(n)));c=Q(c*e);N[a+100>>2]=c;d=Q(d*e);N[a+96>>2]=d}e=N[a+140>>2];c=Q(c-f);f=N[a+136>>2];N[g+4>>2]=l+Q(c*f);d=Q(d-i);N[g>>2]=j+Q(f*d);N[(J[b+28>>2]+P(J[a+116>>2],12)|0)+8>>2]=Q(e*Q(Q(m*c)-Q(d*k)))+h}function xb(a,b,c){var d=0,e=0;a:{if(!c){break a}H[a|0]=b;d=a+c|0;H[d-1|0]=b;if(c>>>0<3){break a}H[a+2|0]=b;H[a+1|0]=b;H[d-3|0]=b;H[d-2|0]=b;if(c>>>0<7){break a}H[a+3|0]=b;H[d-4|0]=b;if(c>>>0<9){break a}d=0-a&3;e=d+a|0;a=P(b&255,16843009);J[e>>2]=a;c=c-d&-4;b=c+e|0;J[b-4>>2]=a;if(c>>>0<9){break a}J[e+8>>2]=a;J[e+4>>2]=a;J[b-8>>2]=a;J[b-12>>2]=a;if(c>>>0<25){break a}J[e+24>>2]=a;J[e+20>>2]=a;J[e+16>>2]=a;J[e+12>>2]=a;J[b-16>>2]=a;J[b-20>>2]=a;J[b-24>>2]=a;J[b-28>>2]=a;b=e&4|24;c=c-b|0;if(c>>>0<32){break a}a=jl(a,0,1,1);d=Ga;b=b+e|0;while(1){J[b+24>>2]=a;J[b+28>>2]=d;J[b+16>>2]=a;J[b+20>>2]=d;J[b+8>>2]=a;J[b+12>>2]=d;J[b>>2]=a;J[b+4>>2]=d;b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}}function Dg(a){a=a|0;var b=0,c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0);b=J[a+52>>2];f=N[b+20>>2];g=Q(N[a+76>>2]-N[b+28>>2]);i=N[b+24>>2];j=Q(N[a+80>>2]-N[b+32>>2]);k=Q(Q(f*g)+Q(i*j));c=J[a+48>>2];d=N[c+20>>2];l=Q(N[a+68>>2]-N[c+28>>2]);e=N[c+24>>2];m=Q(N[a+72>>2]-N[c+32>>2]);n=Q(Q(d*l)+Q(e*m));o=N[a+84>>2];p=N[a+88>>2];q=Q(Q(e*o)-Q(p*d));h=N[c+72>>2];f=Q(Q(i*g)-Q(j*f));g=Q(Q(e*l)-Q(m*d));d=Q(Q(d*o)+Q(e*p));e=N[b+72>>2];return Q(Q(Q(Q(Q(Q(k+N[b+48>>2])-Q(n+N[c+48>>2]))*Q(q*h))-Q(Q(Q(f+N[b+44>>2])-Q(g+N[c+44>>2]))*Q(d*h)))+Q(Q(q*Q(Q(n*h)+Q(Q(N[b+64>>2]-Q(k*e))-N[c+64>>2])))+Q(d*Q(Q(Q(N[b+68>>2]+Q(f*e))-N[c+68>>2])-Q(g*h))))))}function Wj(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=0,i=Q(0),j=Q(0);if(!(K[J[a+88>>2]+102989|0]|J[a>>2]!=2)){J[a+124>>2]=0;J[a+128>>2]=0;c=N[b>>2];c=c<=Q(0)?Q(1):c;N[a+116>>2]=c;N[a+120>>2]=Q(1)/c;e=N[b+12>>2];if(!(!(e>Q(0))|K[a+4|0]&16)){f=c;c=N[b+4>>2];d=Q(c*c);c=N[b+8>>2];c=Q(e-Q(f*Q(d+Q(c*c))));N[a+124>>2]=c;N[a+128>>2]=Q(1)/c}f=N[b+8>>2];h=J[b+8>>2];c=N[b+4>>2];b=J[b+4>>2];J[a+28>>2]=b;J[a+32>>2]=h;i=N[a+48>>2];d=N[a+20>>2];g=N[a+24>>2];e=Q(Q(Q(d*c)+Q(g*f))+N[a+16>>2]);N[a+48>>2]=e;j=N[a+44>>2];c=Q(N[a+12>>2]+Q(Q(g*c)-Q(f*d)));N[a+44>>2]=c;N[a+40>>2]=e;N[a+36>>2]=c;d=N[a+72>>2];N[a+64>>2]=N[a+64>>2]-Q(d*Q(e-i));N[a+68>>2]=Q(d*Q(c-j))+N[a+68>>2]}}function $f(a){a=a|0;var b=0,c=Q(0),d=0,e=0;b=Fa-208|0;Fa=b;d=J[J[a+52>>2]+8>>2];e=J[J[a+48>>2]+8>>2];Sa(8173,0);J[b+192>>2]=e;Sa(8435,b+192|0);J[b+176>>2]=d;Sa(8409,b+176|0);J[b+160>>2]=K[a+61|0];Sa(9625,b+160|0);c=N[a+68>>2];O[b+152>>3]=N[a+72>>2];O[b+144>>3]=c;Sa(8936,b+144|0);c=N[a+76>>2];O[b+136>>3]=N[a+80>>2];O[b+128>>3]=c;Sa(8811,b+128|0);O[b+112>>3]=N[a+116>>2];Sa(7732,b+112|0);J[b+96>>2]=K[a+112|0];Sa(9426,b+96|0);O[b+80>>3]=N[a+120>>2];Sa(7676,b+80|0);O[b+64>>3]=N[a+124>>2];Sa(7704,b- -64|0);J[b+48>>2]=K[a+100|0];Sa(9481,b+48|0);O[b+32>>3]=N[a+108>>2];Sa(7851,b+32|0);O[b+16>>3]=N[a+104>>2];Sa(7621,b+16|0);J[b>>2]=J[a+56>>2];Sa(9226,b);Fa=b+208|0}function Df(a){a=a|0;var b=0,c=Q(0),d=0,e=0;b=Fa-192|0;Fa=b;d=J[J[a+52>>2]+8>>2];e=J[J[a+48>>2]+8>>2];Sa(8150,0);J[b+176>>2]=e;Sa(8435,b+176|0);J[b+160>>2]=d;Sa(8409,b+160|0);J[b+144>>2]=K[a+61|0];Sa(9625,b+144|0);c=N[a+76>>2];O[b+136>>3]=N[a+80>>2];O[b+128>>3]=c;Sa(8936,b+128|0);c=N[a+84>>2];O[b+120>>3]=N[a+88>>2];O[b+112>>3]=c;Sa(8811,b+112|0);c=N[a+92>>2];O[b+104>>3]=N[a+96>>2];O[b+96>>3]=c;Sa(8896,b+96|0);J[b+80>>2]=K[a+128|0];Sa(9481,b+80|0);O[b+64>>3]=N[a+124>>2];Sa(7851,b- -64|0);O[b+48>>3]=N[a+120>>2];Sa(7621,b+48|0);O[b+32>>3]=N[a+68>>2];Sa(7115,b+32|0);O[b+16>>3]=N[a+72>>2];Sa(7323,b+16|0);J[b>>2]=J[a+56>>2];Sa(9226,b);Fa=b+192|0}function og(a){a=a|0;var b=0,c=Q(0),d=0,e=0;b=Fa-176|0;Fa=b;d=J[J[a+52>>2]+8>>2];e=J[J[a+48>>2]+8>>2];Sa(8055,0);J[b+160>>2]=e;Sa(8435,b+160|0);J[b+144>>2]=d;Sa(8409,b+144|0);J[b+128>>2]=K[a+61|0];Sa(9625,b+128|0);c=N[a+68>>2];O[b+120>>3]=N[a+72>>2];O[b+112>>3]=c;Sa(8978,b+112|0);c=N[a+76>>2];O[b+104>>3]=N[a+80>>2];O[b+96>>3]=c;Sa(8853,b+96|0);c=N[a+92>>2];O[b+88>>3]=N[a+96>>2];O[b+80>>3]=c;Sa(8936,b+80|0);c=N[a+100>>2];O[b+72>>3]=N[a+104>>2];O[b+64>>3]=c;Sa(8811,b- -64|0);O[b+48>>3]=N[a+84>>2];Sa(7904,b+48|0);O[b+32>>3]=N[a+88>>2];Sa(7879,b+32|0);O[b+16>>3]=N[a+112>>2];Sa(7300,b+16|0);J[b>>2]=J[a+56>>2];Sa(9226,b);Fa=b+176|0}function Sh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=Q(0),f=0,g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0);f=J[J[a+48>>2]+12>>2];a=J[J[a+52>>2]+12>>2];J[b+60>>2]=0;e=N[d+12>>2];g=N[a+12>>2];h=N[a+16>>2];i=N[d+8>>2];j=N[c+12>>2];k=N[f+12>>2];l=N[f+16>>2];m=N[c+8>>2];n=Q(Q(N[d>>2]+Q(Q(e*g)-Q(h*i)))-Q(N[c>>2]+Q(Q(j*k)-Q(l*m))));e=Q(Q(Q(Q(i*g)+Q(e*h))+N[d+4>>2])-Q(Q(Q(m*k)+Q(j*l))+N[c+4>>2]));g=Q(Q(n*n)+Q(e*e));e=Q(N[f+8>>2]+N[a+8>>2]);if(!(g>Q(e*e))){J[b+56>>2]=0;c=J[f+12>>2];d=J[f+16>>2];J[b+60>>2]=1;J[b+40>>2]=0;J[b+44>>2]=0;J[b+48>>2]=c;J[b+52>>2]=d;c=J[a+12>>2];a=J[a+16>>2];J[b+16>>2]=0;J[b>>2]=c;J[b+4>>2]=a}}function Vb(a,b,c){var d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=Q(0),q=Q(0),r=Q(0),s=Q(0),t=Q(0);l=N[b+8>>2];g=N[b+12>>2];h=N[b+28>>2];i=N[b+24>>2];d=N[b+16>>2];p=Q(Q(g*h)-Q(i*d));m=N[b>>2];j=N[b+32>>2];k=N[b+20>>2];q=Q(Q(d*j)-Q(h*k));n=N[b+4>>2];r=Q(Q(k*i)-Q(j*g));e=Q(Q(l*p)+Q(Q(m*q)+Q(n*r)));o=e!=Q(0)?Q(Q(1)/e):e;e=N[c+4>>2];f=N[c>>2];s=Q(l*Q(Q(g*e)-Q(f*d)));t=d;d=N[c+8>>2];N[a+8>>2]=o*Q(s+Q(Q(m*Q(Q(t*d)-Q(e*k)))+Q(n*Q(Q(k*f)-Q(d*g)))));N[a+4>>2]=o*Q(Q(l*Q(Q(f*h)-Q(i*e)))+Q(Q(m*Q(Q(e*j)-Q(h*d)))+Q(n*Q(Q(d*i)-Q(j*f)))));N[a>>2]=o*Q(Q(d*p)+Q(Q(f*q)+Q(r*e)))}function Ad(a){var b=0,c=0,d=0;b=J[a+4>>2];c=J[a+16>>2];if((c|0)==-1){c=J[a+12>>2];J[a+12>>2]=c<<1;c=_a(P(c,80));J[a+4>>2]=c;eb(c,b,P(J[a+8>>2],40));Wa(b);c=J[a+4>>2];b=J[a+8>>2];d=J[a+12>>2]-1|0;if((b|0)<(d|0)){while(1){d=P(b,40);b=b+1|0;J[(d+c|0)+20>>2]=b;c=J[a+4>>2];J[(d+c|0)+32>>2]=-1;d=J[a+12>>2]-1|0;if((d|0)>(b|0)){continue}break}}J[(P(d,40)+c|0)+20>>2]=-1;b=J[a+4>>2];J[(b+P(J[a+12>>2],40)|0)-8>>2]=-1;c=J[a+8>>2];J[a+16>>2]=c}d=b;b=P(c,40);d=d+b|0;J[a+16>>2]=J[d+20>>2];J[d+20>>2]=-1;b=b+J[a+4>>2]|0;J[b+32>>2]=0;J[b+24>>2]=-1;J[b+28>>2]=-1;H[b+36|0]=0;J[b+16>>2]=0;J[a+8>>2]=J[a+8>>2]+1;return c}function Ze(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(Za(a,J[b+8>>2],f)){ic(b,c,d,e);return}g=K[b+53|0];j=J[a+12>>2];H[b+53|0]=0;h=K[b+52|0];H[b+52|0]=0;m=a+16|0;hc(m,b,c,d,e,f);k=K[b+53|0];g=g|k;l=K[b+52|0];h=h|l;i=a+24|0;j=(j<<3)+m|0;a:{if(i>>>0>=j>>>0){break a}while(1){if(K[b+54|0]){break a}b:{if(l){if(J[b+24>>2]==1){break a}if(K[a+8|0]&2){break b}break a}if(!k){break b}if(!(H[a+8|0]&1)){break a}}I[b+52>>1]=0;hc(i,b,c,d,e,f);k=K[b+53|0];g=k|g;l=K[b+52|0];h=l|h;i=i+8|0;if(j>>>0>i>>>0){continue}break}}H[b+53|0]=(g&255)!=0;H[b+52|0]=(h&255)!=0}function Si(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=J[a+4>>2];if((c|0)!=J[a+8>>2]){e=J[b+4>>2];J[c>>2]=J[b>>2];J[c+4>>2]=e;J[a+4>>2]=c+8;return}a:{h=J[a>>2];e=c-h|0;g=e>>3;d=g+1|0;if(d>>>0<536870912){f=e>>2;f=e>>>0>=2147483640?536870911:d>>>0>>0?f:d;if(f){if(f>>>0>=536870912){break a}e=Ra(f<<3)}else{e=0}d=e+(g<<3)|0;g=J[b+4>>2];J[d>>2]=J[b>>2];J[d+4>>2]=g;b=d+8|0;if((c|0)!=(h|0)){while(1){c=c-8|0;g=J[c+4>>2];d=d-8|0;J[d>>2]=J[c>>2];J[d+4>>2]=g;if((c|0)!=(h|0)){continue}break}c=J[a>>2]}J[a+8>>2]=e+(f<<3);J[a+4>>2]=b;J[a>>2]=d;if(c){Wa(c)}return}ma();B()}Fb();B()}function di(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0),o=Q(0),p=0,q=Q(0);j=N[c+8>>2];f=N[a+20>>2];k=N[c+12>>2];e=N[a+24>>2];n=N[c+4>>2];h=Q(Q(Q(j*f)+Q(k*e))+n);o=N[c>>2];i=Q(o+Q(Q(k*f)-Q(e*j)));c=1;p=J[a+148>>2];a:{if((p|0)<=1){f=i;e=h;break a}m=Q(-j);e=h;f=i;while(1){d=(c<<3)+a|0;q=N[d+20>>2];g=N[d+24>>2];l=Q(n+Q(Q(j*q)+Q(k*g)));e=e>l?e:l;g=Q(o+Q(Q(k*q)+Q(g*m)));f=f>g?f:g;h=h>2];N[b+12>>2]=m+e;N[b+8>>2]=f+e;N[b+4>>2]=h-e;N[b>>2]=i-e}function me(a,b,c){a=a|0;b=Q(b);c=Q(c);var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{d=J[a+4>>2];e=J[a+8>>2];if(d>>>0>>0){N[d+4>>2]=c;N[d>>2]=b;J[a+4>>2]=d+8;break a}b:{h=J[a>>2];i=d-h>>3;f=i+1|0;if(f>>>0<536870912){e=e-h|0;g=e>>2;g=e>>>0>=2147483640?536870911:g>>>0>f>>>0?g:f;if(g){if(g>>>0>=536870912){break b}f=Ra(g<<3)}else{f=0}e=f+(i<<3)|0;N[e+4>>2]=c;N[e>>2]=b;i=e+8|0;if((d|0)!=(h|0)){while(1){d=d-8|0;j=J[d+4>>2];e=e-8|0;J[e>>2]=J[d>>2];J[e+4>>2]=j;if((d|0)!=(h|0)){continue}break}d=J[a>>2]}J[a+8>>2]=f+(g<<3);J[a+4>>2]=i;J[a>>2]=e;if(d){Wa(d)}break a}ma();B()}Fb();B()}}function Xb(a,b,c,d,e){var f=Q(0),g=Q(0),h=Q(0),i=0,j=0,k=0,l=Q(0),m=Q(0);f=N[c>>2];g=N[c+4>>2];h=Q(Q(Q(f*N[b+12>>2])+Q(g*N[b+16>>2]))-d);c=0;d=Q(Q(Q(f*N[b>>2])+Q(g*N[b+4>>2]))-d);if(d<=Q(0)){c=J[b+4>>2];J[a>>2]=J[b>>2];J[a+4>>2]=c;J[a+8>>2]=J[b+8>>2];c=1}if(h<=Q(0)){i=b+12|0;k=J[i+4>>2];j=P(c,12)+a|0;J[j>>2]=J[i>>2];J[j+4>>2]=k;J[j+8>>2]=J[i+8>>2];c=c+1|0}if(Q(d*h)>2];l=N[b+12>>2];g=N[b+4>>2];m=N[b+16>>2];a=P(c,12)+a|0;H[a+8|0]=e;d=Q(d/Q(d-h));N[a+4>>2]=g+Q(d*Q(m-g));N[a>>2]=f+Q(d*Q(l-f));b=K[b+9|0];I[a+10>>1]=256;H[a+9|0]=b;c=c+1|0}return c}function td(a,b,c){var d=0,e=0,f=0,g=0;f=1;J[b+4>>2]=1;N[b+8>>2]=N[a+8>>2];e=c<<3;d=e+J[a+12>>2]|0;g=J[d+4>>2];J[b+12>>2]=J[d>>2];J[b+16>>2]=g;d=J[a+12>>2]+e|0;g=J[d+12>>2];J[b+20>>2]=J[d+8>>2];J[b+24>>2]=g;a:{if((c|0)>0){e=(J[a+12>>2]+e|0)-8|0;d=J[e+4>>2];J[b+28>>2]=J[e>>2];J[b+32>>2]=d;break a}f=J[a+24>>2];J[b+28>>2]=J[a+20>>2];J[b+32>>2]=f;f=K[a+36|0]}H[b+44|0]=f;if((J[a+16>>2]-2|0)>(c|0)){a=J[a+12>>2]+(c<<3)|0;c=J[a+20>>2];J[b+36>>2]=J[a+16>>2];J[b+40>>2]=c;H[b+45|0]=1;return}c=J[a+32>>2];J[b+36>>2]=J[a+28>>2];J[b+40>>2]=c;H[b+45|0]=K[a+37|0]}function $e(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(Za(a,J[b+8>>2],e)){if(!(J[b+28>>2]==1|J[b+4>>2]!=(c|0))){J[b+28>>2]=d}return}a:{if(Za(a,J[b>>2],e)){if(!(J[b+16>>2]!=(c|0)&J[b+20>>2]!=(c|0))){if((d|0)!=1){break a}J[b+32>>2]=1;return}J[b+32>>2]=d;b:{if(J[b+44>>2]==4){break b}I[b+52>>1]=0;a=J[a+8>>2];Ha[J[J[a>>2]+20>>2]](a,b,c,c,1,e);if(K[b+53|0]){J[b+44>>2]=3;if(!K[b+52|0]){break b}break a}J[b+44>>2]=4}J[b+20>>2]=c;J[b+40>>2]=J[b+40>>2]+1;if(J[b+36>>2]!=1|J[b+24>>2]!=2){break a}H[b+54|0]=1;return}a=J[a+8>>2];Ha[J[J[a>>2]+24>>2]](a,b,c,d,e)}}function Sa(a,b){var c=0,d=0,e=0,f=0;d=Fa-16|0;Fa=d;J[d+12>>2]=b;c=Fa-208|0;Fa=c;J[c+204>>2]=b;b=c+160|0;xb(b,0,40);J[c+200>>2]=J[c+204>>2];a:{if((Rc(0,a,c+200|0,c+80|0,b)|0)<0){break a}f=J[5859]>=0;b=J[5840];if(J[5858]<=0){J[5840]=b&-33}b:{c:{d:{if(!J[5852]){J[5852]=80;J[5847]=0;J[5844]=0;J[5845]=0;e=J[5851];J[5851]=c;break d}if(J[5844]){break c}}if(Tc(23360)){break b}}Rc(23360,a,c+200|0,c+80|0,c+160|0)}if(e){Ha[J[5849]](23360,0,0)|0;J[5852]=0;J[5851]=e;J[5847]=0;J[5844]=0;J[5845]=0}J[5840]=J[5840]|b&32;if(!f){break a}}Fa=c+208|0;Fa=d+16|0}function Ci(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=Fa-16|0;Fa=h;f=a+16|0;g=J[f>>2];a:{if(!g){break a}j=J[b+48>>2];e=f;d=g;while(1){i=M[d+16>>2]>>0;e=i?e:d;d=J[(i?d+4|0:d)>>2];if(d){continue}break}if(!((e|0)!=(f|0)&M[e+16>>2]<=j>>>0)){i=J[b+52>>2];d=f;while(1){e=i>>>0>M[g+16>>2];d=e?d:g;e=J[(e?g+4|0:g)>>2];g=e;if(e){continue}break}if((d|0)==(f|0)|i>>>0>2]){break a}}f=J[a+8>>2];if(!(H[23564]&1)){a=ba(3,20844)|0;H[23564]=1;J[5890]=a}a=J[5890];J[h+8>>2]=c;J[h>>2]=b;da(a|0,f|0,4289,h|0)}Fa=h+16|0}function Bi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=Fa-16|0;Fa=h;f=a+16|0;g=J[f>>2];a:{if(!g){break a}j=J[b+48>>2];e=f;d=g;while(1){i=M[d+16>>2]>>0;e=i?e:d;d=J[(i?d+4|0:d)>>2];if(d){continue}break}if(!((e|0)!=(f|0)&M[e+16>>2]<=j>>>0)){i=J[b+52>>2];d=f;while(1){e=i>>>0>M[g+16>>2];d=e?d:g;e=J[(e?g+4|0:g)>>2];g=e;if(e){continue}break}if((d|0)==(f|0)|i>>>0>2]){break a}}f=J[a+8>>2];if(!(H[23564]&1)){a=ba(3,20844)|0;H[23564]=1;J[5890]=a}a=J[5890];J[h+8>>2]=c;J[h>>2]=b;da(a|0,f|0,4279,h|0)}Fa=h+16|0}function Ei(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=Fa-16|0;Fa=h;e=a+16|0;f=J[e>>2];a:{if(!f){break a}i=J[b+48>>2];d=e;c=f;while(1){g=M[c+16>>2]>>0;d=g?d:c;c=J[(g?c+4|0:c)>>2];if(c){continue}break}if(!((d|0)!=(e|0)&M[d+16>>2]<=i>>>0)){g=J[b+52>>2];c=e;while(1){d=g>>>0>M[f+16>>2];c=d?c:f;d=J[(d?f+4|0:f)>>2];f=d;if(d){continue}break}if((c|0)==(e|0)|g>>>0>2]){break a}}e=J[a+8>>2];if(!(H[23556]&1)){a=ba(2,20836)|0;H[23556]=1;J[5888]=a}a=J[5888];J[h+8>>2]=b;da(a|0,e|0,2300,h+8|0)}Fa=h+16|0}function Di(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=Fa-16|0;Fa=h;e=a+16|0;f=J[e>>2];a:{if(!f){break a}i=J[b+48>>2];d=e;c=f;while(1){g=M[c+16>>2]>>0;d=g?d:c;c=J[(g?c+4|0:c)>>2];if(c){continue}break}if(!((d|0)!=(e|0)&M[d+16>>2]<=i>>>0)){g=J[b+52>>2];c=e;while(1){d=g>>>0>M[f+16>>2];c=d?c:f;d=J[(d?f+4|0:f)>>2];f=d;if(d){continue}break}if((c|0)==(e|0)|g>>>0>2]){break a}}e=J[a+8>>2];if(!(H[23556]&1)){a=ba(2,20836)|0;H[23556]=1;J[5888]=a}a=J[5888];J[h+8>>2]=b;da(a|0,e|0,2313,h+8|0)}Fa=h+16|0}function Xh(a,b,c){a=a|0;b=b|0;c=Q(c);var d=0,e=Q(0),f=Q(0),g=Q(0),h=0,i=Q(0),j=Q(0);d=J[a+88>>2];if(!K[d+102989|0]){f=Ua(c);N[a+24>>2]=f;g=Ta(c);N[a+20>>2]=g;j=N[b+4>>2];h=J[b+4>>2];e=N[b>>2];b=J[b>>2];J[a+12>>2]=b;J[a+16>>2]=h;N[a+56>>2]=c;N[a+52>>2]=c;c=N[a+28>>2];i=N[a+32>>2];e=Q(Q(Q(f*c)-Q(g*i))+e);N[a+44>>2]=e;N[a+36>>2]=e;c=Q(Q(Q(g*c)+Q(f*i))+j);N[a+48>>2]=c;N[a+40>>2]=c;b=J[a+100>>2];if(b){h=d+102868|0;d=a+12|0;while(1){Hb(b,h,d,d);b=J[b+4>>2];if(b){continue}break}d=J[a+88>>2]}Ub(d+102868|0)}}function ne(a,b){a=a|0;b=b|0;var c=0,d=0;if(!(K[J[a+88>>2]+102989|0]|!b)){c=J[a+100>>2];a:{if(!c){break a}if((b|0)==(c|0)){d=a+100|0}else{while(1){d=c;c=J[c+4>>2];if(!c){break a}if((b|0)!=(c|0)){continue}break}d=d+4|0}J[d>>2]=J[b+4>>2]}c=J[a+112>>2];if(c){while(1){d=J[c+4>>2];c=J[c+12>>2];if(!(J[d+48>>2]!=(b|0)&J[d+52>>2]!=(b|0))){Ib(J[a+88>>2]+102868|0,d)}if(c){continue}break}}d=J[a+88>>2];if(K[a+4|0]&32){pc(b,d+102868|0)}J[b+4>>2]=0;J[b+8>>2]=0;qc(b,d);Bb(d,b,44);J[a+104>>2]=J[a+104>>2]-1;Jb(a)}}function aj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=J[a+4>>2];if((e|0)!=J[a+8>>2]){J[e>>2]=J[b>>2];J[a+4>>2]=e+4;return}a:{g=J[a>>2];f=e-g|0;c=f>>2;d=c+1|0;if(d>>>0<1073741824){h=c<<2;c=f>>1;c=f>>>0>=2147483644?1073741823:c>>>0>d>>>0?c:d;if(c){if(c>>>0>=1073741824){break a}f=Ra(c<<2)}else{f=0}d=h+f|0;J[d>>2]=J[b>>2];b=d+4|0;if((e|0)!=(g|0)){while(1){d=d-4|0;e=e-4|0;J[d>>2]=J[e>>2];if((e|0)!=(g|0)){continue}break}}J[a+8>>2]=f+(c<<2);J[a+4>>2]=b;J[a>>2]=d;if(g){Wa(g)}return}ma();B()}Fb();B()}function Dh(a){a=a|0;var b=0,c=Q(0),d=0,e=0;b=Fa-144|0;Fa=b;d=J[J[a+52>>2]+8>>2];e=J[J[a+48>>2]+8>>2];Sa(8221,0);J[b+128>>2]=e;Sa(8435,b+128|0);J[b+112>>2]=d;Sa(8409,b+112|0);J[b+96>>2]=K[a+61|0];Sa(9625,b+96|0);c=N[a+80>>2];O[b+88>>3]=N[a+84>>2];O[b+80>>3]=c;Sa(8936,b+80|0);c=N[a+88>>2];O[b+72>>3]=N[a+92>>2];O[b+64>>3]=c;Sa(8811,b- -64|0);O[b+48>>3]=N[a+104>>2];Sa(7480,b+48|0);O[b+32>>3]=N[a+68>>2];Sa(7115,b+32|0);O[b+16>>3]=N[a+72>>2];Sa(7323,b+16|0);J[b>>2]=J[a+56>>2];Sa(9226,b);Fa=b+144|0}function Pf(a){a=a|0;var b=0,c=Q(0),d=0,e=0;b=Fa-144|0;Fa=b;d=J[J[a+52>>2]+8>>2];e=J[J[a+48>>2]+8>>2];Sa(8247,0);J[b+128>>2]=e;Sa(8435,b+128|0);J[b+112>>2]=d;Sa(8409,b+112|0);J[b+96>>2]=K[a+61|0];Sa(9625,b+96|0);c=N[a+80>>2];O[b+88>>3]=N[a+84>>2];O[b+80>>3]=c;Sa(8936,b+80|0);c=N[a+88>>2];O[b+72>>3]=N[a+92>>2];O[b+64>>3]=c;Sa(8811,b- -64|0);O[b+48>>3]=N[a+96>>2];Sa(7732,b+48|0);O[b+32>>3]=N[a+68>>2];Sa(7115,b+32|0);O[b+16>>3]=N[a+72>>2];Sa(7323,b+16|0);J[b>>2]=J[a+56>>2];Sa(9226,b);Fa=b+144|0}function fi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=Q(0),f=0,g=0,h=Q(0),i=Q(0),j=Q(0),k=Q(0);g=J[a+148>>2];d=1;a:{if((g|0)<=0){break a}e=N[b+12>>2];h=Q(N[c>>2]-N[b>>2]);i=Q(N[c+4>>2]-N[b+4>>2]);j=N[b+8>>2];k=Q(Q(e*h)+Q(i*j));e=Q(Q(e*i)-Q(j*h));d=0;if(Q(Q(N[a+84>>2]*Q(k-N[a+20>>2]))+Q(Q(e-N[a+24>>2])*N[a+88>>2]))>Q(0)){break a}while(1){f=f+1|0;if((g|0)!=(f|0)){b=(f<<3)+a|0;if(!(Q(Q(N[b+84>>2]*Q(k-N[b+20>>2]))+Q(Q(e-N[b+24>>2])*N[b+88>>2]))>Q(0))){continue}}break}d=(f|0)>=(g|0)}return d|0}function wd(a){var b=0,c=0,d=Q(0),e=Q(0),f=0,g=Q(0),h=Q(0),i=Q(0);c=Fa-16|0;Fa=c;f=J[a+88>>2]+102868|0;a:{if(K[a+4|0]&2){d=N[a+52>>2];e=Ua(d);N[c+12>>2]=e;d=Ta(d);N[c+8>>2]=d;i=N[a+36>>2];g=N[a+28>>2];h=N[a+32>>2];N[c+4>>2]=N[a+40>>2]-Q(Q(d*g)+Q(e*h));N[c>>2]=i-Q(Q(e*g)-Q(h*d));b=J[a+100>>2];if(!b){break a}a=a+12|0;while(1){Hb(b,f,c,a);b=J[b+4>>2];if(b){continue}break}break a}b=J[a+100>>2];if(!b){break a}a=a+12|0;while(1){Hb(b,f,a,a);b=J[b+4>>2];if(b){continue}break}}Fa=c+16|0}function ah(a){a=a|0;var b=0,c=0,d=0,e=Q(0);b=Fa-144|0;Fa=b;c=J[J[a+52>>2]+8>>2];d=J[J[a+48>>2]+8>>2];Sa(8079,0);J[b+128>>2]=d;Sa(8435,b+128|0);J[b+112>>2]=c;Sa(8409,b+112|0);J[b+96>>2]=K[a+61|0];Sa(9625,b+96|0);e=N[a+68>>2];O[b+88>>3]=N[a+72>>2];O[b+80>>3]=e;Sa(8658,b+80|0);O[b+64>>3]=N[a+76>>2];Sa(7204,b- -64|0);O[b+48>>3]=N[a+92>>2];Sa(7794,b+48|0);O[b+32>>3]=N[a+96>>2];Sa(7594,b+32|0);O[b+16>>3]=N[a+100>>2];Sa(7266,b+16|0);J[b>>2]=J[a+56>>2];Sa(9226,b);Fa=b+144|0}function pc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(J[a+28>>2]>0){while(1){g=J[a+24>>2]+P(e,28)|0;d=J[g+24>>2];c=0;f=J[b+40>>2];if((f|0)>0){i=J[b+32>>2];while(1){h=(c<<2)+i|0;if(J[h>>2]==(d|0)){J[h>>2]=-1;f=J[b+40>>2]}c=c+1|0;if((f|0)>(c|0)){continue}break}}J[b+28>>2]=J[b+28>>2]-1;xd(b,d);c=P(d,40);J[(c+J[b+4>>2]|0)+20>>2]=J[b+16>>2];J[(c+J[b+4>>2]|0)+32>>2]=-1;J[b+16>>2]=d;J[b+8>>2]=J[b+8>>2]-1;J[g+24>>2]=-1;e=e+1|0;if((e|0)>2]){continue}break}}J[a+28>>2]=0}function Wh(a,b){a=a|0;b=b|0;var c=0,d=0;c=L[a+4>>1];if(((c&32)>>>5|0)!=(b|0)){if(b){I[a+4>>1]=c|32;c=J[a+88>>2];b=J[a+100>>2];if(b){c=c+102868|0;d=a+12|0;while(1){nd(b,c,d);b=J[b+4>>2];if(b){continue}break}c=J[a+88>>2]}H[c+102988|0]=1;return}I[a+4>>1]=c&65503;b=J[a+100>>2];if(b){c=J[a+88>>2]+102868|0;while(1){pc(b,c);b=J[b+4>>2];if(b){continue}break}}b=J[a+112>>2];if(b){while(1){c=J[b+12>>2];Ib(J[a+88>>2]+102868|0,J[b+4>>2]);b=c;if(b){continue}break}}J[a+112>>2]=0}}function Mc(a,b){if(!a){return 0}a:{b:{if(a){if(b>>>0<=127){break b}c:{if(!J[J[6425]>>2]){if((b&-128)==57216){break b}break c}if(b>>>0<=2047){H[a+1|0]=b&63|128;H[a|0]=b>>>6|192;a=2;break a}if(!((b&-8192)!=57344&b>>>0>=55296)){H[a+2|0]=b&63|128;H[a|0]=b>>>12|224;H[a+1|0]=b>>>6&63|128;a=3;break a}if(b-65536>>>0<=1048575){H[a+3|0]=b&63|128;H[a|0]=b>>>18|240;H[a+2|0]=b>>>6&63|128;H[a+1|0]=b>>>12&63|128;a=4;break a}}J[6386]=25;a=-1}else{a=1}break a}H[a|0]=b;a=1}return a}function ph(a){a=a|0;var b=0,c=Q(0),d=0,e=0;b=Fa-128|0;Fa=b;d=J[J[a+52>>2]+8>>2];e=J[J[a+48>>2]+8>>2];Sa(8124,0);J[b+112>>2]=e;Sa(8435,b+112|0);J[b+96>>2]=d;Sa(8409,b+96|0);J[b+80>>2]=K[a+61|0];Sa(9625,b+80|0);c=N[a+68>>2];O[b+72>>3]=N[a+72>>2];O[b+64>>3]=c;Sa(8936,b- -64|0);c=N[a+76>>2];O[b+56>>3]=N[a+80>>2];O[b+48>>3]=c;Sa(8811,b+48|0);O[b+32>>3]=N[a+96>>2];Sa(7794,b+32|0);O[b+16>>3]=N[a+100>>2];Sa(7594,b+16|0);J[b>>2]=J[a+56>>2];Sa(9226,b);Fa=b+128|0}function If(a){a=a|0;var b=0,c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0);b=J[a+52>>2];f=N[b+24>>2];c=J[a+48>>2];d=N[c+24>>2];g=N[a+84>>2];h=N[a+88>>2];i=N[b+20>>2];j=N[a+76>>2];k=N[a+80>>2];e=N[c+20>>2];l=N[a+92>>2];m=N[a+96>>2];return Q(Q(Q(Q(Q(N[b+12>>2]+Q(Q(f*g)-Q(h*i)))-Q(N[c+12>>2]+Q(Q(d*j)-Q(k*e))))*Q(Q(d*l)-Q(m*e)))+Q(Q(Q(Q(Q(i*g)+Q(f*h))+N[b+16>>2])-Q(Q(Q(e*j)+Q(d*k))+N[c+16>>2]))*Q(Q(e*l)+Q(d*m)))))}function Fg(a){a=a|0;var b=0,c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0);b=J[a+52>>2];f=N[b+24>>2];c=J[a+48>>2];d=N[c+24>>2];g=N[a+76>>2];h=N[a+80>>2];i=N[b+20>>2];j=N[a+68>>2];k=N[a+72>>2];e=N[c+20>>2];l=N[a+84>>2];m=N[a+88>>2];return Q(Q(Q(Q(Q(N[b+12>>2]+Q(Q(f*g)-Q(h*i)))-Q(N[c+12>>2]+Q(Q(d*j)-Q(k*e))))*Q(Q(d*l)-Q(m*e)))+Q(Q(Q(Q(Q(i*g)+Q(f*h))+N[b+16>>2])-Q(Q(Q(e*j)+Q(d*k))+N[c+16>>2]))*Q(Q(e*l)+Q(d*m)))))}function Te(a,b){a=a|0;b=b|0;var c=0,d=0;c=L[b>>1]|L[b+2>>1]<<16;I[a+32>>1]=c;I[a+34>>1]=c>>>16;I[a+36>>1]=L[b+4>>1];d=J[a+8>>2];a:{if(!d){break a}b=J[d+112>>2];if(b){while(1){c=J[b+4>>2];if(!(J[c+48>>2]!=(a|0)&J[c+52>>2]!=(a|0))){J[c+4>>2]=J[c+4>>2]|8}b=J[b+12>>2];if(b){continue}break}}b=J[d+88>>2];if(!b|J[a+28>>2]<=0){break a}c=b+102868|0;b=0;while(1){uc(c,J[(J[a+24>>2]+P(b,28)|0)+24>>2]);b=b+1|0;if((b|0)>2]){continue}break}}}function si(a,b,c,d,e){a=a|0;b=b|0;c=Q(c);d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=Fa-32|0;Fa=f;g=J[a+12>>2];if(!(H[23588]&1)){a=ba(5,21280)|0;H[23588]=1;J[5896]=a}h=J[5896];a=Ra(8);i=J[b+4>>2];J[a>>2]=J[b>>2];J[a+4>>2]=i;N[f+8>>2]=c;J[f>>2]=a;a=Ra(8);b=J[d+4>>2];J[a>>2]=J[d>>2];J[a+4>>2]=b;J[f+16>>2]=a;a=Ra(16);b=J[e+12>>2];J[a+8>>2]=J[e+8>>2];J[a+12>>2]=b;b=J[e+4>>2];J[a>>2]=J[e>>2];J[a+4>>2]=b;J[f+24>>2]=a;da(h|0,g|0,5053,f|0);Fa=f+32|0}function Rh(a,b){a=a|0;b=b|0;var c=0;b=Ya(b,48);J[b+4>>2]=1;J[b+8>>2]=1008981770;J[b>>2]=12808;J[b+28>>2]=0;J[b+32>>2]=0;J[b+36>>2]=0;J[b+40>>2]=0;I[b+44>>1]=0;c=J[a+8>>2];J[b+4>>2]=J[a+4>>2];J[b+8>>2]=c;c=J[a+16>>2];J[b+12>>2]=J[a+12>>2];J[b+16>>2]=c;c=J[a+24>>2];J[b+20>>2]=J[a+20>>2];J[b+24>>2]=c;c=J[a+32>>2];J[b+28>>2]=J[a+28>>2];J[b+32>>2]=c;c=J[a+40>>2];J[b+36>>2]=J[a+36>>2];J[b+40>>2]=c;I[b+44>>1]=L[a+44>>1];return b|0}function ri(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=Fa-32|0;Fa=e;f=J[a+12>>2];if(!(H[23596]&1)){a=ba(4,21312)|0;H[23596]=1;J[5898]=a}g=J[5898];a=Ra(8);h=J[b+4>>2];J[a>>2]=J[b>>2];J[a+4>>2]=h;J[e+8>>2]=a;a=Ra(8);b=J[c+4>>2];J[a>>2]=J[c>>2];J[a+4>>2]=b;J[e+16>>2]=a;a=Ra(16);b=J[d+12>>2];J[a+8>>2]=J[d+8>>2];J[a+12>>2]=b;b=J[d+4>>2];J[a>>2]=J[d>>2];J[a+4>>2]=b;J[e+24>>2]=a;da(g|0,f|0,2039,e+8|0);Fa=e+32|0}function Yk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=Fa-32|0;Fa=d;e=J[b>>2];if(e>>>0<2147483632){a:{if(e>>>0<=10){H[d+27|0]=e;f=d+16|0;break a}g=(e|15)+1|0;f=Ra(g);J[d+24>>2]=g|-2147483648;J[d+16>>2]=f;J[d+20>>2]=e}h=eb(f,b+4|0,e)+e|0,i=0,H[h|0]=i;J[d+12>>2]=c;Ha[a|0](d+28|0,d+16|0,d+12|0);wa(J[d+28>>2]);a=J[d+28>>2];fa(a|0);fa(J[d+12>>2]);if(H[d+27|0]<0){Wa(J[d+16>>2])}Fa=d+32|0;return a|0}ma();B()}function Vf(a){a=a|0;var b=0,c=Q(0),d=0,e=0;b=Fa-112|0;Fa=b;d=J[J[a+52>>2]+8>>2];e=J[J[a+48>>2]+8>>2];Sa(8199,0);J[b+96>>2]=e;Sa(8435,b+96|0);J[b+80>>2]=d;Sa(8409,b+80|0);J[b+64>>2]=K[a+61|0];Sa(9625,b- -64|0);c=N[a+68>>2];O[b+56>>3]=N[a+72>>2];O[b+48>>3]=c;Sa(8936,b+48|0);c=N[a+76>>2];O[b+40>>3]=N[a+80>>2];O[b+32>>3]=c;Sa(8811,b+32|0);O[b+16>>3]=N[a+84>>2];Sa(7504,b+16|0);J[b>>2]=J[a+56>>2];Sa(9226,b);Fa=b+112|0}function Oh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0),l=Q(0),m=Q(0),n=Q(0);k=N[c>>2];h=N[a+8>>2];e=N[c+8>>2];f=N[a+12>>2];i=N[c+12>>2];l=N[a+16>>2];g=N[c+4>>2];j=Q(Q(Q(e*f)+Q(i*l))+g);m=N[a+20>>2];n=N[a+24>>2];g=Q(g+Q(Q(e*m)+Q(i*n)));N[b+12>>2]=h+(g>2]=h+(e>2]=(g>j?j:g)-h;N[b>>2]=(e>f?f:e)-h}function Wb(a,b,c){var d=0,e=0;a:{b:{c:{d:{switch(J[b+4>>2]){case 0:J[a+16>>2]=b+12;c=1;break b;case 2:J[a+16>>2]=b+20;c=J[b+148>>2];break b;case 3:d=J[b+12>>2]+(c<<3)|0;e=J[d+4>>2];J[a>>2]=J[d>>2];J[a+4>>2]=e;c=c+1|0;c=J[b+12>>2]+(((c|0)>2]?c:0)<<3)|0;d=J[c+4>>2];J[a+8>>2]=J[c>>2];J[a+12>>2]=d;J[a+16>>2]=a;break c;case 1:break d;default:break a}}J[a+16>>2]=b+12}c=2}J[a+20>>2]=c;N[a+24>>2]=N[b+8>>2]}}function qc(a,b){var c=0,d=0;c=J[a+12>>2];c=Ha[J[J[c>>2]+12>>2]](c)|0;Bb(b,J[a+24>>2],P(c,28));J[a+24>>2]=0;a:{b:{c:{d:{e:{f:{c=J[a+12>>2];switch(J[c+4>>2]){case 3:break c;case 2:break d;case 1:break e;case 0:break f;default:break a}}Ha[J[J[c>>2]>>2]](c)|0;d=20;break b}Ha[J[J[c>>2]>>2]](c)|0;d=48;break b}Ha[J[J[c>>2]>>2]](c)|0;d=152;break b}Ha[J[J[c>>2]>>2]](c)|0;d=40}Bb(b,c,d)}J[a+12>>2]=0}function th(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=Fa-112|0;Fa=b;c=J[J[a+72>>2]+56>>2];d=J[J[a+68>>2]+56>>2];e=J[J[a+52>>2]+8>>2];f=J[J[a+48>>2]+8>>2];Sa(8102,0);J[b+96>>2]=f;Sa(8435,b+96|0);J[b+80>>2]=e;Sa(8409,b+80|0);J[b+64>>2]=K[a+61|0];Sa(9625,b- -64|0);J[b+48>>2]=d;Sa(8382,b+48|0);J[b+32>>2]=c;Sa(8355,b+32|0);O[b+16>>3]=N[a+152>>2];Sa(7300,b+16|0);J[b>>2]=J[a+56>>2];Sa(9226,b);Fa=b+112|0}function bb(a,b,c){var d=0,e=0,f=0;if(!(K[a|0]&32)){a:{d=b;b=a;a=J[b+16>>2];b:{if(!a){if(Tc(b)){break b}a=J[b+16>>2]}f=J[b+20>>2];if(a-f>>>0>>0){Ha[J[b+36>>2]](b,d,c)|0;break a}c:{if(J[b+80>>2]<0){break c}a=c;while(1){e=a;if(!a){break c}a=e-1|0;if(K[d+a|0]!=10){continue}break}if(Ha[J[b+36>>2]](b,d,e)>>>0>>0){break b}d=d+e|0;c=c-e|0;f=J[b+20>>2]}eb(f,d,c);J[b+20>>2]=J[b+20>>2]+c}}}}function Ii(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=Q(e);var f=0,g=0,h=0,i=0;f=Fa-48|0;Fa=f;g=J[a+8>>2];if(!(H[23548]&1)){a=ba(5,20560)|0;H[23548]=1;J[5886]=a}h=J[5886];J[f+16>>2]=b;a=Ra(8);b=J[c+4>>2];J[a>>2]=J[c>>2];J[a+4>>2]=b;J[f+24>>2]=a;a=Ra(8);b=J[d+4>>2];J[a>>2]=J[d>>2];J[a+4>>2]=b;N[f+40>>2]=e;J[f+32>>2]=a;i=+ua(h|0,g|0,4735,f+12|0,f+16|0);ta(J[f+12>>2]);Fa=f+48|0;return Q(Q(i))}function yb(a,b,c,d,e){var f=Q(0),g=Q(0);J[a+60>>2]=e;J[a+56>>2]=c;J[a+52>>2]=d;J[a+48>>2]=b;J[a+4>>2]=4;J[a+8>>2]=0;J[a+12>>2]=0;J[a+124>>2]=0;J[a+128>>2]=0;J[a>>2]=12996;J[a+16>>2]=0;J[a+20>>2]=0;J[a+24>>2]=0;J[a+28>>2]=0;J[a+32>>2]=0;J[a+36>>2]=0;J[a+40>>2]=0;J[a+44>>2]=0;N[a+136>>2]=Y(Q(N[b+16>>2]*N[d+16>>2]));f=N[d+20>>2];g=N[b+20>>2];J[a+144>>2]=0;N[a+140>>2]=f>2]=0;J[a+8>>2]=0;J[a>>2]=1;J[a+56>>2]=0;J[a+60>>2]=0;J[a+20>>2]=0;J[a+24>>2]=0;J[a+44>>2]=0;J[a+48>>2]=0;H[a+9|0]=0;H[a+10|0]=0;H[a+11|0]=0;H[a+12|0]=0;H[a+13|0]=0;H[a+14|0]=0;H[a+15|0]=0;H[a+16|0]=0;J[a+28>>2]=0;J[a+32>>2]=0;H[a+33|0]=0;H[a+34|0]=0;H[a+35|0]=0;H[a+36|0]=0;H[a+37|0]=0;H[a+38|0]=0;H[a+39|0]=0;H[a+40|0]=0;H[a+52|0]=0;return a|0}function yk(a){a=a|0;var b=0,c=0,d=0;if(a){b=a;c=J[a+102948>>2];if(c){while(1){a=J[c+100>>2];c=J[c+96>>2];if(a){while(1){J[a+28>>2]=0;d=J[a+4>>2];qc(a,b);a=d;if(a){continue}break}}if(c){continue}break}}a=b+102868|0;Wa(J[a+32>>2]);Wa(J[a+44>>2]);Wa(J[a+4>>2]);a=0;if(J[b+4>>2]>0){while(1){Wa(J[(J[b>>2]+(a<<3)|0)+4>>2]);a=a+1|0;if((a|0)>2]){continue}break}}Wa(J[b>>2]);Wa(b)}}function $j(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=Q(0),f=0,g=Q(0);a:{if(J[a>>2]!=2){break a}f=!d;d=L[a+4>>1];if(!(f|d&2)){J[a+144>>2]=0;d=d|2;I[a+4>>1]=d}if(!(d&2)){break a}g=N[b+4>>2];e=N[a+120>>2];N[a+64>>2]=Q(e*N[b>>2])+N[a+64>>2];N[a+68>>2]=Q(e*g)+N[a+68>>2];N[a+72>>2]=Q(N[a+128>>2]*Q(Q(Q(N[c>>2]-N[a+44>>2])*N[b+4>>2])-Q(N[b>>2]*Q(N[c+4>>2]-N[a+48>>2]))))+N[a+72>>2]}}function ti(a,b,c,d){a=a|0;b=b|0;c=Q(c);d=d|0;var e=0,f=0,g=0,h=0;e=Fa-32|0;Fa=e;f=J[a+12>>2];if(!(H[23580]&1)){a=ba(4,21264)|0;H[23580]=1;J[5894]=a}g=J[5894];a=Ra(8);h=J[b+4>>2];J[a>>2]=J[b>>2];J[a+4>>2]=h;N[e+16>>2]=c;J[e+8>>2]=a;a=Ra(16);b=J[d+12>>2];J[a+8>>2]=J[d+8>>2];J[a+12>>2]=b;b=J[d+4>>2];J[a>>2]=J[d>>2];J[a+4>>2]=b;J[e+24>>2]=a;da(g|0,f|0,5042,e+8|0);Fa=e+32|0}function pi(a,b,c,d){a=a|0;b=b|0;c=Q(c);d=d|0;var e=0,f=0,g=0,h=0;e=Fa-32|0;Fa=e;f=J[a+12>>2];if(!(H[23580]&1)){a=ba(4,21264)|0;H[23580]=1;J[5894]=a}g=J[5894];a=Ra(8);h=J[b+4>>2];J[a>>2]=J[b>>2];J[a+4>>2]=h;N[e+16>>2]=c;J[e+8>>2]=a;a=Ra(16);b=J[d+12>>2];J[a+8>>2]=J[d+8>>2];J[a+12>>2]=b;b=J[d+4>>2];J[a>>2]=J[d>>2];J[a+4>>2]=b;J[e+24>>2]=a;da(g|0,f|0,1753,e+8|0);Fa=e+32|0}function qf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=J[c+8>>2];e=J[b+8>>2];if(!(J[a>>2]|J[e>>2])){return 0}a=J[a+108>>2];a:{if(a){while(1){d=0;if(!(K[J[a+4>>2]+61|0]|(e|0)!=J[a>>2])){break a}a=J[a+12>>2];if(a){continue}break}}d=1}if(d){a=I[b+36>>1];if(!(!a|L[c+36>>1]!=(a&65535))){return(a|0)>0|0}a=(L[c+32>>1]&L[b+34>>1])!=0&(L[c+34>>1]&L[b+32>>1])!=0}else{a=0}return a|0}function pf(a){a=a|0;var b=0,c=0,d=0;a:{b:{c:{c=J[a+4>>2];a=c;if(!(a&3)){break c}b=0;if(!K[c|0]){break a}while(1){a=a+1|0;if(!(a&3)){break c}if(K[a|0]){continue}break}break b}while(1){b=a;a=a+4|0;d=J[b>>2];if(!((d^-1)&d-16843009&-2139062144)){continue}break}while(1){a=b;b=a+1|0;if(K[a|0]){continue}break}}b=a-c|0}a=b+1|0;b=_a(a);if(b){a=eb(b,c,a)}else{a=0}return a|0}function _e(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(Za(a,J[b+8>>2],e)){if(!(J[b+28>>2]==1|J[b+4>>2]!=(c|0))){J[b+28>>2]=d}return}a:{if(!Za(a,J[b>>2],e)){break a}if(!(J[b+16>>2]!=(c|0)&J[b+20>>2]!=(c|0))){if((d|0)!=1){break a}J[b+32>>2]=1;return}J[b+20>>2]=c;J[b+32>>2]=d;J[b+40>>2]=J[b+40>>2]+1;if(!(J[b+36>>2]!=1|J[b+24>>2]!=2)){H[b+54|0]=1}J[b+44>>2]=4}}function Pe(a){a=a|0;var b=0,c=0,d=0;a:{d=J[a+8>>2];if(!d){break a}b=J[d+112>>2];if(b){while(1){c=J[b+4>>2];if(!(J[c+48>>2]!=(a|0)&J[c+52>>2]!=(a|0))){J[c+4>>2]=J[c+4>>2]|8}b=J[b+12>>2];if(b){continue}break}}b=J[d+88>>2];if(!b|J[a+28>>2]<=0){break a}c=b+102868|0;b=0;while(1){uc(c,J[(J[a+24>>2]+P(b,28)|0)+24>>2]);b=b+1|0;if((b|0)>2]){continue}break}}}function re(a,b,c){a=a|0;b=Q(b);c=Q(c);var d=Q(0);J[a+84>>2]=0;J[a+88>>2]=-1082130432;J[a+148>>2]=4;J[a+12>>2]=0;J[a+16>>2]=0;J[a+108>>2]=-1082130432;J[a+112>>2]=0;J[a+100>>2]=0;J[a+104>>2]=1065353216;J[a+92>>2]=1065353216;J[a+96>>2]=0;N[a+48>>2]=c;d=Q(-b);N[a+44>>2]=d;N[a+40>>2]=c;N[a+36>>2]=b;c=Q(-c);N[a+32>>2]=c;N[a+28>>2]=b;N[a+24>>2]=c;N[a+20>>2]=d}function wb(a,b){var c=0,d=0,e=0,f=0;f=a+102412|0;c=J[a+102796>>2];J[(f+P(c,12)|0)+4>>2]=b;d=J[a+102400>>2];e=d+b|0;a:{if((e|0)>=102401){e=1;d=_a(b);break a}J[a+102400>>2]=e;e=0;d=a+d|0}c=f+P(c,12)|0;H[c+8|0]=e;J[c>>2]=d;b=J[a+102404>>2]+b|0;J[a+102404>>2]=b;J[a+102796>>2]=J[a+102796>>2]+1;c=a;a=J[a+102408>>2];J[c+102408>>2]=(a|0)>(b|0)?a:b;return d}function oj(){var a=0;a=Ra(72);J[a+4>>2]=0;J[a+8>>2]=0;J[a+20>>2]=0;J[a+24>>2]=0;J[a>>2]=2;J[a+64>>2]=0;J[a+68>>2]=0;J[a+36>>2]=1065353216;J[a+52>>2]=0;J[a+56>>2]=0;H[a+9|0]=0;H[a+10|0]=0;H[a+11|0]=0;H[a+12|0]=0;H[a+13|0]=0;H[a+14|0]=0;H[a+15|0]=0;H[a+16|0]=0;J[a+28>>2]=0;J[a+32>>2]=0;J[a+40>>2]=0;J[a+44>>2]=0;H[a+48|0]=0;H[a+60|0]=0;return a|0}function ic(a,b,c,d){H[a+53|0]=1;a:{if(J[a+4>>2]!=(c|0)){break a}H[a+52|0]=1;c=J[a+16>>2];b:{if(!c){J[a+36>>2]=1;J[a+24>>2]=d;J[a+16>>2]=b;if((d|0)!=1){break a}if(J[a+48>>2]==1){break b}break a}if((b|0)==(c|0)){c=J[a+24>>2];if((c|0)==2){J[a+24>>2]=d;c=d}if(J[a+48>>2]!=1){break a}if((c|0)==1){break b}break a}J[a+36>>2]=J[a+36>>2]+1}H[a+54|0]=1}}function _c(a,b,c,d,e,f){var g=0,h=0;J[a+48>>2]=d;J[a+44>>2]=c;J[a+40>>2]=b;J[a+36>>2]=0;J[a+28>>2]=0;J[a+32>>2]=0;J[a+4>>2]=f;J[a>>2]=e;g=a,h=wb(e,b<<2),J[g+8>>2]=h;g=a,h=wb(J[a>>2],c<<2),J[g+12>>2]=h;g=a,h=wb(J[a>>2],d<<2),J[g+16>>2]=h;g=a,h=wb(J[a>>2],P(J[a+40>>2],12)),J[g+24>>2]=h;g=a,h=wb(J[a>>2],P(J[a+40>>2],12)),J[g+20>>2]=h;return a}function dj(){var a=0;a=Ra(64);J[a+4>>2]=0;J[a+8>>2]=0;J[a+20>>2]=0;J[a+24>>2]=0;J[a>>2]=7;J[a+56>>2]=1073741824;J[a+60>>2]=1060320051;J[a+48>>2]=0;J[a+52>>2]=0;H[a+44|0]=0;J[a+36>>2]=1065353216;J[a+40>>2]=0;H[a+9|0]=0;H[a+10|0]=0;H[a+11|0]=0;H[a+12|0]=0;H[a+13|0]=0;H[a+14|0]=0;H[a+15|0]=0;H[a+16|0]=0;J[a+28>>2]=0;J[a+32>>2]=0;return a|0}function Rb(a,b){a:{if((b|0)>=1024){a=a*898846567431158e293;if(b>>>0<2047){b=b-1023|0;break a}a=a*898846567431158e293;b=((b|0)>=3069?3069:b)-2046|0;break a}if((b|0)>-1023){break a}a=a*2004168360008973e-307;if(b>>>0>4294965304){b=b+969|0;break a}a=a*2004168360008973e-307;b=((b|0)<=-2960?-2960:b)+1938|0}x(0,0);x(1,b+1023<<20);return a*+z()}function hf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Fa+-64|0;Fa=d;e=1;a:{if(Za(a,b,0)){break a}e=0;if(!b){break a}b=lb(b,18564);e=0;if(!b){break a}xb(d+12|0,0,52);J[d+56>>2]=1;J[d+20>>2]=-1;J[d+16>>2]=a;J[d+8>>2]=b;Ha[J[J[b>>2]+28>>2]](b,d+8|0,J[c>>2],1);a=J[d+32>>2];if((a|0)==1){J[c>>2]=J[d+24>>2]}e=(a|0)==1}a=e;Fa=d- -64|0;return a|0}function ge(){var a=0,b=0;J[5881]=0;J[5880]=670;Vd();J[5881]=J[6124];J[6124]=23520;H[23620]=0;a=1;while(1){b=(J[(b<<2)+12640>>2]<(a|0))+b|0;H[a+23620|0]=b;b=b+(J[(b<<2)+12640>>2]<=(a|0))|0;H[a+23621|0]=b;a=a+2|0;if((a|0)!=641){continue}break}J[6125]=866;J[6126]=0;Vc();J[6126]=J[6124];J[6124]=24500;J[6425]=25580;J[6407]=42}function Hk(a){a=a|0;var b=Q(0),c=Q(0),d=Q(0),e=Q(0),f=0;c=N[a+8>>2];b=N[a>>2];a:{if(!(Q(c-b)>=Q(0))){break a}d=N[a+12>>2];e=N[a+4>>2];if(!(Q(d-e)>=Q(0))){break a}b=Q(R(b));if(!(b>Q(Infinity)|bQ(Infinity)|b>2];if(!(H[23572]&1)){a=ba(4,21248)|0;H[23572]=1;J[5892]=a}g=J[5892];J[e+16>>2]=c;J[e+8>>2]=b;a=Ra(16);b=J[d+12>>2];J[a+8>>2]=J[d+8>>2];J[a+12>>2]=b;b=J[d+4>>2];J[a>>2]=J[d>>2];J[a+4>>2]=b;J[e+24>>2]=a;da(g|0,f|0,3533,e+8|0);Fa=e+32|0}function ui(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Fa-32|0;Fa=e;f=J[a+12>>2];if(!(H[23572]&1)){a=ba(4,21248)|0;H[23572]=1;J[5892]=a}g=J[5892];J[e+16>>2]=c;J[e+8>>2]=b;a=Ra(16);b=J[d+12>>2];J[a+8>>2]=J[d+8>>2];J[a+12>>2]=b;b=J[d+4>>2];J[a>>2]=J[d>>2];J[a+4>>2]=b;J[e+24>>2]=a;da(g|0,f|0,3545,e+8|0);Fa=e+32|0}function pb(a,b){var c=0;J[a>>2]=13436;c=J[b>>2];J[a+8>>2]=0;J[a+12>>2]=0;J[a+4>>2]=c;J[a+48>>2]=J[b+8>>2];c=J[b+12>>2];J[a+56>>2]=0;J[a+52>>2]=c;c=K[b+16|0];H[a+60|0]=0;H[a+61|0]=c;b=J[b+4>>2];J[a+16>>2]=0;J[a+20>>2]=0;J[a+64>>2]=b;J[a+24>>2]=0;J[a+28>>2]=0;J[a+32>>2]=0;J[a+36>>2]=0;J[a+40>>2]=0;J[a+44>>2]=0;return a}function dk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if(J[a>>2]!=2){break a}e=!d;d=L[a+4>>1];if(!(e|d&2)){J[a+144>>2]=0;d=d|2;I[a+4>>1]=d}if(!(d&2)){break a}N[a+76>>2]=N[b>>2]+N[a+76>>2];N[a+80>>2]=N[b+4>>2]+N[a+80>>2];N[a+84>>2]=N[a+84>>2]+Q(Q(Q(N[c>>2]-N[a+44>>2])*N[b+4>>2])-Q(N[b>>2]*Q(N[c+4>>2]-N[a+48>>2])))}}function Pj(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0);i=N[b+48>>2];j=N[b+16>>2];k=N[b+64>>2];d=N[b+72>>2];e=N[b+24>>2];f=N[c>>2];g=N[c+4>>2];h=N[b+20>>2];N[a+4>>2]=Q(d*Q(Q(N[b+12>>2]+Q(Q(e*f)-Q(g*h)))-N[b+44>>2]))+N[b+68>>2];N[a>>2]=k-Q(d*Q(Q(j+Q(Q(h*f)+Q(e*g)))-i))}function qi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Fa-16|0;Fa=c;e=J[a+12>>2];if(!(H[23604]&1)){a=ba(2,21328)|0;H[23604]=1;J[5900]=a}f=J[5900];a=Ra(16);d=J[b+12>>2];J[a+8>>2]=J[b+8>>2];J[a+12>>2]=d;d=J[b+4>>2];J[a>>2]=J[b>>2];J[a+4>>2]=d;J[c+8>>2]=a;da(f|0,e|0,3574,c+8|0);Fa=c+16|0}function ki(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0),k=Q(0);e=N[c>>2];g=N[c+8>>2];h=N[a+12>>2];i=N[c+12>>2];j=N[a+16>>2];k=Q(N[c+4>>2]+Q(Q(g*h)+Q(i*j)));f=N[a+8>>2];N[b+12>>2]=k+f;e=Q(e+Q(Q(i*h)-Q(j*g)));N[b+8>>2]=f+e;N[b+4>>2]=k-f;N[b>>2]=e-f}function tj(){var a=0;a=Ra(44);J[a+4>>2]=0;J[a+8>>2]=0;J[a+36>>2]=1065353216;J[a+40>>2]=1050253722;J[a+28>>2]=0;J[a+32>>2]=1065353216;J[a+20>>2]=0;J[a+24>>2]=0;J[a>>2]=11;H[a+9|0]=0;H[a+10|0]=0;H[a+11|0]=0;H[a+12|0]=0;H[a+13|0]=0;H[a+14|0]=0;H[a+15|0]=0;H[a+16|0]=0;return a|0}function Bd(a,b){var c=Q(0),d=Q(0),e=Q(0),f=Q(0),g=Q(0);c=N[a+16>>2];d=N[a>>2];e=N[a+4>>2];f=N[a+12>>2];J[b+8>>2]=0;J[b+20>>2]=0;J[b+24>>2]=0;J[b+28>>2]=0;J[b+32>>2]=0;g=c;c=Q(Q(d*c)-Q(e*f));c=c!=Q(0)?Q(Q(1)/c):c;N[b>>2]=g*c;N[b+16>>2]=d*c;c=Q(-c);N[b+12>>2]=f*c;N[b+4>>2]=e*c}function Za(a,b,c){var d=0;if(!c){return J[a+4>>2]==J[b+4>>2]}if((a|0)==(b|0)){return 1}d=J[a+4>>2];a=K[d|0];c=J[b+4>>2];b=K[c|0];a:{if(!a|(b|0)!=(a|0)){break a}while(1){b=K[c+1|0];a=K[d+1|0];if(!a){break a}c=c+1|0;d=d+1|0;if((a|0)==(b|0)){continue}break}}return(a|0)==(b|0)}function ji(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0),e=0,f=Q(0),g=Q(0);d=N[a+8>>2];c=Q(d*Q(d*Q(c*Q(3.1415927410125732))));N[b>>2]=c;e=J[a+16>>2];J[b+4>>2]=J[a+12>>2];J[b+8>>2]=e;d=c;c=N[a+8>>2];f=Q(Q(c*Q(.5))*c);c=N[a+12>>2];g=Q(c*c);c=N[a+16>>2];N[b+12>>2]=d*Q(f+Q(g+Q(c*c)))}function vj(){var a=0;a=Ra(48);J[a+4>>2]=0;J[a+8>>2]=0;J[a+20>>2]=0;J[a+24>>2]=0;J[a>>2]=3;J[a+44>>2]=0;J[a+36>>2]=1065353216;J[a+40>>2]=0;H[a+9|0]=0;H[a+10|0]=0;H[a+11|0]=0;H[a+12|0]=0;H[a+13|0]=0;H[a+14|0]=0;H[a+15|0]=0;H[a+16|0]=0;J[a+28>>2]=0;J[a+32>>2]=0;return a|0}function Kh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Fa-48|0;Fa=e;f=J[J[a+48>>2]+12>>2];J[e+36>>2]=0;J[e+40>>2]=0;I[e+44>>1]=0;J[e+28>>2]=0;J[e+32>>2]=0;J[e+4>>2]=1;J[e+8>>2]=1008981770;J[e>>2]=12808;td(f,e,J[a+56>>2]);sd(b,e,c,J[J[a+52>>2]+12>>2],d);Fa=e+48|0}function Ih(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Fa-48|0;Fa=e;f=J[J[a+48>>2]+12>>2];J[e+36>>2]=0;J[e+40>>2]=0;I[e+44>>1]=0;J[e+28>>2]=0;J[e+32>>2]=0;J[e+4>>2]=1;J[e+8>>2]=1008981770;J[e>>2]=12808;td(f,e,J[a+56>>2]);rd(b,e,c,J[J[a+52>>2]+12>>2],d);Fa=e+48|0}function df(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;if(Za(a,J[b+8>>2],0)){jc(b,c,d);return}e=J[a+12>>2];f=a+16|0;Kc(f,b,c,d);a=a+24|0;e=(e<<3)+f|0;a:{if(a>>>0>=e>>>0){break a}while(1){Kc(a,b,c,d);if(K[b+54|0]){break a}a=a+8|0;if(e>>>0>a>>>0){continue}break}}}function mi(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);d=N[b+12>>2];e=N[a+12>>2];f=N[a+16>>2];g=N[b+8>>2];h=Q(N[c>>2]-Q(N[b>>2]+Q(Q(d*e)-Q(f*g))));d=Q(N[c+4>>2]-Q(N[b+4>>2]+Q(Q(g*e)+Q(d*f))));e=Q(Q(h*h)+Q(d*d));d=N[a+8>>2];return e<=Q(d*d)|0}function fj(){var a=0;a=Ra(48);J[a+4>>2]=0;J[a+8>>2]=0;J[a+20>>2]=0;J[a+24>>2]=0;J[a>>2]=8;H[a+9|0]=0;H[a+10|0]=0;H[a+11|0]=0;H[a+12|0]=0;H[a+13|0]=0;H[a+14|0]=0;H[a+15|0]=0;H[a+16|0]=0;J[a+28>>2]=0;J[a+32>>2]=0;J[a+36>>2]=0;J[a+40>>2]=0;J[a+44>>2]=0;return a|0}function _j(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=0,f=Q(0);a:{if(J[a>>2]!=2){break a}e=!c;c=L[a+4>>1];if(!(e|c&2)){J[a+144>>2]=0;c=c|2;I[a+4>>1]=c}if(!(c&2)){break a}f=N[b+4>>2];d=N[a+120>>2];N[a+64>>2]=Q(d*N[b>>2])+N[a+64>>2];N[a+68>>2]=Q(d*f)+N[a+68>>2]}}function ij(){var a=0;a=Ra(40);J[a+4>>2]=0;J[a+8>>2]=0;J[a+36>>2]=0;J[a+28>>2]=1065353216;J[a+32>>2]=0;J[a+20>>2]=-1082130432;J[a+24>>2]=0;J[a>>2]=10;H[a+9|0]=0;H[a+10|0]=0;H[a+11|0]=0;H[a+12|0]=0;H[a+13|0]=0;H[a+14|0]=0;H[a+15|0]=0;H[a+16|0]=0;return a|0}function Db(a,b,c){var d=0,e=0,f=0,g=0;if(b){while(1){c=c-1|0;e=a;a=kl(a,b,10);d=Ga;f=c,g=e-jl(a,d,10,0)|48,H[f|0]=g;e=b>>>0>9;b=d;if(e){continue}break}}if(a){while(1){c=c-1|0;b=(a>>>0)/10|0;H[c|0]=a-P(b,10)|48;d=a>>>0>9;a=b;if(d){continue}break}}return c}function qj(){var a=0;a=Ra(40);J[a+4>>2]=0;J[a+8>>2]=0;J[a+36>>2]=1060320051;J[a+28>>2]=0;J[a+32>>2]=1084227584;J[a+20>>2]=0;J[a+24>>2]=0;J[a>>2]=5;H[a+9|0]=0;H[a+10|0]=0;H[a+11|0]=0;H[a+12|0]=0;H[a+13|0]=0;H[a+14|0]=0;H[a+15|0]=0;H[a+16|0]=0;return a|0}function Sc(a,b){var c=0,d=0,e=0;A(+a);d=v(1)|0;e=v(0)|0;c=d>>>20&2047;if((c|0)!=2047){if(!c){if(a==0){c=0}else{a=Sc(a*0x10000000000000000,b);c=J[b>>2]+-64|0}J[b>>2]=c;return a}J[b>>2]=c-1022;x(0,e|0);x(1,d&-2146435073|1071644672);a=+z()}return a}function Rk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=a+16|0;a=J[d>>2];a:{b:{if(!a){break b}c=d;while(1){e=M[a+16>>2]>>0;c=e?c:a;a=J[(e?a+4|0:a)>>2];if(a){continue}break}if((c|0)==(d|0)){break b}if(M[c+16>>2]<=b>>>0){break a}}c=d}return(c|0)!=(d|0)|0}function Ab(a,b,c){var d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0),i=Q(0),j=Q(0);e=N[b>>2];f=N[b+16>>2];g=N[b+4>>2];h=N[b+12>>2];d=Q(Q(e*f)-Q(g*h));d=d!=Q(0)?Q(Q(1)/d):d;j=e;e=N[c+4>>2];i=N[c>>2];N[a+4>>2]=d*Q(Q(j*e)-Q(i*g));N[a>>2]=d*Q(Q(f*i)-Q(e*h))}function vb(a,b){var c=0,d=0,e=0;c=J[a+102796>>2];d=P(c,12)+a|0;e=d+102412|0;a:{if(K[d+102408|0]){Wa(b);b=J[e-8>>2];c=J[a+102796>>2];break a}b=J[e-8>>2];J[a+102400>>2]=J[a+102400>>2]-b}J[a+102796>>2]=c-1;J[a+102404>>2]=J[a+102404>>2]-b}function Ck(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=Q(0),f=Q(0),g=Q(0);d=N[c>>2];e=N[b>>2];f=N[b+4>>2];g=N[c+4>>2];N[a+4>>2]=f>2]=d>e?e:d;d=N[c+8>>2];e=N[b+8>>2];f=N[b+12>>2];g=N[c+12>>2];N[a+12>>2]=f>g?f:g;N[a+8>>2]=d>2]]-48>>>0>=10){return 0}while(1){d=J[a>>2];c=-1;if(b>>>0<=214748364){c=H[d|0]-48|0;b=P(b,10);c=(c|0)>(b^2147483647)?-1:c+b|0}J[a>>2]=d+1;b=c;if(H[d+1|0]-48>>>0<10){continue}break}return b}function hl(a,b,c,d){a=a|0;b=b|0;c=Q(c);d=Q(d);var e=0,f=0,g=0;e=Fa-16|0;Fa=e;N[e+12>>2]=d;N[e+8>>2]=c;g=J[a>>2];f=J[a+4>>2]-g>>3;a:{if(f>>>0>>0){Hd(a,b-f|0,e+8|0);break a}if(b>>>0>=f>>>0){break a}J[a+4>>2]=(b<<3)+g}Fa=e+16|0}function dh(a,b){a=a|0;b=b|0;var c=0;if(!(N[b>>2]==N[a+68>>2]&N[b+4>>2]==N[a+72>>2])){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[b+4>>2];J[a+68>>2]=J[b>>2];J[a+72>>2]=c}}function Qi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Fa-16|0;Fa=d;e=a;a=J[b>>2];if(J[b+4>>2]-a>>3>>>0>c>>>0){b=Ra(8);c=a+(c<<3)|0;a=J[c+4>>2];J[b>>2]=J[c>>2];J[b+4>>2]=a;J[d+8>>2]=b;a=xa(19432,d+8|0)|0}else{a=1}J[e>>2]=a;Fa=d+16|0}function Sd(a,b,c){a=a|0;b=b|0;c=Q(c);var d=0,e=0,f=0;d=Fa-16|0;Fa=d;e=J[a>>2];f=d+8|0;a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){e=J[e+J[b>>2]>>2]}Ha[e|0](f,b,c);a=Ra(8);b=J[d+12>>2];J[a>>2]=J[d+8>>2];J[a+4>>2]=b;Fa=d+16|0;return a|0}function Ag(a,b,c){a=a|0;b=Q(b);c=Q(c);var d=0;if(!(N[a+120>>2]==b&N[a+124>>2]==c)){d=J[a+48>>2];J[d+144>>2]=0;I[d+4>>1]=L[d+4>>1]|2;d=J[a+52>>2];J[d+144>>2]=0;I[d+4>>1]=L[d+4>>1]|2;N[a+124>>2]=c;N[a+120>>2]=b;J[a+112>>2]=0}}function ag(a,b,c){a=a|0;b=Q(b);c=Q(c);var d=0;if(!(N[a+120>>2]==b&N[a+124>>2]==c)){d=J[a+48>>2];J[d+144>>2]=0;I[d+4>>1]=L[d+4>>1]|2;d=J[a+52>>2];J[d+144>>2]=0;I[d+4>>1]=L[d+4>>1]|2;N[a+124>>2]=c;N[a+120>>2]=b;J[a+92>>2]=0}}function Uj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Fa-16|0;Fa=d;e=J[a>>2];f=d+8|0;a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){e=J[e+J[b>>2]>>2]}Ha[e|0](f,b,c);a=Ra(8);b=J[d+12>>2];J[a>>2]=J[d+8>>2];J[a+4>>2]=b;Fa=d+16|0;return a|0}function kk(a,b){a=a|0;b=b|0;var c=0;c=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){c=J[c+J[b>>2]>>2]}a=Ha[c|0](b)|0;b=Ra(16);c=J[a+12>>2];J[b+8>>2]=J[a+8>>2];J[b+12>>2]=c;c=J[a+4>>2];J[b>>2]=J[a>>2];J[b+4>>2]=c;return b|0}function Li(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Fa-16|0;Fa=c;a=J[a+8>>2];if(!(H[23540]&1)){d=ba(2,20332)|0;H[23540]=1;J[5884]=d}d=J[5884];J[c+8>>2]=b;e=+ua(d|0,a|0,4735,c+4|0,c+8|0);ta(J[c+4>>2]);Fa=c+16|0;return e!=0|0}function Dk(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0);d=N[b>>2];c=N[a+4>>2];e=N[b+4>>2];N[a+4>>2]=c>2];N[a>>2]=c>2];c=N[a+12>>2];e=N[b+12>>2];N[a+12>>2]=c>e?c:e;c=N[a+8>>2];N[a+8>>2]=c>d?c:d}function kd(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);c=J[b+52>>2];h=N[c+12>>2];d=N[c+20>>2];e=N[b+100>>2];f=N[c+24>>2];g=N[b+104>>2];N[a+4>>2]=Q(Q(d*e)+Q(f*g))+N[c+16>>2];N[a>>2]=h+Q(Q(f*e)-Q(g*d))}function Hg(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0),e=Q(0),f=Q(0),g=Q(0);f=N[b+184>>2];g=N[b+192>>2];d=N[b+104>>2];e=Q(N[b+116>>2]+N[b+112>>2]);N[a+4>>2]=Q(Q(d*N[b+196>>2])+Q(e*N[b+188>>2]))*c;N[a>>2]=Q(Q(d*g)+Q(f*e))*c}function ok(){var a=0;a=Ra(52);J[a+4>>2]=0;J[a+8>>2]=0;J[a+44>>2]=0;J[a+48>>2]=1065353216;J[a+36>>2]=257;H[a+40|0]=1;J[a>>2]=0;J[a+12>>2]=0;J[a+16>>2]=0;J[a+20>>2]=0;J[a+24>>2]=0;J[a+28>>2]=0;J[a+32>>2]=0;return a|0}function jl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=c>>>16|0;f=a>>>16|0;j=P(e,f);g=c&65535;h=a&65535;i=P(g,h);f=(i>>>16|0)+P(f,g)|0;e=(f&65535)+P(e,h)|0;Ga=(P(b,c)+j|0)+P(a,d)+(f>>>16)+(e>>>16)|0;return i&65535|e<<16}function qd(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);c=J[b+48>>2];h=N[c+12>>2];d=N[c+20>>2];e=N[b+80>>2];f=N[c+24>>2];g=N[b+84>>2];N[a+4>>2]=Q(Q(d*e)+Q(f*g))+N[c+16>>2];N[a>>2]=h+Q(Q(f*e)-Q(g*d))}function pd(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);c=J[b+52>>2];h=N[c+12>>2];d=N[c+20>>2];e=N[b+88>>2];f=N[c+24>>2];g=N[b+92>>2];N[a+4>>2]=Q(Q(d*e)+Q(f*g))+N[c+16>>2];N[a>>2]=h+Q(Q(f*e)-Q(g*d))}function ni(a,b){a=a|0;b=b|0;var c=0;b=Ya(b,20);J[b+4>>2]=0;J[b+8>>2]=0;J[b>>2]=12488;J[b+12>>2]=0;J[b+16>>2]=0;c=J[a+8>>2];J[b+4>>2]=J[a+4>>2];J[b+8>>2]=c;c=J[a+16>>2];J[b+12>>2]=J[a+12>>2];J[b+16>>2]=c;return b|0}function ld(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);c=J[b+48>>2];h=N[c+12>>2];d=N[c+20>>2];e=N[b+92>>2];f=N[c+24>>2];g=N[b+96>>2];N[a+4>>2]=Q(Q(d*e)+Q(f*g))+N[c+16>>2];N[a>>2]=h+Q(Q(f*e)-Q(g*d))}function ck(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{if(J[a>>2]!=2){break a}d=!c;c=L[a+4>>1];if(!(d|c&2)){J[a+144>>2]=0;c=c|2;I[a+4>>1]=c}if(!(c&2)){break a}N[a+76>>2]=N[b>>2]+N[a+76>>2];N[a+80>>2]=N[b+4>>2]+N[a+80>>2]}}function Ug(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);c=J[b+52>>2];h=N[c+12>>2];d=N[c+20>>2];e=N[b+68>>2];f=N[c+24>>2];g=N[b+72>>2];N[a+4>>2]=Q(Q(d*e)+Q(f*g))+N[c+16>>2];N[a>>2]=h+Q(Q(f*e)-Q(g*d))}function Tb(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);c=J[b+48>>2];h=N[c+12>>2];d=N[c+20>>2];e=N[b+68>>2];f=N[c+24>>2];g=N[b+72>>2];N[a+4>>2]=Q(Q(d*e)+Q(f*g))+N[c+16>>2];N[a>>2]=h+Q(Q(f*e)-Q(g*d))}function Sb(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);c=J[b+52>>2];h=N[c+12>>2];d=N[c+20>>2];e=N[b+76>>2];f=N[c+24>>2];g=N[b+80>>2];N[a+4>>2]=Q(Q(d*e)+Q(f*g))+N[c+16>>2];N[a>>2]=h+Q(Q(f*e)-Q(g*d))}function Lf(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);c=J[b+48>>2];h=N[c+12>>2];d=N[c+20>>2];e=N[b+76>>2];f=N[c+24>>2];g=N[b+80>>2];N[a+4>>2]=Q(Q(d*e)+Q(f*g))+N[c+16>>2];N[a>>2]=h+Q(Q(f*e)-Q(g*d))}function Kf(a,b){a=a|0;b=b|0;var c=0,d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);c=J[b+52>>2];h=N[c+12>>2];d=N[c+20>>2];e=N[b+84>>2];f=N[c+24>>2];g=N[b+88>>2];N[a+4>>2]=Q(Q(d*e)+Q(f*g))+N[c+16>>2];N[a>>2]=h+Q(Q(f*e)-Q(g*d))}function Fc(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Fa-16|0;Fa=c;d=J[a>>2];e=c+8|0;a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){d=J[d+J[b>>2]>>2]}Ha[d|0](e,b);a=Ra(8);b=J[c+12>>2];J[a>>2]=J[c+8>>2];J[a+4>>2]=b;Fa=c+16|0;return a|0}function gi(a,b){a=a|0;b=b|0;var c=0;b=Ya(b,152);J[b+148>>2]=0;J[b+4>>2]=2;J[b+8>>2]=1008981770;J[b>>2]=12576;J[b+12>>2]=0;J[b+16>>2]=0;c=J[a+8>>2];J[b+4>>2]=J[a+4>>2];J[b+8>>2]=c;eb(b+12|0,a+12|0,140);return b|0}function Gi(a){a=a|0;var b=0,c=0;J[a>>2]=20780;Yb(a+12|0,J[a+16>>2]);J[a>>2]=20812;if(K[a+4|0]){b=J[a+8>>2];if(!(H[23532]&1)){c=ba(1,20328)|0;H[23532]=1;J[5882]=c}da(J[5882],b|0,2289,0)}fa(J[a+8>>2]);return a|0}function jc(a,b,c){var d=0;d=J[a+16>>2];if(!d){J[a+36>>2]=1;J[a+24>>2]=c;J[a+16>>2]=b;return}a:{if((b|0)==(d|0)){if(J[a+24>>2]!=2){break a}J[a+24>>2]=c;return}H[a+54|0]=1;J[a+24>>2]=2;J[a+36>>2]=J[a+36>>2]+1}}function wf(a,b){a=a|0;b=b|0;a:{if(K[a+102972|0]==(b|0)){break a}H[a+102972|0]=b;if(b){break a}b=J[a+102948>>2];if(!b){break a}while(1){J[b+144>>2]=0;I[b+4>>1]=L[b+4>>1]|2;b=J[b+96>>2];if(b){continue}break}}}function uc(a,b){var c=0,d=0;c=J[a+40>>2];if((c|0)==J[a+36>>2]){J[a+36>>2]=c<<1;d=J[a+32>>2];c=_a(c<<3);J[a+32>>2]=c;eb(c,d,J[a+40>>2]<<2);Wa(d);c=J[a+40>>2]}J[J[a+32>>2]+(c<<2)>>2]=b;J[a+40>>2]=J[a+40>>2]+1}function gf(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=Q(d);e=Q(e);f=Q(f);g=g|0;h=h|0;i=i|0;j=j|0;I[a+22>>1]=h;H[a+20|0]=g;N[a+16>>2]=f;N[a+12>>2]=e;N[a+8>>2]=d;J[a+4>>2]=c;J[a>>2]=b;I[a+26>>1]=j;I[a+24>>1]=i}function Xj(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=Q(0),f=0;c=N[a+116>>2];N[b>>2]=c;d=c;c=N[a+28>>2];e=Q(c*c);c=N[a+32>>2];N[b+12>>2]=Q(d*Q(e+Q(c*c)))+N[a+124>>2];f=J[a+32>>2];J[b+4>>2]=J[a+28>>2];J[b+8>>2]=f}function Fi(a){a=a|0;var b=0,c=0;J[a>>2]=20780;Yb(a+12|0,J[a+16>>2]);J[a>>2]=20812;if(K[a+4|0]){b=J[a+8>>2];if(!(H[23532]&1)){c=ba(1,20328)|0;H[23532]=1;J[5882]=c}da(J[5882],b|0,2289,0)}fa(J[a+8>>2]);Wa(a)}function cb(a,b,c,d,e){var f=0;f=Fa-256|0;Fa=f;if(!(e&73728|(c|0)<=(d|0))){d=c-d|0;c=d>>>0<256;xb(f,b&255,c?d:256);if(!c){while(1){bb(a,f,256);d=d-256|0;if(d>>>0>255){continue}break}}bb(a,f,d)}Fa=f+256|0}function Vj(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);h=N[b+12>>2];d=N[b+20>>2];e=N[c>>2];f=N[b+24>>2];g=N[c+4>>2];N[a+4>>2]=Q(Q(d*e)+Q(f*g))+N[b+16>>2];N[a>>2]=h+Q(Q(f*e)-Q(g*d))}function Jf(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0),e=Q(0),f=Q(0),g=Q(0);f=N[b+184>>2];g=N[b+176>>2];d=N[b+108>>2];e=N[b+116>>2];N[a>>2]=Q(Q(d*N[b+180>>2])+Q(e*N[b+172>>2]))*c;N[a+4>>2]=Q(Q(d*f)+Q(e*g))*c}function Re(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=Q(0),f=Q(0),g=Q(0),h=Q(0);h=N[b>>2];d=N[b+8>>2];e=N[c>>2];f=N[b+12>>2];g=N[c+4>>2];N[a+4>>2]=Q(Q(d*e)+Q(f*g))+N[b+4>>2];N[a>>2]=h+Q(Q(f*e)-Q(g*d))}function gk(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0),e=0;if(J[a>>2]){c=N[b>>2];d=Q(c*c);c=N[b+4>>2];if(Q(d+Q(c*c))>Q(0)){J[a+144>>2]=0;I[a+4>>1]=L[a+4>>1]|2}e=J[b+4>>2];J[a+64>>2]=J[b>>2];J[a+68>>2]=e}}function Zj(a,b,c){a=a|0;b=Q(b);c=c|0;var d=0;a:{if(J[a>>2]!=2){break a}d=!c;c=L[a+4>>1];if(!(d|c&2)){J[a+144>>2]=0;c=c|2;I[a+4>>1]=c}if(!(c&2)){break a}N[a+72>>2]=Q(N[a+128>>2]*b)+N[a+72>>2]}}function Sj(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=Q(0),f=Q(0),g=Q(0);d=N[b+24>>2];e=Q(N[c+4>>2]-N[b+16>>2]);f=N[b+20>>2];g=Q(N[c>>2]-N[b+12>>2]);N[a+4>>2]=Q(d*e)-Q(f*g);N[a>>2]=Q(d*g)+Q(e*f)}function Qj(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=Q(0),f=Q(0),g=Q(0);e=N[b+48>>2];f=N[b+64>>2];g=N[c+4>>2];d=N[b+72>>2];N[a+4>>2]=Q(d*Q(N[c>>2]-N[b+44>>2]))+N[b+68>>2];N[a>>2]=f-Q(d*Q(g-e))}function Jj(a,b){a=a|0;b=b|0;var c=0;c=L[a+4>>1];a:{if(b){I[a+4>>1]=c|2;break a}J[a+64>>2]=0;J[a+68>>2]=0;I[a+4>>1]=c&65533;J[a+72>>2]=0;J[a+76>>2]=0;J[a+80>>2]=0;J[a+84>>2]=0}J[a+144>>2]=0}function Tc(a){var b=0;b=J[a+72>>2];J[a+72>>2]=b-1|b;b=J[a>>2];if(b&8){J[a>>2]=b|32;return-1}J[a+4>>2]=0;J[a+8>>2]=0;b=J[a+44>>2];J[a+28>>2]=b;J[a+20>>2]=b;J[a+16>>2]=b+J[a+48>>2];return 0}function Bg(a,b){a=a|0;b=b|0;var c=0;if(K[a+136|0]!=(b|0)){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;J[a+112>>2]=0;H[a+136|0]=b}}function bg(a,b){a=a|0;b=b|0;var c=0;if(K[a+112|0]!=(b|0)){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;J[a+92>>2]=0;H[a+112|0]=b}}function Nh(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0),e=Q(0),f=Q(0);J[b>>2]=0;c=N[a+24>>2];d=N[a+16>>2];e=N[a+20>>2];f=N[a+12>>2];J[b+12>>2]=0;N[b+8>>2]=Q(d+c)*Q(.5);N[b+4>>2]=Q(f+e)*Q(.5)}function Wi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Fa-16|0;Fa=d;e=J[b+4>>2];b=J[b>>2];if(e-b>>2>>>0>c>>>0){J[d+8>>2]=J[b+(c<<2)>>2];b=xa(18964,d+8|0)|0}else{b=1}J[a>>2]=b;Fa=d+16|0}function $g(a,b){a=a|0;b=b|0;var c=0;if(!(N[b>>2]==N[a+76>>2]&N[b+4>>2]==N[a+80>>2])){c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[b+4>>2];J[a+76>>2]=J[b>>2];J[a+80>>2]=c}}function bk(a,b,c){a=a|0;b=Q(b);c=c|0;var d=0;a:{if(J[a>>2]!=2){break a}d=!c;c=L[a+4>>1];if(!(d|c&2)){J[a+144>>2]=0;c=c|2;I[a+4>>1]=c}if(!(c&2)){break a}N[a+84>>2]=N[a+84>>2]+b}}function xi(a){a=a|0;var b=0,c=0;J[a>>2]=21200;if(K[a+8|0]){b=J[a+12>>2];if(!(H[23532]&1)){c=ba(1,20328)|0;H[23532]=1;J[5882]=c}da(J[5882],b|0,2289,0)}fa(J[a+12>>2]);return a|0}function Jc(a,b){var c=0;a:{if(!b){break a}b=lb(b,18772);if(!b|J[b+8>>2]&(J[a+8>>2]^-1)){break a}if(!Za(J[a+12>>2],J[b+12>>2],0)){break a}c=Za(J[a+16>>2],J[b+16>>2],0)}return c}function Ni(a){a=a|0;var b=0,c=0;J[a>>2]=20316;if(K[a+4|0]){b=J[a+8>>2];if(!(H[23532]&1)){c=ba(1,20328)|0;H[23532]=1;J[5882]=c}da(J[5882],b|0,2289,0)}fa(J[a+8>>2]);return a|0}function Ki(a){a=a|0;var b=0,c=0;J[a>>2]=20544;if(K[a+4|0]){b=J[a+8>>2];if(!(H[23532]&1)){c=ba(1,20328)|0;H[23532]=1;J[5882]=c}da(J[5882],b|0,2289,0)}fa(J[a+8>>2]);return a|0}function Ai(a){a=a|0;var b=0,c=0;J[a>>2]=20812;if(K[a+4|0]){b=J[a+8>>2];if(!(H[23532]&1)){c=ba(1,20328)|0;H[23532]=1;J[5882]=c}da(J[5882],b|0,2289,0)}fa(J[a+8>>2]);return a|0}function Yi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Fa-16|0;Fa=e;f=J[a+4>>2];b=(f>>1)+b|0;a=J[a>>2];a=f&1?J[J[b>>2]+a>>2]:a;J[e+12>>2]=d;Ha[a|0](b,c,e+12|0);Fa=e+16|0}function Cb(a){var b=0,c=0;b=J[5876];c=a+7&-8;a=b+c|0;a:{if(a>>>0<=b>>>0?c:0){break a}if(a>>>0>Ia()<<16>>>0){if(!(Aa(a|0)|0)){break a}}J[5876]=a;return b}J[6386]=48;return-1}function wi(a){a=a|0;var b=0,c=0;J[a>>2]=21200;if(K[a+8|0]){b=J[a+12>>2];if(!(H[23532]&1)){c=ba(1,20328)|0;H[23532]=1;J[5882]=c}da(J[5882],b|0,2289,0)}fa(J[a+12>>2]);Wa(a)}function ub(a,b){a=a|0;b=b|0;var c=0;c=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){c=J[c+J[b>>2]>>2]}a=Ha[c|0](b)|0;b=Ra(8);c=J[a+4>>2];J[b>>2]=J[a>>2];J[b+4>>2]=c;return b|0}function yg(a,b){a=a|0;b=b|0;var c=0;if(K[a+137|0]!=(b|0)){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;H[a+137|0]=b}}function vd(a,b){if(!(J[a>>2]|J[b>>2])){return 0}a=J[a+108>>2];if(a){while(1){if(!(K[J[a+4>>2]+61|0]|J[a>>2]!=(b|0))){return 0}a=J[a+12>>2];if(a){continue}break}}return 1}function gg(a,b){a=a|0;b=b|0;var c=0;if(K[a+100|0]!=(b|0)){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;H[a+100|0]=b}}function Gf(a,b){a=a|0;b=b|0;var c=0;if(K[a+128|0]!=(b|0)){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;H[a+128|0]=b}}function zi(a){a=a|0;var b=0,c=0;J[a>>2]=20812;if(K[a+4|0]){b=J[a+8>>2];if(!(H[23532]&1)){c=ba(1,20328)|0;H[23532]=1;J[5882]=c}da(J[5882],b|0,2289,0)}fa(J[a+8>>2]);Wa(a)}function xg(a,b){a=a|0;b=Q(b);var c=0;if(N[a+132>>2]!=b){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;N[a+132>>2]=b}}function wg(a,b){a=a|0;b=Q(b);var c=0;if(N[a+128>>2]!=b){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;N[a+128>>2]=b}}function eg(a,b){a=a|0;b=Q(b);var c=0;if(N[a+108>>2]!=b){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;N[a+108>>2]=b}}function dg(a,b){a=a|0;b=Q(b);var c=0;if(N[a+104>>2]!=b){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;N[a+104>>2]=b}}function Mi(a){a=a|0;var b=0,c=0;J[a>>2]=20316;if(K[a+4|0]){b=J[a+8>>2];if(!(H[23532]&1)){c=ba(1,20328)|0;H[23532]=1;J[5882]=c}da(J[5882],b|0,2289,0)}fa(J[a+8>>2]);Wa(a)}function Ji(a){a=a|0;var b=0,c=0;J[a>>2]=20544;if(K[a+4|0]){b=J[a+8>>2];if(!(H[23532]&1)){c=ba(1,20328)|0;H[23532]=1;J[5882]=c}da(J[5882],b|0,2289,0)}fa(J[a+8>>2]);Wa(a)}function Ff(a,b){a=a|0;b=Q(b);var c=0;if(N[a+124>>2]!=b){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;N[a+124>>2]=b}}function Ef(a,b){a=a|0;b=Q(b);var c=0;if(N[a+120>>2]!=b){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;N[a+120>>2]=b}}function ch(a,b){a=a|0;b=Q(b);var c=0;if(N[a+76>>2]!=b){c=J[a+48>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;c=J[a+52>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;N[a+76>>2]=b}}function Le(a,b){a=a|0;b=Q(b);var c=0,d=0;c=(C(b),v(2));d=c&2147483647;if(!(!d|c-1>>>0<8388607|d-8388608>>>0<2130706432&(c|0)>=0)){ya(4202,3777,300,1107);B()}N[a>>2]=b}function lf(){var a=0;a=Ra(28);I[a+22>>1]=1;I[a+24>>1]=65535;J[a+12>>2]=0;J[a+16>>2]=0;J[a+8>>2]=1045220557;J[a>>2]=0;J[a+4>>2]=0;I[a+26>>1]=0;H[a+20|0]=0;return a|0}function $i(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Fa-16|0;Fa=d;e=J[a+4>>2];b=(e>>1)+b|0;a=J[a>>2];a=e&1?J[J[b>>2]+a>>2]:a;J[d+12>>2]=c;Ha[a|0](b,d+12|0);Fa=d+16|0}function Xk(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=Q(f);var g=0;g=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){g=J[g+J[b>>2]>>2]}return Q(Q(Ha[g|0](b,c,d,e,f)))}function Tj(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=Q(0),f=Q(0),g=Q(0);d=N[b+20>>2];e=N[c>>2];f=N[b+24>>2];g=N[c+4>>2];N[a+4>>2]=Q(d*e)+Q(f*g);N[a>>2]=Q(f*e)-Q(g*d)}function Rj(a,b,c){a=a|0;b=b|0;c=c|0;var d=Q(0),e=Q(0),f=Q(0),g=Q(0);d=N[b+24>>2];e=N[c+4>>2];f=N[b+20>>2];g=N[c>>2];N[a+4>>2]=Q(d*e)-Q(f*g);N[a>>2]=Q(d*g)+Q(f*e)}function Kc(a,b,c,d){var e=0,f=0;e=J[a+4>>2];f=J[a>>2];a=0;a:{if(!c){break a}a=e>>8;if(!(e&1)){break a}a=J[a+J[c>>2]>>2]}Ha[J[J[f>>2]+28>>2]](f,b,a+c|0,e&2?d:2)}function Ge(a,b,c){a=a|0;b=b|0;c=c|0;a=Ha[a|0](b,c)|0;b=Ra(16);c=J[a+12>>2];J[b+8>>2]=J[a+8>>2];J[b+12>>2]=c;c=J[a+4>>2];J[b>>2]=J[a>>2];J[b+4>>2]=c;return b|0}function Zi(a,b){a=a|0;b=b|0;var c=0,d=0;c=b;d=a- -64|0;b=J[a+48>>2];a=J[a+52>>2];Dd(c,d,J[b+8>>2]+12|0,N[J[b+12>>2]+8>>2],J[a+8>>2]+12|0,N[J[a+12>>2]+8>>2])}function nb(a){var b=0,c=0;b=a*a;c=b*a;return Q(c*(b*b)*(b*2718311493989822e-21+-.00019839334836096632)+(c*(b*.008333329385889463+-.16666666641626524)+a))}function ng(a,b){a=a|0;b=b|0;N[a+68>>2]=N[a+68>>2]-N[b>>2];N[a+72>>2]=N[a+72>>2]-N[b+4>>2];N[a+76>>2]=N[a+76>>2]-N[b>>2];N[a+80>>2]=N[a+80>>2]-N[b+4>>2]}function xf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Fa-16|0;Fa=d;Ha[a|0](d+8|0,b,c);a=Ra(8);b=J[d+12>>2];J[a>>2]=J[d+8>>2];J[a+4>>2]=b;Fa=d+16|0;return a|0}function Nk(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=Q(d);e=e|0;f=f|0;var g=0;g=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){g=J[g+J[b>>2]>>2]}Ha[g|0](b,c,d,e,f)}function Ak(a,b){a=a|0;b=b|0;var c=0;if(!(!(N[b+8>>2]<=N[a+8>>2])|(!(N[a>>2]<=N[b>>2])|!(N[a+4>>2]<=N[b+4>>2])))){c=N[b+12>>2]<=N[a+12>>2]}return c|0}function Ri(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=J[a>>2];d=J[a+4>>2]-e>>3;if(d>>>0>>0){Hd(a,b-d|0,c);return}if(b>>>0>>0){J[a+4>>2]=(b<<3)+e}}function Ye(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(Za(a,J[b+8>>2],f)){ic(b,c,d,e);return}a=J[a+8>>2];Ha[J[J[a>>2]+20>>2]](a,b,c,d,e,f)}function Qk(a){a=a|0;var b=0;b=Ra(24);H[b+4|0]=0;J[b+8>>2]=J[a>>2];J[a>>2]=0;a=b+16|0;J[a>>2]=0;J[a+4>>2]=0;J[b>>2]=20780;J[b+12>>2]=a;return b|0}function ob(a){var b=0;a=a*a;b=a*a;return Q(a*b*(a*2439044879627741e-20+-.001388676377460993)+(b*.04166662332373906+(a*-.499999997251031+1)))}function wj(a,b){a=a|0;b=b|0;var c=0;c=Fa-16|0;Fa=c;Ha[a|0](c+8|0,b);a=Ra(8);b=J[c+12>>2];J[a>>2]=J[c+8>>2];J[a+4>>2]=b;Fa=c+16|0;return a|0}function Zg(){var a=0;a=Ra(32);J[a>>2]=0;J[a+4>>2]=0;J[a+24>>2]=0;J[a+28>>2]=0;J[a+16>>2]=0;J[a+20>>2]=0;J[a+8>>2]=0;J[a+12>>2]=0;return a|0}function Gd(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Fa-16|0;Fa=d;Ha[J[a>>2]](d+12|0,b,c);wa(J[d+12>>2]);a=J[d+12>>2];fa(a|0);Fa=d+16|0;return a|0}function uk(a,b,c,d,e){a=a|0;b=b|0;c=Q(c);d=d|0;e=e|0;var f=0;f=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){f=J[f+J[b>>2]>>2]}Ha[f|0](b,c,d,e)}function Ok(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=Q(d);e=e|0;var f=0;f=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){f=J[f+J[b>>2]>>2]}Ha[f|0](b,c,d,e)}function vk(a,b){a=a|0;b=b|0;var c=0,d=0;c=Fa-16|0;Fa=c;d=J[b+4>>2];J[c+8>>2]=J[b>>2];J[c+12>>2]=d;a=Ha[a|0](c+8|0)|0;Fa=c+16|0;return a|0}function $b(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){f=J[f+J[b>>2]>>2]}Ha[f|0](b,c,d,e)}function zk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){e=J[e+J[b>>2]>>2]}return Ha[e|0](b,c,d)|0}function hc(a,b,c,d,e,f){var g=0,h=0;g=J[a+4>>2];h=g>>8;a=J[a>>2];if(g&1){h=J[J[d>>2]+h>>2]}Ha[J[J[a>>2]+20>>2]](a,b,c,d+h|0,g&2?e:2,f)}function Ui(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Fa-16|0;Fa=e;a=J[a>>2];J[e+12>>2]=d;a=Ha[a|0](b,c,e+12|0)|0;Fa=e+16|0;return a|0}function Se(a,b){a=a|0;b=b|0;a=Ha[a|0](b)|0;b=Ra(6);I[b+4>>1]=L[a+4>>1];a=L[a>>1]|L[a+2>>1]<<16;I[b>>1]=a;I[b+2>>1]=a>>>16;return b|0}function jf(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=Q(e);f=Q(f);g=Q(g);h=h|0;i=i|0;j=j|0;k=k|0;Ha[a|0](b,c,d,e,f,g,h,i,j,k)}function Lb(a,b,c){a=a|0;b=b|0;c=Q(c);var d=0;d=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){d=J[d+J[b>>2]>>2]}return Q(Q(Ha[d|0](b,c)))}function Qb(a,b,c,d,e){var f=0,g=0;f=J[a+4>>2];g=f>>8;a=J[a>>2];if(f&1){g=J[J[c>>2]+g>>2]}Ha[J[J[a>>2]+24>>2]](a,b,c+g|0,f&2?d:2,e)}function Ra(a){var b=0;a=a>>>0<=1?1:a;a:{while(1){b=_a(a);if(b){break a}b=J[6558];if(b){Ha[b|0]();continue}break}ma();B()}return b}function Md(a,b,c,d){a=a|0;b=b|0;c=Q(c);d=Q(d);var e=0;e=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){e=J[e+J[b>>2]>>2]}Ha[e|0](b,c,d)}function vh(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0),e=Q(0);e=N[b+244>>2];d=N[b+156>>2];N[a>>2]=Q(d*N[b+240>>2])*c;N[a+4>>2]=Q(d*e)*c}function ue(){var a=0;a=Ra(152);J[a+148>>2]=0;J[a+4>>2]=2;J[a+8>>2]=1008981770;J[a>>2]=12576;J[a+12>>2]=0;J[a+16>>2]=0;return a|0}function pg(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0),e=Q(0);e=N[b+140>>2];d=N[b+116>>2];N[a>>2]=Q(d*N[b+136>>2])*c;N[a+4>>2]=Q(d*e)*c}function lk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=Q(d);var e=0;e=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){e=J[e+J[b>>2]>>2]}Ha[e|0](b,c,d)}function ak(a,b,c,d){a=a|0;b=b|0;c=Q(c);d=d|0;var e=0;e=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){e=J[e+J[b>>2]>>2]}Ha[e|0](b,c,d)}function Gk(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0);c=N[b+12>>2];d=N[b+4>>2];N[a>>2]=Q(N[b>>2]+N[b+8>>2])*Q(.5);N[a+4>>2]=Q(d+c)*Q(.5)}function Fk(a,b){a=a|0;b=b|0;var c=Q(0),d=Q(0);c=N[b+12>>2];d=N[b+4>>2];N[a>>2]=Q(N[b+8>>2]-N[b>>2])*Q(.5);N[a+4>>2]=Q(c-d)*Q(.5)}function ac(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){e=J[e+J[b>>2]>>2]}Ha[e|0](b,c,d)}function Zc(a){vb(J[a>>2],J[a+20>>2]);vb(J[a>>2],J[a+24>>2]);vb(J[a>>2],J[a+16>>2]);vb(J[a>>2],J[a+12>>2]);vb(J[a>>2],J[a+8>>2])}function Lk(a){a=a|0;var b=0;b=Ra(16);J[b+4>>2]=0;J[b>>2]=12704;H[b+8|0]=0;J[b+12>>2]=J[a>>2];J[a>>2]=0;J[b>>2]=21156;return b|0}function Ob(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){d=J[d+J[b>>2]>>2]}return Ha[d|0](b,c)|0}function ef(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(Za(a,J[b+8>>2],0)){jc(b,c,d);return}a=J[a+8>>2];Ha[J[J[a>>2]+28>>2]](a,b,c,d)}function Yj(a){a=a|0;var b=Q(0),c=Q(0);b=N[a+28>>2];c=Q(b*b);b=N[a+32>>2];return Q(Q(Q(N[a+116>>2]*Q(c+Q(b*b)))+N[a+124>>2]))}function sb(a,b){a=a|0;b=b|0;var c=0;c=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){c=J[c+J[b>>2]>>2]}return Q(Q(Ha[c|0](b)))}function Uh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=Ya(e,148);f=yb(b,a,0,c,0),g=12756,J[f>>2]=g;return b|0}function Pg(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=Ya(e,148);f=yb(b,a,0,c,0),g=13692,J[f>>2]=g;return b|0}function Mg(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=Ya(e,148);f=yb(b,a,0,c,0),g=13752,J[f>>2]=g;return b|0}function Lh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;e=Ya(e,148);f=yb(e,a,b,c,d),g=12876,J[f>>2]=g;return e|0}function Jh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;e=Ya(e,148);f=yb(e,a,b,c,d),g=12936,J[f>>2]=g;return e|0}function Ch(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=Ya(e,148);f=yb(b,a,0,c,0),g=13152,J[f>>2]=g;return b|0}function Ah(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=Ya(e,148);f=yb(b,a,0,c,0),g=13212,J[f>>2]=g;return b|0}function bc(a,b){a=a|0;b=b|0;var c=0;c=Fa-16|0;Fa=c;J[c+12>>2]=b;a=Ha[a|0](c+12|0)|0;fa(J[c+12>>2]);Fa=c+16|0;return a|0}function tb(a,b,c){a=a|0;b=b|0;c=Q(c);var d=0;d=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){d=J[d+J[b>>2]>>2]}Ha[d|0](b,c)}function ab(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){d=J[d+J[b>>2]>>2]}Ha[d|0](b,c)}function We(a,b){a=a|0;b=b|0;var c=0;if(K[a+38|0]!=(b|0)){c=J[a+8>>2];J[c+144>>2]=0;I[c+4>>1]=L[c+4>>1]|2;H[a+38|0]=b}}function kb(a,b){a=a|0;b=b|0;var c=0;c=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){c=J[c+J[b>>2]>>2]}return Ha[c|0](b)|0}function Eh(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0);d=N[b+116>>2];c=Q(N[b+100>>2]*c);N[a+4>>2]=c*N[b+120>>2];N[a>>2]=c*d}function Wf(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0);d=N[b+104>>2];c=Q(N[b+92>>2]*c);N[a+4>>2]=c*N[b+108>>2];N[a>>2]=c*d}function Fe(a,b){a=a|0;b=b|0;if(!(J[a+28>>2]>(b|0)&(b|0)>=0)){ya(1632,3777,346,6204);B()}return J[a+24>>2]+P(b,28)|0}function fb(a,b){a=a|0;b=b|0;var c=0;c=J[a>>2];a=Ra(8);b=b+c|0;c=J[b+4>>2];J[a>>2]=J[b>>2];J[a+4>>2]=c;return a|0}function je(a,b,c){a=a|0;b=b|0;c=c|0;a=Ha[a|0](b,c)|0;b=Ra(8);c=J[a+4>>2];J[b>>2]=J[a>>2];J[b+4>>2]=c;return b|0}function Vh(a,b){a=a|0;b=b|0;var c=0;c=L[a+4>>1];if(!(!(c&16)^b)){J[a+72>>2]=0;I[a+4>>1]=c&65519|(b?16:0);Jb(a)}}function ve(a,b){a=a|0;b=b|0;var c=0;a=Ha[a|0](b)|0;b=Ra(8);c=J[a+4>>2];J[b>>2]=J[a>>2];J[b+4>>2]=c;return b|0}function Zk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=a,e=na((H[b+11|0]<0?J[b>>2]:b)|0,20228,J[c>>2])|0,J[d>>2]=e}function Vk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=a,e=na((H[b+11|0]<0?J[b>>2]:b)|0,20456,J[c>>2])|0,J[d>>2]=e}function Pk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=a,e=na((H[b+11|0]<0?J[b>>2]:b)|0,20688,J[c>>2])|0,J[d>>2]=e}function Jk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=a,e=na((H[b+11|0]<0?J[b>>2]:b)|0,21088,J[c>>2])|0,J[d>>2]=e}function Lj(a,b){a=a|0;b=b|0;var c=0;c=L[a+4>>1];if(b){I[a+4>>1]=c|4;return}J[a+144>>2]=0;I[a+4>>1]=c&65529|2}function Bb(a,b,c){if(c){if((c|0)>=641){Wa(b);return}a=(K[c+23620|0]<<2)+a|0;J[b>>2]=J[a+12>>2];J[a+12>>2]=b}}function qb(a,b){a=a|0;b=b|0;var c=0;c=J[a>>2];a=J[a+4>>2];b=(a>>1)+b|0;if(a&1){c=J[c+J[b>>2]>>2]}Ha[c|0](b)}function fk(a,b){a=a|0;b=Q(b);if(J[a>>2]){if(Q(b*b)>Q(0)){J[a+144>>2]=0;I[a+4>>1]=L[a+4>>1]|2}N[a+72>>2]=b}}function ze(){var a=0;a=Ra(20);J[a+4>>2]=0;J[a+8>>2]=0;J[a>>2]=12488;J[a+12>>2]=0;J[a+16>>2]=0;return a|0}function Pi(a,b,c){a=a|0;b=b|0;c=c|0;a=J[a>>2]+(b<<3)|0;b=J[c+4>>2];J[a>>2]=J[c>>2];J[a+4>>2]=b;return 1}function Fj(a){a=a|0;var b=Q(0),c=Q(0);b=N[J[a+48>>2]+20>>2];c=N[J[a+52>>2]+20>>2];N[a+140>>2]=b>c?b:c}function fl(){var a=0;a=Ra(20);J[a>>2]=0;J[a+4>>2]=0;J[a+16>>2]=0;J[a+8>>2]=0;J[a+12>>2]=0;return a|0}function _k(a){a=a|0;var b=0;b=Ra(12);H[b+4|0]=0;J[b+8>>2]=J[a>>2];J[a>>2]=0;J[b>>2]=20296;return b|0}function Wk(a){a=a|0;var b=0;b=Ra(12);H[b+4|0]=0;J[b+8>>2]=J[a>>2];J[a>>2]=0;J[b>>2]=20524;return b|0}function Bj(){var a=0;a=Ra(20);J[a>>2]=0;J[a+4>>2]=0;H[a+16|0]=0;J[a+8>>2]=0;J[a+12>>2]=0;return a|0}function Me(a,b){a=a|0;b=b|0;var c=0;c=J[a+12>>2];return Ha[J[J[c>>2]+16>>2]](c,J[a+8>>2]+12|0,b)|0}function Rf(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0);d=N[b+108>>2];N[a>>2]=N[b+104>>2]*c;N[a+4>>2]=d*c}function Ek(a){a=a|0;var b=Q(0);b=Q(Q(N[a+8>>2]-N[a>>2])+Q(N[a+12>>2]-N[a+4>>2]));return Q(Q(b+b))}function Tg(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0);d=N[b+100>>2];N[a>>2]=N[b+96>>2]*c;N[a+4>>2]=d*c}function jh(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0);d=N[b+84>>2];N[a>>2]=N[b+80>>2]*c;N[a+4>>2]=d*c}function id(a,b,c){a=a|0;b=b|0;c=Q(c);var d=Q(0);d=N[b+88>>2];N[a>>2]=N[b+84>>2]*c;N[a+4>>2]=d*c}function of(){var a=0;a=J[6124];if(a){while(1){Ha[J[a>>2]]();a=J[a+4>>2];if(a){continue}break}}}function Xe(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(Za(a,J[b+8>>2],f)){ic(b,c,d,e)}}function zh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;rd(b,J[J[a+48>>2]+12>>2],c,J[J[a+52>>2]+12>>2],d)}function qe(a,b,c,d,e,f,g){a=a|0;b=b|0;c=Q(c);d=Q(d);e=Q(e);f=Q(f);g=Q(g);Ha[a|0](b,c,d,e,f,g)}function Bh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;sd(b,J[J[a+48>>2]+12>>2],c,J[J[a+52>>2]+12>>2],d)}function lh(a,b){a=a|0;b=b|0;var c=0;b=J[b+48>>2];c=J[b+16>>2];J[a>>2]=J[b+12>>2];J[a+4>>2]=c}function kh(a,b){a=a|0;b=b|0;var c=0;b=J[b+52>>2];c=J[b+16>>2];J[a>>2]=J[b+12>>2];J[a+4>>2]=c}function gb(a,b,c){a=a|0;b=b|0;c=c|0;a=J[a>>2]+b|0;b=J[c+4>>2];J[a>>2]=J[c>>2];J[a+4>>2]=b}function Rg(a,b){a=a|0;b=b|0;N[a+76>>2]=N[a+76>>2]-N[b>>2];N[a+80>>2]=N[a+80>>2]-N[b+4>>2]}function sk(a,b){a=a|0;b=b|0;var c=0;c=J[b+4>>2];J[a+102964>>2]=J[b>>2];J[a+102968>>2]=c}function rk(a,b){a=a|0;b=b|0;var c=0;c=J[b+102968>>2];J[a>>2]=J[b+102964>>2];J[a+4>>2]=c}function jg(a){a=a|0;return Q(Q(Q(N[J[a+52>>2]+56>>2]-N[J[a+48>>2]+56>>2])-N[a+116>>2]))}function ce(){var a=0;a=Ra(16);J[a>>2]=0;J[a+4>>2]=0;J[a+8>>2]=0;J[a+12>>2]=0;return a|0}function sj(a,b){a=a|0;b=b|0;var c=0;c=J[b+48>>2];N[a+4>>2]=M[b+52>>2];N[a>>2]=c>>>0}function Vg(a,b){a=a|0;b=b|0;var c=0;c=J[b+80>>2];J[a>>2]=J[b+76>>2];J[a+4>>2]=c}function ek(a){a=a|0;N[a+136>>2]=Y(Q(N[J[a+48>>2]+16>>2]*N[J[a+52>>2]+16>>2]))}function cl(){var a=0;a=Ra(6);I[a+4>>1]=0;I[a>>1]=1;I[a+2>>1]=65535;return a|0}function Ve(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Ha[a|0](b,c,d,e)|0}function ff(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(Za(a,J[b+8>>2],0)){jc(b,c,d)}}function ll(a){var b=0;b=a&31;a=0-a&31;return(-1>>>b&-2)<>>a} +function el(){var a=0;a=Ra(12);J[a>>2]=0;J[a+4>>2]=0;J[a+8>>2]=0;return a|0}function ec(){var a=0;a=Ra(12);J[a+8>>2]=0;J[a>>2]=0;J[a+4>>2]=0;return a|0}function dc(a){a=a|0;var b=0;if(a){b=J[a>>2];if(b){J[a+4>>2]=b;Wa(b)}Wa(a)}}function Vi(a,b,c){a=a|0;b=b|0;c=c|0;J[J[a>>2]+(b<<2)>>2]=J[c>>2];return 1}function ig(a){a=a|0;return Q(Q(N[J[a+52>>2]+72>>2]-N[J[a+48>>2]+72>>2]))}function Ae(a,b,c){a=a|0;b=b|0;c=c|0;return Ha[J[J[a>>2]+16>>2]](a,b,c)|0}function Oi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ha[J[a>>2]](b,c,d)|0}function uh(a,b){a=a|0;b=Q(b);return Q(Q(Q(N[a+156>>2]*N[a+256>>2])*b))}function he(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=Q(d);e=Q(e);Ha[a|0](b,c,d,e)}function Be(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ha[a|0](b,c,d)|0}function cd(a){vb(J[a+32>>2],J[a+40>>2]);vb(J[a+32>>2],J[a+36>>2])}function zb(a,b){a=a|0;b=b|0;Ha[J[J[a>>2]+4>>2]](a)|0;Bb(b,a,148)}function ke(a,b){a=a|0;b=b|0;return Q(N[(J[a>>2]+(b<<3)|0)+4>>2])}function we(a,b,c){a=a|0;b=Q(b);c=Q(c);N[a+12>>2]=b;N[a+16>>2]=c}function Bk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ha[J[a>>2]](b,c,d)}function oi(a,b,c){a=a|0;b=b|0;c=c|0;return Q(Q(Ha[a|0](b,c)))}function Nj(a,b){a=a|0;b=b|0;I[a+4>>1]=L[a+4>>1]&65527|(b?8:0)}function ye(a,b,c,d){a=a|0;b=b|0;c=Q(c);d=Q(d);Ha[a|0](b,c,d)}function tg(a,b){a=a|0;b=b|0;return Q(N[((b<<2)+a|0)+24>>2])}function Eg(a,b){a=a|0;b=b|0;return Q(N[((b<<3)+a|0)+12>>2])}function xe(a,b){a=a|0;b=b|0;J[a+4>>2]=J[a+4>>2]&-5|(b?4:0)}function te(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ha[a|0](b,c,d)}function le(a,b){a=a|0;b=b|0;return Q(N[J[a>>2]+(b<<3)>>2])}function _f(a,b){a=a|0;b=b|0;return Q(N[((b<<2)+a|0)+8>>2])}function Yb(a,b){if(b){Yb(a,J[b>>2]);Yb(a,J[b+4>>2]);Wa(b)}}function Og(a,b){a=a|0;b=b|0;return Q(N[((b<<3)+a|0)+8>>2])}function wc(a,b,c){a=a|0;b=b|0;c=c|0;return Ha[a|0](b,c)|0}function kf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ga=0;return 0}function vg(a,b){a=a|0;b=Q(b);return Q(Q(N[a+116>>2]*b))}function nc(a,b){a=a|0;b=Q(b);return Q(Q(N[a+112>>2]*b))}function Gg(a,b){a=a|0;b=Q(b);return Q(Q(N[a+108>>2]*b))}function ih(a,b){a=a|0;b=Q(b);return Q(Q(N[a+88>>2]*b))}function ib(a,b,c){a=a|0;b=b|0;c=Q(c);N[J[a>>2]+b>>2]=c}function hd(a,b){a=a|0;b=Q(b);return Q(Q(N[a+92>>2]*b))}function fg(a,b){a=a|0;b=Q(b);return Q(Q(N[a+96>>2]*b))}function _h(a,b){a=a|0;b=b|0;J[a+4>>2]=J[a+4>>2]&(b^-1)}function Lc(a,b,c){a=a|0;b=b|0;c=c|0;return Za(a,b,0)|0}function hb(a,b){a=a|0;b=b|0;return Q(N[J[a>>2]+b>>2])}function be(a,b,c){a=a|0;b=b|0;c=c|0;I[J[a>>2]+b>>1]=c}function _d(a,b,c){a=a|0;b=b|0;c=c|0;J[J[a>>2]+b>>2]=c}function gd(a,b){a=a|0;b=b|0;return Q(N[(b<<2)+a>>2])}function Nb(a,b,c){a=a|0;b=b|0;c=c|0;H[J[a>>2]+b|0]=c}function Ec(a,b,c){a=a|0;b=b|0;c=c|0;Ha[J[a>>2]](b,c)}function Ce(a){a=a|0;return Ha[J[J[a>>2]+12>>2]](a)|0}function ie(a,b){a=a|0;b=b|0;return J[a>>2]+(b<<3)|0}function Tk(a,b){a=a|0;b=b|0;return Q(Q(Ha[a|0](b)))}function Td(a,b){a=a|0;b=b|0;return Ha[J[a>>2]](b)|0}function il(a){if(a){return 31-S(a-1^a)|0}return 32}function hj(a){a=a|0;if(a){Ha[J[J[a>>2]+28>>2]](a)}}function bl(a,b){a=a|0;b=b|0;return L[J[a>>2]+b>>1]}function al(a,b){a=a|0;b=b|0;return I[J[a>>2]+b>>1]}function Zd(a,b){a=a|0;b=b|0;return J[J[a>>2]+b>>2]}function rb(a){a=a|0;if(a){Ha[J[J[a>>2]+4>>2]](a)}}function dl(a,b,c){a=a|0;b=b|0;c=Q(c);Ha[a|0](b,c)}function Mb(a,b){a=a|0;b=b|0;return K[J[a>>2]+b|0]}function $h(a,b){a=a|0;b=b|0;J[a+4>>2]=J[a+4>>2]|b}function Sg(a,b){a=a|0;b=Q(b);return Q(Q(b*Q(0)))}function Pb(a,b,c){a=a|0;b=b|0;c=c|0;Ha[a|0](b,c)}function fc(a,b){a=a|0;b=b|0;return Ha[a|0](b)|0}function Xi(a){a=a|0;return J[a+4>>2]-J[a>>2]>>2}function Hc(a){a=a|0;return J[a+4>>2]-J[a>>2]>>3}function hi(a,b){a=a|0;b=b|0;return P(b,20)+a|0}function Ic(a,b,c,d){za(a|0,b|0,8,0,c|0,-1,d|0)}function af(a){a=a|0;return J[J[a+12>>2]+4>>2]}function Ij(a){a=a|0;return(K[a+4|0]&32)>>>5|0}function Hj(a){a=a|0;return(K[a+4|0]&16)>>>4|0}function fe(a){a=a|0;return(K[a+4|0]&2)>>>1|0}function Qh(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function Mj(a){a=a|0;return(K[a+4|0]&8)>>>3|0}function Kj(a){a=a|0;return(K[a+4|0]&4)>>>2|0}function Cf(a,b){a=a|0;b=b|0;J[a+102940>>2]=b}function Bf(a,b){a=a|0;b=b|0;J[a+102980>>2]=b}function rc(a,b){a=a|0;b=Q(b);return Q(Q(0))}function eh(a,b){a=a|0;b=Q(b);N[a+100>>2]=b}function db(a){a=a|0;return J[J[a>>2]-4>>2]}function cc(a,b){a=a|0;b=b|0;Ha[J[a>>2]](b)}function ae(a,b){a=a|0;b=Q(b);N[a+136>>2]=b}function Xd(a,b){a=a|0;b=Q(b);N[a+140>>2]=b}function Pd(a,b){a=a|0;b=Q(b);N[a+104>>2]=b}function Oj(a,b){a=a|0;b=Q(b);N[a+132>>2]=b}function $k(a,b){a=a|0;b=Q(b);N[a+144>>2]=b}function zc(a){a=a|0;return Q(N[a+124>>2])}function yc(a){a=a|0;return Q(N[a+120>>2])}function nj(a){a=a|0;return Q(N[a+128>>2])}function kj(a){a=a|0;return Q(N[a+108>>2])}function hh(a,b){a=a|0;b=Q(b);N[a+92>>2]=b}function fh(a,b){a=a|0;b=Q(b);N[a+96>>2]=b}function _g(a,b){a=a|0;b=Q(b);N[a+88>>2]=b}function Yd(a){a=a|0;return Q(N[a+116>>2])}function Wd(a){a=a|0;return Q(N[a+132>>2])}function Ud(a){a=a|0;return Q(N[a+140>>2])}function Nd(a){a=a|0;return Q(N[a+100>>2])}function Kk(a){a=a|0;return Q(N[a+144>>2])}function Kd(a,b){a=a|0;b=Q(b);N[a+84>>2]=b}function Je(a,b){a=a|0;b=Q(b);N[a+16>>2]=b}function He(a,b){a=a|0;b=Q(b);N[a+20>>2]=b}function Dc(a){a=a|0;return Q(N[a+104>>2])}function Cc(a,b){a=a|0;b=Q(b);N[a+68>>2]=b}function Ac(a,b){a=a|0;b=Q(b);N[a+72>>2]=b}function $d(a){a=a|0;return Q(N[a+136>>2])}function zj(a,b){a=a|0;b=b|0;J[a+12>>2]=b}function tk(a){a=a|0;return K[a+102972|0]}function qk(a){a=a|0;return K[a+102989|0]}function qh(a){a=a|0;return Q(N[a+12>>2])}function jk(a){a=a|0;return Q(N[a+56>>2])}function gh(a){a=a|0;return Q(N[a+92>>2])}function fd(a){a=a|0;return Q(N[a+84>>2])}function bh(a){a=a|0;return Q(N[a+76>>2])}function ai(a){a=a|0;return Q(N[a+48>>2])}function _b(a){a=a|0;return Q(N[a+72>>2])}function Zh(a){a=a|0;return Q(N[a+52>>2])}function Yg(a){a=a|0;return Q(N[a+88>>2])}function Th(a){a=a|0;return Q(N[a+40>>2])}function Ne(a,b){a=a|0;b=b|0;J[a+40>>2]=b}function Mh(a){a=a|0;return Q(N[a+44>>2])}function Ke(a){a=a|0;return Q(N[a+16>>2])}function Jd(a){a=a|0;return Q(N[a+96>>2])}function Ie(a){a=a|0;return Q(N[a+20>>2])}function De(a,b){a=a|0;b=Q(b);N[a+8>>2]=b}function Bc(a){a=a|0;return Q(N[a+68>>2])}function od(a){a=a|0;return Q(N[a+4>>2])}function jd(a){a=a|0;return Q(N[a+8>>2])}function bi(a,b){a=a|0;b=b|0;J[a+4>>2]=b}function Aj(a,b){a=a|0;b=b|0;J[a+8>>2]=b}function nk(a,b){a=a|0;b=b|0;Ha[a|0](b)}function jb(a){a=a|0;return Ha[a|0]()|0}function Gj(a){a=a|0;return J[a+100>>2]}function Ej(a){a=a|0;return J[a+108>>2]}function zg(a){a=a|0;return K[a+137|0]}function yi(a){a=a|0;return J[a+60>>2]}function sc(a){a=a|0;return Q(N[a>>2])}function kc(a){a=a|0;return J[a+12>>2]}function hg(a){a=a|0;return K[a+100|0]}function gl(a){a=a|0;J[a+4>>2]=J[a>>2]}function cg(a){a=a|0;return K[a+112|0]}function Qf(a){a=a|0;return J[a+16>>2]}function Oe(a){a=a|0;return J[a+40>>2]}function Ld(a){a=a|0;return J[a+48>>2]}function Id(a){a=a|0;return J[a+52>>2]}function Hi(a){a=a|0;return J[a+56>>2]}function Hf(a){a=a|0;return K[a+128|0]}function Dj(a){a=a|0;return J[a+88>>2]}function Cg(a){a=a|0;return K[a+136|0]}function yj(a){a=a|0;return K[a+61|0]}function oc(a,b){a=a|0;b=b|0;return 1}function lc(a){a=a|0;return J[a+8>>2]}function Ue(a){a=a|0;return K[a+38|0]}function Gb(a){a=a|0;return J[a+4>>2]}function Fd(a){a=a|0;return a- -64|0}function Ee(a,b){a=a|0;b=b|0;md(a,b)}function Ed(a,b,c){a=a|0;b=b|0;c=c|0}function mc(a){a=a|0;return J[a>>2]}function ik(a){a=a|0;return a+44|0}function hk(a){a=a|0;return a+28|0}function gc(a){a=a|0;return a+12|0}function cj(a){a=a|0;return a+92|0}function Zb(a){a=a|0;return a+68|0}function Rd(a){a=a|0;return a+80|0}function Qe(a){a=a|0;return a+32|0}function Qd(a){a=a|0;return a+88|0}function Od(a){a=a|0;return a+84|0}function Kb(a){a=a|0;return a+76|0}function xk(a){a=a|0;return 21472}function xj(a){a=a|0;return 22212}function uj(a){a=a|0;return 22328}function rj(a){a=a|0;return 22456}function pk(a){a=a|0;return 21588}function pj(a){a=a|0;return 22584}function mk(a){a=a|0;return 21564}function mj(a){a=a|0;return 22752}function jj(a){a=a|0;return 22928}function gj(a){a=a|0;return 23068}function ej(a){a=a|0;return 23184}function bj(a){a=a|0;return 19844}function Ti(a){a=a|0;return 19968}function Ik(a){a=a|0;return 19648}function Cj(a){a=a|0;return 21660}function $a(a){a=a|0;if(a){Wa(a)}}function oh(a){a=a|0;Sa(10085,0)}function Qg(a){a=a|0;Sa(10132,0)}function Va(a){a=a|0;return a|0}function Mk(a){a=a|0;H[a+8|0]=1}function Gc(a){a=a|0;H[a+4|0]=1}function vc(a){a=a|0;return 1}function mf(a){a=a|0;return 0}function de(){return Ra(16)|0}function xc(a,b){a=a|0;b=b|0}function ee(){return Ra(8)|0}function Xa(a){a=a|0;Wa(a)}function Eb(a){a=a|0;B()}function Fb(){ma();B()}function mb(a){a=a|0} +// EMSCRIPTEN_END_FUNCS +e=K;p(q);var Ha=c([null,oi,gd,xf,Re,Pb,xe,fc,fe,dl,$k,Tk,Kk,ae,$d,nk,ek,Xd,Ud,Fj,wj,sj,fc,Ld,Id,Pb,Zi,Fd,Hi,yi,wc,hi,ai,Zh,Th,Mh,sc,od,jd,qh,jb,Zg,Og,Eg,tg,sc,od,$a,gd,_f,fc,Qf,mc,Gb,lc,kc,lf,$a,jf,gf,af,kc,We,Ue,Pb,Te,Se,Qe,Pe,lc,Gb,Oe,Ne,wc,Me,Le,sc,Ke,Je,Ie,He,Ge,Fe,Pb,Ee,jd,De,Gb,Ce,Be,Ae,ze,rb,ye,we,ve,gc,ue,rb,te,se,re,qe,pe,wc,oe,ne,ec,dc,me,Hc,le,ke,je,ie,mc,he,hl,gl,$a,ee,ib,hb,$a,ee,ib,hb,$a,de,gb,fb,gb,fb,$a,de,ib,hb,$a,fl,gb,fb,ib,hb,$a,el,gb,fb,ib,hb,$a,ce,ib,hb,gb,fb,$a,cl,be,bl,be,al,rb,db,Ob,rb,Va,Va,db,Gc,cc,_k,bc,Zk,Yk,rb,db,Xk,rb,Va,Va,db,Gc,cc,Wk,bc,Vk,rb,db,ab,ac,Uk,ab,Sk,Rk,Ob,rb,Va,Va,db,Gc,cc,Qk,bc,Pk,rb,db,bi,ab,Gb,kb,$h,_h,$b,Ok,Nk,$b,ab,rb,Va,Va,db,Mk,cc,Lk,bc,Jk,$a,Ik,ce,jb,Hk,kb,Gk,Fc,Fk,Ek,sb,Dk,Ec,Ck,Bk,Ak,Ob,ii,zk,gb,fb,yk,xk,wk,vk,Cf,ab,Bf,ab,sf,qb,Af,Ob,zf,ab,yf,Ob,Wc,ab,vf,uk,uf,ac,tf,$b,wf,ab,tk,kb,sk,ab,rk,Fc,qk,rf,mb,pk,ok,jb,_d,Zd,gb,fb,ib,hb,Nb,Mb,mb,mk,Xh,lk,gc,kk,gc,ub,jk,sb,ik,hk,gk,ab,Fd,fk,tb,_b,dk,$b,ck,ac,bk,ak,$j,_j,Zj,Yd,Yj,Xj,ab,Wj,Ec,Jb,qb,Vj,Uj,Tj,Sj,Rj,Qj,Pj,Wd,Oj,$d,ae,Ud,Xd,Yh,ab,mc,kb,Nj,ab,Mj,kb,Lj,Kj,Jj,fe,Wh,Ij,Vh,Hj,Gj,Td,Ej,Dj,kb,ud,$a,Cj,Bj,jb,_d,Zd,Aj,Ec,lc,Td,zj,kc,Nb,Mb,mb,db,Gb,kb,Ld,kb,Id,Fc,Sd,Lb,yj,kb,qb,$a,Va,Va,xj,vj,jb,gb,fb,ib,hb,mb,Va,Va,db,Rd,ub,Qd,Pd,tb,Dc,sb,Cc,Bc,Ac,_b,qb,$a,Va,Va,uj,tj,jb,gb,fb,ib,hb,mb,Va,Va,db,dh,ab,Zb,ub,ch,tb,bh,sb,hh,gh,fh,Jd,eh,Nd,qb,$a,Va,Va,rj,qj,jb,gb,fb,ib,hb,mb,Va,Va,db,$g,ab,Kb,ub,Pd,tb,Dc,sb,Kd,fd,_g,Yg,qb,$a,Va,Va,pj,oj,jb,gb,fb,ib,hb,Nb,Mb,mb,Va,Va,db,Zb,ub,Kb,Od,Nd,sb,Fg,Dg,Cg,kb,Bg,ab,yc,zc,Ag,Md,zg,yg,xg,tb,Wd,wg,nj,vg,Lb,qb,$a,Va,Va,mj,lj,jb,gb,fb,ib,hb,Nb,Mb,mb,Va,Va,db,Zb,ub,Kb,Yd,sb,jg,ig,cg,kb,bg,ab,yc,zc,ag,Md,hg,gg,eg,tb,kj,dg,Dc,fg,Lb,qb,$a,Va,Va,jj,ij,jb,gb,fb,ib,hb,hj,Va,Va,db,Zb,ub,Kb,Sd,Lb,Kd,tb,fd,sb,qb,$a,Va,Va,gj,fj,jb,gb,fb,ib,hb,mb,Va,Va,db,Rd,ub,Qd,Jd,sb,Cc,tb,Bc,Ac,_b,qb,$a,Va,Va,ej,dj,jb,gb,fb,Nb,Mb,ib,hb,mb,Va,Va,db,Kb,ub,Od,cj,If,sb,Hf,kb,Gf,ab,Ff,tb,zc,Ef,yc,nc,Lb,Cc,Bc,Ac,_b,qb,dc,bj,ec,jb,aj,$i,_i,Yi,Xi,kb,Wi,Gd,Vi,Ui,dc,Ti,ec,jb,Si,ab,Ri,ac,Hc,kb,Qi,Gd,Pi,Oi,Vd,Ni,Mi,Li,Eb,Fb,Ki,Ji,Ii,Eb,Gi,Fi,Ei,Di,Ci,Bi,Ai,zi,xc,xc,Ed,Ed,xi,wi,vi,ui,ti,si,ri,qi,pi,Eb,Va,Xa,ni,vc,mi,li,ki,ji,Xa,gi,vc,fi,ei,di,ci,Va,Eb,Sh,Va,Xa,Xa,Rh,vc,Qh,Ph,Oh,Nh,Kh,Xa,Ih,Xa,Pg,zb,Uh,Ch,Lh,zb,zb,Mg,zb,zb,zb,Ah,zb,Jh,Eb,Va,Xa,qd,pd,Eh,rc,Dh,xc,Va,Xa,Hh,Gh,Fh,Bh,Xa,zh,Xa,ld,kd,vh,uh,th,Xa,yh,xh,wh,Tb,Sb,id,hd,ph,Xa,sh,rh,oc,oh,Eb,lh,kh,jh,ih,ah,Xa,nh,mh,oc,Vg,Ug,Tg,Sg,Qg,Rg,Xa,Xg,Wg,oc,Ng,Xa,Lg,Xa,Tb,Sb,Hg,Gg,ug,Xa,Kg,Jg,Ig,ld,kd,pg,rc,og,ng,Xa,sg,rg,qg,Tb,Sb,id,hd,$f,Xa,mg,lg,kg,Tb,Sb,Wf,rc,Vf,Xa,Zf,Yf,Xf,qd,pd,Rf,nc,Pf,Xa,Uf,Tf,Sf,Lf,Kf,Jf,nc,Df,Xa,Of,Nf,Mf,Va,Xa,qf,Vc,mf,nf,kf,Oc,Nc,Va,Xa,mb,mb,Lc,Xa,Lc,Xa,hf,Xe,_e,ff,Xa,Ye,$e,ef,Xa,Ze,bf,df,Xa,cf]);function Ia(){return G.byteLength/65536|0}function Na(Oa){Oa=Oa|0;var Ja=Ia()|0;var Ka=Ja+Oa|0;if(Ja=65536,"INITIAL_MEMORY should be larger than STACK_SIZE, was "+INITIAL_MEMORY+"! (STACK_SIZE="+65536+")");if(Module["wasmMemory"]){wasmMemory=Module["wasmMemory"]}else{wasmMemory=new WebAssembly.Memory({"initial":INITIAL_MEMORY/65536,"maximum":2147483648/65536})}updateMemoryViews();INITIAL_MEMORY=wasmMemory.buffer.byteLength;var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function postRun(){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)}function addOnInit(cb){__ATINIT__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}function abort(what){if(Module["onAbort"]){Module["onAbort"](what)}what="Aborted("+what+")";err(what);ABORT=true;EXITSTATUS=1;what+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(what);readyPromiseReject(e);throw e}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return filename.startsWith(dataURIPrefix)}var wasmBinaryFile;wasmBinaryFile="<<< WASM_BINARY_FILE >>>";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(file){try{if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}var binary=tryParseAsDataURI(file);if(binary){return binary}if(readBinary){return readBinary(file)}throw"both async and sync fetching of the wasm failed"}catch(err){abort(err)}}function getBinaryPromise(binaryFile){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if(typeof fetch=="function"){return fetch(binaryFile,{credentials:"same-origin"}).then(response=>{if(!response["ok"]){throw"failed to load wasm binary file at '"+binaryFile+"'"}return response["arrayBuffer"]()}).catch(()=>getBinary(binaryFile))}}return Promise.resolve().then(()=>getBinary(binaryFile))}function instantiateArrayBuffer(binaryFile,imports,receiver){return getBinaryPromise(binaryFile).then(binary=>{return WebAssembly.instantiate(binary,imports)}).then(instance=>{return instance}).then(receiver,reason=>{err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(binary,binaryFile,imports,callback){if(!binary&&typeof WebAssembly.instantiateStreaming=="function"&&!isDataURI(binaryFile)&&typeof fetch=="function"){return fetch(binaryFile,{credentials:"same-origin"}).then(response=>{var result=WebAssembly.instantiateStreaming(response,imports);return result.then(callback,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(binaryFile,imports,callback)})})}else{return instantiateArrayBuffer(binaryFile,imports,callback)}}function createWasm(){var info={"a":wasmImports};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;wasmTable=Module["asm"]["K"];addOnInit(Module["asm"]["J"]);removeRunDependency("wasm-instantiate");return exports}addRunDependency("wasm-instantiate");function receiveInstantiationResult(result){receiveInstance(result["instance"])}if(Module["instantiateWasm"]){try{return Module["instantiateWasm"](info,receiveInstance)}catch(e){err("Module.instantiateWasm callback failed with error: "+e);readyPromiseReject(e)}}instantiateAsync(wasmBinary,wasmBinaryFile,info,receiveInstantiationResult).catch(readyPromiseReject);return{}}function callRuntimeCallbacks(callbacks){while(callbacks.length>0){callbacks.shift()(Module)}}function intArrayToString(array){var ret=[];for(var i=0;i255){chr&=255}ret.push(String.fromCharCode(chr))}return ret.join("")}var UTF8Decoder=typeof TextDecoder!="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(heapOrArray,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heapOrArray[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heapOrArray.buffer&&UTF8Decoder){return UTF8Decoder.decode(heapOrArray.subarray(idx,endPtr))}var str="";while(idx>10,56320|ch&1023)}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function ___assert_fail(condition,filename,line,func){abort(`Assertion failed: ${UTF8ToString(condition)}, at: `+[filename?UTF8ToString(filename):"unknown filename",line,func?UTF8ToString(func):"unknown function"])}var char_0=48;var char_9=57;function makeLegalFunctionName(name){if(undefined===name){return"_unknown"}name=name.replace(/[^a-zA-Z0-9_]/g,"$");var f=name.charCodeAt(0);if(f>=char_0&&f<=char_9){return`_${name}`}return name}function createNamedFunction(name,body){name=makeLegalFunctionName(name);return{[name]:function(){return body.apply(this,arguments)}}[name]}function HandleAllocator(){this.allocated=[undefined];this.freelist=[];this.get=function(id){return this.allocated[id]};this.has=function(id){return this.allocated[id]!==undefined};this.allocate=function(handle){var id=this.freelist.pop()||this.allocated.length;this.allocated[id]=handle;return id};this.free=function(id){this.allocated[id]=undefined;this.freelist.push(id)}}var emval_handles=new HandleAllocator;function extendError(baseErrorType,errorName){var errorClass=createNamedFunction(errorName,function(message){this.name=errorName;this.message=message;var stack=new Error(message).stack;if(stack!==undefined){this.stack=this.toString()+"\n"+stack.replace(/^Error(:[^\n]*)?\n/,"")}});errorClass.prototype=Object.create(baseErrorType.prototype);errorClass.prototype.constructor=errorClass;errorClass.prototype.toString=function(){if(this.message===undefined){return this.name}else{return`${this.name}: ${this.message}`}};return errorClass}var BindingError=undefined;function throwBindingError(message){throw new BindingError(message)}function count_emval_handles(){var count=0;for(var i=emval_handles.reserved;i{if(!handle){throwBindingError("Cannot use deleted val. handle = "+handle)}return emval_handles.get(handle).value},toHandle:value=>{switch(value){case undefined:return 1;case null:return 2;case true:return 3;case false:return 4;default:{return emval_handles.allocate({refcount:1,value:value})}}}};var PureVirtualError=undefined;function embind_init_charCodes(){var codes=new Array(256);for(var i=0;i<256;++i){codes[i]=String.fromCharCode(i)}embind_charCodes=codes}var embind_charCodes=undefined;function readLatin1String(ptr){var ret="";var c=ptr;while(HEAPU8[c]){ret+=embind_charCodes[HEAPU8[c++]]}return ret}function getInheritedInstanceCount(){return Object.keys(registeredInstances).length}function getLiveInheritedInstances(){var rv=[];for(var k in registeredInstances){if(registeredInstances.hasOwnProperty(k)){rv.push(registeredInstances[k])}}return rv}var deletionQueue=[];function flushPendingDeletes(){while(deletionQueue.length){var obj=deletionQueue.pop();obj.$$.deleteScheduled=false;obj["delete"]()}}var delayFunction=undefined;function setDelayFunction(fn){delayFunction=fn;if(deletionQueue.length&&delayFunction){delayFunction(flushPendingDeletes)}}function init_embind(){Module["getInheritedInstanceCount"]=getInheritedInstanceCount;Module["getLiveInheritedInstances"]=getLiveInheritedInstances;Module["flushPendingDeletes"]=flushPendingDeletes;Module["setDelayFunction"]=setDelayFunction}var registeredInstances={};function getBasestPointer(class_,ptr){if(ptr===undefined){throwBindingError("ptr should not be undefined")}while(class_.baseClass){ptr=class_.upcast(ptr);class_=class_.baseClass}return ptr}function registerInheritedInstance(class_,ptr,instance){ptr=getBasestPointer(class_,ptr);if(registeredInstances.hasOwnProperty(ptr)){throwBindingError(`Tried to register registered instance: ${ptr}`)}else{registeredInstances[ptr]=instance}}var registeredTypes={};function getTypeName(type){var ptr=___getTypeName(type);var rv=readLatin1String(ptr);_free(ptr);return rv}function requireRegisteredType(rawType,humanName){var impl=registeredTypes[rawType];if(undefined===impl){throwBindingError(humanName+" has unknown type "+getTypeName(rawType))}return impl}function unregisterInheritedInstance(class_,ptr){ptr=getBasestPointer(class_,ptr);if(registeredInstances.hasOwnProperty(ptr)){delete registeredInstances[ptr]}else{throwBindingError(`Tried to unregister unregistered instance: ${ptr}`)}}function detachFinalizer(handle){}var finalizationRegistry=false;function runDestructor($$){if($$.smartPtr){$$.smartPtrType.rawDestructor($$.smartPtr)}else{$$.ptrType.registeredClass.rawDestructor($$.ptr)}}function releaseClassHandle($$){$$.count.value-=1;var toDelete=0===$$.count.value;if(toDelete){runDestructor($$)}}function downcastPointer(ptr,ptrClass,desiredClass){if(ptrClass===desiredClass){return ptr}if(undefined===desiredClass.baseClass){return null}var rv=downcastPointer(ptr,ptrClass,desiredClass.baseClass);if(rv===null){return null}return desiredClass.downcast(rv)}var registeredPointers={};function getInheritedInstance(class_,ptr){ptr=getBasestPointer(class_,ptr);return registeredInstances[ptr]}var InternalError=undefined;function throwInternalError(message){throw new InternalError(message)}function makeClassHandle(prototype,record){if(!record.ptrType||!record.ptr){throwInternalError("makeClassHandle requires ptr and ptrType")}var hasSmartPtrType=!!record.smartPtrType;var hasSmartPtr=!!record.smartPtr;if(hasSmartPtrType!==hasSmartPtr){throwInternalError("Both smartPtrType and smartPtr must be specified")}record.count={value:1};return attachFinalizer(Object.create(prototype,{$$:{value:record}}))}function RegisteredPointer_fromWireType(ptr){var rawPointer=this.getPointee(ptr);if(!rawPointer){this.destructor(ptr);return null}var registeredInstance=getInheritedInstance(this.registeredClass,rawPointer);if(undefined!==registeredInstance){if(0===registeredInstance.$$.count.value){registeredInstance.$$.ptr=rawPointer;registeredInstance.$$.smartPtr=ptr;return registeredInstance["clone"]()}else{var rv=registeredInstance["clone"]();this.destructor(ptr);return rv}}function makeDefaultHandle(){if(this.isSmartPointer){return makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:rawPointer,smartPtrType:this,smartPtr:ptr})}else{return makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this,ptr:ptr})}}var actualType=this.registeredClass.getActualType(rawPointer);var registeredPointerRecord=registeredPointers[actualType];if(!registeredPointerRecord){return makeDefaultHandle.call(this)}var toType;if(this.isConst){toType=registeredPointerRecord.constPointerType}else{toType=registeredPointerRecord.pointerType}var dp=downcastPointer(rawPointer,this.registeredClass,toType.registeredClass);if(dp===null){return makeDefaultHandle.call(this)}if(this.isSmartPointer){return makeClassHandle(toType.registeredClass.instancePrototype,{ptrType:toType,ptr:dp,smartPtrType:this,smartPtr:ptr})}else{return makeClassHandle(toType.registeredClass.instancePrototype,{ptrType:toType,ptr:dp})}}function attachFinalizer(handle){if("undefined"===typeof FinalizationRegistry){attachFinalizer=handle=>handle;return handle}finalizationRegistry=new FinalizationRegistry(info=>{releaseClassHandle(info.$$)});attachFinalizer=handle=>{var $$=handle.$$;var hasSmartPtr=!!$$.smartPtr;if(hasSmartPtr){var info={$$:$$};finalizationRegistry.register(handle,info,handle)}return handle};detachFinalizer=handle=>finalizationRegistry.unregister(handle);return attachFinalizer(handle)}function __embind_create_inheriting_constructor(constructorName,wrapperType,properties){constructorName=readLatin1String(constructorName);wrapperType=requireRegisteredType(wrapperType,"wrapper");properties=Emval.toValue(properties);var arraySlice=[].slice;var registeredClass=wrapperType.registeredClass;var wrapperPrototype=registeredClass.instancePrototype;var baseClass=registeredClass.baseClass;var baseClassPrototype=baseClass.instancePrototype;var baseConstructor=registeredClass.baseClass.constructor;var ctor=createNamedFunction(constructorName,function(){registeredClass.baseClass.pureVirtualFunctions.forEach(function(name){if(this[name]===baseClassPrototype[name]){throw new PureVirtualError(`Pure virtual function ${name} must be implemented in JavaScript`)}}.bind(this));Object.defineProperty(this,"__parent",{value:wrapperPrototype});this["__construct"].apply(this,arraySlice.call(arguments))});wrapperPrototype["__construct"]=function __construct(){if(this===wrapperPrototype){throwBindingError("Pass correct 'this' to __construct")}var inner=baseConstructor["implement"].apply(undefined,[this].concat(arraySlice.call(arguments)));detachFinalizer(inner);var $$=inner.$$;inner["notifyOnDestruction"]();$$.preservePointerOnDelete=true;Object.defineProperties(this,{$$:{value:$$}});attachFinalizer(this);registerInheritedInstance(registeredClass,$$.ptr,this)};wrapperPrototype["__destruct"]=function __destruct(){if(this===wrapperPrototype){throwBindingError("Pass correct 'this' to __destruct")}detachFinalizer(this);unregisterInheritedInstance(registeredClass,this.$$.ptr)};ctor.prototype=Object.create(wrapperPrototype);for(var p in properties){ctor.prototype[p]=properties[p]}return Emval.toHandle(ctor)}var structRegistrations={};function runDestructors(destructors){while(destructors.length){var ptr=destructors.pop();var del=destructors.pop();del(ptr)}}function simpleReadValueFromPointer(pointer){return this["fromWireType"](HEAP32[pointer>>2])}var awaitingDependencies={};var typeDependencies={};function whenDependentTypesAreResolved(myTypes,dependentTypes,getTypeConverters){myTypes.forEach(function(type){typeDependencies[type]=dependentTypes});function onComplete(typeConverters){var myTypeConverters=getTypeConverters(typeConverters);if(myTypeConverters.length!==myTypes.length){throwInternalError("Mismatched type converter count")}for(var i=0;i{if(registeredTypes.hasOwnProperty(dt)){typeConverters[i]=registeredTypes[dt]}else{unregisteredTypes.push(dt);if(!awaitingDependencies.hasOwnProperty(dt)){awaitingDependencies[dt]=[]}awaitingDependencies[dt].push(()=>{typeConverters[i]=registeredTypes[dt];++registered;if(registered===unregisteredTypes.length){onComplete(typeConverters)}})}});if(0===unregisteredTypes.length){onComplete(typeConverters)}}function __embind_finalize_value_object(structType){var reg=structRegistrations[structType];delete structRegistrations[structType];var rawConstructor=reg.rawConstructor;var rawDestructor=reg.rawDestructor;var fieldRecords=reg.fields;var fieldTypes=fieldRecords.map(field=>field.getterReturnType).concat(fieldRecords.map(field=>field.setterArgumentType));whenDependentTypesAreResolved([structType],fieldTypes,fieldTypes=>{var fields={};fieldRecords.forEach((field,i)=>{var fieldName=field.fieldName;var getterReturnType=fieldTypes[i];var getter=field.getter;var getterContext=field.getterContext;var setterArgumentType=fieldTypes[i+fieldRecords.length];var setter=field.setter;var setterContext=field.setterContext;fields[fieldName]={read:ptr=>{return getterReturnType["fromWireType"](getter(getterContext,ptr))},write:(ptr,o)=>{var destructors=[];setter(setterContext,ptr,setterArgumentType["toWireType"](destructors,o));runDestructors(destructors)}}});return[{name:reg.name,"fromWireType":function(ptr){var rv={};for(var i in fields){rv[i]=fields[i].read(ptr)}rawDestructor(ptr);return rv},"toWireType":function(destructors,o){for(var fieldName in fields){if(!(fieldName in o)){throw new TypeError(`Missing field: "${fieldName}"`)}}var ptr=rawConstructor();for(fieldName in fields){fields[fieldName].write(ptr,o[fieldName])}if(destructors!==null){destructors.push(rawDestructor,ptr)}return ptr},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:rawDestructor}]})}function __embind_register_bigint(primitiveType,name,size,minRange,maxRange){}function getShiftFromSize(size){switch(size){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError(`Unknown type size: ${size}`)}}function registerType(rawType,registeredInstance,options={}){if(!("argPackAdvance"in registeredInstance)){throw new TypeError("registerType registeredInstance requires argPackAdvance")}var name=registeredInstance.name;if(!rawType){throwBindingError(`type "${name}" must have a positive integer typeid pointer`)}if(registeredTypes.hasOwnProperty(rawType)){if(options.ignoreDuplicateRegistrations){return}else{throwBindingError(`Cannot register type '${name}' twice`)}}registeredTypes[rawType]=registeredInstance;delete typeDependencies[rawType];if(awaitingDependencies.hasOwnProperty(rawType)){var callbacks=awaitingDependencies[rawType];delete awaitingDependencies[rawType];callbacks.forEach(cb=>cb())}}function __embind_register_bool(rawType,name,size,trueValue,falseValue){var shift=getShiftFromSize(size);name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(wt){return!!wt},"toWireType":function(destructors,o){return o?trueValue:falseValue},"argPackAdvance":8,"readValueFromPointer":function(pointer){var heap;if(size===1){heap=HEAP8}else if(size===2){heap=HEAP16}else if(size===4){heap=HEAP32}else{throw new TypeError("Unknown boolean type size: "+name)}return this["fromWireType"](heap[pointer>>shift])},destructorFunction:null})}function ClassHandle_isAliasOf(other){if(!(this instanceof ClassHandle)){return false}if(!(other instanceof ClassHandle)){return false}var leftClass=this.$$.ptrType.registeredClass;var left=this.$$.ptr;var rightClass=other.$$.ptrType.registeredClass;var right=other.$$.ptr;while(leftClass.baseClass){left=leftClass.upcast(left);leftClass=leftClass.baseClass}while(rightClass.baseClass){right=rightClass.upcast(right);rightClass=rightClass.baseClass}return leftClass===rightClass&&left===right}function shallowCopyInternalPointer(o){return{count:o.count,deleteScheduled:o.deleteScheduled,preservePointerOnDelete:o.preservePointerOnDelete,ptr:o.ptr,ptrType:o.ptrType,smartPtr:o.smartPtr,smartPtrType:o.smartPtrType}}function throwInstanceAlreadyDeleted(obj){function getInstanceTypeName(handle){return handle.$$.ptrType.registeredClass.name}throwBindingError(getInstanceTypeName(obj)+" instance already deleted")}function ClassHandle_clone(){if(!this.$$.ptr){throwInstanceAlreadyDeleted(this)}if(this.$$.preservePointerOnDelete){this.$$.count.value+=1;return this}else{var clone=attachFinalizer(Object.create(Object.getPrototypeOf(this),{$$:{value:shallowCopyInternalPointer(this.$$)}}));clone.$$.count.value+=1;clone.$$.deleteScheduled=false;return clone}}function ClassHandle_delete(){if(!this.$$.ptr){throwInstanceAlreadyDeleted(this)}if(this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete){throwBindingError("Object already scheduled for deletion")}detachFinalizer(this);releaseClassHandle(this.$$);if(!this.$$.preservePointerOnDelete){this.$$.smartPtr=undefined;this.$$.ptr=undefined}}function ClassHandle_isDeleted(){return!this.$$.ptr}function ClassHandle_deleteLater(){if(!this.$$.ptr){throwInstanceAlreadyDeleted(this)}if(this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete){throwBindingError("Object already scheduled for deletion")}deletionQueue.push(this);if(deletionQueue.length===1&&delayFunction){delayFunction(flushPendingDeletes)}this.$$.deleteScheduled=true;return this}function init_ClassHandle(){ClassHandle.prototype["isAliasOf"]=ClassHandle_isAliasOf;ClassHandle.prototype["clone"]=ClassHandle_clone;ClassHandle.prototype["delete"]=ClassHandle_delete;ClassHandle.prototype["isDeleted"]=ClassHandle_isDeleted;ClassHandle.prototype["deleteLater"]=ClassHandle_deleteLater}function ClassHandle(){}function ensureOverloadTable(proto,methodName,humanName){if(undefined===proto[methodName].overloadTable){var prevFunc=proto[methodName];proto[methodName]=function(){if(!proto[methodName].overloadTable.hasOwnProperty(arguments.length)){throwBindingError(`Function '${humanName}' called with an invalid number of arguments (${arguments.length}) - expects one of (${proto[methodName].overloadTable})!`)}return proto[methodName].overloadTable[arguments.length].apply(this,arguments)};proto[methodName].overloadTable=[];proto[methodName].overloadTable[prevFunc.argCount]=prevFunc}}function exposePublicSymbol(name,value,numArguments){if(Module.hasOwnProperty(name)){if(undefined===numArguments||undefined!==Module[name].overloadTable&&undefined!==Module[name].overloadTable[numArguments]){throwBindingError(`Cannot register public name '${name}' twice`)}ensureOverloadTable(Module,name,name);if(Module.hasOwnProperty(numArguments)){throwBindingError(`Cannot register multiple overloads of a function with the same number of arguments (${numArguments})!`)}Module[name].overloadTable[numArguments]=value}else{Module[name]=value;if(undefined!==numArguments){Module[name].numArguments=numArguments}}}function RegisteredClass(name,constructor,instancePrototype,rawDestructor,baseClass,getActualType,upcast,downcast){this.name=name;this.constructor=constructor;this.instancePrototype=instancePrototype;this.rawDestructor=rawDestructor;this.baseClass=baseClass;this.getActualType=getActualType;this.upcast=upcast;this.downcast=downcast;this.pureVirtualFunctions=[]}function upcastPointer(ptr,ptrClass,desiredClass){while(ptrClass!==desiredClass){if(!ptrClass.upcast){throwBindingError(`Expected null or instance of ${desiredClass.name}, got an instance of ${ptrClass.name}`)}ptr=ptrClass.upcast(ptr);ptrClass=ptrClass.baseClass}return ptr}function constNoSmartPtrRawPointerToWireType(destructors,handle){if(handle===null){if(this.isReference){throwBindingError(`null is not a valid ${this.name}`)}return 0}if(!handle.$$){throwBindingError(`Cannot pass "${embindRepr(handle)}" as a ${this.name}`)}if(!handle.$$.ptr){throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`)}var handleClass=handle.$$.ptrType.registeredClass;var ptr=upcastPointer(handle.$$.ptr,handleClass,this.registeredClass);return ptr}function genericPointerToWireType(destructors,handle){var ptr;if(handle===null){if(this.isReference){throwBindingError(`null is not a valid ${this.name}`)}if(this.isSmartPointer){ptr=this.rawConstructor();if(destructors!==null){destructors.push(this.rawDestructor,ptr)}return ptr}else{return 0}}if(!handle.$$){throwBindingError(`Cannot pass "${embindRepr(handle)}" as a ${this.name}`)}if(!handle.$$.ptr){throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`)}if(!this.isConst&&handle.$$.ptrType.isConst){throwBindingError(`Cannot convert argument of type ${handle.$$.smartPtrType?handle.$$.smartPtrType.name:handle.$$.ptrType.name} to parameter type ${this.name}`)}var handleClass=handle.$$.ptrType.registeredClass;ptr=upcastPointer(handle.$$.ptr,handleClass,this.registeredClass);if(this.isSmartPointer){if(undefined===handle.$$.smartPtr){throwBindingError("Passing raw pointer to smart pointer is illegal")}switch(this.sharingPolicy){case 0:if(handle.$$.smartPtrType===this){ptr=handle.$$.smartPtr}else{throwBindingError(`Cannot convert argument of type ${handle.$$.smartPtrType?handle.$$.smartPtrType.name:handle.$$.ptrType.name} to parameter type ${this.name}`)}break;case 1:ptr=handle.$$.smartPtr;break;case 2:if(handle.$$.smartPtrType===this){ptr=handle.$$.smartPtr}else{var clonedHandle=handle["clone"]();ptr=this.rawShare(ptr,Emval.toHandle(function(){clonedHandle["delete"]()}));if(destructors!==null){destructors.push(this.rawDestructor,ptr)}}break;default:throwBindingError("Unsupporting sharing policy")}}return ptr}function nonConstNoSmartPtrRawPointerToWireType(destructors,handle){if(handle===null){if(this.isReference){throwBindingError(`null is not a valid ${this.name}`)}return 0}if(!handle.$$){throwBindingError(`Cannot pass "${embindRepr(handle)}" as a ${this.name}`)}if(!handle.$$.ptr){throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`)}if(handle.$$.ptrType.isConst){throwBindingError(`Cannot convert argument of type ${handle.$$.ptrType.name} to parameter type ${this.name}`)}var handleClass=handle.$$.ptrType.registeredClass;var ptr=upcastPointer(handle.$$.ptr,handleClass,this.registeredClass);return ptr}function RegisteredPointer_getPointee(ptr){if(this.rawGetPointee){ptr=this.rawGetPointee(ptr)}return ptr}function RegisteredPointer_destructor(ptr){if(this.rawDestructor){this.rawDestructor(ptr)}}function RegisteredPointer_deleteObject(handle){if(handle!==null){handle["delete"]()}}function init_RegisteredPointer(){RegisteredPointer.prototype.getPointee=RegisteredPointer_getPointee;RegisteredPointer.prototype.destructor=RegisteredPointer_destructor;RegisteredPointer.prototype["argPackAdvance"]=8;RegisteredPointer.prototype["readValueFromPointer"]=simpleReadValueFromPointer;RegisteredPointer.prototype["deleteObject"]=RegisteredPointer_deleteObject;RegisteredPointer.prototype["fromWireType"]=RegisteredPointer_fromWireType}function RegisteredPointer(name,registeredClass,isReference,isConst,isSmartPointer,pointeeType,sharingPolicy,rawGetPointee,rawConstructor,rawShare,rawDestructor){this.name=name;this.registeredClass=registeredClass;this.isReference=isReference;this.isConst=isConst;this.isSmartPointer=isSmartPointer;this.pointeeType=pointeeType;this.sharingPolicy=sharingPolicy;this.rawGetPointee=rawGetPointee;this.rawConstructor=rawConstructor;this.rawShare=rawShare;this.rawDestructor=rawDestructor;if(!isSmartPointer&®isteredClass.baseClass===undefined){if(isConst){this["toWireType"]=constNoSmartPtrRawPointerToWireType;this.destructorFunction=null}else{this["toWireType"]=nonConstNoSmartPtrRawPointerToWireType;this.destructorFunction=null}}else{this["toWireType"]=genericPointerToWireType}}function replacePublicSymbol(name,value,numArguments){if(!Module.hasOwnProperty(name)){throwInternalError("Replacing nonexistant public symbol")}if(undefined!==Module[name].overloadTable&&undefined!==numArguments){Module[name].overloadTable[numArguments]=value}else{Module[name]=value;Module[name].argCount=numArguments}}function dynCallLegacy(sig,ptr,args){var f=Module["dynCall_"+sig];return args&&args.length?f.apply(null,[ptr].concat(args)):f.call(null,ptr)}var wasmTableMirror=[];function getWasmTableEntry(funcPtr){var func=wasmTableMirror[funcPtr];if(!func){if(funcPtr>=wasmTableMirror.length)wasmTableMirror.length=funcPtr+1;wasmTableMirror[funcPtr]=func=wasmTable.get(funcPtr)}return func}function dynCall(sig,ptr,args){if(sig.includes("j")){return dynCallLegacy(sig,ptr,args)}var rtn=getWasmTableEntry(ptr).apply(null,args);return rtn}function getDynCaller(sig,ptr){var argCache=[];return function(){argCache.length=0;Object.assign(argCache,arguments);return dynCall(sig,ptr,argCache)}}function embind__requireFunction(signature,rawFunction){signature=readLatin1String(signature);function makeDynCaller(){if(signature.includes("j")){return getDynCaller(signature,rawFunction)}return getWasmTableEntry(rawFunction)}var fp=makeDynCaller();if(typeof fp!="function"){throwBindingError(`unknown function pointer with signature ${signature}: ${rawFunction}`)}return fp}var UnboundTypeError=undefined;function throwUnboundTypeError(message,types){var unboundTypes=[];var seen={};function visit(type){if(seen[type]){return}if(registeredTypes[type]){return}if(typeDependencies[type]){typeDependencies[type].forEach(visit);return}unboundTypes.push(type);seen[type]=true}types.forEach(visit);throw new UnboundTypeError(`${message}: `+unboundTypes.map(getTypeName).join([", "]))}function __embind_register_class(rawType,rawPointerType,rawConstPointerType,baseClassRawType,getActualTypeSignature,getActualType,upcastSignature,upcast,downcastSignature,downcast,name,destructorSignature,rawDestructor){name=readLatin1String(name);getActualType=embind__requireFunction(getActualTypeSignature,getActualType);if(upcast){upcast=embind__requireFunction(upcastSignature,upcast)}if(downcast){downcast=embind__requireFunction(downcastSignature,downcast)}rawDestructor=embind__requireFunction(destructorSignature,rawDestructor);var legalFunctionName=makeLegalFunctionName(name);exposePublicSymbol(legalFunctionName,function(){throwUnboundTypeError(`Cannot construct ${name} due to unbound types`,[baseClassRawType])});whenDependentTypesAreResolved([rawType,rawPointerType,rawConstPointerType],baseClassRawType?[baseClassRawType]:[],function(base){base=base[0];var baseClass;var basePrototype;if(baseClassRawType){baseClass=base.registeredClass;basePrototype=baseClass.instancePrototype}else{basePrototype=ClassHandle.prototype}var constructor=createNamedFunction(legalFunctionName,function(){if(Object.getPrototypeOf(this)!==instancePrototype){throw new BindingError("Use 'new' to construct "+name)}if(undefined===registeredClass.constructor_body){throw new BindingError(name+" has no accessible constructor")}var body=registeredClass.constructor_body[arguments.length];if(undefined===body){throw new BindingError(`Tried to invoke ctor of ${name} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(registeredClass.constructor_body).toString()}) parameters instead!`)}return body.apply(this,arguments)});var instancePrototype=Object.create(basePrototype,{constructor:{value:constructor}});constructor.prototype=instancePrototype;var registeredClass=new RegisteredClass(name,constructor,instancePrototype,rawDestructor,baseClass,getActualType,upcast,downcast);if(registeredClass.baseClass){if(registeredClass.baseClass.__derivedClasses===undefined){registeredClass.baseClass.__derivedClasses=[]}registeredClass.baseClass.__derivedClasses.push(registeredClass)}var referenceConverter=new RegisteredPointer(name,registeredClass,true,false,false);var pointerConverter=new RegisteredPointer(name+"*",registeredClass,false,false,false);var constPointerConverter=new RegisteredPointer(name+" const*",registeredClass,false,true,false);registeredPointers[rawType]={pointerType:pointerConverter,constPointerType:constPointerConverter};replacePublicSymbol(legalFunctionName,constructor);return[referenceConverter,pointerConverter,constPointerConverter]})}function craftInvokerFunction(humanName,argTypes,classType,cppInvokerFunc,cppTargetFunc,isAsync){var argCount=argTypes.length;if(argCount<2){throwBindingError("argTypes array size mismatch! Must at least get return value and 'this' types!")}var isClassMethodFunc=argTypes[1]!==null&&classType!==null;var needsDestructorStack=false;for(var i=1;i>2])}return array}function __embind_register_class_class_function(rawClassType,methodName,argCount,rawArgTypesAddr,invokerSignature,rawInvoker,fn,isAsync){var rawArgTypes=heap32VectorToArray(argCount,rawArgTypesAddr);methodName=readLatin1String(methodName);rawInvoker=embind__requireFunction(invokerSignature,rawInvoker);whenDependentTypesAreResolved([],[rawClassType],function(classType){classType=classType[0];var humanName=`${classType.name}.${methodName}`;function unboundTypesHandler(){throwUnboundTypeError(`Cannot call ${humanName} due to unbound types`,rawArgTypes)}if(methodName.startsWith("@@")){methodName=Symbol[methodName.substring(2)]}var proto=classType.registeredClass.constructor;if(undefined===proto[methodName]){unboundTypesHandler.argCount=argCount-1;proto[methodName]=unboundTypesHandler}else{ensureOverloadTable(proto,methodName,humanName);proto[methodName].overloadTable[argCount-1]=unboundTypesHandler}whenDependentTypesAreResolved([],rawArgTypes,function(argTypes){var invokerArgsArray=[argTypes[0],null].concat(argTypes.slice(1));var func=craftInvokerFunction(humanName,invokerArgsArray,null,rawInvoker,fn,isAsync);if(undefined===proto[methodName].overloadTable){func.argCount=argCount-1;proto[methodName]=func}else{proto[methodName].overloadTable[argCount-1]=func}if(classType.registeredClass.__derivedClasses){for(const derivedClass of classType.registeredClass.__derivedClasses){if(!derivedClass.constructor.hasOwnProperty(methodName)){derivedClass.constructor[methodName]=func}}}return[]});return[]})}function __embind_register_class_constructor(rawClassType,argCount,rawArgTypesAddr,invokerSignature,invoker,rawConstructor){assert(argCount>0);var rawArgTypes=heap32VectorToArray(argCount,rawArgTypesAddr);invoker=embind__requireFunction(invokerSignature,invoker);whenDependentTypesAreResolved([],[rawClassType],function(classType){classType=classType[0];var humanName=`constructor ${classType.name}`;if(undefined===classType.registeredClass.constructor_body){classType.registeredClass.constructor_body=[]}if(undefined!==classType.registeredClass.constructor_body[argCount-1]){throw new BindingError(`Cannot register multiple constructors with identical number of parameters (${argCount-1}) for class '${classType.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`)}classType.registeredClass.constructor_body[argCount-1]=()=>{throwUnboundTypeError(`Cannot construct ${classType.name} due to unbound types`,rawArgTypes)};whenDependentTypesAreResolved([],rawArgTypes,function(argTypes){argTypes.splice(1,0,null);classType.registeredClass.constructor_body[argCount-1]=craftInvokerFunction(humanName,argTypes,null,invoker,rawConstructor);return[]});return[]})}function __embind_register_class_function(rawClassType,methodName,argCount,rawArgTypesAddr,invokerSignature,rawInvoker,context,isPureVirtual,isAsync){var rawArgTypes=heap32VectorToArray(argCount,rawArgTypesAddr);methodName=readLatin1String(methodName);rawInvoker=embind__requireFunction(invokerSignature,rawInvoker);whenDependentTypesAreResolved([],[rawClassType],function(classType){classType=classType[0];var humanName=`${classType.name}.${methodName}`;if(methodName.startsWith("@@")){methodName=Symbol[methodName.substring(2)]}if(isPureVirtual){classType.registeredClass.pureVirtualFunctions.push(methodName)}function unboundTypesHandler(){throwUnboundTypeError(`Cannot call ${humanName} due to unbound types`,rawArgTypes)}var proto=classType.registeredClass.instancePrototype;var method=proto[methodName];if(undefined===method||undefined===method.overloadTable&&method.className!==classType.name&&method.argCount===argCount-2){unboundTypesHandler.argCount=argCount-2;unboundTypesHandler.className=classType.name;proto[methodName]=unboundTypesHandler}else{ensureOverloadTable(proto,methodName,humanName);proto[methodName].overloadTable[argCount-2]=unboundTypesHandler}whenDependentTypesAreResolved([],rawArgTypes,function(argTypes){var memberFunction=craftInvokerFunction(humanName,argTypes,classType,rawInvoker,context,isAsync);if(undefined===proto[methodName].overloadTable){memberFunction.argCount=argCount-2;proto[methodName]=memberFunction}else{proto[methodName].overloadTable[argCount-2]=memberFunction}return[]});return[]})}function validateThis(this_,classType,humanName){if(!(this_ instanceof Object)){throwBindingError(`${humanName} with invalid "this": ${this_}`)}if(!(this_ instanceof classType.registeredClass.constructor)){throwBindingError(`${humanName} incompatible with "this" of type ${this_.constructor.name}`)}if(!this_.$$.ptr){throwBindingError(`cannot call emscripten binding method ${humanName} on deleted object`)}return upcastPointer(this_.$$.ptr,this_.$$.ptrType.registeredClass,classType.registeredClass)}function __embind_register_class_property(classType,fieldName,getterReturnType,getterSignature,getter,getterContext,setterArgumentType,setterSignature,setter,setterContext){fieldName=readLatin1String(fieldName);getter=embind__requireFunction(getterSignature,getter);whenDependentTypesAreResolved([],[classType],function(classType){classType=classType[0];var humanName=`${classType.name}.${fieldName}`;var desc={get:function(){throwUnboundTypeError(`Cannot access ${humanName} due to unbound types`,[getterReturnType,setterArgumentType])},enumerable:true,configurable:true};if(setter){desc.set=()=>{throwUnboundTypeError(`Cannot access ${humanName} due to unbound types`,[getterReturnType,setterArgumentType])}}else{desc.set=v=>{throwBindingError(humanName+" is a read-only property")}}Object.defineProperty(classType.registeredClass.instancePrototype,fieldName,desc);whenDependentTypesAreResolved([],setter?[getterReturnType,setterArgumentType]:[getterReturnType],function(types){var getterReturnType=types[0];var desc={get:function(){var ptr=validateThis(this,classType,humanName+" getter");return getterReturnType["fromWireType"](getter(getterContext,ptr))},enumerable:true};if(setter){setter=embind__requireFunction(setterSignature,setter);var setterArgumentType=types[1];desc.set=function(v){var ptr=validateThis(this,classType,humanName+" setter");var destructors=[];setter(setterContext,ptr,setterArgumentType["toWireType"](destructors,v));runDestructors(destructors)}}Object.defineProperty(classType.registeredClass.instancePrototype,fieldName,desc);return[]});return[]})}function __embind_register_constant(name,type,value){name=readLatin1String(name);whenDependentTypesAreResolved([],[type],function(type){type=type[0];Module[name]=type["fromWireType"](value);return[]})}function __emval_decref(handle){if(handle>=emval_handles.reserved&&0===--emval_handles.get(handle).refcount){emval_handles.free(handle)}}function __embind_register_emval(rawType,name){name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(handle){var rv=Emval.toValue(handle);__emval_decref(handle);return rv},"toWireType":function(destructors,value){return Emval.toHandle(value)},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:null})}function enumReadValueFromPointer(name,shift,signed){switch(shift){case 0:return function(pointer){var heap=signed?HEAP8:HEAPU8;return this["fromWireType"](heap[pointer])};case 1:return function(pointer){var heap=signed?HEAP16:HEAPU16;return this["fromWireType"](heap[pointer>>1])};case 2:return function(pointer){var heap=signed?HEAP32:HEAPU32;return this["fromWireType"](heap[pointer>>2])};default:throw new TypeError("Unknown integer type: "+name)}}function __embind_register_enum(rawType,name,size,isSigned){var shift=getShiftFromSize(size);name=readLatin1String(name);function ctor(){}ctor.values={};registerType(rawType,{name:name,constructor:ctor,"fromWireType":function(c){return this.constructor.values[c]},"toWireType":function(destructors,c){return c.value},"argPackAdvance":8,"readValueFromPointer":enumReadValueFromPointer(name,shift,isSigned),destructorFunction:null});exposePublicSymbol(name,ctor)}function __embind_register_enum_value(rawEnumType,name,enumValue){var enumType=requireRegisteredType(rawEnumType,"enum");name=readLatin1String(name);var Enum=enumType.constructor;var Value=Object.create(enumType.constructor.prototype,{value:{value:enumValue},constructor:{value:createNamedFunction(`${enumType.name}_${name}`,function(){})}});Enum.values[enumValue]=Value;Enum[name]=Value}function embindRepr(v){if(v===null){return"null"}var t=typeof v;if(t==="object"||t==="array"||t==="function"){return v.toString()}else{return""+v}}function floatReadValueFromPointer(name,shift){switch(shift){case 2:return function(pointer){return this["fromWireType"](HEAPF32[pointer>>2])};case 3:return function(pointer){return this["fromWireType"](HEAPF64[pointer>>3])};default:throw new TypeError("Unknown float type: "+name)}}function __embind_register_float(rawType,name,size){var shift=getShiftFromSize(size);name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(value){return value},"toWireType":function(destructors,value){return value},"argPackAdvance":8,"readValueFromPointer":floatReadValueFromPointer(name,shift),destructorFunction:null})}function __embind_register_function(name,argCount,rawArgTypesAddr,signature,rawInvoker,fn,isAsync){var argTypes=heap32VectorToArray(argCount,rawArgTypesAddr);name=readLatin1String(name);rawInvoker=embind__requireFunction(signature,rawInvoker);exposePublicSymbol(name,function(){throwUnboundTypeError(`Cannot call ${name} due to unbound types`,argTypes)},argCount-1);whenDependentTypesAreResolved([],argTypes,function(argTypes){var invokerArgsArray=[argTypes[0],null].concat(argTypes.slice(1));replacePublicSymbol(name,craftInvokerFunction(name,invokerArgsArray,null,rawInvoker,fn,isAsync),argCount-1);return[]})}function integerReadValueFromPointer(name,shift,signed){switch(shift){case 0:return signed?function readS8FromPointer(pointer){return HEAP8[pointer]}:function readU8FromPointer(pointer){return HEAPU8[pointer]};case 1:return signed?function readS16FromPointer(pointer){return HEAP16[pointer>>1]}:function readU16FromPointer(pointer){return HEAPU16[pointer>>1]};case 2:return signed?function readS32FromPointer(pointer){return HEAP32[pointer>>2]}:function readU32FromPointer(pointer){return HEAPU32[pointer>>2]};default:throw new TypeError("Unknown integer type: "+name)}}function __embind_register_integer(primitiveType,name,size,minRange,maxRange){name=readLatin1String(name);if(maxRange===-1){maxRange=4294967295}var shift=getShiftFromSize(size);var fromWireType=value=>value;if(minRange===0){var bitshift=32-8*size;fromWireType=value=>value<>>bitshift}var isUnsignedType=name.includes("unsigned");var checkAssertions=(value,toTypeName)=>{};var toWireType;if(isUnsignedType){toWireType=function(destructors,value){checkAssertions(value,this.name);return value>>>0}}else{toWireType=function(destructors,value){checkAssertions(value,this.name);return value}}registerType(primitiveType,{name:name,"fromWireType":fromWireType,"toWireType":toWireType,"argPackAdvance":8,"readValueFromPointer":integerReadValueFromPointer(name,shift,minRange!==0),destructorFunction:null})}function __embind_register_memory_view(rawType,dataTypeIndex,name){var typeMapping=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];var TA=typeMapping[dataTypeIndex];function decodeMemoryView(handle){handle=handle>>2;var heap=HEAPU32;var size=heap[handle];var data=heap[handle+1];return new TA(heap.buffer,data,size)}name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":decodeMemoryView,"argPackAdvance":8,"readValueFromPointer":decodeMemoryView},{ignoreDuplicateRegistrations:true})}function stringToUTF8Array(str,heap,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6;heap[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18;heap[outIdx++]=128|u>>12&63;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}}heap[outIdx]=0;return outIdx-startIdx}function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&c<=57343){len+=4;++i}else{len+=3}}return len}function __embind_register_std_string(rawType,name){name=readLatin1String(name);var stdStringIsUTF8=name==="std::string";registerType(rawType,{name:name,"fromWireType":function(value){var length=HEAPU32[value>>2];var payload=value+4;var str;if(stdStringIsUTF8){var decodeStartPtr=payload;for(var i=0;i<=length;++i){var currentBytePtr=payload+i;if(i==length||HEAPU8[currentBytePtr]==0){var maxRead=currentBytePtr-decodeStartPtr;var stringSegment=UTF8ToString(decodeStartPtr,maxRead);if(str===undefined){str=stringSegment}else{str+=String.fromCharCode(0);str+=stringSegment}decodeStartPtr=currentBytePtr+1}}}else{var a=new Array(length);for(var i=0;i>2]=length;if(stdStringIsUTF8&&valueIsOfTypeString){stringToUTF8(value,ptr,length+1)}else{if(valueIsOfTypeString){for(var i=0;i255){_free(ptr);throwBindingError("String has UTF-16 code units that do not fit in 8 bits")}HEAPU8[ptr+i]=charCode}}else{for(var i=0;i>1;var maxIdx=idx+maxBytesToRead/2;while(!(idx>=maxIdx)&&HEAPU16[idx])++idx;endPtr=idx<<1;if(endPtr-ptr>32&&UTF16Decoder)return UTF16Decoder.decode(HEAPU8.subarray(ptr,endPtr));var str="";for(var i=0;!(i>=maxBytesToRead/2);++i){var codeUnit=HEAP16[ptr+i*2>>1];if(codeUnit==0)break;str+=String.fromCharCode(codeUnit)}return str}function stringToUTF16(str,outPtr,maxBytesToWrite){if(maxBytesToWrite===undefined){maxBytesToWrite=2147483647}if(maxBytesToWrite<2)return 0;maxBytesToWrite-=2;var startPtr=outPtr;var numCharsToWrite=maxBytesToWrite>1]=codeUnit;outPtr+=2}HEAP16[outPtr>>1]=0;return outPtr-startPtr}function lengthBytesUTF16(str){return str.length*2}function UTF32ToString(ptr,maxBytesToRead){var i=0;var str="";while(!(i>=maxBytesToRead/4)){var utf32=HEAP32[ptr+i*4>>2];if(utf32==0)break;++i;if(utf32>=65536){var ch=utf32-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}else{str+=String.fromCharCode(utf32)}}return str}function stringToUTF32(str,outPtr,maxBytesToWrite){if(maxBytesToWrite===undefined){maxBytesToWrite=2147483647}if(maxBytesToWrite<4)return 0;var startPtr=outPtr;var endPtr=startPtr+maxBytesToWrite-4;for(var i=0;i=55296&&codeUnit<=57343){var trailSurrogate=str.charCodeAt(++i);codeUnit=65536+((codeUnit&1023)<<10)|trailSurrogate&1023}HEAP32[outPtr>>2]=codeUnit;outPtr+=4;if(outPtr+4>endPtr)break}HEAP32[outPtr>>2]=0;return outPtr-startPtr}function lengthBytesUTF32(str){var len=0;for(var i=0;i=55296&&codeUnit<=57343)++i;len+=4}return len}function __embind_register_std_wstring(rawType,charSize,name){name=readLatin1String(name);var decodeString,encodeString,getHeap,lengthBytesUTF,shift;if(charSize===2){decodeString=UTF16ToString;encodeString=stringToUTF16;lengthBytesUTF=lengthBytesUTF16;getHeap=()=>HEAPU16;shift=1}else if(charSize===4){decodeString=UTF32ToString;encodeString=stringToUTF32;lengthBytesUTF=lengthBytesUTF32;getHeap=()=>HEAPU32;shift=2}registerType(rawType,{name:name,"fromWireType":function(value){var length=HEAPU32[value>>2];var HEAP=getHeap();var str;var decodeStartPtr=value+4;for(var i=0;i<=length;++i){var currentBytePtr=value+4+i*charSize;if(i==length||HEAP[currentBytePtr>>shift]==0){var maxReadBytes=currentBytePtr-decodeStartPtr;var stringSegment=decodeString(decodeStartPtr,maxReadBytes);if(str===undefined){str=stringSegment}else{str+=String.fromCharCode(0);str+=stringSegment}decodeStartPtr=currentBytePtr+charSize}}_free(value);return str},"toWireType":function(destructors,value){if(!(typeof value=="string")){throwBindingError(`Cannot pass non-string to C++ string type ${name}`)}var length=lengthBytesUTF(value);var ptr=_malloc(4+length+charSize);HEAPU32[ptr>>2]=length>>shift;encodeString(value,ptr+4,length+charSize);if(destructors!==null){destructors.push(_free,ptr)}return ptr},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:function(ptr){_free(ptr)}})}function __embind_register_value_object(rawType,name,constructorSignature,rawConstructor,destructorSignature,rawDestructor){structRegistrations[rawType]={name:readLatin1String(name),rawConstructor:embind__requireFunction(constructorSignature,rawConstructor),rawDestructor:embind__requireFunction(destructorSignature,rawDestructor),fields:[]}}function __embind_register_value_object_field(structType,fieldName,getterReturnType,getterSignature,getter,getterContext,setterArgumentType,setterSignature,setter,setterContext){structRegistrations[structType].fields.push({fieldName:readLatin1String(fieldName),getterReturnType:getterReturnType,getter:embind__requireFunction(getterSignature,getter),getterContext:getterContext,setterArgumentType:setterArgumentType,setter:embind__requireFunction(setterSignature,setter),setterContext:setterContext})}function __embind_register_void(rawType,name){name=readLatin1String(name);registerType(rawType,{isVoid:true,name:name,"argPackAdvance":0,"fromWireType":function(){return undefined},"toWireType":function(destructors,o){return undefined}})}function emval_allocateDestructors(destructorsRef){var destructors=[];HEAPU32[destructorsRef>>2]=Emval.toHandle(destructors);return destructors}var emval_symbols={};function getStringOrSymbol(address){var symbol=emval_symbols[address];if(symbol===undefined){return readLatin1String(address)}return symbol}var emval_methodCallers=[];function __emval_call_method(caller,handle,methodName,destructorsRef,args){caller=emval_methodCallers[caller];handle=Emval.toValue(handle);methodName=getStringOrSymbol(methodName);return caller(handle,methodName,emval_allocateDestructors(destructorsRef),args)}function __emval_call_void_method(caller,handle,methodName,args){caller=emval_methodCallers[caller];handle=Emval.toValue(handle);methodName=getStringOrSymbol(methodName);caller(handle,methodName,null,args)}function emval_addMethodCaller(caller){var id=emval_methodCallers.length;emval_methodCallers.push(caller);return id}function emval_lookupTypes(argCount,argTypes){var a=new Array(argCount);for(var i=0;i>2],"parameter "+i)}return a}var emval_registeredMethods=[];function __emval_get_method_caller(argCount,argTypes){var types=emval_lookupTypes(argCount,argTypes);var retType=types[0];var signatureName=retType.name+"_$"+types.slice(1).map(function(t){return t.name}).join("_")+"$";var returnId=emval_registeredMethods[signatureName];if(returnId!==undefined){return returnId}var argN=new Array(argCount-1);var invokerFunction=(handle,name,destructors,args)=>{var offset=0;for(var i=0;i4){emval_handles.get(handle).refcount+=1}}function __emval_run_destructors(handle){var destructors=Emval.toValue(handle);runDestructors(destructors);__emval_decref(handle)}function __emval_take_value(type,arg){type=requireRegisteredType(type,"_emval_take_value");var v=type["readValueFromPointer"](arg);return Emval.toHandle(v)}function _abort(){abort("")}function _emscripten_memcpy_big(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}function getHeapMax(){return 2147483648}function emscripten_realloc_buffer(size){var b=wasmMemory.buffer;var pages=size-b.byteLength+65535>>>16;try{wasmMemory.grow(pages);updateMemoryViews();return 1}catch(e){}}function _emscripten_resize_heap(requestedSize){var oldSize=HEAPU8.length;requestedSize=requestedSize>>>0;var maxHeapSize=getHeapMax();if(requestedSize>maxHeapSize){return false}var alignUp=(x,multiple)=>x+(multiple-x%multiple)%multiple;for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignUp(Math.max(requestedSize,overGrownHeapSize),65536));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}var printCharBuffers=[null,[],[]];function printChar(stream,curr){var buffer=printCharBuffers[stream];if(curr===0||curr===10){(stream===1?out:err)(UTF8ArrayToString(buffer,0));buffer.length=0}else{buffer.push(curr)}}var SYSCALLS={varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret}};function _fd_write(fd,iov,iovcnt,pnum){var num=0;for(var i=0;i>2];var len=HEAPU32[iov+4>>2];iov+=8;for(var j=0;j>2]=num;return 0}BindingError=Module["BindingError"]=extendError(Error,"BindingError");init_emval();PureVirtualError=Module["PureVirtualError"]=extendError(Error,"PureVirtualError");embind_init_charCodes();init_embind();InternalError=Module["InternalError"]=extendError(Error,"InternalError");init_ClassHandle();init_RegisteredPointer();UnboundTypeError=Module["UnboundTypeError"]=extendError(Error,"UnboundTypeError");var decodeBase64=typeof atob=="function"?atob:function(input){var keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var output="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;input=input.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{enc1=keyStr.indexOf(input.charAt(i++));enc2=keyStr.indexOf(input.charAt(i++));enc3=keyStr.indexOf(input.charAt(i++));enc4=keyStr.indexOf(input.charAt(i++));chr1=enc1<<2|enc2>>4;chr2=(enc2&15)<<4|enc3>>2;chr3=(enc3&3)<<6|enc4;output=output+String.fromCharCode(chr1);if(enc3!==64){output=output+String.fromCharCode(chr2)}if(enc4!==64){output=output+String.fromCharCode(chr3)}}while(i0){return}preRun();if(runDependencies>0){return}function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();readyPromiseResolve(Module);if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else{doRun()}}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}run(); + + + return BOX2D.ready +} + +); +})(); +if (typeof exports === 'object' && typeof module === 'object') + module.exports = BOX2D; +else if (typeof define === 'function' && define['amd']) + define([], function() { return BOX2D; }); +else if (typeof exports === 'object') + exports["BOX2D"] = BOX2D; diff --git a/emscripten/box2d/box2d.release.wasm.js b/emscripten/box2d/box2d.release.wasm.js index 0e44f3fb9..aaec02220 100644 --- a/emscripten/box2d/box2d.release.wasm.js +++ b/emscripten/box2d/box2d.release.wasm.js @@ -1,21 +1,21 @@ - -var BOX2D = (() => { - var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined; - - return ( -function(BOX2D = {}) { - -var Module=typeof BOX2D!="undefined"?BOX2D:{};var readyPromiseResolve,readyPromiseReject;Module["ready"]=new Promise((resolve,reject)=>{readyPromiseResolve=resolve;readyPromiseReject=reject});var moduleOverrides=Object.assign({},Module);var arguments_=[];var thisProgram="./this.program";var quit_=(status,toThrow)=>{throw toThrow};var ENVIRONMENT_IS_WEB=true;var ENVIRONMENT_IS_WORKER=false;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(typeof document!="undefined"&&document.currentScript){scriptDirectory=document.currentScript.src}if(_scriptDir){scriptDirectory=_scriptDir}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=url=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){readBinary=url=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}}readAsync=(url,onload,onerror)=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=()=>{if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=title=>document.title=title}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.error.bind(console);Object.assign(Module,moduleOverrides);moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime=Module["noExitRuntime"]||true;if(typeof WebAssembly!="object"){abort("no native wasm support detected")}var wasmMemory;var ABORT=false;var EXITSTATUS;function assert(condition,text){if(!condition){abort(text)}}var HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateMemoryViews(){var b=wasmMemory.buffer;Module["HEAP8"]=HEAP8=new Int8Array(b);Module["HEAP16"]=HEAP16=new Int16Array(b);Module["HEAP32"]=HEAP32=new Int32Array(b);Module["HEAPU8"]=HEAPU8=new Uint8Array(b);Module["HEAPU16"]=HEAPU16=new Uint16Array(b);Module["HEAPU32"]=HEAPU32=new Uint32Array(b);Module["HEAPF32"]=HEAPF32=new Float32Array(b);Module["HEAPF64"]=HEAPF64=new Float64Array(b)}var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function postRun(){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)}function addOnInit(cb){__ATINIT__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}function abort(what){if(Module["onAbort"]){Module["onAbort"](what)}what="Aborted("+what+")";err(what);ABORT=true;EXITSTATUS=1;what+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(what);readyPromiseReject(e);throw e}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return filename.startsWith(dataURIPrefix)}var wasmBinaryFile;wasmBinaryFile="box2d.MinSizeRel.wasm.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(file){try{if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary){return readBinary(file)}throw"both async and sync fetching of the wasm failed"}catch(err){abort(err)}}function getBinaryPromise(binaryFile){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if(typeof fetch=="function"){return fetch(binaryFile,{credentials:"same-origin"}).then(response=>{if(!response["ok"]){throw"failed to load wasm binary file at '"+binaryFile+"'"}return response["arrayBuffer"]()}).catch(()=>getBinary(binaryFile))}}return Promise.resolve().then(()=>getBinary(binaryFile))}function instantiateArrayBuffer(binaryFile,imports,receiver){return getBinaryPromise(binaryFile).then(binary=>{return WebAssembly.instantiate(binary,imports)}).then(instance=>{return instance}).then(receiver,reason=>{err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(binary,binaryFile,imports,callback){if(!binary&&typeof WebAssembly.instantiateStreaming=="function"&&!isDataURI(binaryFile)&&typeof fetch=="function"){return fetch(binaryFile,{credentials:"same-origin"}).then(response=>{var result=WebAssembly.instantiateStreaming(response,imports);return result.then(callback,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(binaryFile,imports,callback)})})}else{return instantiateArrayBuffer(binaryFile,imports,callback)}}function createWasm(){var info={"a":wasmImports};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;wasmMemory=Module["asm"]["H"];updateMemoryViews();wasmTable=Module["asm"]["J"];addOnInit(Module["asm"]["I"]);removeRunDependency("wasm-instantiate");return exports}addRunDependency("wasm-instantiate");function receiveInstantiationResult(result){receiveInstance(result["instance"])}if(Module["instantiateWasm"]){try{return Module["instantiateWasm"](info,receiveInstance)}catch(e){err("Module.instantiateWasm callback failed with error: "+e);readyPromiseReject(e)}}instantiateAsync(wasmBinary,wasmBinaryFile,info,receiveInstantiationResult).catch(readyPromiseReject);return{}}function callRuntimeCallbacks(callbacks){while(callbacks.length>0){callbacks.shift()(Module)}}var char_0=48;var char_9=57;function makeLegalFunctionName(name){if(undefined===name){return"_unknown"}name=name.replace(/[^a-zA-Z0-9_]/g,"$");var f=name.charCodeAt(0);if(f>=char_0&&f<=char_9){return`_${name}`}return name}function createNamedFunction(name,body){name=makeLegalFunctionName(name);return{[name]:function(){return body.apply(this,arguments)}}[name]}function HandleAllocator(){this.allocated=[undefined];this.freelist=[];this.get=function(id){return this.allocated[id]};this.has=function(id){return this.allocated[id]!==undefined};this.allocate=function(handle){var id=this.freelist.pop()||this.allocated.length;this.allocated[id]=handle;return id};this.free=function(id){this.allocated[id]=undefined;this.freelist.push(id)}}var emval_handles=new HandleAllocator;function extendError(baseErrorType,errorName){var errorClass=createNamedFunction(errorName,function(message){this.name=errorName;this.message=message;var stack=new Error(message).stack;if(stack!==undefined){this.stack=this.toString()+"\n"+stack.replace(/^Error(:[^\n]*)?\n/,"")}});errorClass.prototype=Object.create(baseErrorType.prototype);errorClass.prototype.constructor=errorClass;errorClass.prototype.toString=function(){if(this.message===undefined){return this.name}else{return`${this.name}: ${this.message}`}};return errorClass}var BindingError=undefined;function throwBindingError(message){throw new BindingError(message)}function count_emval_handles(){var count=0;for(var i=emval_handles.reserved;i{if(!handle){throwBindingError("Cannot use deleted val. handle = "+handle)}return emval_handles.get(handle).value},toHandle:value=>{switch(value){case undefined:return 1;case null:return 2;case true:return 3;case false:return 4;default:{return emval_handles.allocate({refcount:1,value:value})}}}};var PureVirtualError=undefined;function embind_init_charCodes(){var codes=new Array(256);for(var i=0;i<256;++i){codes[i]=String.fromCharCode(i)}embind_charCodes=codes}var embind_charCodes=undefined;function readLatin1String(ptr){var ret="";var c=ptr;while(HEAPU8[c]){ret+=embind_charCodes[HEAPU8[c++]]}return ret}function getInheritedInstanceCount(){return Object.keys(registeredInstances).length}function getLiveInheritedInstances(){var rv=[];for(var k in registeredInstances){if(registeredInstances.hasOwnProperty(k)){rv.push(registeredInstances[k])}}return rv}var deletionQueue=[];function flushPendingDeletes(){while(deletionQueue.length){var obj=deletionQueue.pop();obj.$$.deleteScheduled=false;obj["delete"]()}}var delayFunction=undefined;function setDelayFunction(fn){delayFunction=fn;if(deletionQueue.length&&delayFunction){delayFunction(flushPendingDeletes)}}function init_embind(){Module["getInheritedInstanceCount"]=getInheritedInstanceCount;Module["getLiveInheritedInstances"]=getLiveInheritedInstances;Module["flushPendingDeletes"]=flushPendingDeletes;Module["setDelayFunction"]=setDelayFunction}var registeredInstances={};function getBasestPointer(class_,ptr){if(ptr===undefined){throwBindingError("ptr should not be undefined")}while(class_.baseClass){ptr=class_.upcast(ptr);class_=class_.baseClass}return ptr}function registerInheritedInstance(class_,ptr,instance){ptr=getBasestPointer(class_,ptr);if(registeredInstances.hasOwnProperty(ptr)){throwBindingError(`Tried to register registered instance: ${ptr}`)}else{registeredInstances[ptr]=instance}}var registeredTypes={};function getTypeName(type){var ptr=___getTypeName(type);var rv=readLatin1String(ptr);_free(ptr);return rv}function requireRegisteredType(rawType,humanName){var impl=registeredTypes[rawType];if(undefined===impl){throwBindingError(humanName+" has unknown type "+getTypeName(rawType))}return impl}function unregisterInheritedInstance(class_,ptr){ptr=getBasestPointer(class_,ptr);if(registeredInstances.hasOwnProperty(ptr)){delete registeredInstances[ptr]}else{throwBindingError(`Tried to unregister unregistered instance: ${ptr}`)}}function detachFinalizer(handle){}var finalizationRegistry=false;function runDestructor($$){if($$.smartPtr){$$.smartPtrType.rawDestructor($$.smartPtr)}else{$$.ptrType.registeredClass.rawDestructor($$.ptr)}}function releaseClassHandle($$){$$.count.value-=1;var toDelete=0===$$.count.value;if(toDelete){runDestructor($$)}}function downcastPointer(ptr,ptrClass,desiredClass){if(ptrClass===desiredClass){return ptr}if(undefined===desiredClass.baseClass){return null}var rv=downcastPointer(ptr,ptrClass,desiredClass.baseClass);if(rv===null){return null}return desiredClass.downcast(rv)}var registeredPointers={};function getInheritedInstance(class_,ptr){ptr=getBasestPointer(class_,ptr);return registeredInstances[ptr]}var InternalError=undefined;function throwInternalError(message){throw new InternalError(message)}function makeClassHandle(prototype,record){if(!record.ptrType||!record.ptr){throwInternalError("makeClassHandle requires ptr and ptrType")}var hasSmartPtrType=!!record.smartPtrType;var hasSmartPtr=!!record.smartPtr;if(hasSmartPtrType!==hasSmartPtr){throwInternalError("Both smartPtrType and smartPtr must be specified")}record.count={value:1};return attachFinalizer(Object.create(prototype,{$$:{value:record}}))}function RegisteredPointer_fromWireType(ptr){var rawPointer=this.getPointee(ptr);if(!rawPointer){this.destructor(ptr);return null}var registeredInstance=getInheritedInstance(this.registeredClass,rawPointer);if(undefined!==registeredInstance){if(0===registeredInstance.$$.count.value){registeredInstance.$$.ptr=rawPointer;registeredInstance.$$.smartPtr=ptr;return registeredInstance["clone"]()}else{var rv=registeredInstance["clone"]();this.destructor(ptr);return rv}}function makeDefaultHandle(){if(this.isSmartPointer){return makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:rawPointer,smartPtrType:this,smartPtr:ptr})}else{return makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this,ptr:ptr})}}var actualType=this.registeredClass.getActualType(rawPointer);var registeredPointerRecord=registeredPointers[actualType];if(!registeredPointerRecord){return makeDefaultHandle.call(this)}var toType;if(this.isConst){toType=registeredPointerRecord.constPointerType}else{toType=registeredPointerRecord.pointerType}var dp=downcastPointer(rawPointer,this.registeredClass,toType.registeredClass);if(dp===null){return makeDefaultHandle.call(this)}if(this.isSmartPointer){return makeClassHandle(toType.registeredClass.instancePrototype,{ptrType:toType,ptr:dp,smartPtrType:this,smartPtr:ptr})}else{return makeClassHandle(toType.registeredClass.instancePrototype,{ptrType:toType,ptr:dp})}}function attachFinalizer(handle){if("undefined"===typeof FinalizationRegistry){attachFinalizer=handle=>handle;return handle}finalizationRegistry=new FinalizationRegistry(info=>{releaseClassHandle(info.$$)});attachFinalizer=handle=>{var $$=handle.$$;var hasSmartPtr=!!$$.smartPtr;if(hasSmartPtr){var info={$$:$$};finalizationRegistry.register(handle,info,handle)}return handle};detachFinalizer=handle=>finalizationRegistry.unregister(handle);return attachFinalizer(handle)}function __embind_create_inheriting_constructor(constructorName,wrapperType,properties){constructorName=readLatin1String(constructorName);wrapperType=requireRegisteredType(wrapperType,"wrapper");properties=Emval.toValue(properties);var arraySlice=[].slice;var registeredClass=wrapperType.registeredClass;var wrapperPrototype=registeredClass.instancePrototype;var baseClass=registeredClass.baseClass;var baseClassPrototype=baseClass.instancePrototype;var baseConstructor=registeredClass.baseClass.constructor;var ctor=createNamedFunction(constructorName,function(){registeredClass.baseClass.pureVirtualFunctions.forEach(function(name){if(this[name]===baseClassPrototype[name]){throw new PureVirtualError(`Pure virtual function ${name} must be implemented in JavaScript`)}}.bind(this));Object.defineProperty(this,"__parent",{value:wrapperPrototype});this["__construct"].apply(this,arraySlice.call(arguments))});wrapperPrototype["__construct"]=function __construct(){if(this===wrapperPrototype){throwBindingError("Pass correct 'this' to __construct")}var inner=baseConstructor["implement"].apply(undefined,[this].concat(arraySlice.call(arguments)));detachFinalizer(inner);var $$=inner.$$;inner["notifyOnDestruction"]();$$.preservePointerOnDelete=true;Object.defineProperties(this,{$$:{value:$$}});attachFinalizer(this);registerInheritedInstance(registeredClass,$$.ptr,this)};wrapperPrototype["__destruct"]=function __destruct(){if(this===wrapperPrototype){throwBindingError("Pass correct 'this' to __destruct")}detachFinalizer(this);unregisterInheritedInstance(registeredClass,this.$$.ptr)};ctor.prototype=Object.create(wrapperPrototype);for(var p in properties){ctor.prototype[p]=properties[p]}return Emval.toHandle(ctor)}var structRegistrations={};function runDestructors(destructors){while(destructors.length){var ptr=destructors.pop();var del=destructors.pop();del(ptr)}}function simpleReadValueFromPointer(pointer){return this["fromWireType"](HEAP32[pointer>>2])}var awaitingDependencies={};var typeDependencies={};function whenDependentTypesAreResolved(myTypes,dependentTypes,getTypeConverters){myTypes.forEach(function(type){typeDependencies[type]=dependentTypes});function onComplete(typeConverters){var myTypeConverters=getTypeConverters(typeConverters);if(myTypeConverters.length!==myTypes.length){throwInternalError("Mismatched type converter count")}for(var i=0;i{if(registeredTypes.hasOwnProperty(dt)){typeConverters[i]=registeredTypes[dt]}else{unregisteredTypes.push(dt);if(!awaitingDependencies.hasOwnProperty(dt)){awaitingDependencies[dt]=[]}awaitingDependencies[dt].push(()=>{typeConverters[i]=registeredTypes[dt];++registered;if(registered===unregisteredTypes.length){onComplete(typeConverters)}})}});if(0===unregisteredTypes.length){onComplete(typeConverters)}}function __embind_finalize_value_object(structType){var reg=structRegistrations[structType];delete structRegistrations[structType];var rawConstructor=reg.rawConstructor;var rawDestructor=reg.rawDestructor;var fieldRecords=reg.fields;var fieldTypes=fieldRecords.map(field=>field.getterReturnType).concat(fieldRecords.map(field=>field.setterArgumentType));whenDependentTypesAreResolved([structType],fieldTypes,fieldTypes=>{var fields={};fieldRecords.forEach((field,i)=>{var fieldName=field.fieldName;var getterReturnType=fieldTypes[i];var getter=field.getter;var getterContext=field.getterContext;var setterArgumentType=fieldTypes[i+fieldRecords.length];var setter=field.setter;var setterContext=field.setterContext;fields[fieldName]={read:ptr=>{return getterReturnType["fromWireType"](getter(getterContext,ptr))},write:(ptr,o)=>{var destructors=[];setter(setterContext,ptr,setterArgumentType["toWireType"](destructors,o));runDestructors(destructors)}}});return[{name:reg.name,"fromWireType":function(ptr){var rv={};for(var i in fields){rv[i]=fields[i].read(ptr)}rawDestructor(ptr);return rv},"toWireType":function(destructors,o){for(var fieldName in fields){if(!(fieldName in o)){throw new TypeError(`Missing field: "${fieldName}"`)}}var ptr=rawConstructor();for(fieldName in fields){fields[fieldName].write(ptr,o[fieldName])}if(destructors!==null){destructors.push(rawDestructor,ptr)}return ptr},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:rawDestructor}]})}function __embind_register_bigint(primitiveType,name,size,minRange,maxRange){}function getShiftFromSize(size){switch(size){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError(`Unknown type size: ${size}`)}}function registerType(rawType,registeredInstance,options={}){if(!("argPackAdvance"in registeredInstance)){throw new TypeError("registerType registeredInstance requires argPackAdvance")}var name=registeredInstance.name;if(!rawType){throwBindingError(`type "${name}" must have a positive integer typeid pointer`)}if(registeredTypes.hasOwnProperty(rawType)){if(options.ignoreDuplicateRegistrations){return}else{throwBindingError(`Cannot register type '${name}' twice`)}}registeredTypes[rawType]=registeredInstance;delete typeDependencies[rawType];if(awaitingDependencies.hasOwnProperty(rawType)){var callbacks=awaitingDependencies[rawType];delete awaitingDependencies[rawType];callbacks.forEach(cb=>cb())}}function __embind_register_bool(rawType,name,size,trueValue,falseValue){var shift=getShiftFromSize(size);name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(wt){return!!wt},"toWireType":function(destructors,o){return o?trueValue:falseValue},"argPackAdvance":8,"readValueFromPointer":function(pointer){var heap;if(size===1){heap=HEAP8}else if(size===2){heap=HEAP16}else if(size===4){heap=HEAP32}else{throw new TypeError("Unknown boolean type size: "+name)}return this["fromWireType"](heap[pointer>>shift])},destructorFunction:null})}function ClassHandle_isAliasOf(other){if(!(this instanceof ClassHandle)){return false}if(!(other instanceof ClassHandle)){return false}var leftClass=this.$$.ptrType.registeredClass;var left=this.$$.ptr;var rightClass=other.$$.ptrType.registeredClass;var right=other.$$.ptr;while(leftClass.baseClass){left=leftClass.upcast(left);leftClass=leftClass.baseClass}while(rightClass.baseClass){right=rightClass.upcast(right);rightClass=rightClass.baseClass}return leftClass===rightClass&&left===right}function shallowCopyInternalPointer(o){return{count:o.count,deleteScheduled:o.deleteScheduled,preservePointerOnDelete:o.preservePointerOnDelete,ptr:o.ptr,ptrType:o.ptrType,smartPtr:o.smartPtr,smartPtrType:o.smartPtrType}}function throwInstanceAlreadyDeleted(obj){function getInstanceTypeName(handle){return handle.$$.ptrType.registeredClass.name}throwBindingError(getInstanceTypeName(obj)+" instance already deleted")}function ClassHandle_clone(){if(!this.$$.ptr){throwInstanceAlreadyDeleted(this)}if(this.$$.preservePointerOnDelete){this.$$.count.value+=1;return this}else{var clone=attachFinalizer(Object.create(Object.getPrototypeOf(this),{$$:{value:shallowCopyInternalPointer(this.$$)}}));clone.$$.count.value+=1;clone.$$.deleteScheduled=false;return clone}}function ClassHandle_delete(){if(!this.$$.ptr){throwInstanceAlreadyDeleted(this)}if(this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete){throwBindingError("Object already scheduled for deletion")}detachFinalizer(this);releaseClassHandle(this.$$);if(!this.$$.preservePointerOnDelete){this.$$.smartPtr=undefined;this.$$.ptr=undefined}}function ClassHandle_isDeleted(){return!this.$$.ptr}function ClassHandle_deleteLater(){if(!this.$$.ptr){throwInstanceAlreadyDeleted(this)}if(this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete){throwBindingError("Object already scheduled for deletion")}deletionQueue.push(this);if(deletionQueue.length===1&&delayFunction){delayFunction(flushPendingDeletes)}this.$$.deleteScheduled=true;return this}function init_ClassHandle(){ClassHandle.prototype["isAliasOf"]=ClassHandle_isAliasOf;ClassHandle.prototype["clone"]=ClassHandle_clone;ClassHandle.prototype["delete"]=ClassHandle_delete;ClassHandle.prototype["isDeleted"]=ClassHandle_isDeleted;ClassHandle.prototype["deleteLater"]=ClassHandle_deleteLater}function ClassHandle(){}function ensureOverloadTable(proto,methodName,humanName){if(undefined===proto[methodName].overloadTable){var prevFunc=proto[methodName];proto[methodName]=function(){if(!proto[methodName].overloadTable.hasOwnProperty(arguments.length)){throwBindingError(`Function '${humanName}' called with an invalid number of arguments (${arguments.length}) - expects one of (${proto[methodName].overloadTable})!`)}return proto[methodName].overloadTable[arguments.length].apply(this,arguments)};proto[methodName].overloadTable=[];proto[methodName].overloadTable[prevFunc.argCount]=prevFunc}}function exposePublicSymbol(name,value,numArguments){if(Module.hasOwnProperty(name)){if(undefined===numArguments||undefined!==Module[name].overloadTable&&undefined!==Module[name].overloadTable[numArguments]){throwBindingError(`Cannot register public name '${name}' twice`)}ensureOverloadTable(Module,name,name);if(Module.hasOwnProperty(numArguments)){throwBindingError(`Cannot register multiple overloads of a function with the same number of arguments (${numArguments})!`)}Module[name].overloadTable[numArguments]=value}else{Module[name]=value;if(undefined!==numArguments){Module[name].numArguments=numArguments}}}function RegisteredClass(name,constructor,instancePrototype,rawDestructor,baseClass,getActualType,upcast,downcast){this.name=name;this.constructor=constructor;this.instancePrototype=instancePrototype;this.rawDestructor=rawDestructor;this.baseClass=baseClass;this.getActualType=getActualType;this.upcast=upcast;this.downcast=downcast;this.pureVirtualFunctions=[]}function upcastPointer(ptr,ptrClass,desiredClass){while(ptrClass!==desiredClass){if(!ptrClass.upcast){throwBindingError(`Expected null or instance of ${desiredClass.name}, got an instance of ${ptrClass.name}`)}ptr=ptrClass.upcast(ptr);ptrClass=ptrClass.baseClass}return ptr}function constNoSmartPtrRawPointerToWireType(destructors,handle){if(handle===null){if(this.isReference){throwBindingError(`null is not a valid ${this.name}`)}return 0}if(!handle.$$){throwBindingError(`Cannot pass "${embindRepr(handle)}" as a ${this.name}`)}if(!handle.$$.ptr){throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`)}var handleClass=handle.$$.ptrType.registeredClass;var ptr=upcastPointer(handle.$$.ptr,handleClass,this.registeredClass);return ptr}function genericPointerToWireType(destructors,handle){var ptr;if(handle===null){if(this.isReference){throwBindingError(`null is not a valid ${this.name}`)}if(this.isSmartPointer){ptr=this.rawConstructor();if(destructors!==null){destructors.push(this.rawDestructor,ptr)}return ptr}else{return 0}}if(!handle.$$){throwBindingError(`Cannot pass "${embindRepr(handle)}" as a ${this.name}`)}if(!handle.$$.ptr){throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`)}if(!this.isConst&&handle.$$.ptrType.isConst){throwBindingError(`Cannot convert argument of type ${handle.$$.smartPtrType?handle.$$.smartPtrType.name:handle.$$.ptrType.name} to parameter type ${this.name}`)}var handleClass=handle.$$.ptrType.registeredClass;ptr=upcastPointer(handle.$$.ptr,handleClass,this.registeredClass);if(this.isSmartPointer){if(undefined===handle.$$.smartPtr){throwBindingError("Passing raw pointer to smart pointer is illegal")}switch(this.sharingPolicy){case 0:if(handle.$$.smartPtrType===this){ptr=handle.$$.smartPtr}else{throwBindingError(`Cannot convert argument of type ${handle.$$.smartPtrType?handle.$$.smartPtrType.name:handle.$$.ptrType.name} to parameter type ${this.name}`)}break;case 1:ptr=handle.$$.smartPtr;break;case 2:if(handle.$$.smartPtrType===this){ptr=handle.$$.smartPtr}else{var clonedHandle=handle["clone"]();ptr=this.rawShare(ptr,Emval.toHandle(function(){clonedHandle["delete"]()}));if(destructors!==null){destructors.push(this.rawDestructor,ptr)}}break;default:throwBindingError("Unsupporting sharing policy")}}return ptr}function nonConstNoSmartPtrRawPointerToWireType(destructors,handle){if(handle===null){if(this.isReference){throwBindingError(`null is not a valid ${this.name}`)}return 0}if(!handle.$$){throwBindingError(`Cannot pass "${embindRepr(handle)}" as a ${this.name}`)}if(!handle.$$.ptr){throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`)}if(handle.$$.ptrType.isConst){throwBindingError(`Cannot convert argument of type ${handle.$$.ptrType.name} to parameter type ${this.name}`)}var handleClass=handle.$$.ptrType.registeredClass;var ptr=upcastPointer(handle.$$.ptr,handleClass,this.registeredClass);return ptr}function RegisteredPointer_getPointee(ptr){if(this.rawGetPointee){ptr=this.rawGetPointee(ptr)}return ptr}function RegisteredPointer_destructor(ptr){if(this.rawDestructor){this.rawDestructor(ptr)}}function RegisteredPointer_deleteObject(handle){if(handle!==null){handle["delete"]()}}function init_RegisteredPointer(){RegisteredPointer.prototype.getPointee=RegisteredPointer_getPointee;RegisteredPointer.prototype.destructor=RegisteredPointer_destructor;RegisteredPointer.prototype["argPackAdvance"]=8;RegisteredPointer.prototype["readValueFromPointer"]=simpleReadValueFromPointer;RegisteredPointer.prototype["deleteObject"]=RegisteredPointer_deleteObject;RegisteredPointer.prototype["fromWireType"]=RegisteredPointer_fromWireType}function RegisteredPointer(name,registeredClass,isReference,isConst,isSmartPointer,pointeeType,sharingPolicy,rawGetPointee,rawConstructor,rawShare,rawDestructor){this.name=name;this.registeredClass=registeredClass;this.isReference=isReference;this.isConst=isConst;this.isSmartPointer=isSmartPointer;this.pointeeType=pointeeType;this.sharingPolicy=sharingPolicy;this.rawGetPointee=rawGetPointee;this.rawConstructor=rawConstructor;this.rawShare=rawShare;this.rawDestructor=rawDestructor;if(!isSmartPointer&®isteredClass.baseClass===undefined){if(isConst){this["toWireType"]=constNoSmartPtrRawPointerToWireType;this.destructorFunction=null}else{this["toWireType"]=nonConstNoSmartPtrRawPointerToWireType;this.destructorFunction=null}}else{this["toWireType"]=genericPointerToWireType}}function replacePublicSymbol(name,value,numArguments){if(!Module.hasOwnProperty(name)){throwInternalError("Replacing nonexistant public symbol")}if(undefined!==Module[name].overloadTable&&undefined!==numArguments){Module[name].overloadTable[numArguments]=value}else{Module[name]=value;Module[name].argCount=numArguments}}function dynCallLegacy(sig,ptr,args){var f=Module["dynCall_"+sig];return args&&args.length?f.apply(null,[ptr].concat(args)):f.call(null,ptr)}function getWasmTableEntry(funcPtr){return wasmTable.get(funcPtr)}function dynCall(sig,ptr,args){if(sig.includes("j")){return dynCallLegacy(sig,ptr,args)}var rtn=getWasmTableEntry(ptr).apply(null,args);return rtn}function getDynCaller(sig,ptr){var argCache=[];return function(){argCache.length=0;Object.assign(argCache,arguments);return dynCall(sig,ptr,argCache)}}function embind__requireFunction(signature,rawFunction){signature=readLatin1String(signature);function makeDynCaller(){if(signature.includes("j")){return getDynCaller(signature,rawFunction)}return getWasmTableEntry(rawFunction)}var fp=makeDynCaller();if(typeof fp!="function"){throwBindingError(`unknown function pointer with signature ${signature}: ${rawFunction}`)}return fp}var UnboundTypeError=undefined;function throwUnboundTypeError(message,types){var unboundTypes=[];var seen={};function visit(type){if(seen[type]){return}if(registeredTypes[type]){return}if(typeDependencies[type]){typeDependencies[type].forEach(visit);return}unboundTypes.push(type);seen[type]=true}types.forEach(visit);throw new UnboundTypeError(`${message}: `+unboundTypes.map(getTypeName).join([", "]))}function __embind_register_class(rawType,rawPointerType,rawConstPointerType,baseClassRawType,getActualTypeSignature,getActualType,upcastSignature,upcast,downcastSignature,downcast,name,destructorSignature,rawDestructor){name=readLatin1String(name);getActualType=embind__requireFunction(getActualTypeSignature,getActualType);if(upcast){upcast=embind__requireFunction(upcastSignature,upcast)}if(downcast){downcast=embind__requireFunction(downcastSignature,downcast)}rawDestructor=embind__requireFunction(destructorSignature,rawDestructor);var legalFunctionName=makeLegalFunctionName(name);exposePublicSymbol(legalFunctionName,function(){throwUnboundTypeError(`Cannot construct ${name} due to unbound types`,[baseClassRawType])});whenDependentTypesAreResolved([rawType,rawPointerType,rawConstPointerType],baseClassRawType?[baseClassRawType]:[],function(base){base=base[0];var baseClass;var basePrototype;if(baseClassRawType){baseClass=base.registeredClass;basePrototype=baseClass.instancePrototype}else{basePrototype=ClassHandle.prototype}var constructor=createNamedFunction(legalFunctionName,function(){if(Object.getPrototypeOf(this)!==instancePrototype){throw new BindingError("Use 'new' to construct "+name)}if(undefined===registeredClass.constructor_body){throw new BindingError(name+" has no accessible constructor")}var body=registeredClass.constructor_body[arguments.length];if(undefined===body){throw new BindingError(`Tried to invoke ctor of ${name} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(registeredClass.constructor_body).toString()}) parameters instead!`)}return body.apply(this,arguments)});var instancePrototype=Object.create(basePrototype,{constructor:{value:constructor}});constructor.prototype=instancePrototype;var registeredClass=new RegisteredClass(name,constructor,instancePrototype,rawDestructor,baseClass,getActualType,upcast,downcast);if(registeredClass.baseClass){if(registeredClass.baseClass.__derivedClasses===undefined){registeredClass.baseClass.__derivedClasses=[]}registeredClass.baseClass.__derivedClasses.push(registeredClass)}var referenceConverter=new RegisteredPointer(name,registeredClass,true,false,false);var pointerConverter=new RegisteredPointer(name+"*",registeredClass,false,false,false);var constPointerConverter=new RegisteredPointer(name+" const*",registeredClass,false,true,false);registeredPointers[rawType]={pointerType:pointerConverter,constPointerType:constPointerConverter};replacePublicSymbol(legalFunctionName,constructor);return[referenceConverter,pointerConverter,constPointerConverter]})}function craftInvokerFunction(humanName,argTypes,classType,cppInvokerFunc,cppTargetFunc,isAsync){var argCount=argTypes.length;if(argCount<2){throwBindingError("argTypes array size mismatch! Must at least get return value and 'this' types!")}var isClassMethodFunc=argTypes[1]!==null&&classType!==null;var needsDestructorStack=false;for(var i=1;i>2])}return array}function __embind_register_class_class_function(rawClassType,methodName,argCount,rawArgTypesAddr,invokerSignature,rawInvoker,fn,isAsync){var rawArgTypes=heap32VectorToArray(argCount,rawArgTypesAddr);methodName=readLatin1String(methodName);rawInvoker=embind__requireFunction(invokerSignature,rawInvoker);whenDependentTypesAreResolved([],[rawClassType],function(classType){classType=classType[0];var humanName=`${classType.name}.${methodName}`;function unboundTypesHandler(){throwUnboundTypeError(`Cannot call ${humanName} due to unbound types`,rawArgTypes)}if(methodName.startsWith("@@")){methodName=Symbol[methodName.substring(2)]}var proto=classType.registeredClass.constructor;if(undefined===proto[methodName]){unboundTypesHandler.argCount=argCount-1;proto[methodName]=unboundTypesHandler}else{ensureOverloadTable(proto,methodName,humanName);proto[methodName].overloadTable[argCount-1]=unboundTypesHandler}whenDependentTypesAreResolved([],rawArgTypes,function(argTypes){var invokerArgsArray=[argTypes[0],null].concat(argTypes.slice(1));var func=craftInvokerFunction(humanName,invokerArgsArray,null,rawInvoker,fn,isAsync);if(undefined===proto[methodName].overloadTable){func.argCount=argCount-1;proto[methodName]=func}else{proto[methodName].overloadTable[argCount-1]=func}if(classType.registeredClass.__derivedClasses){for(const derivedClass of classType.registeredClass.__derivedClasses){if(!derivedClass.constructor.hasOwnProperty(methodName)){derivedClass.constructor[methodName]=func}}}return[]});return[]})}function __embind_register_class_constructor(rawClassType,argCount,rawArgTypesAddr,invokerSignature,invoker,rawConstructor){assert(argCount>0);var rawArgTypes=heap32VectorToArray(argCount,rawArgTypesAddr);invoker=embind__requireFunction(invokerSignature,invoker);whenDependentTypesAreResolved([],[rawClassType],function(classType){classType=classType[0];var humanName=`constructor ${classType.name}`;if(undefined===classType.registeredClass.constructor_body){classType.registeredClass.constructor_body=[]}if(undefined!==classType.registeredClass.constructor_body[argCount-1]){throw new BindingError(`Cannot register multiple constructors with identical number of parameters (${argCount-1}) for class '${classType.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`)}classType.registeredClass.constructor_body[argCount-1]=()=>{throwUnboundTypeError(`Cannot construct ${classType.name} due to unbound types`,rawArgTypes)};whenDependentTypesAreResolved([],rawArgTypes,function(argTypes){argTypes.splice(1,0,null);classType.registeredClass.constructor_body[argCount-1]=craftInvokerFunction(humanName,argTypes,null,invoker,rawConstructor);return[]});return[]})}function __embind_register_class_function(rawClassType,methodName,argCount,rawArgTypesAddr,invokerSignature,rawInvoker,context,isPureVirtual,isAsync){var rawArgTypes=heap32VectorToArray(argCount,rawArgTypesAddr);methodName=readLatin1String(methodName);rawInvoker=embind__requireFunction(invokerSignature,rawInvoker);whenDependentTypesAreResolved([],[rawClassType],function(classType){classType=classType[0];var humanName=`${classType.name}.${methodName}`;if(methodName.startsWith("@@")){methodName=Symbol[methodName.substring(2)]}if(isPureVirtual){classType.registeredClass.pureVirtualFunctions.push(methodName)}function unboundTypesHandler(){throwUnboundTypeError(`Cannot call ${humanName} due to unbound types`,rawArgTypes)}var proto=classType.registeredClass.instancePrototype;var method=proto[methodName];if(undefined===method||undefined===method.overloadTable&&method.className!==classType.name&&method.argCount===argCount-2){unboundTypesHandler.argCount=argCount-2;unboundTypesHandler.className=classType.name;proto[methodName]=unboundTypesHandler}else{ensureOverloadTable(proto,methodName,humanName);proto[methodName].overloadTable[argCount-2]=unboundTypesHandler}whenDependentTypesAreResolved([],rawArgTypes,function(argTypes){var memberFunction=craftInvokerFunction(humanName,argTypes,classType,rawInvoker,context,isAsync);if(undefined===proto[methodName].overloadTable){memberFunction.argCount=argCount-2;proto[methodName]=memberFunction}else{proto[methodName].overloadTable[argCount-2]=memberFunction}return[]});return[]})}function validateThis(this_,classType,humanName){if(!(this_ instanceof Object)){throwBindingError(`${humanName} with invalid "this": ${this_}`)}if(!(this_ instanceof classType.registeredClass.constructor)){throwBindingError(`${humanName} incompatible with "this" of type ${this_.constructor.name}`)}if(!this_.$$.ptr){throwBindingError(`cannot call emscripten binding method ${humanName} on deleted object`)}return upcastPointer(this_.$$.ptr,this_.$$.ptrType.registeredClass,classType.registeredClass)}function __embind_register_class_property(classType,fieldName,getterReturnType,getterSignature,getter,getterContext,setterArgumentType,setterSignature,setter,setterContext){fieldName=readLatin1String(fieldName);getter=embind__requireFunction(getterSignature,getter);whenDependentTypesAreResolved([],[classType],function(classType){classType=classType[0];var humanName=`${classType.name}.${fieldName}`;var desc={get:function(){throwUnboundTypeError(`Cannot access ${humanName} due to unbound types`,[getterReturnType,setterArgumentType])},enumerable:true,configurable:true};if(setter){desc.set=()=>{throwUnboundTypeError(`Cannot access ${humanName} due to unbound types`,[getterReturnType,setterArgumentType])}}else{desc.set=v=>{throwBindingError(humanName+" is a read-only property")}}Object.defineProperty(classType.registeredClass.instancePrototype,fieldName,desc);whenDependentTypesAreResolved([],setter?[getterReturnType,setterArgumentType]:[getterReturnType],function(types){var getterReturnType=types[0];var desc={get:function(){var ptr=validateThis(this,classType,humanName+" getter");return getterReturnType["fromWireType"](getter(getterContext,ptr))},enumerable:true};if(setter){setter=embind__requireFunction(setterSignature,setter);var setterArgumentType=types[1];desc.set=function(v){var ptr=validateThis(this,classType,humanName+" setter");var destructors=[];setter(setterContext,ptr,setterArgumentType["toWireType"](destructors,v));runDestructors(destructors)}}Object.defineProperty(classType.registeredClass.instancePrototype,fieldName,desc);return[]});return[]})}function __embind_register_constant(name,type,value){name=readLatin1String(name);whenDependentTypesAreResolved([],[type],function(type){type=type[0];Module[name]=type["fromWireType"](value);return[]})}function __emval_decref(handle){if(handle>=emval_handles.reserved&&0===--emval_handles.get(handle).refcount){emval_handles.free(handle)}}function __embind_register_emval(rawType,name){name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(handle){var rv=Emval.toValue(handle);__emval_decref(handle);return rv},"toWireType":function(destructors,value){return Emval.toHandle(value)},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:null})}function enumReadValueFromPointer(name,shift,signed){switch(shift){case 0:return function(pointer){var heap=signed?HEAP8:HEAPU8;return this["fromWireType"](heap[pointer])};case 1:return function(pointer){var heap=signed?HEAP16:HEAPU16;return this["fromWireType"](heap[pointer>>1])};case 2:return function(pointer){var heap=signed?HEAP32:HEAPU32;return this["fromWireType"](heap[pointer>>2])};default:throw new TypeError("Unknown integer type: "+name)}}function __embind_register_enum(rawType,name,size,isSigned){var shift=getShiftFromSize(size);name=readLatin1String(name);function ctor(){}ctor.values={};registerType(rawType,{name:name,constructor:ctor,"fromWireType":function(c){return this.constructor.values[c]},"toWireType":function(destructors,c){return c.value},"argPackAdvance":8,"readValueFromPointer":enumReadValueFromPointer(name,shift,isSigned),destructorFunction:null});exposePublicSymbol(name,ctor)}function __embind_register_enum_value(rawEnumType,name,enumValue){var enumType=requireRegisteredType(rawEnumType,"enum");name=readLatin1String(name);var Enum=enumType.constructor;var Value=Object.create(enumType.constructor.prototype,{value:{value:enumValue},constructor:{value:createNamedFunction(`${enumType.name}_${name}`,function(){})}});Enum.values[enumValue]=Value;Enum[name]=Value}function embindRepr(v){if(v===null){return"null"}var t=typeof v;if(t==="object"||t==="array"||t==="function"){return v.toString()}else{return""+v}}function floatReadValueFromPointer(name,shift){switch(shift){case 2:return function(pointer){return this["fromWireType"](HEAPF32[pointer>>2])};case 3:return function(pointer){return this["fromWireType"](HEAPF64[pointer>>3])};default:throw new TypeError("Unknown float type: "+name)}}function __embind_register_float(rawType,name,size){var shift=getShiftFromSize(size);name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(value){return value},"toWireType":function(destructors,value){return value},"argPackAdvance":8,"readValueFromPointer":floatReadValueFromPointer(name,shift),destructorFunction:null})}function __embind_register_function(name,argCount,rawArgTypesAddr,signature,rawInvoker,fn,isAsync){var argTypes=heap32VectorToArray(argCount,rawArgTypesAddr);name=readLatin1String(name);rawInvoker=embind__requireFunction(signature,rawInvoker);exposePublicSymbol(name,function(){throwUnboundTypeError(`Cannot call ${name} due to unbound types`,argTypes)},argCount-1);whenDependentTypesAreResolved([],argTypes,function(argTypes){var invokerArgsArray=[argTypes[0],null].concat(argTypes.slice(1));replacePublicSymbol(name,craftInvokerFunction(name,invokerArgsArray,null,rawInvoker,fn,isAsync),argCount-1);return[]})}function integerReadValueFromPointer(name,shift,signed){switch(shift){case 0:return signed?function readS8FromPointer(pointer){return HEAP8[pointer]}:function readU8FromPointer(pointer){return HEAPU8[pointer]};case 1:return signed?function readS16FromPointer(pointer){return HEAP16[pointer>>1]}:function readU16FromPointer(pointer){return HEAPU16[pointer>>1]};case 2:return signed?function readS32FromPointer(pointer){return HEAP32[pointer>>2]}:function readU32FromPointer(pointer){return HEAPU32[pointer>>2]};default:throw new TypeError("Unknown integer type: "+name)}}function __embind_register_integer(primitiveType,name,size,minRange,maxRange){name=readLatin1String(name);if(maxRange===-1){maxRange=4294967295}var shift=getShiftFromSize(size);var fromWireType=value=>value;if(minRange===0){var bitshift=32-8*size;fromWireType=value=>value<>>bitshift}var isUnsignedType=name.includes("unsigned");var checkAssertions=(value,toTypeName)=>{};var toWireType;if(isUnsignedType){toWireType=function(destructors,value){checkAssertions(value,this.name);return value>>>0}}else{toWireType=function(destructors,value){checkAssertions(value,this.name);return value}}registerType(primitiveType,{name:name,"fromWireType":fromWireType,"toWireType":toWireType,"argPackAdvance":8,"readValueFromPointer":integerReadValueFromPointer(name,shift,minRange!==0),destructorFunction:null})}function __embind_register_memory_view(rawType,dataTypeIndex,name){var typeMapping=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];var TA=typeMapping[dataTypeIndex];function decodeMemoryView(handle){handle=handle>>2;var heap=HEAPU32;var size=heap[handle];var data=heap[handle+1];return new TA(heap.buffer,data,size)}name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":decodeMemoryView,"argPackAdvance":8,"readValueFromPointer":decodeMemoryView},{ignoreDuplicateRegistrations:true})}function stringToUTF8Array(str,heap,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6;heap[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18;heap[outIdx++]=128|u>>12&63;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}}heap[outIdx]=0;return outIdx-startIdx}function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&c<=57343){len+=4;++i}else{len+=3}}return len}var UTF8Decoder=typeof TextDecoder!="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(heapOrArray,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heapOrArray[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heapOrArray.buffer&&UTF8Decoder){return UTF8Decoder.decode(heapOrArray.subarray(idx,endPtr))}var str="";while(idx>10,56320|ch&1023)}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function __embind_register_std_string(rawType,name){name=readLatin1String(name);var stdStringIsUTF8=name==="std::string";registerType(rawType,{name:name,"fromWireType":function(value){var length=HEAPU32[value>>2];var payload=value+4;var str;if(stdStringIsUTF8){var decodeStartPtr=payload;for(var i=0;i<=length;++i){var currentBytePtr=payload+i;if(i==length||HEAPU8[currentBytePtr]==0){var maxRead=currentBytePtr-decodeStartPtr;var stringSegment=UTF8ToString(decodeStartPtr,maxRead);if(str===undefined){str=stringSegment}else{str+=String.fromCharCode(0);str+=stringSegment}decodeStartPtr=currentBytePtr+1}}}else{var a=new Array(length);for(var i=0;i>2]=length;if(stdStringIsUTF8&&valueIsOfTypeString){stringToUTF8(value,ptr,length+1)}else{if(valueIsOfTypeString){for(var i=0;i255){_free(ptr);throwBindingError("String has UTF-16 code units that do not fit in 8 bits")}HEAPU8[ptr+i]=charCode}}else{for(var i=0;i>1;var maxIdx=idx+maxBytesToRead/2;while(!(idx>=maxIdx)&&HEAPU16[idx])++idx;endPtr=idx<<1;if(endPtr-ptr>32&&UTF16Decoder)return UTF16Decoder.decode(HEAPU8.subarray(ptr,endPtr));var str="";for(var i=0;!(i>=maxBytesToRead/2);++i){var codeUnit=HEAP16[ptr+i*2>>1];if(codeUnit==0)break;str+=String.fromCharCode(codeUnit)}return str}function stringToUTF16(str,outPtr,maxBytesToWrite){if(maxBytesToWrite===undefined){maxBytesToWrite=2147483647}if(maxBytesToWrite<2)return 0;maxBytesToWrite-=2;var startPtr=outPtr;var numCharsToWrite=maxBytesToWrite>1]=codeUnit;outPtr+=2}HEAP16[outPtr>>1]=0;return outPtr-startPtr}function lengthBytesUTF16(str){return str.length*2}function UTF32ToString(ptr,maxBytesToRead){var i=0;var str="";while(!(i>=maxBytesToRead/4)){var utf32=HEAP32[ptr+i*4>>2];if(utf32==0)break;++i;if(utf32>=65536){var ch=utf32-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}else{str+=String.fromCharCode(utf32)}}return str}function stringToUTF32(str,outPtr,maxBytesToWrite){if(maxBytesToWrite===undefined){maxBytesToWrite=2147483647}if(maxBytesToWrite<4)return 0;var startPtr=outPtr;var endPtr=startPtr+maxBytesToWrite-4;for(var i=0;i=55296&&codeUnit<=57343){var trailSurrogate=str.charCodeAt(++i);codeUnit=65536+((codeUnit&1023)<<10)|trailSurrogate&1023}HEAP32[outPtr>>2]=codeUnit;outPtr+=4;if(outPtr+4>endPtr)break}HEAP32[outPtr>>2]=0;return outPtr-startPtr}function lengthBytesUTF32(str){var len=0;for(var i=0;i=55296&&codeUnit<=57343)++i;len+=4}return len}function __embind_register_std_wstring(rawType,charSize,name){name=readLatin1String(name);var decodeString,encodeString,getHeap,lengthBytesUTF,shift;if(charSize===2){decodeString=UTF16ToString;encodeString=stringToUTF16;lengthBytesUTF=lengthBytesUTF16;getHeap=()=>HEAPU16;shift=1}else if(charSize===4){decodeString=UTF32ToString;encodeString=stringToUTF32;lengthBytesUTF=lengthBytesUTF32;getHeap=()=>HEAPU32;shift=2}registerType(rawType,{name:name,"fromWireType":function(value){var length=HEAPU32[value>>2];var HEAP=getHeap();var str;var decodeStartPtr=value+4;for(var i=0;i<=length;++i){var currentBytePtr=value+4+i*charSize;if(i==length||HEAP[currentBytePtr>>shift]==0){var maxReadBytes=currentBytePtr-decodeStartPtr;var stringSegment=decodeString(decodeStartPtr,maxReadBytes);if(str===undefined){str=stringSegment}else{str+=String.fromCharCode(0);str+=stringSegment}decodeStartPtr=currentBytePtr+charSize}}_free(value);return str},"toWireType":function(destructors,value){if(!(typeof value=="string")){throwBindingError(`Cannot pass non-string to C++ string type ${name}`)}var length=lengthBytesUTF(value);var ptr=_malloc(4+length+charSize);HEAPU32[ptr>>2]=length>>shift;encodeString(value,ptr+4,length+charSize);if(destructors!==null){destructors.push(_free,ptr)}return ptr},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:function(ptr){_free(ptr)}})}function __embind_register_value_object(rawType,name,constructorSignature,rawConstructor,destructorSignature,rawDestructor){structRegistrations[rawType]={name:readLatin1String(name),rawConstructor:embind__requireFunction(constructorSignature,rawConstructor),rawDestructor:embind__requireFunction(destructorSignature,rawDestructor),fields:[]}}function __embind_register_value_object_field(structType,fieldName,getterReturnType,getterSignature,getter,getterContext,setterArgumentType,setterSignature,setter,setterContext){structRegistrations[structType].fields.push({fieldName:readLatin1String(fieldName),getterReturnType:getterReturnType,getter:embind__requireFunction(getterSignature,getter),getterContext:getterContext,setterArgumentType:setterArgumentType,setter:embind__requireFunction(setterSignature,setter),setterContext:setterContext})}function __embind_register_void(rawType,name){name=readLatin1String(name);registerType(rawType,{isVoid:true,name:name,"argPackAdvance":0,"fromWireType":function(){return undefined},"toWireType":function(destructors,o){return undefined}})}function emval_allocateDestructors(destructorsRef){var destructors=[];HEAPU32[destructorsRef>>2]=Emval.toHandle(destructors);return destructors}var emval_symbols={};function getStringOrSymbol(address){var symbol=emval_symbols[address];if(symbol===undefined){return readLatin1String(address)}return symbol}var emval_methodCallers=[];function __emval_call_method(caller,handle,methodName,destructorsRef,args){caller=emval_methodCallers[caller];handle=Emval.toValue(handle);methodName=getStringOrSymbol(methodName);return caller(handle,methodName,emval_allocateDestructors(destructorsRef),args)}function __emval_call_void_method(caller,handle,methodName,args){caller=emval_methodCallers[caller];handle=Emval.toValue(handle);methodName=getStringOrSymbol(methodName);caller(handle,methodName,null,args)}function emval_addMethodCaller(caller){var id=emval_methodCallers.length;emval_methodCallers.push(caller);return id}function emval_lookupTypes(argCount,argTypes){var a=new Array(argCount);for(var i=0;i>2],"parameter "+i)}return a}var emval_registeredMethods=[];function __emval_get_method_caller(argCount,argTypes){var types=emval_lookupTypes(argCount,argTypes);var retType=types[0];var signatureName=retType.name+"_$"+types.slice(1).map(function(t){return t.name}).join("_")+"$";var returnId=emval_registeredMethods[signatureName];if(returnId!==undefined){return returnId}var argN=new Array(argCount-1);var invokerFunction=(handle,name,destructors,args)=>{var offset=0;for(var i=0;i4){emval_handles.get(handle).refcount+=1}}function __emval_run_destructors(handle){var destructors=Emval.toValue(handle);runDestructors(destructors);__emval_decref(handle)}function __emval_take_value(type,arg){type=requireRegisteredType(type,"_emval_take_value");var v=type["readValueFromPointer"](arg);return Emval.toHandle(v)}function _abort(){abort("")}function _emscripten_memcpy_big(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}function getHeapMax(){return 2147483648}function emscripten_realloc_buffer(size){var b=wasmMemory.buffer;var pages=size-b.byteLength+65535>>>16;try{wasmMemory.grow(pages);updateMemoryViews();return 1}catch(e){}}function _emscripten_resize_heap(requestedSize){var oldSize=HEAPU8.length;requestedSize=requestedSize>>>0;var maxHeapSize=getHeapMax();if(requestedSize>maxHeapSize){return false}var alignUp=(x,multiple)=>x+(multiple-x%multiple)%multiple;for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignUp(Math.max(requestedSize,overGrownHeapSize),65536));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}var printCharBuffers=[null,[],[]];function printChar(stream,curr){var buffer=printCharBuffers[stream];if(curr===0||curr===10){(stream===1?out:err)(UTF8ArrayToString(buffer,0));buffer.length=0}else{buffer.push(curr)}}var SYSCALLS={varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret}};function _fd_write(fd,iov,iovcnt,pnum){var num=0;for(var i=0;i>2];var len=HEAPU32[iov+4>>2];iov+=8;for(var j=0;j>2]=num;return 0}BindingError=Module["BindingError"]=extendError(Error,"BindingError");init_emval();PureVirtualError=Module["PureVirtualError"]=extendError(Error,"PureVirtualError");embind_init_charCodes();init_embind();InternalError=Module["InternalError"]=extendError(Error,"InternalError");init_ClassHandle();init_RegisteredPointer();UnboundTypeError=Module["UnboundTypeError"]=extendError(Error,"UnboundTypeError");var wasmImports={"q":__embind_create_inheriting_constructor,"k":__embind_finalize_value_object,"B":__embind_register_bigint,"F":__embind_register_bool,"d":__embind_register_class,"j":__embind_register_class_class_function,"f":__embind_register_class_constructor,"a":__embind_register_class_function,"c":__embind_register_class_property,"r":__embind_register_constant,"E":__embind_register_emval,"x":__embind_register_enum,"m":__embind_register_enum_value,"v":__embind_register_float,"b":__embind_register_function,"i":__embind_register_integer,"e":__embind_register_memory_view,"u":__embind_register_std_string,"s":__embind_register_std_wstring,"l":__embind_register_value_object,"g":__embind_register_value_object_field,"G":__embind_register_void,"y":__emval_call_method,"n":__emval_call_void_method,"o":__emval_decref,"h":__emval_get_method_caller,"z":__emval_incref,"w":__emval_run_destructors,"A":__emval_take_value,"p":_abort,"D":_emscripten_memcpy_big,"C":_emscripten_resize_heap,"t":_fd_write};var asm=createWasm();var ___wasm_call_ctors=function(){return(___wasm_call_ctors=Module["asm"]["I"]).apply(null,arguments)};var _malloc=function(){return(_malloc=Module["asm"]["K"]).apply(null,arguments)};var _free=function(){return(_free=Module["asm"]["L"]).apply(null,arguments)};var ___getTypeName=function(){return(___getTypeName=Module["asm"]["M"]).apply(null,arguments)};var __embind_initialize_bindings=Module["__embind_initialize_bindings"]=function(){return(__embind_initialize_bindings=Module["__embind_initialize_bindings"]=Module["asm"]["N"]).apply(null,arguments)};var ___errno_location=function(){return(___errno_location=Module["asm"]["__errno_location"]).apply(null,arguments)};var dynCall_jiji=Module["dynCall_jiji"]=function(){return(dynCall_jiji=Module["dynCall_jiji"]=Module["asm"]["O"]).apply(null,arguments)};var calledRun;dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function run(){if(runDependencies>0){return}preRun();if(runDependencies>0){return}function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();readyPromiseResolve(Module);if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else{doRun()}}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}run(); - - - return BOX2D.ready -} - -); -})(); -if (typeof exports === 'object' && typeof module === 'object') - module.exports = BOX2D; -else if (typeof define === 'function' && define['amd']) - define([], function() { return BOX2D; }); -else if (typeof exports === 'object') - exports["BOX2D"] = BOX2D; + +var BOX2D = (() => { + var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined; + + return ( +function(BOX2D = {}) { + +var Module=typeof BOX2D!="undefined"?BOX2D:{};var readyPromiseResolve,readyPromiseReject;Module["ready"]=new Promise((resolve,reject)=>{readyPromiseResolve=resolve;readyPromiseReject=reject});var moduleOverrides=Object.assign({},Module);var arguments_=[];var thisProgram="./this.program";var quit_=(status,toThrow)=>{throw toThrow};var ENVIRONMENT_IS_WEB=true;var ENVIRONMENT_IS_WORKER=false;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(typeof document!="undefined"&&document.currentScript){scriptDirectory=document.currentScript.src}if(_scriptDir){scriptDirectory=_scriptDir}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=url=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){readBinary=url=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}}readAsync=(url,onload,onerror)=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=()=>{if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=title=>document.title=title}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.error.bind(console);Object.assign(Module,moduleOverrides);moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime=Module["noExitRuntime"]||true;if(typeof WebAssembly!="object"){abort("no native wasm support detected")}var wasmMemory;var ABORT=false;var EXITSTATUS;function assert(condition,text){if(!condition){abort(text)}}var HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateMemoryViews(){var b=wasmMemory.buffer;Module["HEAP8"]=HEAP8=new Int8Array(b);Module["HEAP16"]=HEAP16=new Int16Array(b);Module["HEAP32"]=HEAP32=new Int32Array(b);Module["HEAPU8"]=HEAPU8=new Uint8Array(b);Module["HEAPU16"]=HEAPU16=new Uint16Array(b);Module["HEAPU32"]=HEAPU32=new Uint32Array(b);Module["HEAPF32"]=HEAPF32=new Float32Array(b);Module["HEAPF64"]=HEAPF64=new Float64Array(b)}var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function postRun(){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)}function addOnInit(cb){__ATINIT__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}function abort(what){if(Module["onAbort"]){Module["onAbort"](what)}what="Aborted("+what+")";err(what);ABORT=true;EXITSTATUS=1;what+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(what);readyPromiseReject(e);throw e}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return filename.startsWith(dataURIPrefix)}var wasmBinaryFile;wasmBinaryFile="box2d.release.wasm.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(file){try{if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary){return readBinary(file)}throw"both async and sync fetching of the wasm failed"}catch(err){abort(err)}}function getBinaryPromise(binaryFile){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if(typeof fetch=="function"){return fetch(binaryFile,{credentials:"same-origin"}).then(response=>{if(!response["ok"]){throw"failed to load wasm binary file at '"+binaryFile+"'"}return response["arrayBuffer"]()}).catch(()=>getBinary(binaryFile))}}return Promise.resolve().then(()=>getBinary(binaryFile))}function instantiateArrayBuffer(binaryFile,imports,receiver){return getBinaryPromise(binaryFile).then(binary=>{return WebAssembly.instantiate(binary,imports)}).then(instance=>{return instance}).then(receiver,reason=>{err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(binary,binaryFile,imports,callback){if(!binary&&typeof WebAssembly.instantiateStreaming=="function"&&!isDataURI(binaryFile)&&typeof fetch=="function"){return fetch(binaryFile,{credentials:"same-origin"}).then(response=>{var result=WebAssembly.instantiateStreaming(response,imports);return result.then(callback,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(binaryFile,imports,callback)})})}else{return instantiateArrayBuffer(binaryFile,imports,callback)}}function createWasm(){var info={"a":wasmImports};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;wasmMemory=Module["asm"]["I"];updateMemoryViews();wasmTable=Module["asm"]["K"];addOnInit(Module["asm"]["J"]);removeRunDependency("wasm-instantiate");return exports}addRunDependency("wasm-instantiate");function receiveInstantiationResult(result){receiveInstance(result["instance"])}if(Module["instantiateWasm"]){try{return Module["instantiateWasm"](info,receiveInstance)}catch(e){err("Module.instantiateWasm callback failed with error: "+e);readyPromiseReject(e)}}instantiateAsync(wasmBinary,wasmBinaryFile,info,receiveInstantiationResult).catch(readyPromiseReject);return{}}function callRuntimeCallbacks(callbacks){while(callbacks.length>0){callbacks.shift()(Module)}}var UTF8Decoder=typeof TextDecoder!="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(heapOrArray,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heapOrArray[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heapOrArray.buffer&&UTF8Decoder){return UTF8Decoder.decode(heapOrArray.subarray(idx,endPtr))}var str="";while(idx>10,56320|ch&1023)}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function ___assert_fail(condition,filename,line,func){abort(`Assertion failed: ${UTF8ToString(condition)}, at: `+[filename?UTF8ToString(filename):"unknown filename",line,func?UTF8ToString(func):"unknown function"])}var char_0=48;var char_9=57;function makeLegalFunctionName(name){if(undefined===name){return"_unknown"}name=name.replace(/[^a-zA-Z0-9_]/g,"$");var f=name.charCodeAt(0);if(f>=char_0&&f<=char_9){return`_${name}`}return name}function createNamedFunction(name,body){name=makeLegalFunctionName(name);return{[name]:function(){return body.apply(this,arguments)}}[name]}function HandleAllocator(){this.allocated=[undefined];this.freelist=[];this.get=function(id){return this.allocated[id]};this.has=function(id){return this.allocated[id]!==undefined};this.allocate=function(handle){var id=this.freelist.pop()||this.allocated.length;this.allocated[id]=handle;return id};this.free=function(id){this.allocated[id]=undefined;this.freelist.push(id)}}var emval_handles=new HandleAllocator;function extendError(baseErrorType,errorName){var errorClass=createNamedFunction(errorName,function(message){this.name=errorName;this.message=message;var stack=new Error(message).stack;if(stack!==undefined){this.stack=this.toString()+"\n"+stack.replace(/^Error(:[^\n]*)?\n/,"")}});errorClass.prototype=Object.create(baseErrorType.prototype);errorClass.prototype.constructor=errorClass;errorClass.prototype.toString=function(){if(this.message===undefined){return this.name}else{return`${this.name}: ${this.message}`}};return errorClass}var BindingError=undefined;function throwBindingError(message){throw new BindingError(message)}function count_emval_handles(){var count=0;for(var i=emval_handles.reserved;i{if(!handle){throwBindingError("Cannot use deleted val. handle = "+handle)}return emval_handles.get(handle).value},toHandle:value=>{switch(value){case undefined:return 1;case null:return 2;case true:return 3;case false:return 4;default:{return emval_handles.allocate({refcount:1,value:value})}}}};var PureVirtualError=undefined;function embind_init_charCodes(){var codes=new Array(256);for(var i=0;i<256;++i){codes[i]=String.fromCharCode(i)}embind_charCodes=codes}var embind_charCodes=undefined;function readLatin1String(ptr){var ret="";var c=ptr;while(HEAPU8[c]){ret+=embind_charCodes[HEAPU8[c++]]}return ret}function getInheritedInstanceCount(){return Object.keys(registeredInstances).length}function getLiveInheritedInstances(){var rv=[];for(var k in registeredInstances){if(registeredInstances.hasOwnProperty(k)){rv.push(registeredInstances[k])}}return rv}var deletionQueue=[];function flushPendingDeletes(){while(deletionQueue.length){var obj=deletionQueue.pop();obj.$$.deleteScheduled=false;obj["delete"]()}}var delayFunction=undefined;function setDelayFunction(fn){delayFunction=fn;if(deletionQueue.length&&delayFunction){delayFunction(flushPendingDeletes)}}function init_embind(){Module["getInheritedInstanceCount"]=getInheritedInstanceCount;Module["getLiveInheritedInstances"]=getLiveInheritedInstances;Module["flushPendingDeletes"]=flushPendingDeletes;Module["setDelayFunction"]=setDelayFunction}var registeredInstances={};function getBasestPointer(class_,ptr){if(ptr===undefined){throwBindingError("ptr should not be undefined")}while(class_.baseClass){ptr=class_.upcast(ptr);class_=class_.baseClass}return ptr}function registerInheritedInstance(class_,ptr,instance){ptr=getBasestPointer(class_,ptr);if(registeredInstances.hasOwnProperty(ptr)){throwBindingError(`Tried to register registered instance: ${ptr}`)}else{registeredInstances[ptr]=instance}}var registeredTypes={};function getTypeName(type){var ptr=___getTypeName(type);var rv=readLatin1String(ptr);_free(ptr);return rv}function requireRegisteredType(rawType,humanName){var impl=registeredTypes[rawType];if(undefined===impl){throwBindingError(humanName+" has unknown type "+getTypeName(rawType))}return impl}function unregisterInheritedInstance(class_,ptr){ptr=getBasestPointer(class_,ptr);if(registeredInstances.hasOwnProperty(ptr)){delete registeredInstances[ptr]}else{throwBindingError(`Tried to unregister unregistered instance: ${ptr}`)}}function detachFinalizer(handle){}var finalizationRegistry=false;function runDestructor($$){if($$.smartPtr){$$.smartPtrType.rawDestructor($$.smartPtr)}else{$$.ptrType.registeredClass.rawDestructor($$.ptr)}}function releaseClassHandle($$){$$.count.value-=1;var toDelete=0===$$.count.value;if(toDelete){runDestructor($$)}}function downcastPointer(ptr,ptrClass,desiredClass){if(ptrClass===desiredClass){return ptr}if(undefined===desiredClass.baseClass){return null}var rv=downcastPointer(ptr,ptrClass,desiredClass.baseClass);if(rv===null){return null}return desiredClass.downcast(rv)}var registeredPointers={};function getInheritedInstance(class_,ptr){ptr=getBasestPointer(class_,ptr);return registeredInstances[ptr]}var InternalError=undefined;function throwInternalError(message){throw new InternalError(message)}function makeClassHandle(prototype,record){if(!record.ptrType||!record.ptr){throwInternalError("makeClassHandle requires ptr and ptrType")}var hasSmartPtrType=!!record.smartPtrType;var hasSmartPtr=!!record.smartPtr;if(hasSmartPtrType!==hasSmartPtr){throwInternalError("Both smartPtrType and smartPtr must be specified")}record.count={value:1};return attachFinalizer(Object.create(prototype,{$$:{value:record}}))}function RegisteredPointer_fromWireType(ptr){var rawPointer=this.getPointee(ptr);if(!rawPointer){this.destructor(ptr);return null}var registeredInstance=getInheritedInstance(this.registeredClass,rawPointer);if(undefined!==registeredInstance){if(0===registeredInstance.$$.count.value){registeredInstance.$$.ptr=rawPointer;registeredInstance.$$.smartPtr=ptr;return registeredInstance["clone"]()}else{var rv=registeredInstance["clone"]();this.destructor(ptr);return rv}}function makeDefaultHandle(){if(this.isSmartPointer){return makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:rawPointer,smartPtrType:this,smartPtr:ptr})}else{return makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this,ptr:ptr})}}var actualType=this.registeredClass.getActualType(rawPointer);var registeredPointerRecord=registeredPointers[actualType];if(!registeredPointerRecord){return makeDefaultHandle.call(this)}var toType;if(this.isConst){toType=registeredPointerRecord.constPointerType}else{toType=registeredPointerRecord.pointerType}var dp=downcastPointer(rawPointer,this.registeredClass,toType.registeredClass);if(dp===null){return makeDefaultHandle.call(this)}if(this.isSmartPointer){return makeClassHandle(toType.registeredClass.instancePrototype,{ptrType:toType,ptr:dp,smartPtrType:this,smartPtr:ptr})}else{return makeClassHandle(toType.registeredClass.instancePrototype,{ptrType:toType,ptr:dp})}}function attachFinalizer(handle){if("undefined"===typeof FinalizationRegistry){attachFinalizer=handle=>handle;return handle}finalizationRegistry=new FinalizationRegistry(info=>{releaseClassHandle(info.$$)});attachFinalizer=handle=>{var $$=handle.$$;var hasSmartPtr=!!$$.smartPtr;if(hasSmartPtr){var info={$$:$$};finalizationRegistry.register(handle,info,handle)}return handle};detachFinalizer=handle=>finalizationRegistry.unregister(handle);return attachFinalizer(handle)}function __embind_create_inheriting_constructor(constructorName,wrapperType,properties){constructorName=readLatin1String(constructorName);wrapperType=requireRegisteredType(wrapperType,"wrapper");properties=Emval.toValue(properties);var arraySlice=[].slice;var registeredClass=wrapperType.registeredClass;var wrapperPrototype=registeredClass.instancePrototype;var baseClass=registeredClass.baseClass;var baseClassPrototype=baseClass.instancePrototype;var baseConstructor=registeredClass.baseClass.constructor;var ctor=createNamedFunction(constructorName,function(){registeredClass.baseClass.pureVirtualFunctions.forEach(function(name){if(this[name]===baseClassPrototype[name]){throw new PureVirtualError(`Pure virtual function ${name} must be implemented in JavaScript`)}}.bind(this));Object.defineProperty(this,"__parent",{value:wrapperPrototype});this["__construct"].apply(this,arraySlice.call(arguments))});wrapperPrototype["__construct"]=function __construct(){if(this===wrapperPrototype){throwBindingError("Pass correct 'this' to __construct")}var inner=baseConstructor["implement"].apply(undefined,[this].concat(arraySlice.call(arguments)));detachFinalizer(inner);var $$=inner.$$;inner["notifyOnDestruction"]();$$.preservePointerOnDelete=true;Object.defineProperties(this,{$$:{value:$$}});attachFinalizer(this);registerInheritedInstance(registeredClass,$$.ptr,this)};wrapperPrototype["__destruct"]=function __destruct(){if(this===wrapperPrototype){throwBindingError("Pass correct 'this' to __destruct")}detachFinalizer(this);unregisterInheritedInstance(registeredClass,this.$$.ptr)};ctor.prototype=Object.create(wrapperPrototype);for(var p in properties){ctor.prototype[p]=properties[p]}return Emval.toHandle(ctor)}var structRegistrations={};function runDestructors(destructors){while(destructors.length){var ptr=destructors.pop();var del=destructors.pop();del(ptr)}}function simpleReadValueFromPointer(pointer){return this["fromWireType"](HEAP32[pointer>>2])}var awaitingDependencies={};var typeDependencies={};function whenDependentTypesAreResolved(myTypes,dependentTypes,getTypeConverters){myTypes.forEach(function(type){typeDependencies[type]=dependentTypes});function onComplete(typeConverters){var myTypeConverters=getTypeConverters(typeConverters);if(myTypeConverters.length!==myTypes.length){throwInternalError("Mismatched type converter count")}for(var i=0;i{if(registeredTypes.hasOwnProperty(dt)){typeConverters[i]=registeredTypes[dt]}else{unregisteredTypes.push(dt);if(!awaitingDependencies.hasOwnProperty(dt)){awaitingDependencies[dt]=[]}awaitingDependencies[dt].push(()=>{typeConverters[i]=registeredTypes[dt];++registered;if(registered===unregisteredTypes.length){onComplete(typeConverters)}})}});if(0===unregisteredTypes.length){onComplete(typeConverters)}}function __embind_finalize_value_object(structType){var reg=structRegistrations[structType];delete structRegistrations[structType];var rawConstructor=reg.rawConstructor;var rawDestructor=reg.rawDestructor;var fieldRecords=reg.fields;var fieldTypes=fieldRecords.map(field=>field.getterReturnType).concat(fieldRecords.map(field=>field.setterArgumentType));whenDependentTypesAreResolved([structType],fieldTypes,fieldTypes=>{var fields={};fieldRecords.forEach((field,i)=>{var fieldName=field.fieldName;var getterReturnType=fieldTypes[i];var getter=field.getter;var getterContext=field.getterContext;var setterArgumentType=fieldTypes[i+fieldRecords.length];var setter=field.setter;var setterContext=field.setterContext;fields[fieldName]={read:ptr=>{return getterReturnType["fromWireType"](getter(getterContext,ptr))},write:(ptr,o)=>{var destructors=[];setter(setterContext,ptr,setterArgumentType["toWireType"](destructors,o));runDestructors(destructors)}}});return[{name:reg.name,"fromWireType":function(ptr){var rv={};for(var i in fields){rv[i]=fields[i].read(ptr)}rawDestructor(ptr);return rv},"toWireType":function(destructors,o){for(var fieldName in fields){if(!(fieldName in o)){throw new TypeError(`Missing field: "${fieldName}"`)}}var ptr=rawConstructor();for(fieldName in fields){fields[fieldName].write(ptr,o[fieldName])}if(destructors!==null){destructors.push(rawDestructor,ptr)}return ptr},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:rawDestructor}]})}function __embind_register_bigint(primitiveType,name,size,minRange,maxRange){}function getShiftFromSize(size){switch(size){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError(`Unknown type size: ${size}`)}}function registerType(rawType,registeredInstance,options={}){if(!("argPackAdvance"in registeredInstance)){throw new TypeError("registerType registeredInstance requires argPackAdvance")}var name=registeredInstance.name;if(!rawType){throwBindingError(`type "${name}" must have a positive integer typeid pointer`)}if(registeredTypes.hasOwnProperty(rawType)){if(options.ignoreDuplicateRegistrations){return}else{throwBindingError(`Cannot register type '${name}' twice`)}}registeredTypes[rawType]=registeredInstance;delete typeDependencies[rawType];if(awaitingDependencies.hasOwnProperty(rawType)){var callbacks=awaitingDependencies[rawType];delete awaitingDependencies[rawType];callbacks.forEach(cb=>cb())}}function __embind_register_bool(rawType,name,size,trueValue,falseValue){var shift=getShiftFromSize(size);name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(wt){return!!wt},"toWireType":function(destructors,o){return o?trueValue:falseValue},"argPackAdvance":8,"readValueFromPointer":function(pointer){var heap;if(size===1){heap=HEAP8}else if(size===2){heap=HEAP16}else if(size===4){heap=HEAP32}else{throw new TypeError("Unknown boolean type size: "+name)}return this["fromWireType"](heap[pointer>>shift])},destructorFunction:null})}function ClassHandle_isAliasOf(other){if(!(this instanceof ClassHandle)){return false}if(!(other instanceof ClassHandle)){return false}var leftClass=this.$$.ptrType.registeredClass;var left=this.$$.ptr;var rightClass=other.$$.ptrType.registeredClass;var right=other.$$.ptr;while(leftClass.baseClass){left=leftClass.upcast(left);leftClass=leftClass.baseClass}while(rightClass.baseClass){right=rightClass.upcast(right);rightClass=rightClass.baseClass}return leftClass===rightClass&&left===right}function shallowCopyInternalPointer(o){return{count:o.count,deleteScheduled:o.deleteScheduled,preservePointerOnDelete:o.preservePointerOnDelete,ptr:o.ptr,ptrType:o.ptrType,smartPtr:o.smartPtr,smartPtrType:o.smartPtrType}}function throwInstanceAlreadyDeleted(obj){function getInstanceTypeName(handle){return handle.$$.ptrType.registeredClass.name}throwBindingError(getInstanceTypeName(obj)+" instance already deleted")}function ClassHandle_clone(){if(!this.$$.ptr){throwInstanceAlreadyDeleted(this)}if(this.$$.preservePointerOnDelete){this.$$.count.value+=1;return this}else{var clone=attachFinalizer(Object.create(Object.getPrototypeOf(this),{$$:{value:shallowCopyInternalPointer(this.$$)}}));clone.$$.count.value+=1;clone.$$.deleteScheduled=false;return clone}}function ClassHandle_delete(){if(!this.$$.ptr){throwInstanceAlreadyDeleted(this)}if(this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete){throwBindingError("Object already scheduled for deletion")}detachFinalizer(this);releaseClassHandle(this.$$);if(!this.$$.preservePointerOnDelete){this.$$.smartPtr=undefined;this.$$.ptr=undefined}}function ClassHandle_isDeleted(){return!this.$$.ptr}function ClassHandle_deleteLater(){if(!this.$$.ptr){throwInstanceAlreadyDeleted(this)}if(this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete){throwBindingError("Object already scheduled for deletion")}deletionQueue.push(this);if(deletionQueue.length===1&&delayFunction){delayFunction(flushPendingDeletes)}this.$$.deleteScheduled=true;return this}function init_ClassHandle(){ClassHandle.prototype["isAliasOf"]=ClassHandle_isAliasOf;ClassHandle.prototype["clone"]=ClassHandle_clone;ClassHandle.prototype["delete"]=ClassHandle_delete;ClassHandle.prototype["isDeleted"]=ClassHandle_isDeleted;ClassHandle.prototype["deleteLater"]=ClassHandle_deleteLater}function ClassHandle(){}function ensureOverloadTable(proto,methodName,humanName){if(undefined===proto[methodName].overloadTable){var prevFunc=proto[methodName];proto[methodName]=function(){if(!proto[methodName].overloadTable.hasOwnProperty(arguments.length)){throwBindingError(`Function '${humanName}' called with an invalid number of arguments (${arguments.length}) - expects one of (${proto[methodName].overloadTable})!`)}return proto[methodName].overloadTable[arguments.length].apply(this,arguments)};proto[methodName].overloadTable=[];proto[methodName].overloadTable[prevFunc.argCount]=prevFunc}}function exposePublicSymbol(name,value,numArguments){if(Module.hasOwnProperty(name)){if(undefined===numArguments||undefined!==Module[name].overloadTable&&undefined!==Module[name].overloadTable[numArguments]){throwBindingError(`Cannot register public name '${name}' twice`)}ensureOverloadTable(Module,name,name);if(Module.hasOwnProperty(numArguments)){throwBindingError(`Cannot register multiple overloads of a function with the same number of arguments (${numArguments})!`)}Module[name].overloadTable[numArguments]=value}else{Module[name]=value;if(undefined!==numArguments){Module[name].numArguments=numArguments}}}function RegisteredClass(name,constructor,instancePrototype,rawDestructor,baseClass,getActualType,upcast,downcast){this.name=name;this.constructor=constructor;this.instancePrototype=instancePrototype;this.rawDestructor=rawDestructor;this.baseClass=baseClass;this.getActualType=getActualType;this.upcast=upcast;this.downcast=downcast;this.pureVirtualFunctions=[]}function upcastPointer(ptr,ptrClass,desiredClass){while(ptrClass!==desiredClass){if(!ptrClass.upcast){throwBindingError(`Expected null or instance of ${desiredClass.name}, got an instance of ${ptrClass.name}`)}ptr=ptrClass.upcast(ptr);ptrClass=ptrClass.baseClass}return ptr}function constNoSmartPtrRawPointerToWireType(destructors,handle){if(handle===null){if(this.isReference){throwBindingError(`null is not a valid ${this.name}`)}return 0}if(!handle.$$){throwBindingError(`Cannot pass "${embindRepr(handle)}" as a ${this.name}`)}if(!handle.$$.ptr){throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`)}var handleClass=handle.$$.ptrType.registeredClass;var ptr=upcastPointer(handle.$$.ptr,handleClass,this.registeredClass);return ptr}function genericPointerToWireType(destructors,handle){var ptr;if(handle===null){if(this.isReference){throwBindingError(`null is not a valid ${this.name}`)}if(this.isSmartPointer){ptr=this.rawConstructor();if(destructors!==null){destructors.push(this.rawDestructor,ptr)}return ptr}else{return 0}}if(!handle.$$){throwBindingError(`Cannot pass "${embindRepr(handle)}" as a ${this.name}`)}if(!handle.$$.ptr){throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`)}if(!this.isConst&&handle.$$.ptrType.isConst){throwBindingError(`Cannot convert argument of type ${handle.$$.smartPtrType?handle.$$.smartPtrType.name:handle.$$.ptrType.name} to parameter type ${this.name}`)}var handleClass=handle.$$.ptrType.registeredClass;ptr=upcastPointer(handle.$$.ptr,handleClass,this.registeredClass);if(this.isSmartPointer){if(undefined===handle.$$.smartPtr){throwBindingError("Passing raw pointer to smart pointer is illegal")}switch(this.sharingPolicy){case 0:if(handle.$$.smartPtrType===this){ptr=handle.$$.smartPtr}else{throwBindingError(`Cannot convert argument of type ${handle.$$.smartPtrType?handle.$$.smartPtrType.name:handle.$$.ptrType.name} to parameter type ${this.name}`)}break;case 1:ptr=handle.$$.smartPtr;break;case 2:if(handle.$$.smartPtrType===this){ptr=handle.$$.smartPtr}else{var clonedHandle=handle["clone"]();ptr=this.rawShare(ptr,Emval.toHandle(function(){clonedHandle["delete"]()}));if(destructors!==null){destructors.push(this.rawDestructor,ptr)}}break;default:throwBindingError("Unsupporting sharing policy")}}return ptr}function nonConstNoSmartPtrRawPointerToWireType(destructors,handle){if(handle===null){if(this.isReference){throwBindingError(`null is not a valid ${this.name}`)}return 0}if(!handle.$$){throwBindingError(`Cannot pass "${embindRepr(handle)}" as a ${this.name}`)}if(!handle.$$.ptr){throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`)}if(handle.$$.ptrType.isConst){throwBindingError(`Cannot convert argument of type ${handle.$$.ptrType.name} to parameter type ${this.name}`)}var handleClass=handle.$$.ptrType.registeredClass;var ptr=upcastPointer(handle.$$.ptr,handleClass,this.registeredClass);return ptr}function RegisteredPointer_getPointee(ptr){if(this.rawGetPointee){ptr=this.rawGetPointee(ptr)}return ptr}function RegisteredPointer_destructor(ptr){if(this.rawDestructor){this.rawDestructor(ptr)}}function RegisteredPointer_deleteObject(handle){if(handle!==null){handle["delete"]()}}function init_RegisteredPointer(){RegisteredPointer.prototype.getPointee=RegisteredPointer_getPointee;RegisteredPointer.prototype.destructor=RegisteredPointer_destructor;RegisteredPointer.prototype["argPackAdvance"]=8;RegisteredPointer.prototype["readValueFromPointer"]=simpleReadValueFromPointer;RegisteredPointer.prototype["deleteObject"]=RegisteredPointer_deleteObject;RegisteredPointer.prototype["fromWireType"]=RegisteredPointer_fromWireType}function RegisteredPointer(name,registeredClass,isReference,isConst,isSmartPointer,pointeeType,sharingPolicy,rawGetPointee,rawConstructor,rawShare,rawDestructor){this.name=name;this.registeredClass=registeredClass;this.isReference=isReference;this.isConst=isConst;this.isSmartPointer=isSmartPointer;this.pointeeType=pointeeType;this.sharingPolicy=sharingPolicy;this.rawGetPointee=rawGetPointee;this.rawConstructor=rawConstructor;this.rawShare=rawShare;this.rawDestructor=rawDestructor;if(!isSmartPointer&®isteredClass.baseClass===undefined){if(isConst){this["toWireType"]=constNoSmartPtrRawPointerToWireType;this.destructorFunction=null}else{this["toWireType"]=nonConstNoSmartPtrRawPointerToWireType;this.destructorFunction=null}}else{this["toWireType"]=genericPointerToWireType}}function replacePublicSymbol(name,value,numArguments){if(!Module.hasOwnProperty(name)){throwInternalError("Replacing nonexistant public symbol")}if(undefined!==Module[name].overloadTable&&undefined!==numArguments){Module[name].overloadTable[numArguments]=value}else{Module[name]=value;Module[name].argCount=numArguments}}function dynCallLegacy(sig,ptr,args){var f=Module["dynCall_"+sig];return args&&args.length?f.apply(null,[ptr].concat(args)):f.call(null,ptr)}var wasmTableMirror=[];function getWasmTableEntry(funcPtr){var func=wasmTableMirror[funcPtr];if(!func){if(funcPtr>=wasmTableMirror.length)wasmTableMirror.length=funcPtr+1;wasmTableMirror[funcPtr]=func=wasmTable.get(funcPtr)}return func}function dynCall(sig,ptr,args){if(sig.includes("j")){return dynCallLegacy(sig,ptr,args)}var rtn=getWasmTableEntry(ptr).apply(null,args);return rtn}function getDynCaller(sig,ptr){var argCache=[];return function(){argCache.length=0;Object.assign(argCache,arguments);return dynCall(sig,ptr,argCache)}}function embind__requireFunction(signature,rawFunction){signature=readLatin1String(signature);function makeDynCaller(){if(signature.includes("j")){return getDynCaller(signature,rawFunction)}return getWasmTableEntry(rawFunction)}var fp=makeDynCaller();if(typeof fp!="function"){throwBindingError(`unknown function pointer with signature ${signature}: ${rawFunction}`)}return fp}var UnboundTypeError=undefined;function throwUnboundTypeError(message,types){var unboundTypes=[];var seen={};function visit(type){if(seen[type]){return}if(registeredTypes[type]){return}if(typeDependencies[type]){typeDependencies[type].forEach(visit);return}unboundTypes.push(type);seen[type]=true}types.forEach(visit);throw new UnboundTypeError(`${message}: `+unboundTypes.map(getTypeName).join([", "]))}function __embind_register_class(rawType,rawPointerType,rawConstPointerType,baseClassRawType,getActualTypeSignature,getActualType,upcastSignature,upcast,downcastSignature,downcast,name,destructorSignature,rawDestructor){name=readLatin1String(name);getActualType=embind__requireFunction(getActualTypeSignature,getActualType);if(upcast){upcast=embind__requireFunction(upcastSignature,upcast)}if(downcast){downcast=embind__requireFunction(downcastSignature,downcast)}rawDestructor=embind__requireFunction(destructorSignature,rawDestructor);var legalFunctionName=makeLegalFunctionName(name);exposePublicSymbol(legalFunctionName,function(){throwUnboundTypeError(`Cannot construct ${name} due to unbound types`,[baseClassRawType])});whenDependentTypesAreResolved([rawType,rawPointerType,rawConstPointerType],baseClassRawType?[baseClassRawType]:[],function(base){base=base[0];var baseClass;var basePrototype;if(baseClassRawType){baseClass=base.registeredClass;basePrototype=baseClass.instancePrototype}else{basePrototype=ClassHandle.prototype}var constructor=createNamedFunction(legalFunctionName,function(){if(Object.getPrototypeOf(this)!==instancePrototype){throw new BindingError("Use 'new' to construct "+name)}if(undefined===registeredClass.constructor_body){throw new BindingError(name+" has no accessible constructor")}var body=registeredClass.constructor_body[arguments.length];if(undefined===body){throw new BindingError(`Tried to invoke ctor of ${name} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(registeredClass.constructor_body).toString()}) parameters instead!`)}return body.apply(this,arguments)});var instancePrototype=Object.create(basePrototype,{constructor:{value:constructor}});constructor.prototype=instancePrototype;var registeredClass=new RegisteredClass(name,constructor,instancePrototype,rawDestructor,baseClass,getActualType,upcast,downcast);if(registeredClass.baseClass){if(registeredClass.baseClass.__derivedClasses===undefined){registeredClass.baseClass.__derivedClasses=[]}registeredClass.baseClass.__derivedClasses.push(registeredClass)}var referenceConverter=new RegisteredPointer(name,registeredClass,true,false,false);var pointerConverter=new RegisteredPointer(name+"*",registeredClass,false,false,false);var constPointerConverter=new RegisteredPointer(name+" const*",registeredClass,false,true,false);registeredPointers[rawType]={pointerType:pointerConverter,constPointerType:constPointerConverter};replacePublicSymbol(legalFunctionName,constructor);return[referenceConverter,pointerConverter,constPointerConverter]})}function craftInvokerFunction(humanName,argTypes,classType,cppInvokerFunc,cppTargetFunc,isAsync){var argCount=argTypes.length;if(argCount<2){throwBindingError("argTypes array size mismatch! Must at least get return value and 'this' types!")}var isClassMethodFunc=argTypes[1]!==null&&classType!==null;var needsDestructorStack=false;for(var i=1;i>2])}return array}function __embind_register_class_class_function(rawClassType,methodName,argCount,rawArgTypesAddr,invokerSignature,rawInvoker,fn,isAsync){var rawArgTypes=heap32VectorToArray(argCount,rawArgTypesAddr);methodName=readLatin1String(methodName);rawInvoker=embind__requireFunction(invokerSignature,rawInvoker);whenDependentTypesAreResolved([],[rawClassType],function(classType){classType=classType[0];var humanName=`${classType.name}.${methodName}`;function unboundTypesHandler(){throwUnboundTypeError(`Cannot call ${humanName} due to unbound types`,rawArgTypes)}if(methodName.startsWith("@@")){methodName=Symbol[methodName.substring(2)]}var proto=classType.registeredClass.constructor;if(undefined===proto[methodName]){unboundTypesHandler.argCount=argCount-1;proto[methodName]=unboundTypesHandler}else{ensureOverloadTable(proto,methodName,humanName);proto[methodName].overloadTable[argCount-1]=unboundTypesHandler}whenDependentTypesAreResolved([],rawArgTypes,function(argTypes){var invokerArgsArray=[argTypes[0],null].concat(argTypes.slice(1));var func=craftInvokerFunction(humanName,invokerArgsArray,null,rawInvoker,fn,isAsync);if(undefined===proto[methodName].overloadTable){func.argCount=argCount-1;proto[methodName]=func}else{proto[methodName].overloadTable[argCount-1]=func}if(classType.registeredClass.__derivedClasses){for(const derivedClass of classType.registeredClass.__derivedClasses){if(!derivedClass.constructor.hasOwnProperty(methodName)){derivedClass.constructor[methodName]=func}}}return[]});return[]})}function __embind_register_class_constructor(rawClassType,argCount,rawArgTypesAddr,invokerSignature,invoker,rawConstructor){assert(argCount>0);var rawArgTypes=heap32VectorToArray(argCount,rawArgTypesAddr);invoker=embind__requireFunction(invokerSignature,invoker);whenDependentTypesAreResolved([],[rawClassType],function(classType){classType=classType[0];var humanName=`constructor ${classType.name}`;if(undefined===classType.registeredClass.constructor_body){classType.registeredClass.constructor_body=[]}if(undefined!==classType.registeredClass.constructor_body[argCount-1]){throw new BindingError(`Cannot register multiple constructors with identical number of parameters (${argCount-1}) for class '${classType.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`)}classType.registeredClass.constructor_body[argCount-1]=()=>{throwUnboundTypeError(`Cannot construct ${classType.name} due to unbound types`,rawArgTypes)};whenDependentTypesAreResolved([],rawArgTypes,function(argTypes){argTypes.splice(1,0,null);classType.registeredClass.constructor_body[argCount-1]=craftInvokerFunction(humanName,argTypes,null,invoker,rawConstructor);return[]});return[]})}function __embind_register_class_function(rawClassType,methodName,argCount,rawArgTypesAddr,invokerSignature,rawInvoker,context,isPureVirtual,isAsync){var rawArgTypes=heap32VectorToArray(argCount,rawArgTypesAddr);methodName=readLatin1String(methodName);rawInvoker=embind__requireFunction(invokerSignature,rawInvoker);whenDependentTypesAreResolved([],[rawClassType],function(classType){classType=classType[0];var humanName=`${classType.name}.${methodName}`;if(methodName.startsWith("@@")){methodName=Symbol[methodName.substring(2)]}if(isPureVirtual){classType.registeredClass.pureVirtualFunctions.push(methodName)}function unboundTypesHandler(){throwUnboundTypeError(`Cannot call ${humanName} due to unbound types`,rawArgTypes)}var proto=classType.registeredClass.instancePrototype;var method=proto[methodName];if(undefined===method||undefined===method.overloadTable&&method.className!==classType.name&&method.argCount===argCount-2){unboundTypesHandler.argCount=argCount-2;unboundTypesHandler.className=classType.name;proto[methodName]=unboundTypesHandler}else{ensureOverloadTable(proto,methodName,humanName);proto[methodName].overloadTable[argCount-2]=unboundTypesHandler}whenDependentTypesAreResolved([],rawArgTypes,function(argTypes){var memberFunction=craftInvokerFunction(humanName,argTypes,classType,rawInvoker,context,isAsync);if(undefined===proto[methodName].overloadTable){memberFunction.argCount=argCount-2;proto[methodName]=memberFunction}else{proto[methodName].overloadTable[argCount-2]=memberFunction}return[]});return[]})}function validateThis(this_,classType,humanName){if(!(this_ instanceof Object)){throwBindingError(`${humanName} with invalid "this": ${this_}`)}if(!(this_ instanceof classType.registeredClass.constructor)){throwBindingError(`${humanName} incompatible with "this" of type ${this_.constructor.name}`)}if(!this_.$$.ptr){throwBindingError(`cannot call emscripten binding method ${humanName} on deleted object`)}return upcastPointer(this_.$$.ptr,this_.$$.ptrType.registeredClass,classType.registeredClass)}function __embind_register_class_property(classType,fieldName,getterReturnType,getterSignature,getter,getterContext,setterArgumentType,setterSignature,setter,setterContext){fieldName=readLatin1String(fieldName);getter=embind__requireFunction(getterSignature,getter);whenDependentTypesAreResolved([],[classType],function(classType){classType=classType[0];var humanName=`${classType.name}.${fieldName}`;var desc={get:function(){throwUnboundTypeError(`Cannot access ${humanName} due to unbound types`,[getterReturnType,setterArgumentType])},enumerable:true,configurable:true};if(setter){desc.set=()=>{throwUnboundTypeError(`Cannot access ${humanName} due to unbound types`,[getterReturnType,setterArgumentType])}}else{desc.set=v=>{throwBindingError(humanName+" is a read-only property")}}Object.defineProperty(classType.registeredClass.instancePrototype,fieldName,desc);whenDependentTypesAreResolved([],setter?[getterReturnType,setterArgumentType]:[getterReturnType],function(types){var getterReturnType=types[0];var desc={get:function(){var ptr=validateThis(this,classType,humanName+" getter");return getterReturnType["fromWireType"](getter(getterContext,ptr))},enumerable:true};if(setter){setter=embind__requireFunction(setterSignature,setter);var setterArgumentType=types[1];desc.set=function(v){var ptr=validateThis(this,classType,humanName+" setter");var destructors=[];setter(setterContext,ptr,setterArgumentType["toWireType"](destructors,v));runDestructors(destructors)}}Object.defineProperty(classType.registeredClass.instancePrototype,fieldName,desc);return[]});return[]})}function __embind_register_constant(name,type,value){name=readLatin1String(name);whenDependentTypesAreResolved([],[type],function(type){type=type[0];Module[name]=type["fromWireType"](value);return[]})}function __emval_decref(handle){if(handle>=emval_handles.reserved&&0===--emval_handles.get(handle).refcount){emval_handles.free(handle)}}function __embind_register_emval(rawType,name){name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(handle){var rv=Emval.toValue(handle);__emval_decref(handle);return rv},"toWireType":function(destructors,value){return Emval.toHandle(value)},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:null})}function enumReadValueFromPointer(name,shift,signed){switch(shift){case 0:return function(pointer){var heap=signed?HEAP8:HEAPU8;return this["fromWireType"](heap[pointer])};case 1:return function(pointer){var heap=signed?HEAP16:HEAPU16;return this["fromWireType"](heap[pointer>>1])};case 2:return function(pointer){var heap=signed?HEAP32:HEAPU32;return this["fromWireType"](heap[pointer>>2])};default:throw new TypeError("Unknown integer type: "+name)}}function __embind_register_enum(rawType,name,size,isSigned){var shift=getShiftFromSize(size);name=readLatin1String(name);function ctor(){}ctor.values={};registerType(rawType,{name:name,constructor:ctor,"fromWireType":function(c){return this.constructor.values[c]},"toWireType":function(destructors,c){return c.value},"argPackAdvance":8,"readValueFromPointer":enumReadValueFromPointer(name,shift,isSigned),destructorFunction:null});exposePublicSymbol(name,ctor)}function __embind_register_enum_value(rawEnumType,name,enumValue){var enumType=requireRegisteredType(rawEnumType,"enum");name=readLatin1String(name);var Enum=enumType.constructor;var Value=Object.create(enumType.constructor.prototype,{value:{value:enumValue},constructor:{value:createNamedFunction(`${enumType.name}_${name}`,function(){})}});Enum.values[enumValue]=Value;Enum[name]=Value}function embindRepr(v){if(v===null){return"null"}var t=typeof v;if(t==="object"||t==="array"||t==="function"){return v.toString()}else{return""+v}}function floatReadValueFromPointer(name,shift){switch(shift){case 2:return function(pointer){return this["fromWireType"](HEAPF32[pointer>>2])};case 3:return function(pointer){return this["fromWireType"](HEAPF64[pointer>>3])};default:throw new TypeError("Unknown float type: "+name)}}function __embind_register_float(rawType,name,size){var shift=getShiftFromSize(size);name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(value){return value},"toWireType":function(destructors,value){return value},"argPackAdvance":8,"readValueFromPointer":floatReadValueFromPointer(name,shift),destructorFunction:null})}function __embind_register_function(name,argCount,rawArgTypesAddr,signature,rawInvoker,fn,isAsync){var argTypes=heap32VectorToArray(argCount,rawArgTypesAddr);name=readLatin1String(name);rawInvoker=embind__requireFunction(signature,rawInvoker);exposePublicSymbol(name,function(){throwUnboundTypeError(`Cannot call ${name} due to unbound types`,argTypes)},argCount-1);whenDependentTypesAreResolved([],argTypes,function(argTypes){var invokerArgsArray=[argTypes[0],null].concat(argTypes.slice(1));replacePublicSymbol(name,craftInvokerFunction(name,invokerArgsArray,null,rawInvoker,fn,isAsync),argCount-1);return[]})}function integerReadValueFromPointer(name,shift,signed){switch(shift){case 0:return signed?function readS8FromPointer(pointer){return HEAP8[pointer]}:function readU8FromPointer(pointer){return HEAPU8[pointer]};case 1:return signed?function readS16FromPointer(pointer){return HEAP16[pointer>>1]}:function readU16FromPointer(pointer){return HEAPU16[pointer>>1]};case 2:return signed?function readS32FromPointer(pointer){return HEAP32[pointer>>2]}:function readU32FromPointer(pointer){return HEAPU32[pointer>>2]};default:throw new TypeError("Unknown integer type: "+name)}}function __embind_register_integer(primitiveType,name,size,minRange,maxRange){name=readLatin1String(name);if(maxRange===-1){maxRange=4294967295}var shift=getShiftFromSize(size);var fromWireType=value=>value;if(minRange===0){var bitshift=32-8*size;fromWireType=value=>value<>>bitshift}var isUnsignedType=name.includes("unsigned");var checkAssertions=(value,toTypeName)=>{};var toWireType;if(isUnsignedType){toWireType=function(destructors,value){checkAssertions(value,this.name);return value>>>0}}else{toWireType=function(destructors,value){checkAssertions(value,this.name);return value}}registerType(primitiveType,{name:name,"fromWireType":fromWireType,"toWireType":toWireType,"argPackAdvance":8,"readValueFromPointer":integerReadValueFromPointer(name,shift,minRange!==0),destructorFunction:null})}function __embind_register_memory_view(rawType,dataTypeIndex,name){var typeMapping=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];var TA=typeMapping[dataTypeIndex];function decodeMemoryView(handle){handle=handle>>2;var heap=HEAPU32;var size=heap[handle];var data=heap[handle+1];return new TA(heap.buffer,data,size)}name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":decodeMemoryView,"argPackAdvance":8,"readValueFromPointer":decodeMemoryView},{ignoreDuplicateRegistrations:true})}function stringToUTF8Array(str,heap,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6;heap[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18;heap[outIdx++]=128|u>>12&63;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}}heap[outIdx]=0;return outIdx-startIdx}function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&c<=57343){len+=4;++i}else{len+=3}}return len}function __embind_register_std_string(rawType,name){name=readLatin1String(name);var stdStringIsUTF8=name==="std::string";registerType(rawType,{name:name,"fromWireType":function(value){var length=HEAPU32[value>>2];var payload=value+4;var str;if(stdStringIsUTF8){var decodeStartPtr=payload;for(var i=0;i<=length;++i){var currentBytePtr=payload+i;if(i==length||HEAPU8[currentBytePtr]==0){var maxRead=currentBytePtr-decodeStartPtr;var stringSegment=UTF8ToString(decodeStartPtr,maxRead);if(str===undefined){str=stringSegment}else{str+=String.fromCharCode(0);str+=stringSegment}decodeStartPtr=currentBytePtr+1}}}else{var a=new Array(length);for(var i=0;i>2]=length;if(stdStringIsUTF8&&valueIsOfTypeString){stringToUTF8(value,ptr,length+1)}else{if(valueIsOfTypeString){for(var i=0;i255){_free(ptr);throwBindingError("String has UTF-16 code units that do not fit in 8 bits")}HEAPU8[ptr+i]=charCode}}else{for(var i=0;i>1;var maxIdx=idx+maxBytesToRead/2;while(!(idx>=maxIdx)&&HEAPU16[idx])++idx;endPtr=idx<<1;if(endPtr-ptr>32&&UTF16Decoder)return UTF16Decoder.decode(HEAPU8.subarray(ptr,endPtr));var str="";for(var i=0;!(i>=maxBytesToRead/2);++i){var codeUnit=HEAP16[ptr+i*2>>1];if(codeUnit==0)break;str+=String.fromCharCode(codeUnit)}return str}function stringToUTF16(str,outPtr,maxBytesToWrite){if(maxBytesToWrite===undefined){maxBytesToWrite=2147483647}if(maxBytesToWrite<2)return 0;maxBytesToWrite-=2;var startPtr=outPtr;var numCharsToWrite=maxBytesToWrite>1]=codeUnit;outPtr+=2}HEAP16[outPtr>>1]=0;return outPtr-startPtr}function lengthBytesUTF16(str){return str.length*2}function UTF32ToString(ptr,maxBytesToRead){var i=0;var str="";while(!(i>=maxBytesToRead/4)){var utf32=HEAP32[ptr+i*4>>2];if(utf32==0)break;++i;if(utf32>=65536){var ch=utf32-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}else{str+=String.fromCharCode(utf32)}}return str}function stringToUTF32(str,outPtr,maxBytesToWrite){if(maxBytesToWrite===undefined){maxBytesToWrite=2147483647}if(maxBytesToWrite<4)return 0;var startPtr=outPtr;var endPtr=startPtr+maxBytesToWrite-4;for(var i=0;i=55296&&codeUnit<=57343){var trailSurrogate=str.charCodeAt(++i);codeUnit=65536+((codeUnit&1023)<<10)|trailSurrogate&1023}HEAP32[outPtr>>2]=codeUnit;outPtr+=4;if(outPtr+4>endPtr)break}HEAP32[outPtr>>2]=0;return outPtr-startPtr}function lengthBytesUTF32(str){var len=0;for(var i=0;i=55296&&codeUnit<=57343)++i;len+=4}return len}function __embind_register_std_wstring(rawType,charSize,name){name=readLatin1String(name);var decodeString,encodeString,getHeap,lengthBytesUTF,shift;if(charSize===2){decodeString=UTF16ToString;encodeString=stringToUTF16;lengthBytesUTF=lengthBytesUTF16;getHeap=()=>HEAPU16;shift=1}else if(charSize===4){decodeString=UTF32ToString;encodeString=stringToUTF32;lengthBytesUTF=lengthBytesUTF32;getHeap=()=>HEAPU32;shift=2}registerType(rawType,{name:name,"fromWireType":function(value){var length=HEAPU32[value>>2];var HEAP=getHeap();var str;var decodeStartPtr=value+4;for(var i=0;i<=length;++i){var currentBytePtr=value+4+i*charSize;if(i==length||HEAP[currentBytePtr>>shift]==0){var maxReadBytes=currentBytePtr-decodeStartPtr;var stringSegment=decodeString(decodeStartPtr,maxReadBytes);if(str===undefined){str=stringSegment}else{str+=String.fromCharCode(0);str+=stringSegment}decodeStartPtr=currentBytePtr+charSize}}_free(value);return str},"toWireType":function(destructors,value){if(!(typeof value=="string")){throwBindingError(`Cannot pass non-string to C++ string type ${name}`)}var length=lengthBytesUTF(value);var ptr=_malloc(4+length+charSize);HEAPU32[ptr>>2]=length>>shift;encodeString(value,ptr+4,length+charSize);if(destructors!==null){destructors.push(_free,ptr)}return ptr},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:function(ptr){_free(ptr)}})}function __embind_register_value_object(rawType,name,constructorSignature,rawConstructor,destructorSignature,rawDestructor){structRegistrations[rawType]={name:readLatin1String(name),rawConstructor:embind__requireFunction(constructorSignature,rawConstructor),rawDestructor:embind__requireFunction(destructorSignature,rawDestructor),fields:[]}}function __embind_register_value_object_field(structType,fieldName,getterReturnType,getterSignature,getter,getterContext,setterArgumentType,setterSignature,setter,setterContext){structRegistrations[structType].fields.push({fieldName:readLatin1String(fieldName),getterReturnType:getterReturnType,getter:embind__requireFunction(getterSignature,getter),getterContext:getterContext,setterArgumentType:setterArgumentType,setter:embind__requireFunction(setterSignature,setter),setterContext:setterContext})}function __embind_register_void(rawType,name){name=readLatin1String(name);registerType(rawType,{isVoid:true,name:name,"argPackAdvance":0,"fromWireType":function(){return undefined},"toWireType":function(destructors,o){return undefined}})}function emval_allocateDestructors(destructorsRef){var destructors=[];HEAPU32[destructorsRef>>2]=Emval.toHandle(destructors);return destructors}var emval_symbols={};function getStringOrSymbol(address){var symbol=emval_symbols[address];if(symbol===undefined){return readLatin1String(address)}return symbol}var emval_methodCallers=[];function __emval_call_method(caller,handle,methodName,destructorsRef,args){caller=emval_methodCallers[caller];handle=Emval.toValue(handle);methodName=getStringOrSymbol(methodName);return caller(handle,methodName,emval_allocateDestructors(destructorsRef),args)}function __emval_call_void_method(caller,handle,methodName,args){caller=emval_methodCallers[caller];handle=Emval.toValue(handle);methodName=getStringOrSymbol(methodName);caller(handle,methodName,null,args)}function emval_addMethodCaller(caller){var id=emval_methodCallers.length;emval_methodCallers.push(caller);return id}function emval_lookupTypes(argCount,argTypes){var a=new Array(argCount);for(var i=0;i>2],"parameter "+i)}return a}var emval_registeredMethods=[];function __emval_get_method_caller(argCount,argTypes){var types=emval_lookupTypes(argCount,argTypes);var retType=types[0];var signatureName=retType.name+"_$"+types.slice(1).map(function(t){return t.name}).join("_")+"$";var returnId=emval_registeredMethods[signatureName];if(returnId!==undefined){return returnId}var argN=new Array(argCount-1);var invokerFunction=(handle,name,destructors,args)=>{var offset=0;for(var i=0;i4){emval_handles.get(handle).refcount+=1}}function __emval_run_destructors(handle){var destructors=Emval.toValue(handle);runDestructors(destructors);__emval_decref(handle)}function __emval_take_value(type,arg){type=requireRegisteredType(type,"_emval_take_value");var v=type["readValueFromPointer"](arg);return Emval.toHandle(v)}function _abort(){abort("")}function _emscripten_memcpy_big(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}function getHeapMax(){return 2147483648}function emscripten_realloc_buffer(size){var b=wasmMemory.buffer;var pages=size-b.byteLength+65535>>>16;try{wasmMemory.grow(pages);updateMemoryViews();return 1}catch(e){}}function _emscripten_resize_heap(requestedSize){var oldSize=HEAPU8.length;requestedSize=requestedSize>>>0;var maxHeapSize=getHeapMax();if(requestedSize>maxHeapSize){return false}var alignUp=(x,multiple)=>x+(multiple-x%multiple)%multiple;for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignUp(Math.max(requestedSize,overGrownHeapSize),65536));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}var printCharBuffers=[null,[],[]];function printChar(stream,curr){var buffer=printCharBuffers[stream];if(curr===0||curr===10){(stream===1?out:err)(UTF8ArrayToString(buffer,0));buffer.length=0}else{buffer.push(curr)}}var SYSCALLS={varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret}};function _fd_write(fd,iov,iovcnt,pnum){var num=0;for(var i=0;i>2];var len=HEAPU32[iov+4>>2];iov+=8;for(var j=0;j>2]=num;return 0}BindingError=Module["BindingError"]=extendError(Error,"BindingError");init_emval();PureVirtualError=Module["PureVirtualError"]=extendError(Error,"PureVirtualError");embind_init_charCodes();init_embind();InternalError=Module["InternalError"]=extendError(Error,"InternalError");init_ClassHandle();init_RegisteredPointer();UnboundTypeError=Module["UnboundTypeError"]=extendError(Error,"UnboundTypeError");var wasmImports={"B":___assert_fail,"q":__embind_create_inheriting_constructor,"m":__embind_finalize_value_object,"C":__embind_register_bigint,"G":__embind_register_bool,"d":__embind_register_class,"l":__embind_register_class_class_function,"j":__embind_register_class_constructor,"a":__embind_register_class_function,"c":__embind_register_class_property,"r":__embind_register_constant,"F":__embind_register_emval,"y":__embind_register_enum,"o":__embind_register_enum_value,"v":__embind_register_float,"b":__embind_register_function,"k":__embind_register_integer,"h":__embind_register_memory_view,"u":__embind_register_std_string,"s":__embind_register_std_wstring,"n":__embind_register_value_object,"f":__embind_register_value_object_field,"H":__embind_register_void,"x":__emval_call_method,"g":__emval_call_void_method,"i":__emval_decref,"e":__emval_get_method_caller,"z":__emval_incref,"w":__emval_run_destructors,"A":__emval_take_value,"p":_abort,"E":_emscripten_memcpy_big,"D":_emscripten_resize_heap,"t":_fd_write};var asm=createWasm();var ___wasm_call_ctors=function(){return(___wasm_call_ctors=Module["asm"]["J"]).apply(null,arguments)};var _malloc=function(){return(_malloc=Module["asm"]["L"]).apply(null,arguments)};var _free=function(){return(_free=Module["asm"]["M"]).apply(null,arguments)};var ___getTypeName=function(){return(___getTypeName=Module["asm"]["N"]).apply(null,arguments)};var __embind_initialize_bindings=Module["__embind_initialize_bindings"]=function(){return(__embind_initialize_bindings=Module["__embind_initialize_bindings"]=Module["asm"]["O"]).apply(null,arguments)};var ___errno_location=function(){return(___errno_location=Module["asm"]["__errno_location"]).apply(null,arguments)};var dynCall_jiji=Module["dynCall_jiji"]=function(){return(dynCall_jiji=Module["dynCall_jiji"]=Module["asm"]["P"]).apply(null,arguments)};var calledRun;dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function run(){if(runDependencies>0){return}preRun();if(runDependencies>0){return}function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();readyPromiseResolve(Module);if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else{doRun()}}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}run(); + + + return BOX2D.ready +} + +); +})(); +if (typeof exports === 'object' && typeof module === 'object') + module.exports = BOX2D; +else if (typeof define === 'function' && define['amd']) + define([], function() { return BOX2D; }); +else if (typeof exports === 'object') + exports["BOX2D"] = BOX2D; diff --git a/emscripten/box2d/box2d.release.wasm.wasm b/emscripten/box2d/box2d.release.wasm.wasm index b4dbcfcc2..73b5fb98d 100644 Binary files a/emscripten/box2d/box2d.release.wasm.wasm and b/emscripten/box2d/box2d.release.wasm.wasm differ